* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left .menu-btn {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #666;
    font-size: 12px;
    cursor: pointer;
}

.header-left .menu-btn i {
    font-size: 18px;
    margin-bottom: 2px;
}

.header-center .logo {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.header-right {
    display: flex;
    gap: 12px;
}

.icon-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.icon-btn:hover {
    background-color: #f3f4f6;
}

/* Main Content */
.main-content {
    padding: 16px;
    max-width: 400px;
    margin: 0 auto;
}

/* Dots Indicator */
.dots-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #d1d5db;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #6b7280;
}

/* Promotional Card */
.promo-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 24px;
}

.promo-header {
    background: #84cc16;
    padding: 8px 16px;
}

.promo-tag {
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.promo-content {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    display: flex;
    align-items: center;
    padding: 16px;
}

.promo-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.promo-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
}

.promo-text {
    flex: 1.2;
    color: white;
    padding-left: 16px;
    font-size: 14px;
    line-height: 1.4;
}

.promo-text strong {
    font-weight: 700;
}

/* Navigation Icons - Exactly as in photo */
.nav-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.nav-item {
    background: white;
    padding: 20px 16px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.nav-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: white;
    font-size: 20px;
}

.nav-icon.blue {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.nav-icon.green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.nav-icon.orange {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.nav-icon.purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.nav-item span {
    font-size: 13px;
    color: #374151;
    font-weight: 500;
    line-height: 1.3;
}

/* Products Section */
.products-section {
    margin-bottom: 24px;
}

.products-section h2 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
}

.account-cards {
    margin-bottom: 12px;
}

.account-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.account-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.account-info h3,
.account-type span {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.account-info p,
.account-type p {
    font-size: 12px;
    color: #6b7280;
}

.account-balance {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.balance-item {
    display: flex;
    flex-direction: column;
}

.balance-label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.balance-amount {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.movements-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #3b82f6;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

/* Page Dots */
.page-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.page-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #d1d5db;
    transition: background-color 0.3s;
}

.page-dot.active {
    background-color: #1f2937;
}

/* Consorcio Section */
.consorcio-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.consorcio-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.consorcio-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.consorcio-logo {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.user-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
}

.user-info {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.user-avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.user-details {
    flex: 1;
}

.user-details h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.user-details p {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.pending-amount {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.enter-btn {
    background: #84cc16;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.enter-btn:hover {
    background: #65a30d;
}

.user-summary {
    display: flex;
    justify-content: space-around;
    margin-bottom: 16px;
    padding: 12px 0;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
}

.summary-item {
    text-align: center;
}

.summary-label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.summary-value {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.config-section {
    text-align: center;
}

.config-btn {
    background: none;
    border: 1px solid #d1d5db;
    color: #374151;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
    transition: all 0.2s;
}

.config-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 480px) {
    .main-content {
        padding: 12px;
    }
    
    .promo-content {
        flex-direction: column;
        height: auto;
        padding: 20px 16px;
        text-align: center;
    }
    
    .promo-text {
        padding-left: 0;
        padding-top: 16px;
    }
    
    .account-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .account-balance {
        flex-direction: column;
        gap: 12px;
    }
    
    .user-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .user-avatar {
        flex-direction: row;
        align-items: center;
    }
}

/* Animation for smooth interactions */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.promo-card,
.nav-icons,
.account-card,
.consorcio-section {
    animation: fadeIn 0.6s ease-out;
}

/* Loading states and micro-interactions */
.nav-item:active {
    transform: translateY(0) scale(0.98);
}

.enter-btn:active {
    transform: scale(0.95);
}

.config-btn:active {
    transform: scale(0.95);
}
