/* Welcome and Email Verification Modal Styles */

/* Welcome Modal */
.welcome-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-in;
}

.welcome-modal-content {
    background: var(--bg-secondary, white);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    overflow: hidden;
    animation: slideUp 0.4s ease-out;
}

.welcome-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 24px;
    text-align: center;
}

.welcome-modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.welcome-modal-body {
    padding: 24px;
    text-align: center;
    color: var(--text-primary, #333);
    font-size: 16px;
    line-height: 1.6;
}

.welcome-modal-body p {
    margin: 0;
}

.welcome-modal-footer {
    padding: 16px 24px;
    background: var(--bg-primary, #f9f9f9);
    border-top: 1px solid var(--border-color, #e0e0e0);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.welcome-checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary, #666);
    cursor: pointer;
}

.welcome-checkbox-container input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #667eea;
}

.welcome-checkbox-container label {
    cursor: pointer;
    user-select: none;
}

.btn-close-welcome {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-close-welcome:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-close-welcome:active {
    transform: translateY(0);
}

/* Email Verification Modal */
.email-verification-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    animation: fadeIn 0.3s ease-in;
}

.verification-modal-content {
    background: var(--bg-secondary, white);
    border-radius: 16px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    max-width: 500px;
    width: 90%;
    padding: 40px 32px;
    text-align: center;
    animation: slideUp 0.4s ease-out;
}

.verification-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    color: #667eea;
}

.verification-icon svg {
    width: 48px;
    height: 48px;
    opacity: 0.8;
}

.verification-modal-content h2 {
    margin: 0 0 16px 0;
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary, #333);
}

.verification-modal-content p {
    margin: 0 0 12px 0;
    color: var(--text-secondary, #666);
    font-size: 15px;
    line-height: 1.6;
}

.email-highlight {
    background: var(--bg-tertiary, #f0f0f0);
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    color: #667eea;
    margin: 16px 0 !important;
    font-size: 14px !important;
    word-break: break-all;
}

.verification-message {
    color: var(--text-secondary, #666);
    font-size: 14px;
    margin-bottom: 24px !important;
    line-height: 1.5;
}

.verification-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
}

.verification-actions button {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: var(--bg-tertiary, #f0f0f0);
    color: var(--text-primary, #333);
    border: 1px solid var(--border-color, #ddd);
}

.btn-secondary:hover {
    background: var(--bg-hover, #e8e8e8);
    transform: translateY(-2px);
}

.btn-secondary:active,
.btn-primary:active {
    transform: translateY(0);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .welcome-modal-content {
        background: #1e1e1e;
        color: #e0e0e0;
    }

    .welcome-modal-body {
        color: #b0b0b0;
    }

    .welcome-modal-footer {
        background: #2a2a2a;
        border-top-color: #404040;
    }

    .verification-modal-content {
        background: #1e1e1e;
        color: #e0e0e0;
    }

    .verification-modal-content h2 {
        color: #e0e0e0;
    }

    .verification-modal-content p {
        color: #b0b0b0;
    }

    .email-highlight {
        background: #2a2a2a;
        color: #888eef;
    }

    .btn-secondary {
        background: #2a2a2a;
        color: #e0e0e0;
        border-color: #404040;
    }

    .btn-secondary:hover {
        background: #333333;
    }
}
