/* Modern Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    animation: scaleIn 0.3s forwards;
}

@keyframes scaleIn {
    to { transform: scale(1); }
}

.modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.modal-icon.success {
    background: #10b981;
    color: white;
}

.modal-icon.error {
    background: #ef4444;
    color: white;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.modal-message {
    font-size: 1rem;
    text-align: center;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 2rem;
    white-space: pre-line;
}

.modal-button {
    width: 100%;
    padding: 0.875rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-button.success {
    background: #10b981;
    color: white;
}

.modal-button.success:hover {
    background: #059669;
}

.modal-button.error {
    background: #ef4444;
    color: white;
}

.modal-button.error:hover {
    background: #dc2626;
}
