// Confirm Modal Styles
.confirm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.confirm-modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    animation: slideIn 0.3s ease;

    &.danger {
        border-top: 4px solid #dc3545;
    }

    &.warning {
        border-top: 4px solid #ffc107;
    }

    &.info {
        border-top: 4px solid #17a2b8;
    }
}

.confirm-modal-header {
    padding: 20px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;

    h3 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
        color: #333;
    }

    .close-btn {
        background: none;
        border: none;
        font-size: 24px;
        color: #999;
        cursor: pointer;
        padding: 0;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.2s ease;

        &:hover {
            background: #f5f5f5;
            color: #666;
        }
    }
}

.confirm-modal-body {
    padding: 16px 24px 24px;

    p {
        margin: 0;
        color: #666;
        line-height: 1.5;
        font-size: 14px;
    }
}

.confirm-modal-footer {
    padding: 0 24px 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;

    .btn {
        padding: 10px 20px;
        border: none;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        min-width: 80px;

        &.btn-cancel {
            background: #f8f9fa;
            color: #6c757d;
            border: 1px solid #dee2e6;

            &:hover {
                background: #e9ecef;
                color: #495057;
            }
        }

        &.btn-confirm {
            color: white;

            &.danger {
                background: #dc3545;

                &:hover {
                    background: #c82333;
                }
            }

            &.warning {
                background: #ffc107;
                color: #212529;

                &:hover {
                    background: #e0a800;
                }
            }

            &.info {
                background: #17a2b8;

                &:hover {
                    background: #138496;
                }
            }
        }
    }
}

// Animations
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

// Mobile responsive
@media (max-width: 480px) {
    .confirm-modal {
        margin: 20px;
        width: calc(100% - 40px);
    }

    .confirm-modal-header,
    .confirm-modal-body,
    .confirm-modal-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .confirm-modal-footer {
        flex-direction: column;

        .btn {
            width: 100%;
        }
    }
}