/* static/css/style.css - Updated to match your design */
:root {
    --primary-color: #a3ff3d;
    --secondary-color: #1a1a1a;
    --dark-bg: #0a0a0a;
    --darker-bg: #000000;
    --card-bg: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --success-color: #a3ff3d;
    --danger-color: #ff4757;
    --border-color: #2d2d2d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.dark-theme {
    background-color: var(--darker-bg);
    color: var(--text-primary);
    min-height: 100vh;
}

/* Navigation */
.navbar {
    background-color: var(--dark-bg) !important;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
}

.btn-primary:hover {
    background-color: #8ee62a;
    border-color: #8ee62a;
    color: #000;
}

.btn-ghost {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    font-weight: 500;
}

.btn-ghost:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* Hero Section */
.hero-section {
    background: var(--darker-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;
}

.highlight {
    color: var(--primary-color);
}

/* Dashboard Preview */
.dashboard-preview {
    display: flex;
    justify-content: center;
}

.trading-widget {
    background: linear-gradient(135deg, var(--card-bg) 0%, #2a2a2a 100%);
    border-radius: 20px;
    padding: 2rem;
    min-width: 300px;
    border: 1px solid var(--border-color);
}

.widget-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 1rem;
}

.widget-status {
    color: var(--success-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.widget-balance .balance-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.widget-balance .balance-change {
    color: var(--success-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.widget-balance .balance-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Trading Section */
.trading-section {
    background: var(--dark-bg);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.link-arrow {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.link-arrow:hover {
    color: var(--primary-color);
}

.trading-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.trading-pair {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.card-balance .balance-large {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.card-balance .balance-main {
    font-size: 2rem;
    font-weight: 700;
    color: var(--success-color);
    margin-top: 0.5rem;
}

/* Income Section */
.income-section {
    background: var(--darker-bg);
}

.income-card {
    max-width: 500px;
}

.income-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.income-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.income-stats {
    display: flex;
    gap: 3rem;
}

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-item .stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* Trust Section */
.trust-section {
    background: var(--dark-bg);
}

.trust-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.feature-item h6 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Balance Widget */
.balance-widget {
    background: var(--primary-color);
    border-radius: 20px;
    padding: 2rem;
    color: #000;
}

.widget-header-large .widget-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.widget-stats .percentage {
    color: #000;
    font-weight: 600;
    font-size: 0.9rem;
}

.widget-stats .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    line-height: 1;
}

.widget-stats .time {
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.9rem;
}

.balance-details {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.balance-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.balance-subrow {
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.balance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1rem 0;
}

.balance-item span {
    font-weight: 600;
    color: #000;
    display: block;
}

.balance-item small {
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.8rem;
}

/* Crypto Hub */
.crypto-hub-section {
    background: var(--darker-bg);
}

.crypto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.crypto-item {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.crypto-item:hover {
    background: #2a2a2a;
    transform: translateY(-2px);
}

.crypto-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.crypto-icon.bitcoin { background: #f7931a; color: #fff; }
.crypto-icon.ethereum { background: #627eea; color: #fff; }
.crypto-icon.doge { background: #c2a633; color: #fff; }
.crypto-icon.solana { background: #9945ff; color: #fff; }
.crypto-icon.cardano { background: #0033ad; color: #fff; }
.crypto-icon.tether { background: #26a17b; color: #fff; }

.crypto-info {
    flex: 1;
}

.crypto-name {
    font-weight: 600;
    color: var(--text-primary);
}

.crypto-price {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.crypto-chart {
    width: 100px;
}

.crypto-change {
    font-weight: 600;
    font-size: 0.9rem;
}

.crypto-change.positive { color: var(--success-color); }
.crypto-change.negative { color: var(--danger-color); }
.crypto-change.neutral { color: var(--text-secondary); }

/* Transactions Section */
.transactions-section {
    background: var(--dark-bg);
}

.unique-features {
    margin-top: 2rem;
}

.feature-highlight h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-tags {
    margin-bottom: 0.5rem;
}

.tag {
    background: rgba(163, 255, 61, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Received Widget */
.received-widget {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.received-widget .widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.received-widget .widget-header h6 {
    color: var(--text-primary);
    margin: 0;
}

.amount-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.transactions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
}

.tx-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.tx-icon.bitcoin { background: #f7931a; color: #fff; }
.tx-icon.ethereum { background: #627eea; color: #fff; }
.tx-icon.doge { background: #c2a633; color: #fff; }
.tx-icon.cardano { background: #0033ad; color: #fff; }

.tx-info {
    flex: 1;
}

.tx-name {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.tx-date {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.tx-amount {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.tx-status {
    background: var(--primary-color);
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: var(--darker-bg);
    padding: 4rem 0;
}

.cta-widget {
    background: var(--primary-color);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    color: #000;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}

.cta-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: rgba(0, 0, 0, 0.8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    border-top: 1px solid var(--border-color);
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: #000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .income-title {
        font-size: 2rem;
    }
    
    .income-stats {
        gap: 2rem;
    }
    
    .stat-item .stat-number {
        font-size: 2.5rem;
    }
    
    .crypto-grid {
        grid-template-columns: 1fr;
    }
    
    .trading-widget,
    .balance-widget,
    .received-widget {
        margin-top: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .widget-stats .amount {
        font-size: 2rem;
    }
    
    .cta-widget {
        padding: 3rem 1.5rem;
    }
}

.logo{
    width: 10%;
    border: 2px solid rgb(17, 100, 42);
}

.logo_section{
    width: 40%;
    border: 2px solid lightblue;
    box-sizing: content-box;
    
}


/* static/css/style.css - Add these logo styles */

/* Logo Styles for All Templates */
.brand-logo-container {
    display: flex;
    align-items: center;
    height: 50px; /* Fixed container height */
}

.brand-logo {
    max-height: 45px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.navbar-brand {
    padding: 0.5rem 0;
    margin-right: 1rem;
    text-decoration: none;
}

.navbar-brand:hover .brand-logo {
    transform: scale(1.05);
}

/* Sidebar Logo */
.sidebar-logo-container {
    display: flex;
    align-items: center;
    height: 30px;
}

.sidebar-logo {
    max-height: 25px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

/* Footer Logo */
.footer-logo-container {
    display: flex;
    align-items: center;
    height: 40px;
}

.footer-logo {
    max-height: 35px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.footer-brand {
    align-items: center !important;
}

/* Responsive Logo Adjustments */
@media (max-width: 1200px) {
    .brand-logo {
        max-width: 180px;
        max-height: 40px;
    }
}

@media (max-width: 992px) {
    .brand-logo {
        max-width: 160px;
        max-height: 35px;
    }
    
    .sidebar-logo {
        max-width: 100px;
        max-height: 22px;
    }
}

@media (max-width: 768px) {
    .brand-logo {
        max-width: 140px;
        max-height: 30px;
    }
    
    .brand-logo-container {
        height: 40px;
    }
    
    .footer-logo {
        max-width: 120px;
        max-height: 30px;
    }
    
    .footer-logo-container {
        height: 35px;
    }
}

@media (max-width: 576px) {
    .brand-logo {
        max-width: 120px;
        max-height: 28px;
    }
    
    .brand-logo-container {
        height: 35px;
    }
    
    .navbar-brand {
        margin-right: 0.5rem;
    }
    
    .sidebar-logo {
        max-width: 80px;
        max-height: 20px;
    }
    
    .footer-logo {
        max-width: 100px;
        max-height: 25px;
    }
}

@media (max-width: 400px) {
    .brand-logo {
        max-width: 100px;
        max-height: 25px;
    }
    
    .brand-logo-container {
        height: 30px;
    }
}

/* Additional Navbar Adjustments */
.top-navbar {
    min-height: 70px;
    padding: 0.5rem 0;
}

.navbar-dark .navbar-brand {
    color: #ffffff;
}

.navbar-dark .navbar-brand:hover {
    color: #ffffff;
}

/* Ensure proper alignment */
.navbar-brand.d-flex {
    align-items: center !important;
}

/* Logo loading optimization */
.brand-logo,
.sidebar-logo,
.footer-logo {
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}