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

.verify-card {
    max-width: 500px;
    width: 100%;
    background: white;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: slideUp 0.5s ease;
}

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

.verify-header {
    background: linear-gradient(135deg, #da0b4e, #4f46e5);
    padding: 32px;
    text-align: center;
    color: white;
}

.verify-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.verify-header p {
    font-size: 14px;
    opacity: 0.9;
}

.verify-content {
    padding: 32px;
}

.phone-info {
    background: #f8fafc;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    margin-bottom: 28px;
    border: 1px solid #e2e8f0;
}

.phone-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #da0b4e, #4f46e5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.phone-icon i {
    font-size: 28px;
    color: white;
}

.phone-number {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.phone-hint {
    font-size: 12px;
    color: #64748b;
}

.alert {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.alert-success {
    background: #d1fae5;
    border-left: 4px solid #10b981;
    color: #065f46;
}

.alert-error {
    background: #fee2e2;
    border-left: 4px solid #ef4444;
    color: #991b1b;
}

.alert-info {
    background: #e0f2fe;
    border-left: 4px solid #3b82f6;
    color: #075985;
}

.alert-warning {
    background: #fed7aa;
    border-left: 4px solid #f59e0b;
    color: #92400e;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
}

.form-group label i {
    color: #da0b4e;
    margin-right: 8px;
}

.code-input-group {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-direction: column;
}

.code-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 8px;
    font-family: 'Inter', monospace;
    transition: all 0.3s;
}

.code-input:focus {
    outline: none;
    border-color: #da0b4e;
    box-shadow: 0 0 0 3px rgba(218, 11, 78, 0.1);
}

.code-input.error {
    border-color: #ef4444;
}

/* OTP Boxes Layout */
.otp-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 20px 0;
}

.otp-box {
    width: 55px;
    height: 65px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    font-family: 'Inter', monospace;
    transition: all 0.3s;
}

.otp-box:focus {
    outline: none;
    border-color: #da0b4e;
    box-shadow: 0 0 0 3px rgba(218, 11, 78, 0.1);
}

.otp-box.error {
    border-color: #ef4444;
}

.timer {
    text-align: center;
    margin: 20px 0;
    padding: 12px;
    background: #f1f5f9;
    border-radius: 40px;
    font-size: 14px;
}

.timer i {
    color: #da0b4e;
    margin-right: 8px;
}

.timer span {
    font-weight: 700;
    font-size: 18px;
    color: #1e293b;
}

.timer.expired {
    background: #fee2e2;
}

.timer.expired span {
    color: #ef4444;
}

.resend-link {
    text-align: center;
    margin-top: 16px;
}

.resend-link a {
    color: #da0b4e;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.resend-link a:hover {
    text-decoration: underline;
}

.resend-link a.disabled {
    color: #94a3b8;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-group {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-primary {
    flex: 1;
    background: linear-gradient(135deg, #da0b4e, #4f46e5);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -8px rgba(218, 11, 78, 0.4);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    flex: 1;
    background: white;
    border: 2px solid #e2e8f0;
    color: #64748b;
    padding: 14px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: #da0b4e;
    color: #da0b4e;
}

.help-text {
    margin-top: 24px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 16px;
    font-size: 12px;
    color: #64748b;
    text-align: center;
    line-height: 1.5;
}

.help-text i {
    color: #da0b4e;
    margin-right: 6px;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-overlay.active {
    display: flex;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e2e8f0;
    border-top-color: #da0b4e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 550px) {
    .verify-content {
        padding: 24px;
    }
    
    .code-input {
        font-size: 22px;
        letter-spacing: 4px;
    }
    
    .otp-box {
        width: 45px;
        height: 55px;
        font-size: 24px;
    }
    
    .btn-group {
        flex-direction: column;
    }
}