/* H5 Mobile Optimization - Prevent Zoom and Ensure Fixed Layout */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: pan-y pinch-zoom;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text selection for input fields and text areas */
input, textarea, [contenteditable] {
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 414px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

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

.header h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

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

.back-btn {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
}

.back-btn:hover {
    background: rgba(255,255,255,0.3);
}

.content {
    padding: 20px;
}

.hero-section {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin: -20px -20px 30px -20px;
}

.hero-section h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.hero-section p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.5;
}

.loan-apps {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
}

.loan-app {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.loan-app:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.loan-app-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.loan-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 24px;
    color: white;
}

.loan-info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.loan-info p {
    font-size: 14px;
    color: #666;
}

.loan-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.amount {
    font-size: 20px;
    font-weight: bold;
    color: #667eea;
}

.rating {
    color: #ffa726;
    font-size: 14px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    -webkit-user-select: text;
    user-select: text;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

/* Phone input with country prefix */
.phone-input-container {
    display: flex;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.phone-input-container:focus-within {
    border-color: #667eea;
}

.country-prefix {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 16px;
    border-right: 1px solid #ddd;
}

.phone-input-container input {
    flex: 1;
    border: none;
    padding: 15px 12px;
    font-size: 16px;
    background: white;
}

.phone-input-container input:focus {
    outline: none;
    border: none;
}

.input-hint {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    padding-left: 5px;
}

/* SMS related styles */
.form-group textarea {
    border-radius: 15px;
    resize: vertical;
    min-height: 120px;
    font-family: 'Courier New', monospace;
    line-height: 1.5;
    font-size: 14px;
}

.form-hint {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    padding-left: 5px;
    display: block;
}

.required {
    color: #dc3545;
    font-weight: bold;
}

.sms-validation {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    margin: 15px 0;
    border-left: 4px solid #28a745;
}

.validation-info h4 {
    color: #28a745;
    margin-bottom: 15px;
    font-size: 16px;
}

.sms-analysis {
    background: white;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.sms-analysis .analysis-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.sms-analysis .analysis-item:last-child {
    border-bottom: none;
}

.analysis-label {
    font-weight: 600;
    color: #333;
}

.analysis-value {
    color: #28a745;
    font-weight: 500;
}

.btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-bottom: 10px;
}

.btn:hover {
    transform: translateY(-2px);
}

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

.btn-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.btn-outline {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

.membership-cards {
    display: grid;
    gap: 12px;
    margin-bottom: 25px;
}

.membership-card {
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

/* Basic Plan - Silver Theme */
.membership-card[data-type="basic"] {
    background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%);
    border-left: 4px solid #9e9e9e;
}

.membership-card[data-type="basic"] .membership-title {
    color: #424242;
}

.membership-card[data-type="basic"] .membership-price {
    color: #757575;
}

/* Silver Plan - Light Blue Theme */
.membership-card[data-type="silver"] {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid #2196f3;
}

.membership-card[data-type="silver"] .membership-title {
    color: #1565c0;
}

.membership-card[data-type="silver"] .membership-price {
    color: #1976d2;
}

/* Gold Plan - Gold Theme */
.membership-card[data-type="gold"] {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border-left: 4px solid #ff9800;
}

.membership-card[data-type="gold"] .membership-title {
    color: #e65100;
}

.membership-card[data-type="gold"] .membership-price {
    color: #f57c00;
}

/* Premium Plan - Premium Purple/Black Theme */
.membership-card[data-type="premium"] {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-left: 4px solid #ffd700;
    color: white;
}

.membership-card[data-type="premium"] .membership-title {
    color: #ffd700;
}

.membership-card[data-type="premium"] .membership-price {
    color: #ffd700;
}

.membership-card[data-type="premium"] .membership-features li {
    color: #e0e0e0;
}

.membership-card:hover,
.membership-card.selected {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border-color: currentColor;
}

.membership-card.selected::after {
    content: '✓' !important;
    position: absolute;
    top: 12px;
    right: 12px;
    background: #4caf50 !important;
    color: white !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 12px !important;
    font-weight: bold;
    padding: 0 !important;
    letter-spacing: normal !important;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3) !important;
}

.membership-card.selected::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 12px;
    z-index: 1;
}

.membership-card > * {
    position: relative;
    z-index: 2;
}

/* Recommended badge for Gold plan */
.membership-card[data-type="gold"]::after {
    content: 'POPULAR';
    position: absolute;
    top: -8px;
    right: 15px;
    background: #ff5722;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(255, 87, 34, 0.3);
}

/* Premium badge for Premium plan */
.membership-card[data-type="premium"]::after {
    content: 'BEST VALUE';
    position: absolute;
    top: -8px;
    right: 15px;
    background: #ffd700;
    color: #1a1a2e;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.membership-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.membership-title::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.membership-price {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 12px;
}

.membership-price span {
    font-size: 14px;
    opacity: 0.8;
}

/* App Access Highlight */
.app-access-highlight {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    margin: 16px 0;
    box-shadow: 0 4px 8px rgba(255, 107, 107, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Theme-specific app access colors */
.membership-card[data-type="basic"] .app-access-highlight {
    background: linear-gradient(135deg, #8e8e93, #6d6d70);
    box-shadow: 0 4px 8px rgba(142, 142, 147, 0.3);
}

.membership-card[data-type="silver"] .app-access-highlight {
    background: linear-gradient(135deg, #007AFF, #0056b3);
    box-shadow: 0 4px 8px rgba(0, 122, 255, 0.4);
}

.membership-card[data-type="gold"] .app-access-highlight {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a1a;
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.4);
}

.membership-card[data-type="premium"] .app-access-highlight {
    background: linear-gradient(135deg, #FFD700, #B8860B);
    color: #1a1a1a;
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.5);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

/* Hover effects for app access highlight */
.membership-card:hover .app-access-highlight {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.membership-features {
    list-style: none;
    margin-bottom: 16px;
}

.membership-features li {
    padding: 3px 0;
    color: #666;
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.4;
}

.membership-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
    font-size: 12px;
}

.payment-info {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
}

.payment-account {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.copy-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
}

.copy-btn:hover {
    background: #5a6fd8;
}

.status-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    margin-bottom: 30px;
}

.status-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.withdrawal-amount {
    font-size: 36px;
    font-weight: bold;
    margin: 20px 0;
}

.alert {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-color: #28a745;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border-color: #dc3545;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border-color: #17a2b8;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
}

.step.active .step-number {
    background: #667eea;
    color: white;
}

.step.completed .step-number {
    background: #4caf50;
    color: white;
}

.step-title {
    font-size: 12px;
    color: #666;
}

.loading {
    text-align: center;
    padding: 50px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e0e0e0;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.contact-info {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    margin-top: 30px;
}

.contact-info h4 {
    margin-bottom: 15px;
    color: #333;
}

.phone-number {
    font-size: 18px;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.admin-table th,
.admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.admin-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
}

.admin-table tr:hover {
    background: #f8f9fa;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-confirmed {
    background: #d4edda;
    color: #155724;
}

.confirm-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 12px;
}

.confirm-btn:hover {
    background: #218838;
}

.sms-btn {
    background: #17a2b8;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 12px;
    margin: 2px;
}

.sms-btn:hover {
    background: #138496;
}

.reject-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 12px;
    margin: 2px;
}

.reject-btn:hover {
    background: #c82333;
}

/* Small phones (0-375px) */
/* Additional H5 Mobile Optimizations */
button, .btn {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

/* Prevent zoom on input focus for iOS */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    select, textarea, input[type="text"], input[type="password"], 
    input[type="datetime"], input[type="datetime-local"], 
    input[type="date"], input[type="month"], input[type="time"], 
    input[type="week"], input[type="number"], input[type="email"], 
    input[type="url"], input[type="search"], input[type="tel"], 
    input[type="color"] {
        font-size: 16px !important;
    }
}

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Optimize touch interactions */
a, button, .btn, [onclick] {
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
}

@media (max-width: 375px) {
    .container {
        max-width: 100%;
    }
    
    .header {
        padding: 15px 10px;
    }
    
    .header h1 {
        font-size: 20px;
        margin-bottom: 5px;
    }
    
    .header p {
        font-size: 12px;
    }
    
    .content {
        padding: 12px;
    }
    
    .hero-section {
        padding: 15px 12px;
        margin: -12px -12px 15px -12px;
    }
    
    .hero-section h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .hero-section p {
        font-size: 14px;
    }
    
    .loan-app {
        padding: 15px;
    }
    
    .loan-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
        margin-right: 12px;
    }
    
    .loan-info h3 {
        font-size: 16px;
    }
    
    .loan-info p {
        font-size: 12px;
    }
    
    .amount {
        font-size: 18px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 14px;
    }
    
    .country-prefix {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    .phone-input-container input {
        padding: 12px 10px;
        font-size: 14px;
    }
    
    .membership-card {
        padding: 12px;
    }
    
    .membership-title {
        font-size: 16px;
    }
    
    .membership-price {
        font-size: 18px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Medium phones (376-480px) */
@media (min-width: 376px) and (max-width: 480px) {
    .container {
        max-width: 100%;
    }
    
    .content {
        padding: 15px;
    }
    
    .hero-section {
        margin: -15px -15px 20px -15px;
        padding: 20px 15px;
    }
    
    .hero-section h2 {
        font-size: 24px;
    }
    
    .loan-app {
        padding: 18px;
    }
    
    .membership-cards {
        gap: 10px;
    }
    
    .membership-card {
        padding: 15px;
    }
    
    .membership-title {
        font-size: 16px;
    }
    
    .membership-price {
        font-size: 24px;
    }
    
    .membership-features li {
        font-size: 13px;
        padding-left: 16px;
    }
    
    .app-access-highlight {
        font-size: 14px;
        padding: 10px 16px;
        margin: 12px 0;
    }
    
    .country-prefix {
        font-size: 14px;
        padding: 12px 10px;
    }
    
    .phone-input-container input {
        font-size: 16px;
        padding: 12px 10px;
    }
    
    .input-hint {
        font-size: 11px;
    }
}

/* Large phones and small tablets (481-768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .container {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .content {
        padding: 20px;
    }
    
    .hero-section {
        padding: 25px 20px;
    }
    
    .hero-section h2 {
        font-size: 26px;
    }
    
    .loan-apps {
        gap: 18px;
    }
    
    .loan-app {
        padding: 22px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 16px;
        font-size: 16px;
    }
    
    .membership-card {
        padding: 20px;
    }
    
    .btn {
        padding: 16px 25px;
        font-size: 16px;
    }
}

/* Tablets (769-1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 600px;
        margin: 0 auto;
        box-shadow: 0 0 20px rgba(0,0,0,0.1);
    }
    
    .content {
        padding: 25px;
    }
    
    .hero-section {
        padding: 30px 25px;
    }
    
    .hero-section h2 {
        font-size: 30px;
    }
    
    .loan-apps {
        gap: 20px;
    }
    
    .loan-app {
        padding: 25px;
    }
    
    .loan-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .loan-info h3 {
        font-size: 20px;
    }
    
    .amount {
        font-size: 22px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 18px;
        font-size: 16px;
    }
    
    .membership-card {
        padding: 25px;
    }
    
    .membership-title {
        font-size: 22px;
    }
    
    .membership-price {
        font-size: 26px;
    }
}

/* Desktop (1025px+) */
@media (min-width: 1025px) {
    .container {
        max-width: 500px;
        margin: 0 auto;
        box-shadow: 0 0 30px rgba(0,0,0,0.1);
        border-radius: 20px;
        overflow: hidden;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    body {
        padding: 20px 0;
    }
    
    .content {
        padding: 30px;
    }
    
    .hero-section {
        padding: 35px 30px;
    }
    
    .hero-section h2 {
        font-size: 32px;
    }
    
    .loan-apps {
        gap: 25px;
    }
    
    .loan-app {
        padding: 30px;
        border-radius: 20px;
    }
    
    .loan-app:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 35px rgba(0,0,0,0.2);
    }
    
    .loan-icon {
        width: 65px;
        height: 65px;
        font-size: 30px;
    }
    
    .loan-info h3 {
        font-size: 22px;
    }
    
    .amount {
        font-size: 24px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 20px;
        font-size: 16px;
    }
    
    .membership-card {
        padding: 30px;
    }
    
    .membership-title {
        font-size: 24px;
    }
    
    .membership-price {
        font-size: 28px;
    }
    
    .btn {
        padding: 18px 30px;
        font-size: 16px;
    }
    
    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    }
} 

/* ================================
   全局聊天按钮位置调整
   防止聊天按钮遮挡底部按钮和WhatsApp支持组件
   ================================ */

/* Tawk.to聊天按钮位置调整 */
#tawkchat-minified-box, 
.tawk-min-box, 
.widget-frame,
[data-tawk],
iframe[src*="tawk"],
#tawkchat-container,
.tawk-chat-container {
    bottom: 20px !important;
    z-index: 9999 !important;
    transition: bottom 0.3s ease !important;
}

/* 当页面有固定底部按钮时的调整 */
body:has(.floating-action-buttons) #tawkchat-minified-box,
body:has(.floating-action-buttons) .tawk-min-box,
body:has(.floating-action-buttons) .widget-frame,
body:has(.floating-action-buttons) [data-tawk],
body:has(.floating-action-buttons) iframe[src*="tawk"] {
    bottom: 90px !important;
    z-index: 10001 !important;
}

/* 聊天窗口展开时的调整 */
#tawkchat-chat-container,
.tawk-chat-widget,
.tawk-chat-container {
    bottom: 20px !important;
    z-index: 9999 !important;
}

body:has(.floating-action-buttons) #tawkchat-chat-container,
body:has(.floating-action-buttons) .tawk-chat-widget,
body:has(.floating-action-buttons) .tawk-chat-container {
    bottom: 90px !important;
    z-index: 10001 !important;
}

/* 移动端特殊调整 */
@media (max-width: 768px) {
    /* 默认位置 */
    #tawkchat-minified-box, 
    .tawk-min-box, 
    .widget-frame,
    [data-tawk],
    iframe[src*="tawk"],
    #tawkchat-container,
    .tawk-chat-container {
        bottom: 20px !important;
        right: 15px !important;
    }
    
    /* 有底部按钮时上移更多 */
    body:has(.floating-action-buttons) #tawkchat-minified-box,
    body:has(.floating-action-buttons) .tawk-min-box,
    body:has(.floating-action-buttons) .widget-frame,
    body:has(.floating-action-buttons) [data-tawk],
    body:has(.floating-action-buttons) iframe[src*="tawk"] {
        bottom: 100px !important;
    }
    
    body:has(.floating-action-buttons) #tawkchat-chat-container,
    body:has(.floating-action-buttons) .tawk-chat-widget,
    body:has(.floating-action-buttons) .tawk-chat-container {
        bottom: 100px !important;
    }
}

/* 确保WhatsApp支持组件不被聊天按钮遮挡 */
.whatsapp-support-component {
    margin-bottom: 80px;
}

body:has(.floating-action-buttons) .whatsapp-support-component {
    margin-bottom: 120px;
}

@media (max-width: 768px) {
    .whatsapp-support-component {
        margin-bottom: 80px;
    }
    
    body:has(.floating-action-buttons) .whatsapp-support-component {
        margin-bottom: 130px;
    }
} 