/* mobile.css - Responsive styles for mobile devices */
@media (max-width: 768px) {
    /* Completely hide sidebar on mobile */
    .sidebar {
        display: none !important;
        width: 0 !important;
        transform: translateX(-100%);
        position: absolute;
        z-index: -1;
    }
    
    /* Remove any sidebar-related margins/padding */
    .dashboard-container {
        flex-direction: column;
        margin-left: 0;
    }
    
    .main-content {
        padding: 15px;
        width: 100%;
        margin-left: 0 !important;
    }
    /* Add these styles to your existing mobile.css */

@media (max-width: 768px) {
    /* Wallet Tabs */
    .wallet-tabs {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
    }
    
    .wallet-tab {
        padding: 10px 15px;
    }
    
    /* Withdraw Form */
    .withdraw-form {
        padding: 0 10px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-control {
        padding: 10px 12px;
    }
    
    .input-group-text {
        padding: 10px 12px;
    }
    
    .withdraw-summary {
        padding: 12px;
        margin: 20px 0;
    }
    
    .summary-item {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    /* Further adjustments for very small screens */
    .wallet-tab {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .form-control {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .input-group-text {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .balance-info {
        font-size: 11px;
    }
    
    .summary-item {
        font-size: 12px;
    }
    
    .btn-primary {
        padding: 10px;
        font-size: 13px;
    }
}
    /* Improved header layout with better notification placement */
    .dashboard-header {
        flex-direction: row;
        align-items: center;
        margin-bottom: 15px;
        gap: 15px;
    }
    
    .header-left {
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }
    
    .header-right {
        margin-top: 0;
        width: auto;
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        gap: 15px;
    }
    
    /* Notification button styles */
    .notification-btn {
        position: relative;
        background: none;
        border: none;
        color: #6c757d;
        font-size: 18px;
        cursor: pointer;
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }
    
    .notification-badge {
        position: absolute;
        top: -8px;
        right: -8px;
        background-color: #dc3545;
        color: white;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        font-size: 11px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Hide breadcrumb on mobile */
    .breadcrumb {
        display: none;
    }
    
    /* Card adjustments */
    .card {
        margin-bottom: 15px;
    }
    
    .card-header {
        padding: 15px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    /* Asset list adjustments */
    .asset-list {
        max-height: none;
    }
    
    .asset-item {
        padding: 12px;
    }
    
    /* Wallet address section */
    .wallet-address-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .qr-code-container {
        margin: 0 auto;
    }
    
    .address-info {
        width: 100%;
    }
    
    .wallet-address {
        padding: 12px 40px 12px 12px;
        font-size: 13px;
    }
    
    /* Network selector */
    #network-select {
        padding: 10px 12px;
    }
    
    /* Deposit instructions */
    .deposit-instructions {
        padding: 15px;
    }
    
    .deposit-instructions ol {
        padding-left: 18px;
    }
    
    /* Loading spinner */
    .loading {
        padding: 30px 15px;
    }
    
    /* Search box */
    .search-box input {
        padding: 10px 15px 10px 35px;
    }
    
    .search-box i {
        left: 12px;
    }
    
    /* Hide the sidebar toggle */
    #sidebar-toggle {
        display: none;
    }
    
    /* Make buttons more touch-friendly */
    .btn, .asset-item, #copy-address {
        min-height: 44px;
    }
    
    /* Adjust font sizes */
    .dashboard-header h1 {
        font-size: 20px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .card-title {
        font-size: 16px;
    }
    
    /* Deposit notes */
    .deposit-notes {
        padding: 12px;
    }
    
    .note {
        font-size: 12px;
    }
    
    /* Show more/less buttons */
    .btn-show-more, .btn-show-less {
        width: 100%;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    /* Further adjustments for very small screens */
    .main-content {
        padding: 10px;
    }
    
    .dashboard-header {
        gap: 10px;
    }
    
    .dashboard-header h1 {
        font-size: 18px;
    }
    
    .card-header {
        padding: 12px;
    }
    
    .card-body {
        padding: 12px;
    }
    
    .wallet-address {
        font-size: 12px;
    }
    
    .deposit-instructions li {
        font-size: 13px;
    }
    
    .deposit-limits td {
        font-size: 13px;
    }
    
    /* QR code size */
    .qr-code-container canvas {
        width: 160px !important;
        height: 160px !important;
    }
    
    /* Notification adjustments */
    .notification-btn {
        padding: 8px;
    }
    
    .notification-badge {
        top: -6px;
        right: -6px;
        width: 18px;
        height: 18px;
    }
}

/* Desktop styles */
@media (min-width: 769px) {
    .sidebar {
        display: flex;
        width: 280px;
        transform: none;
        position: relative;
        z-index: auto;
    }
    
    .main-content {
        margin-left: 280px;
    }
    
    /* Reset notification styles for desktop */
    .notification-btn {
        padding: 0;
        min-width: auto;
        min-height: auto;
    }
    
    .notification-badge {
        top: -5px;
        right: -5px;
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
    
    .breadcrumb {
        display: flex;
    }
}