/* Email Verification Dialog Styles */
.verification-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.verification-dialog {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideUp 0.3s ease;
}

.verification-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.verification-dialog-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    background: linear-gradient(45deg, #3498db, #2980b9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.verification-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #7f8c8d;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.verification-close-btn:hover {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    transform: rotate(90deg);
}

.verification-dialog-content {
    padding: 32px;
    text-align: center;
}

.verification-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.verification-dialog-content p {
    color: #7f8c8d;
    font-size: 16px;
    margin: 16px 0 8px;
    line-height: 1.5;
}

.verification-dialog-content strong {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    display: block;
    margin: 8px 0 24px;
    padding: 12px 16px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.verification-code-input {
    margin: 24px 0;
}

.verification-code-input input {
    width: 100%;
    max-width: 200px;
    padding: 16px 20px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    border: 2px solid #e0e6ed;
    border-radius: 12px;
    background: #ffffff;
    color: #2c3e50;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    outline: none;
}

.verification-code-input input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    transform: scale(1.02);
}

.verification-code-input input::placeholder {
    color: #bdc3c7;
    font-weight: 400;
    letter-spacing: 1px;
}

.verification-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0 16px;
}

.btn-verify,
.btn-resend,
.btn-cancel {
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-verify {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-verify:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

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

.btn-resend {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-resend:hover {
    background: #3498db;
    color: white;
    transform: translateY(-1px);
}

.btn-cancel {
    background: transparent;
    color: #e74c3c;
    border: 2px solid #e74c3c;
}

.btn-cancel:hover {
    background: #e74c3c;
    color: white;
    transform: translateY(-1px);
}

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

.verification-message {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    min-height: 20px;
    transition: all 0.3s ease;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .verification-dialog {
        width: 95%;
        margin: 20px;
    }
    
    .verification-dialog-content {
        padding: 24px 20px;
    }
    
    .verification-dialog-header {
        padding: 20px 20px 12px;
    }
    
    .verification-dialog-header h3 {
        font-size: 20px;
    }
    
    .verification-code-input input {
        font-size: 18px;
        padding: 14px 16px;
    }
    
    .btn-verify,
    .btn-resend,
    .btn-cancel {
        padding: 12px 20px;
        font-size: 15px;
    }
}

/* Loading state for buttons */
.btn-verify.loading,
.btn-resend.loading,
.btn-cancel.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-verify.loading::after,
.btn-resend.loading::after,
.btn-cancel.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: buttonSpin 1s linear infinite;
}

@keyframes buttonSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 