/* ========================================
   VERIFICATION PAGE - iOS Glass Style
   ======================================== */

.verify-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.verify-card {
    width: 100%;
    max-width: 440px;
    padding: 48px 40px;
    animation: slideUp 0.6s ease-out;
}

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

.verify-header {
    text-align: center;
    margin-bottom: 36px;
}

.verify-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(145deg, #007AFF, #5856D6);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.3);
}

.verify-icon i {
    font-size: 36px;
    color: white;
}

.verify-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.verify-header p {
    color: #86868b;
    font-size: 0.95rem;
}

/* Alerts */
.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    font-weight: 500;
}

.alert-error {
    background: rgba(255, 59, 48, 0.12);
    border: 1px solid rgba(255, 59, 48, 0.2);
    color: #d70015;
}

.alert-success {
    background: rgba(52, 199, 89, 0.12);
    border: 1px solid rgba(52, 199, 89, 0.2);
    color: #248a3d;
}

.alert i {
    font-size: 1.1rem;
}

/* Form Styles */
.verify-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1d1d1f;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #86868b;
    font-size: 1rem;
}

.input-wrapper input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    color: #1d1d1f;
    font-family: inherit;
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #007AFF;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}

.input-wrapper input::placeholder {
    color: #86868b;
}

.input-hint {
    font-size: 0.8rem;
    color: #86868b;
}

/* OTP Input */
.otp-input-wrapper input {
    width: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 2rem;
    font-weight: 600;
    color: #1d1d1f;
    font-family: 'SF Mono', 'Monaco', monospace;
    text-align: center;
    letter-spacing: 12px;
    transition: all 0.3s ease;
}

.otp-input-wrapper input:focus {
    outline: none;
    border-color: #007AFF;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}

.otp-input-wrapper input::placeholder {
    color: #c7c7cc;
    letter-spacing: 12px;
}

/* Email Display */
.email-display {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(0, 122, 255, 0.08);
    border: 1px solid rgba(0, 122, 255, 0.15);
    border-radius: 12px;
    color: #007AFF;
    font-weight: 500;
    margin-bottom: 8px;
}

.email-display i {
    font-size: 1rem;
}

.email-display span {
    flex: 1;
}

.change-email-btn {
    background: none;
    border: none;
    color: #007AFF;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.change-email-btn:hover {
    background: rgba(0, 122, 255, 0.1);
}

/* Remember Checkbox */
.remember-wrapper {
    margin: 4px 0;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.8);
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.checkbox-container:hover .checkmark {
    border-color: #007AFF;
}

.checkbox-container input:checked ~ .checkmark {
    background: #007AFF;
    border-color: #007AFF;
}

.checkmark::after {
    content: '';
    display: none;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.checkbox-container input:checked ~ .checkmark::after {
    display: block;
}

.checkbox-label {
    font-size: 0.9rem;
    color: #1d1d1f;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #007AFF;
    color: white;
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3);
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.4);
}

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

.btn-full {
    width: 100%;
}

/* Resend Form */
.resend-form {
    margin-top: 16px;
}

/* Resend */
.resend-wrapper {
    text-align: center;
    font-size: 0.9rem;
    color: #86868b;
}

.resend-btn {
    background: none;
    border: none;
    color: #007AFF;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.resend-btn:hover {
    background: rgba(0, 122, 255, 0.1);
}

/* Security Note */
.security-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: #86868b;
    font-size: 0.85rem;
}

.security-note i {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 480px) {
    .verify-card {
        padding: 36px 24px;
    }
    
    .verify-header h1 {
        font-size: 1.5rem;
    }
    
    .otp-input-wrapper input {
        font-size: 1.5rem;
        letter-spacing: 8px;
        padding: 16px;
    }
    
    .otp-input-wrapper input::placeholder {
        letter-spacing: 8px;
    }
}
