/* assets/css/style.css - Premium Blue, Gold & Green Gradient Theme */



:root {
    /* Primary Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #48bb78 50%, #fbbf24 100%);
    --gradient-blue: linear-gradient(135deg, #4299e1 0%, #667eea 100%);
    --gradient-green: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --gradient-mixed: linear-gradient(45deg, #667eea, #48bb78, #fbbf24, #48bb78, #667eea);
    
    /* Solid Colors */
    --blue-500: #4299e1;
    --blue-600: #3182ce;
    --blue-700: #2b6cb0;
    --green-500: #48bb78;
    --green-600: #38a169;
    --green-700: #2f855a;
    --gold-500: #fbbf24;
    --gold-600: #f59e0b;
    --gold-700: #d97706;
       --milk-bg: #fdf8f2;  /* Warm milk color */
    --milk-dark: #f5ebe0;  /* Slightly darker milk */
    --milk-card: #ffffff;  /* White cards for contrast */
    --text-primary: #4a3729;  /* Dark brown for text */
    --text-secondary: #7f6b5f;  /* Lighter brown */
    --accent-blue: #8ba8c7;  /* Soft blue */
    --accent-gold: #e6b87e;  /* Soft gold */
    --accent-green: #9fb7a5;  /* Soft green */
    --gradient-milk: linear-gradient(135deg, #fdf8f2 0%, #f5ebe0 100%);
    /* Background Colors */
    --bg-dark: #1a202c;
    --bg-light: #f7fafc;
    --bg-card: rgba(255, 255, 255, 0.95);
    
    /* Text Colors */
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --text-light: #a0aec0;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-glow-blue: 0 0 15px rgba(102, 126, 234, 0.5);
    --shadow-glow-green: 0 0 15px rgba(72, 187, 120, 0.5);
    --shadow-glow-gold: 0 0 15px rgba(251, 191, 36, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
   background: #fdf8f2 !important;  /* Warm milk color */
    background-image: radial-gradient(circle at 10% 20%, rgba(230, 184, 126, 0.05) 0%, transparent 20%),
                      radial-gradient(circle at 90% 80%, rgba(139, 168, 199, 0.05) 0%, transparent 20%);
    color: #4a3729;
    min-height: 100vh;
   
    line-height: 1.6
  


}


/* Update header background */
.header {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(230, 184, 126, 0.2);
}

/* Update card backgrounds */
.card, .grid-item, .token-card, .balance-card, .swap-card, .info-card, .history-card {
    background: #ffffff !important;
    border: 1px solid rgba(230, 184, 126, 0.2) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.02) !important;
}

/* Update text colors */
h1, h2, h3, h4, h5, h6 {
    color: #4a3729;
}

/* Update form inputs */
input, select, textarea {
    background: #fdf8f2 !important;
    border: 1px solid rgba(230, 184, 126, 0.2) !important;
    color: #4a3729 !important;
}

/* Update buttons with new colors */
.btn-primary {
    background: linear-gradient(135deg, #8ba8c7, #9fb7a5) !important;
    color: white !important;
}

.btn-success {
    background: linear-gradient(135deg, #9fb7a5, #8ba8c7) !important;
}

.btn-warning {
    background: linear-gradient(135deg, #e6b87e, #d4a574) !important;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Animated Gradient Background */
.gradient-bg {
    background: linear-gradient(-45deg, #667eea, #48bb78, #fbbf24, #48bb78, #667eea);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glassmorphism Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
}

/* Header Styles */
.header {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid transparent;
    border-image: var(--gradient-primary);
    border-image-slice: 1;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.5px;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.nav {
    display: flex;
    gap: 25px;
}

.nav a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav a:hover {
    background: var(--gradient-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-blue);
}

.nav a.active {
    background: var(--gradient-green);
    color: white;
}

/* Cards with Gradient Borders */
.card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.card::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    background: var(--gradient-primary);
    border-radius: 18px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Balance Cards */
.balance-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 30px 0;
}

.balance-cards .card {
    text-align: center;
    padding: 30px 20px;
}

.balance-cards .card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.balance-cards .card h3 {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.balance-cards .card .balance {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.balance-cards .card:nth-child(1) .balance {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.balance-cards .card:nth-child(2) .balance {
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.balance-cards .card:nth-child(3) .balance {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.grid-item {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.grid-item h2 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    padding-bottom: 10px;
    border-bottom: 2px solid transparent;
    border-image: var(--gradient-primary);
    border-image-slice: 1;
}

/* Trading Panel */
.trade-panel {
    grid-column: span 2;
    background: linear-gradient(135deg, #667eea10 0%, #48bb7810 50%, #fbbf2410 100%);
}

.price-ticker {
    background: linear-gradient(135deg, #667eea20 0%, #48bb7820 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.current-price {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-bnb {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: normal;
}

.liquidity-info {
    display: inline-block;
    padding: 8px 16px;
    background: var(--gradient-green);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Buttons with Gradients */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-blue);
    color: white;
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.3);
}

.btn-primary:hover {
    background: var(--gradient-blue);
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-blue);
}

.btn-success {
    background: var(--gradient-green);
    color: white;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
}

.btn-warning {
    background: var(--gradient-gold);
    color: white;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

/* Trade Type Buttons */
.trade-type-selector {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.type-btn {
    flex: 1;
    padding: 14px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.type-btn[data-type="buy"].active {
    background: var(--gradient-green);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-glow-green);
}

.type-btn[data-type="sell"].active {
    background: var(--gradient-gold);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-glow-gold);
}

/* Token Cards */
.tokens-section {
    margin: 40px 0;
}

.tokens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.token-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.token-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    opacity: 0.1;
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.token-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: #667eea;
    box-shadow: var(--shadow-lg);
}

.token-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    border: 3px solid transparent;
    background: var(--gradient-primary);
    padding: 3px;
}

.token-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: white;
}

.default-logo {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
}

.token-info {
    flex: 1;
}

.token-info h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.token-info .symbol {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 4px 0 8px;
}

.token-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    font-size: 0.85rem;
}

.token-stats .stat {
    display: flex;
    flex-direction: column;
}

.token-stats .label {
    color: var(--text-light);
    font-size: 0.7rem;
    text-transform: uppercase;
}

.token-stats .value {
    font-weight: 600;
}

.token-stats .value.positive {
    color: var(--green-500);
}

.token-stats .value.negative {
    color: #f56565;
}

.btn-trade {
    padding: 8px 16px;
    background: var(--gradient-blue);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s;
}

.btn-trade:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-glow-blue);
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    text-align: left;
    padding: 15px 10px;
    background: linear-gradient(135deg, #667eea20 0%, #48bb7820 100%);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e2e8f0;
}

.table tr:hover {
    background: linear-gradient(135deg, #667eea10 0%, #48bb7810 100%);
}

.table .buy {
    color: var(--green-500);
    font-weight: 600;
}

.table .sell {
    color: var(--gold-500);
    font-weight: 600;
}

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.alert-success {
    background: linear-gradient(135deg, #48bb7820 0%, #38a16920 100%);
    color: var(--green-700);
    border: 1px solid var(--green-500);
}

.alert-success::before {
    background: var(--gradient-green);
}

.alert-error {
    background: linear-gradient(135deg, #fc818120 0%, #f5656520 100%);
    color: #c53030;
    border: 1px solid #fc8181;
}

.alert-error::before {
    background: linear-gradient(135deg, #fc8181 0%, #f56565 100%);
}

/* Status Badges */
.status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending {
    background: linear-gradient(135deg, #fbbf2420 0%, #f59e0b20 100%);
    color: var(--gold-700);
}

.status-approved {
    background: linear-gradient(135deg, #48bb7820 0%, #38a16920 100%);
    color: var(--green-700);
}

.status-rejected {
    background: linear-gradient(135deg, #fc818120 0%, #f5656520 100%);
    color: #c53030;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Loading Spinner with Gradient */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top-color: #667eea;
    border-right-color: #48bb78;
    border-bottom-color: #fbbf24;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s;
}

/* Staking Cards */
.staking-overview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.staking-stat {
    background: linear-gradient(135deg, #667eea10 0%, #48bb7810 100%);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.staking-stat .label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 5px;
}

.staking-stat .value {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.staking-item {
    background: linear-gradient(135deg, #667eea10 0%, #48bb7810 100%);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    border-left: 4px solid transparent;
    border-image: var(--gradient-primary);
    border-image-slice: 1;
}

/* Admin Dashboard */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.stat-card .number {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Chart Container */
.chart-container {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    height: 400px;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.chart-container::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    background: var(--gradient-primary);
    border-radius: 18px;
    z-index: -1;
    opacity: 0.3;
}

/* Order Book */
.orderbook {
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.orderbook-header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 10px;
    background: linear-gradient(135deg, #667eea20 0%, #48bb7820 100%);
    font-weight: 600;
    font-size: 0.9rem;
}

.orderbook-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 8px 10px;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.orderbook-row.ask:hover {
    background: linear-gradient(90deg, #fc818120 0%, transparent 100%);
}

.orderbook-row.bid:hover {
    background: linear-gradient(90deg, #48bb7820 0%, transparent 100%);
}

.orderbook-spread {
    padding: 10px;
    text-align: center;
    background: #f7fafc;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .trade-panel {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .balance-cards {
        grid-template-columns: 1fr;
    }
    
    .tokens-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .token-card {
        flex-direction: column;
        text-align: center;
    }
    
    .token-stats {
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(135deg, #667eea20 0%, #48bb7820 100%);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    filter: brightness(1.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 20px;
}

.nav a {
    color: #666;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s;
}

.nav a:hover {
    background: #667eea;
    color: white;
}

/* Cards */
.card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.dashboard-header {
    margin-bottom: 30px;
}

.balance-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.balance-cards .card {
    text-align: center;
}

.balance-cards .card h3 {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.balance-cards .card .balance {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.grid-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.grid-item h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.2rem;
}

/* Trading Panel */
.trade-panel {
    grid-column: span 2;
}

.price-ticker {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #667eea;
}

/* Forms */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #666;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-primary {
    background: #667eea;
}

.btn-secondary {
    background: #48bb78;
}

.btn-small {
    padding: 5px 10px;
    font-size: 0.9rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.btn-cancel {
    background: #f56565;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    text-align: left;
    padding: 10px;
    background: #f8f9fa;
    color: #666;
    font-weight: 600;
    font-size: 0.9rem;
}

.table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.table .buy {
    color: #48bb78;
    font-weight: 600;
}

.table .sell {
    color: #f56565;
    font-weight: 600;
}

/* Alerts */
.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background: #c6f6d5;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.alert-error {
    background: #fed7d7;
    color: #742a2a;
    border: 1px solid #fc8181;
}

/* Status badges */
.status {
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending {
    background: #fefcbf;
    color: #744210;
}

.status-approved {
    background: #c6f6d5;
    color: #22543d;
}

.status-rejected {
    background: #fed7d7;
    color: #742a2a;
}

/* Admin Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-card h3 {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1.8rem;
    font-weight: bold;
    color: #667eea;
}

/* Staking Overview */
.staking-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.apy {
    font-size: 2rem;
    color: #48bb78;
    font-weight: bold;
}

/* Trading Chart Container */
.chart-container {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    height: 400px;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .trade-panel {
        grid-column: span 1;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .balance-cards {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* assets/css/style.css - Add these mobile responsive styles */

/* Mobile Responsive Tables */
@media screen and (max-width: 768px) {
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table {
        min-width: 600px;
    }
    
    /* Cards stack on mobile */
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .balance-cards {
        grid-template-columns: 1fr;
    }
    
    .tokens-grid {
        grid-template-columns: 1fr;
    }
    
    /* Form adjustments */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Button sizes */
    .btn {
        width: 100%;
        margin: 5px 0;
    }
    
    /* Quick amounts */
    .quick-amounts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Charts */
    .trading-chart {
        height: 300px;
    }
    
    /* Modals */
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
    }
}

/* Small phones */
@media screen and (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.2rem;
    }
    
    .card {
        padding: 15px;
    }
    
    .balance-cards .card .balance {
        font-size: 1.5rem;
    }
    
    .token-card {
        flex-direction: column;
        text-align: center;
    }
    
    .token-logo {
        width: 80px;
        height: 80px;
    }
    
    .token-stats {
        justify-content: center;
    }
    
    .btn-trade {
        width: 100%;
    }
}

/* Landscape mode */
@media screen and (orientation: landscape) and (max-height: 600px) {
    .nav {
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .modal-content {
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* Tablet specific */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .dashboard-grid {
        gap: 15px;
    }
    
    .token-stats {
        font-size: 0.8rem;
    }
    
    .trading-panel {
        padding: 15px;
    }
}

/* Touch-friendly targets */
@media (hover: none) and (pointer: coarse) {
    .btn, 
    .nav a,
    .token-card,
    .quick-amounts button {
        min-height: 44px;
        min-width: 44px;
    }
    
    input, select, textarea {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Better tap highlights */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Loading states */
.loading {
    position: relative;
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #f0f0f0;
    border-top-color: #667eea;
    border-right-color: #48bb78;
    border-bottom-color: #fbbf24;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Toast notifications for mobile */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    z-index: 2000;
    animation: slideUp 0.3s ease;
    max-width: 90%;
    text-align: center;
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 100%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

/* Pull to refresh indicator */
.pull-to-refresh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #48bb78);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.3s;
    z-index: 1001;
}

.pull-to-refresh.visible {
    transform: translateY(0);
}

.pull-to-refresh i {
    margin-right: 10px;
    animation: spin 1s linear infinite;
}

/* Warning Alert */
.alert-warning {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px auto;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.alert-warning i {
    color: #fbbf24;
    margin-right: 10px;
}

.alert-warning button {
    background: linear-gradient(135deg, #667eea, #48bb78);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

.alert-warning button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

@media (max-width: 768px) {
    .alert-warning {
        flex-direction: column;
        text-align: center;
    }
    
    .alert-warning button {
        width: 100%;
    }
}