/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--white);
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease;
}

.modal-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1;
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    font-size: 24px;
}

.close-modal:hover {
    background: var(--background-color);
    color: var(--text-dark);
}

.modal-form {
    padding: 32px;
}

.modal-body {
    padding: 32px;
    text-align: center;
}

.warning-icon {
    width: 64px;
    height: 64px;
    border-radius: 32px;
    background: rgba(221, 107, 32, 0.1);
    color: var(--warning);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 24px;
}

.warning-text {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 32px;
}

.delete-info {
    text-align: left;
    background: var(--background-color);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 32px;
}

.delete-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.delete-info ul {
    list-style: none;
    padding: 0;
}

.delete-info li {
    color: var(--text-light);
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.delete-info li:last-child {
    border-bottom: none;
}

.modal-footer {
    padding: 24px 32px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    position: sticky;
    bottom: 0;
    background: var(--white);
    z-index: 1;
}

.modal-actions {
    padding: 24px 32px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    position: sticky;
    bottom: 0;
    background: var(--white);
    z-index: 1;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 0;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .modal-actions {
        flex-direction: column-reverse;
    }
    
    .modal-actions .btn {
        width: 100%;
    }

    .modal {
        padding: 0;
    }

    .modal-footer {
        flex-direction: column-reverse;
    }

    .modal-footer .btn {
        width: 100%;
    }
}
