/*
 Theme Name:   InvestPlus Child
 Theme URI:    http://investplus.local
 Description:  Custom Child Theme for InvestPlus Fintech App
 Author:       Your Name
 Author URI:   http://investplus.local
 Template:     generatepress
 Version:      1.0.0
 Text Domain:  investplus-child
*/
/* Hide default GeneratePress header and footer */
.site-header, .site-footer {
    display: none !important;
}

/* App Container */
.investplus-app {
    display: flex;
    min-height: 100vh;
    background-color: #f8fafc;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Desktop Sidebar */
.ip-sidebar {
    width: 260px;
    background-color: #0f172a;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    padding: 24px;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 100;
}

.ip-logo h2 { margin: 0 0 4px 0; font-size: 20px; color: #ffffff; }
.ip-logo p { margin: 0 0 40px 0; font-size: 12px; color: #64748b; }

.ip-nav { display: flex; flex-direction: column; gap: 8px; }
.ip-nav-item {
    padding: 12px 16px;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
}
.ip-nav-item:hover, .ip-nav-item.active {
    background-color: #1e293b;
    color: #ffffff;
}

/* Main Content Area */
.ip-main {
    flex: 1;
    margin-left: 260px; /* Offset for fixed sidebar */
    padding: 32px;
    min-height: 100vh;
}

/* Mobile Bottom Nav (Hidden on Desktop) */
.ip-bottom-nav {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ip-sidebar { display: none; }
    .ip-main { 
        margin-left: 0; 
        padding: 20px;
        padding-bottom: 80px; /* Space for bottom nav */
    }
    .ip-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #ffffff;
        border-top: 1px solid #e2e8f0;
        padding: 12px 0;
        z-index: 100;
    }
    .ip-bottom-nav .ip-nav-item {
        color: #64748b;
        font-size: 14px;
        padding: 8px 16px;
    }
    .ip-bottom-nav .ip-nav-item.active {
        color: #2563eb;
        background-color: transparent;
    }
}


/* --- DASHBOARD UI --- */
.ip-dashboard {
    max-width: 1000px;
    margin: 0 auto;
}

.ip-greeting h1 { margin: 0 0 4px 0; font-size: 24px; color: #0f172a; }
.ip-greeting p { margin: 0 0 24px 0; color: #64748b; font-size: 14px; }

/* Base Card Style */
.ip-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

/* Total Value Card (Dark Gradient) */
.ip-total-value-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    color: #ffffff;
    border: none;
    margin-bottom: 32px;
}
.ip-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 12px;
}
.ip-badge-green {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 11px;
    text-transform: none;
    letter-spacing: normal;
}
.ip-amount { font-size: 36px; margin: 0 0 24px 0; font-weight: 700; }
.ip-balance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ip-balance-grid div { display: flex; flex-direction: column; }
.ip-balance-grid span { font-size: 12px; color: #94a3b8; margin-bottom: 4px; }
.ip-balance-grid strong { font-size: 16px; font-weight: 600; }

/* Buttons */
.ip-action-buttons { display: flex; gap: 12px; }
.ip-btn-primary {
    background: #2563eb; color: #fff; border: none; padding: 10px 20px;
    border-radius: 8px; font-weight: 600; cursor: pointer; flex: 1;
}
.ip-btn-secondary {
    background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px; border-radius: 8px; font-weight: 600; cursor: pointer; flex: 1;
}
.ip-btn-outline {
    background: transparent; color: #2563eb; border: 1px solid #2563eb;
    padding: 8px 16px; border-radius: 8px; font-weight: 600; cursor: pointer; width: 100%; margin-top: 12px;
}

/* Section Headers */
.ip-section { margin-bottom: 32px; }
.ip-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.ip-section-header h3 { margin: 0; font-size: 18px; color: #0f172a; }
.ip-section-header a { color: #2563eb; text-decoration: none; font-size: 14px; font-weight: 500; }

/* Active Plan Card */
.ip-active-plan-card { max-width: 400px; }
.ip-plan-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ip-plan-icon { font-size: 24px; background: #f0fdf4; padding: 8px; border-radius: 12px; }
.ip-plan-header h4 { margin: 0 0 4px 0; font-size: 16px; color: #0f172a; }
.ip-status-active { font-size: 11px; color: #16a34a; background: #f0fdf4; padding: 2px 8px; border-radius: 12px; font-weight: 600; }
.ip-plan-amount { margin: 0 0 16px 0; font-size: 24px; color: #0f172a; }

/* Progress Bar */
.ip-progress-bar { background: #e2e8f0; height: 8px; border-radius: 4px; overflow: hidden; margin-bottom: 8px; }
.ip-progress { background: #2563eb; height: 100%; border-radius: 4px; }
.ip-plan-dates { display: flex; justify-content: space-between; font-size: 12px; color: #64748b; }
.ip-plan-dates strong { color: #0f172a; }

/* Available Plans Grid */
.ip-plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.ip-plan-card h4 { margin: 0 0 8px 0; font-size: 16px; color: #0f172a; }
.ip-plan-card p { margin: 4px 0; font-size: 13px; color: #64748b; }
.ip-plan-card p strong { color: #16a34a; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .ip-balance-grid { grid-template-columns: 1fr; gap: 12px; }
    .ip-amount { font-size: 28px; }
    .ip-action-buttons { flex-direction: column; }
    .ip-active-plan-card { max-width: 100%; }
}

/* --- INVESTMENT PAGE UI --- */
.ip-filter-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 8px; /* For scrollbar on mobile */
}

.ip-filter-btn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.ip-filter-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.ip-filter-btn.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

/* Investment Plan Cards */
.ip-investment-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.ip-plan-card {
    display: flex;
    flex-direction: column;
}

.ip-plan-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.ip-badge-popular {
    background: #f0fdf4;
    color: #16a34a;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
}

.ip-plan-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes button to bottom */
}

.ip-plan-stats div {
    display: flex;
    flex-direction: column;
}

.ip-plan-stats span {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.ip-plan-stats strong {
    font-size: 14px;
    color: #0f172a;
}

.ip-plan-stats strong.ip-green {
    color: #16a34a;
}
/* --- REFERRAL PAGE UI --- */
.ip-referral-link-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    color: #ffffff;
    border: none;
    margin-bottom: 24px;
}
.ip-referral-link-card h3 { margin: 0 0 8px 0; font-size: 20px; }
.ip-referral-link-card p { margin: 0 0 20px 0; color: #94a3b8; font-size: 14px; }

.ip-link-input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.ip-link-input-group input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
}
.ip-link-input-group input:focus { outline: none; border-color: #2563eb; }
.ip-link-input-group .ip-btn-primary { flex: 0 0 auto; padding: 12px 24px; }

.ip-share-buttons { display: flex; gap: 12px; }
.ip-btn-share {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    color: #ffffff;
    font-size: 14px;
}
.ip-share-fb { background: #1877f2; }
.ip-share-wa { background: #25d366; }
.ip-share-tg { background: #0088cc; }

/* Stats Grid */
.ip-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.ip-stat-card { text-align: center; padding: 20px; }
.ip-stat-card span { font-size: 13px; color: #64748b; display: block; margin-bottom: 8px; }
.ip-stat-card h3 { margin: 0; font-size: 28px; color: #0f172a; }
.ip-stat-card h3.ip-green { color: #16a34a; }

/* Bottom Grid Layout */
.ip-referral-bottom-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

/* Table Styles */
.ip-table-responsive { overflow-x: auto; }
.ip-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.ip-table th {
    text-align: left;
    padding: 12px 8px;
    border-bottom: 1px solid #e2e8f0;
    color: #64748b;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
}
.ip-table td {
    padding: 16px 8px;
    border-bottom: 1px solid #f1f5f9;
    color: #0f172a;
}
.ip-status-qualified {
    background: #f0fdf4; color: #16a34a; padding: 4px 10px; border-radius: 12px; font-size: 12px; font-weight: 600;
}
.ip-status-pending {
    background: #fffbeb; color: #d97706; padding: 4px 10px; border-radius: 12px; font-size: 12px; font-weight: 600;
}

/* How It Works Steps */
.ip-how-it-works { display: flex; flex-direction: column; gap: 20px; margin-top: 16px; }
.ip-step { display: flex; gap: 16px; align-items: flex-start; }
.ip-step-number {
    background: #eff6ff; color: #2563eb; width: 28px; height: 28px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.ip-step strong { display: block; font-size: 14px; color: #0f172a; margin-bottom: 4px; }
.ip-step p { margin: 0; font-size: 13px; color: #64748b; }

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .ip-user-stats-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .ip-user-main-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .ip-user-stats-grid { grid-template-columns: 1fr !important; }
    .ip-balance-grid { grid-template-columns: 1fr !important; }
}

/* --- USER DASHBOARD UI --- */
.ip-profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.ip-avatar {
    width: 56px;
    height: 56px;
    background: #2563eb;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}
.ip-profile-header h1 { margin: 0 0 4px 0; font-size: 22px; color: #0f172a; }
.ip-profile-header p { margin: 0; font-size: 13px; color: #64748b; }
.ip-verified {
    font-size: 12px;
    color: #16a34a;
    background: #f0fdf4;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

/* Blue Balance Card */
.ip-balance-card-blue {
    background: #2563eb;
    color: #ffffff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}
.ip-balance-card-blue span { font-size: 13px; color: #bfdbfe; display: block; margin-bottom: 8px; }
.ip-balance-card-blue h2 { margin: 0 0 20px 0; font-size: 32px; font-weight: 700; }
.ip-btn-white {
    background: #ffffff; color: #2563eb; border: none; padding: 10px 20px;
    border-radius: 8px; font-weight: 600; cursor: pointer; flex: 1;
}
.ip-btn-outline-white {
    background: transparent; color: #ffffff; border: 1px solid rgba(255,255,255,0.5);
    padding: 10px 20px; border-radius: 8px; font-weight: 600; cursor: pointer; flex: 1;
}

/* User Stats Grid */
.ip-user-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.ip-user-stat-card { padding: 16px; text-align: center; }
.ip-user-stat-card span { font-size: 12px; color: #64748b; display: block; margin-bottom: 8px; }
.ip-user-stat-card h3 { margin: 0; font-size: 20px; color: #0f172a; }

/* User Main Grid */
.ip-user-main-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 24px;
    margin-bottom: 24px;
}

/* Menu Card */
.ip-menu-card { padding: 8px 0; }
.ip-menu-item {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    color: #0f172a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}
.ip-menu-item:last-child { border-bottom: none; }
.ip-menu-item:hover { background: #f8fafc; }
.ip-menu-icon { margin-right: 12px; font-size: 18px; width: 24px; text-align: center; }
.ip-chevron { margin-left: auto; color: #94a3b8; font-size: 18px; }
.ip-text-danger { color: #dc2626 !important; }

/* Transactions List */
.ip-transactions-card { padding: 20px; }
.ip-transaction-list { display: flex; flex-direction: column; }
.ip-transaction-item {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f1f5f9;
}
.ip-transaction-item:last-child { border-bottom: none; }
.ip-tx-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 16px;
    flex-shrink: 0;
}
.ip-tx-invest { background: #eff6ff; }
.ip-tx-deposit { background: #f0fdf4; }
.ip-tx-withdraw { background: #fef2f2; }
.ip-tx-referral { background: #fffbeb; }
.ip-tx-profit { background: #f5f3ff; }

.ip-tx-details { flex: 1; display: flex; flex-direction: column; }
.ip-tx-details strong { font-size: 14px; color: #0f172a; margin-bottom: 2px; }
.ip-tx-details span { font-size: 12px; color: #64748b; }
.ip-tx-date { font-size: 11px !important; color: #94a3b8 !important; margin-top: 4px; }
.ip-tx-amount { font-size: 14px; font-weight: 600; }
.ip-text-success { color: #16a34a; }
.ip-text-danger { color: #dc2626; }

/* Quick Actions Footer */
.ip-quick-actions {
    display: flex;
    gap: 16px;
}
.ip-quick-actions .ip-btn-primary { flex: 1; padding: 12px; }
.ip-btn-secondary-blue {
    background: #ffffff; color: #2563eb; border: 1px solid #bfdbfe;
    padding: 12px; border-radius: 8px; font-weight: 600; cursor: pointer; flex: 1;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .ip-user-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .ip-user-main-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .ip-user-stats-grid { grid-template-columns: 1fr; }
    .ip-action-buttons { flex-direction: column; }
    .ip-quick-actions { flex-direction: column; }
}

/* --- MODAL STYLES --- */
.ip-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.ip-modal {
    background: #ffffff;
    width: 100%;
    max-width: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    animation: ipFadeIn 0.2s ease-out;
}
@keyframes ipFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.ip-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
}
.ip-modal-header h3 { margin: 0; font-size: 18px; color: #0f172a; }
.ip-modal-close {
    background: none; border: none; font-size: 24px; color: #94a3b8; cursor: pointer;
}
.ip-modal-body { padding: 24px; }
.ip-form-group { margin-bottom: 16px; }
.ip-form-group label { display: block; font-size: 13px; color: #64748b; margin-bottom: 6px; font-weight: 500; }
.ip-form-group input, .ip-form-group select {
    width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 8px;
    font-size: 14px; color: #0f172a; outline: none;
}
.ip-form-group input:focus, .ip-form-group select:focus { border-color: #2563eb; }
.ip-btn-full { width: 100%; padding: 14px; font-size: 15px; margin-top: 8px; }

/* --- WITHDRAWAL TEST BANNER --- */
.ip-test-banner {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fcd34d;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
}


/* Crypto Payment Styles */
#ip-crypto-details img {
    max-width: 180px;
    height: auto;
}
#ip-crypto-details code {
    font-family: monospace;
    background: #e2e8f0;
    padding: 4px 8px;
    border-radius: 4px;
}
#ip-crypto-section {
    animation: ipFadeIn 0.3s ease-out;
}

/* --- NOTIFICATIONS --- */
.ip-notification-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.2s;
}
.ip-notification-item:hover { background: #f8fafc; }
.ip-notification-item:last-child { border-bottom: none; }

.ip-notif-icon {
    font-size: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}
.ip-notif-success { background: #f0fdf4; }
.ip-notif-warning { background: #fffbeb; }
.ip-notif-error { background: #fef2f2; }
.ip-notif-info { background: #eff6ff; }

.ip-notif-content { flex: 1; }
.ip-notif-content strong { display: block; font-size: 14px; color: #0f172a; margin-bottom: 4px; }
.ip-notif-content p { margin: 0 0 6px 0; font-size: 13px; color: #64748b; line-height: 1.4; }
.ip-notif-date { font-size: 11px; color: #94a3b8; }

.ip-notif-unread { background: #f8fafc; border-left: 3px solid #2563eb; }
.ip-notif-read { opacity: 0.7; }


/* --- AUTHENTICATION PAGE --- */
.ip-auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    padding: 20px;
}
.ip-auth-card {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}
.ip-auth-header { text-align: center; margin-bottom: 30px; }
.ip-auth-header h1 { margin: 0 0 4px 0; font-size: 28px; color: #0f172a; }
.ip-auth-header p { margin: 0; font-size: 14px; color: #64748b; }

.ip-auth-tabs {
    display: flex;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 24px;
}
.ip-auth-tab {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}
.ip-auth-tab.active {
    background: #ffffff;
    color: #2563eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.ip-auth-form { display: block; }
.ip-auth-message { margin-top: 16px; font-size: 14px; text-align: center; min-height: 20px; }

/* Responsive */
@media (max-width: 768px) {
    .ip-auth-card { padding: 24px; }
    .ip-auth-header h1 { font-size: 24px; }
}

/* --- LEGAL PAGES --- */
.ip-legal-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #0f172a;
    background: #f8fafc;
    min-height: 100vh;
}
.ip-legal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}
.ip-legal-logo {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ip-legal-back {
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.ip-legal-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.ip-legal-content h1 {
    margin: 0 0 24px 0;
    font-size: 32px;
    color: #0f172a;
}
.ip-legal-body { line-height: 1.7; font-size: 15px; color: #334155; }
.ip-legal-body h2 { margin-top: 32px; margin-bottom: 12px; font-size: 20px; color: #0f172a; }
.ip-legal-body h3 { margin-top: 24px; margin-bottom: 8px; font-size: 16px; color: #0f172a; }
.ip-legal-body p { margin-bottom: 16px; }
.ip-legal-body ul { padding-left: 24px; margin-bottom: 16px; }
.ip-legal-body li { margin-bottom: 8px; }
.ip-legal-body strong { color: #0f172a; }

.ip-legal-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 13px;
}
.ip-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
}
.ip-legal-links a {
    color: #2563eb;
    text-decoration: none;
    font-size: 13px;
}

/* Hide WP admin bar padding on legal pages */
.site-header, .site-footer { display: none !important; }

@media (max-width: 768px) {
    .ip-legal-wrapper { padding: 20px 16px; }
    .ip-legal-content { padding: 24px; }
    .ip-legal-content h1 { font-size: 24px; }
    .ip-legal-header { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* Withdrawal Tabs */
.ip-withdraw-tabs {
    display: flex;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 20px;
}
.ip-withdraw-tab {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
}
.ip-withdraw-tab.active {
    background: #ffffff;
    color: #2563eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}