﻿/* Ensure the html and body take full height */
html, body {
    font-family: Arial, sans-serif;
    margin: 0;
    font-weight: 500;
    font-size: 14px;
}


button {
    display: flex !important;
    align-items: center !important;
    -webkit-justify-content: center;
    justify-content: center !important;
}

.loader {
    border: 2px solid #f3f3f3; /* Light grey */
    border-top: 2px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.mr-1 {
    margin-right: 0.3rem;
}

table {
    margin-bottom: 0px !important;
}

#LoginAccount .col-md-4 {
    border-right: 1px solid;
}

.modal {
    padding: 0 !important;
}

.modal-header {
    box-shadow: inset 0px 0px 8px 2px rgb(167 165 213 / 25%);
    border-radius: 10px 10px 0 0;
}

.modal-header, .modal-footer, .form-control, #LoginAccount .col-md-4 {
    border-color: #2b394f;
}

/* Dark Theme */
.bg-dark {
    background: #0c1125 !important;
}

    .bg-dark.modal-content {
        background: rgba(12, 17, 37, 0.7) !important; /* Glass-like background with slight transparency */
        backdrop-filter: blur(10px); /* Blur effect for the glass effect */
        -webkit-backdrop-filter: blur(10px); /* For Safari support */
        box-shadow: inset 0px 0px 8px 2px rgb(167 165 213 / 25%);
        border-radius: 10px
    }

    .bg-dark .bg-primary,
    .bg-dark .oneclick-container,
    .bg-dark .navbar-dark {
        background: #0c1125 !important;
    }

    .bg-dark .toolbox-container .collect {
        background: #1a2238;
        border: 1px solid #414349;
    }

    .bg-dark .toolboxFooter {
        background: #1a2238 !important;
    }

    .bg-dark .nav-link.bg-dark {
        background: #1a2238 !important;
        border: 1px solid #9e9e9e;
    }

    .bg-dark .nav-link:hover {
        background: #0c1125 !important;
        border-color: #60afff;
        color: #ffffff !important;
    }

    .bg-dark .nav-link.bg-dark.active {
        background: #0c1125 !important;
        border-color: #60afff;
        color: #ffffff !important;
    }

    .bg-dark .resize-handle.horizontal, .bg-dark .resize-handle.vertical {
        background: #2b394f; /* Color of the handle */
    }

    .bg-dark .input-group-text {
        color: #ffffff;
        border-color: #2b394f;
        background-color: #1a2238;
    }

.table-dark {
    --bs-table-striped-bg: #1a2238 !important;
    --bs-table-bg: #0c1125 !important;
}


    .table-dark th, .table-dark td {
        border-color: #2b394f !important;
    }

    .table-dark th {
        background-color: #0c1125 !important;
    }
/* Light Theme */
.bg-light .oneclick-container {
    background: #ffffff !important;
}

.bg-light .navbar-light {
    background: #0d6efd !important;
}

    .bg-light .navbar-light .navbar-brand {
        color: #ffffff !important;
    }

.bg-light .toolbox-container .collect,
.bg-light .toolboxFooter {
    background: #d7e9f8;
    color: #212529;
}

.bg-light .nav-tabs {
    background: #ffffff !important;
}

.bg-light .nav-link.bg-light {
    background: #d7e9f8a6 !important;
    border-color: #329aff;
    color: #0d6efd !important;
}

    .bg-light .nav-link.bg-light:hover {
        background: #ffffff !important;
        border-color: deepskyblue;
    }

    .bg-light .nav-link.bg-light.active {
        background: #ffffff !important;
    }

.bg-light .nav-link .text-dark {
    color: #ffffff !important;
}

.bg-light .resize-handle.horizontal, .bg-light .resize-handle.vertical {
    background: #ced4da; /* Color of the handle */
}

.bg-light .modal-title {
    color: #ffffff !important;
}

.bg-light .marketWatch .text-white {
    color: #0d6efd !important;
}

.bg-light.modal-content {
    background: rgba(255, 255, 255, 0.6) !important; /* Light glass effect */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important; /* Soft shadow */
    backdrop-filter: blur(10px); /* Blur effect for the glass effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
    border: 1px solid rgba(0, 0, 0, 0.1); /* Subtle dark border for contrast */
}

.table-light th {
    background-color: #ffffff !important;
}

.fill-white {
    fill: white;
}

.fill-black {
    fill: black;
}




/* Parent container */
.io-container {
    height: 63vh;
    display: flex;
    flex-direction: column;
}

/* Container to hold watchlist and TradingView side by side */
.watchlist-tradingview-container {
    display: flex;
    flex: 1;
}

/* Watchlist and TradingView containers */
.watchlist-container {
    width: 22%;
    height: 63vh;
    overflow: auto;
}

#watchlistTabsContent {
    height: 100%;
    overflow: auto;
}


.tradingview-container {
    flex: 1; /* Takes up remaining space */
    position: relative;
}

header .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 5px;
    border-bottom: 2px solid #212529;
}

header img {
    height: 35px;
    width: 35px;
}

header .nav-link, .navbar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
/* Tabs navigation (sticky to the bottom) */
.nav-tabs {
    position: sticky;
    bottom: 0;
    z-index: 1000;
}

    .nav-tabs .nav-link {
        padding: 5px 25px;
    }

    .nav-tabs .nav-link {
        opacity: 0.5; /* Default opacity for all tabs */
        transition: opacity 0.3s ease, color 0.3s ease;
    }

        .nav-tabs .nav-link.active {
            opacity: 1; /* Fully visible when active */
        }

        .nav-tabs .nav-link:hover {
            opacity: 0.75; /* Slightly brighten on hover */
            color: #cccccc; /* Light gray for hover */
        }

/* Resize Handle Styles */
/*.resize-handle.vertical {
    width: 3px;
    cursor: ew-resize;*/ /* Cursor to indicate resizing */
    /*position: relative;
    right: 0;
    z-index: 1;*/ /* Ensure it's on top */
/*}*/

/* Horizontal resize handle */
/*.resize-handle.horizontal {
    width: 100%;*/ /* Width of the handle */
    /*height: 3px;
    cursor: ns-resize;*/ /* Cursor to indicate resizing */
    /*position: relative;*/ /* Position relative to its parent */
    /*z-index: 1;*/ /* Ensure it's on top */
/*}*/

.statusBar .btn:hover svg {
    fill: #ffffff;
}

.oneclick-container {
    position: absolute;
    top: 90px;
    left: 60px;
    /*right:100px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #595555;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

    .oneclick-container .form-control {
        width: 60px;
        padding: 2px;
        font-size: 14px;
    }

    .oneclick-container .btn {
        width: 60px;
        margin: 5px;
        padding: 2px 4px;
        font-size: 14px;
    }


/* Toolbox container */
.toolbox-container {
    height: 21vh;
}

.toolboxFooter {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #212529;
}

.toolbox-container .collect {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    position: sticky;
    z-index: 1000;
    bottom: 40px;
}

#toolboxTabsContent {
    height: 100%;
}

    #toolboxTabsContent .tab-pane {
        height: 100%;
    }

#tradesTable_wrapper, #historyTable_wrapper, #ordersTable_wrapper, #journalTable_wrapper {
    height: 97%;
    overflow: auto;
    white-space: nowrap;
}

#toolboxTabsContent table {
    width: 100%; /* Ensure table uses full container width */
  /*  border-collapse: collapse;*/ /* Collapse borders */
    margin-bottom: 25px !important;
}

#toolboxTabsContent thead {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
}

 /*   #toolboxTabsContent thead th {
        border: 1px solid #3f51b58c;
    }*/


#toolboxTabsContent table td, .toolboxTabsContent table th {
    text-align: right;
}

#journalTable tbody td {
    text-align: left;
}

#inboxTable tbody td {
    text-align: left;
}

#detailsTable td:first-child {
    text-align: left;
}

#toolboxTabsContent tbody tr:hover {
    background-color: #b3d9f9a6;
}

.close-btn {
    padding: 0;
    font-weight: 900;
    color: #e91e63;
    display: inline-block;
    margin-left: 10px;
    font-size: 14px;
}

    .close-btn:hover {
        cursor: pointer;
        color: red;
    }

#closeTabsButton {
    float: right;
}

.dataTables_info {
    display: none;
}

.dataTables_empty {
    text-align: center !important;
}

.bg-red {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    --bs-table-accent-bg: #dc3545;
    color: #fff;
}

.bg-green {
    background-color: #198754;
    border-color: #198754;
    --bs-table-accent-bg: #198754;
    color: #fff;
}

.bg-light .bg-theme {
    background-color: #d7e9f8 !important; /* Light blue color */
}

.bg-dark .bg-theme {
    background: #1a2238;
    border: 1px solid #414349;
}

input.disabled {
    background-color: #e9ecef; /* Light gray background */
    cursor: not-allowed;
}

.sl, .tp {
    min-width: 100%; /* Adjust this value to the width you want */
    display: inline-block; /* Ensures the min-width works as expected */
    cursor: pointer; /* Indicates the cell is clickable */
}

form label {
    text-align: right;
}

/*toggler*/
.toggle-container {
    position: relative;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.side-panel {
    position: fixed;
    top: 0;
    right: -100%; /* Initially hidden */
    width: 100%; /* Default for mobile */
    height: 100%;
    overflow-x: hidden;
    transition: right 0.3s ease;
    background: rgba(12, 17, 37, 0.7) !important; /* Glass-like background with slight transparency */
    border-radius: 16px; /* Rounded corners */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important; /* Soft shadow */
    backdrop-filter: blur(10px); /* Blur effect for the glass effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle white border */
    padding: 20px; /* Spacing inside the container */
    transition: right 0.3s ease-in-out; /* Smooth transition */
}

.bg-dark .side-panel {
    background: rgba(12, 17, 37, 0.7) !important; /* Glass-like background with slight transparency */
}

    .bg-dark .side-panel .list-group-item {
        color: #fff !important;
    }

.bg-light .side-panel {
    background: rgba(255, 255, 255, 0.6) !important; /* Light glass effect */
}

    .bg-light .side-panel .list-group-item {
        color: #0c1125 !important;
    }




.list-group-item {
    font-size: 16px;
    display: flex;
    align-items: center;
}

ul .list-group-item {
    cursor: pointer;
    padding: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease; /* Smooth transition */
}


.list-group-item.active {
    box-shadow: inset 0px 0px 8px 2px rgb(167 165 213 / 42%);
    border-color: #2c599d;
    border-radius: 10px;
}

.list-group-item:hover {
    box-shadow: inset 0px 0px 8px 2px rgb(167 165 213 / 42%);
    transform: translateY(-3px);
    background: #0c1125;
    border-radius: 10px;
    border-bottom: 1px solid #2c599d;
}

.list-group-item-action {
    border-radius: 10px;
}

    .list-group-item-action :hover {
        transform: translateY(-1px);
    }

#createOrderBtn {
    position: relative;
    left: calc(50% - 77px);
    bottom: calc(50% - 15px);

}


/* Default styling for desktop */
.collect .info-item {
    display: inline; /* Keeps items in a single line for desktop view */
    margin-right: 10px; /* Adds space between items in desktop view */
}

.floatingPLText {
    display: none;
}

/* General Media Query for Mobile View (max-width: 768px) */
@media only screen and (max-width: 768px) {

    th, td {
        font-size: 0.9rem; /* Smaller text for smaller screens */
    }

    .watchlist-container {
        width: 0%; /* Hide watchlist container */
    }

/*    #createOrderBtn {
        bottom: calc(85% - 19px);
    }*/
    #createOrderBtn {
        position: relative;
        left: calc(39% - 50px) !important;
        bottom: calc(6% - 40px);
        width: 46%;
    }

    .oneclick-container {
        left: 0px;
        top: -5%;
        width: 100%;
        justify-content: space-between !important;
    }
        .oneclick-container .btn {
            width: 85px !important;
        }
        .oneclick-container .form-control {
            text-align: center !important;
            width: 85px;
        }
    .tradingview-container {
            height:95%;
            display:block;
            margin-top:35px;
    }

    .mobil-create-button {
        display: block !important;
    }

    .lap-create-btn{
        display:none !important;
    }

    .toast-body {
        display: block !important;
    }
    /* Container Adjustments */
    .watchlist-container,
    .io-container {
        height: 83.5vh; /* Set height for both containers */
        transition: width 0.3s ease; /* Smooth transition for width */
    }

    /* Market Watch and Resize Handle */
    .marketWatch,
    .resize-handle {
        display: none; /* Hide market watch and resize handle */
    }

    /* Floating PL Text */
    .floatingPLText {
        display: block; /* Show floating PL text */
    }

    /* New Order Text */
    .newOrderTxt {
        display: none; /* Hide new order text */
    }

    /* Tabs & Balance Information */
    #watchlistTabs,
    .balance-dot,
    .balance-usd {
        display: none; /* Hide watchlist tabs, balance dot, and USD balance */
    }

    /* Collect Container Adjustments */
    .collect {
        flex-direction: column; /* Stack items vertically */
        padding: 12px; /* Adjust padding */
    }

        .collect .info-item {
            display: flex; /* Flex for individual items */
            align-items: center;
            justify-content: space-between;
            margin: 5px;
        }

            .collect .info-item span::before {
                content: "";
                position: absolute;
                left: 28%; /* Position of the dashed line */
                width: 44%; /* Width of the dashed line */
                height: 1px;
                background: repeating-linear-gradient(to right, #fff, #fff 5px, transparent 5px, transparent 10px);
                margin-top: 8.5px; /* Space above the dashed line */
            }

    /* Toolbox and Footer Adjustments */
    /*#toolboxTabsContent,
    .toolbox-container .collect {
        display: none;*/ /* Hide toolbox tabs content */
    /*}*/

    .toolbox-container {
        height: 0px;
    }

        .toolbox-container .collect {
            bottom: 57px;
            position: fixed;
            width: 100%;
            z-index: -1;
        }
    /* Footer Nav Item Styling */
    .toolboxFooter .nav-item {
        width: 25%; /* Adjust nav item width */
    }

        .toolboxFooter .nav-item button {
            width: 100%; /* Make button fill the nav item */
        }

    /* Toolbox Footer Icon & Text Adjustments */
    .toolboxFooter .nav-link i {
        display: block;
        margin-bottom: 5px; /* Space between icon and text */
    }

    .toolboxFooter .nav-link span {
        display: block;
    }

    /* Tabs Alignment */
    .toolboxFooter .nav.nav-tabs {
        justify-content: space-between !important;
        width: 100% !important;
    }

    #LoginAccount .col-md-4 {
        border-bottom: 1px solid;
        border-color: #2b394f;
    }

    #accountType {
        display: none;
    }
    .symbol-info {
        display: flex;
        flex-direction: row !important;
        align-items: center;
    }
    #tradesTable_wrapper, #historyTable_wrapper, #ordersTable_wrapper, #journalTable_wrapper {
        height: 87% !important;

    }
    .mobile-resp {
        flex-direction: column-reverse;
    }
    #createOrderBtn {
        position: relative;
        left: calc(50% - 56px);
        bottom: calc(6% - 40px);
    }
    #trades-tab #tradesTable_wrapper, #history-tab #historyTable_wrapper, #orders-tab #ordersTable_wrapper, #journal-tab journalTable_wrapper{
        display:none !important;
    }
    .symbolchartdropdown{
        display:block !important;
        margin-bottom:0px !important;
        padding:2px 4px ;
        margin-left:5px !important;
        width:30%;
    }
    .filter-dropdown .dropdown-menu {
        max-height: 320px;
        overflow-y: auto;
        z-index: 1055;
        width: 200px !important;
        background: rgba(12, 17, 37, 0.7) !important;
        border-radius: 16px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
        backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .dropdown.filter-dropdown {
        z-index: 1055; /* Ensure above the content */
    }

    .historyaccordy {
        height: 100vh;
    }
    .modal{
        margin-top:35px !important;
    }
    .internet-toast {
        width: 70% !important;
        text-align: center;
    }

}

@media (min-width: 992px) { /* Adjust min-width for tablet/laptop sizes */
    .side-panel {
        width: 25% !important;
    }
}

.hidden-important {
    display: none !important;
}
/* Enhanced styling for range slider container */
.range-slider-container {
    position: relative;
    width: 100%;
}

/* Styling for range track */
.range-track {
    position: absolute;
    top: 45%;
    left: 0;
    transform: translateY(-50%);
    height: 8px;
    background: linear-gradient(to right, #00b4d8, #007bff);
    border-radius: 4px;
}


/* Styling for the range value display */
.range-display {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

    .range-display .range-input {
        width: 75px;
    }

/*#symbolModal {
    max-width: 500px;
}*/

#modalSymbolList {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 10px;
}

    #modalSymbolList li {
        cursor: pointer;
        margin: 0;
        padding: 2px 10px 2px 10px;
        border-radius: 0px !important;
    }
#symbolModalLabel {
    color: #fff !important;
    font-weight: 700 !important;
  
}
/*.symbol-bar-title {
    background-color: #0d6efd !important;
}*/
#iosVideo {
    width: 60% !important;
}
.custom-label-select {
    position: relative;
}

    .custom-label-select label {
        position: absolute;
        top: -10px;
        left: 36px;
        background: #0c1125;
        padding: 0 5px;
        font-size: 12px;
        color: #888;
    }

.custom-label-select select {
    padding-top: 15px; /* Creates space for the label */
}

/*profit calculater*/
.custom-label-input {
    position: relative;
    display: flex;
    flex-direction: column;
}

    .custom-label-input label {
        position: absolute;
        top: -10px;
        left: 36px;
        background: #0c1125;
        padding: 0 5px;
        font-size: 12px;
        color: #888;
        z-index:1;
    }

    .custom-label-input input {
        padding-top: 12px; /* Creates space for the label */
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: transparent;
        color: #fff;
    }


.sell-buy-btn .btn {
    transition: all 0.3s ease-in-out;
    outline: none !important;
    box-shadow: none !important;
}

/* Remove focus outline */
.btn:focus, .sell-buy-check:focus + .btn {
    outline: none !important;
    box-shadow: none !important;
}

/* SELL button active state */
.sell-buy-check:checked + .btn-outline-danger {
    background-color: #a5262054;
    color: #de1010;
    border-color: #f5281e;
}

/* BUY button active state */
.sell-buy-check:checked + .btn-outline-success {
    background-color: #19875457;
    color: #0de581;
   /* //border-color: #f2fbf4;*/
}
.sell-buy-btn {
    height: 43px;
    display: flex;
    align-items: center;
}

    .sell-buy-btn .btn {
        height: 100%; /* Ensures buttons take full height */
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px; /* Adjust text size if needed */
        transition: all 0.3s ease-in-out;
        outline: none !important;
        box-shadow: none !important;
    }

.calculator-details{
    display:flex;
    align-items:center;
    justify-content:space-between;
}
.profit-total-font{
    font-size:20px !important;
}
.custom-label-input input:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: #ffffff !important;
    background: transparent;
    color: #fff;
}
.btn-no-border {
    border: none !important; /* Removes all borders */
}

.btn-left-border-remove {
    border-left: none !important;
}

.btn-right-border-remove {
    border-right: none !important;
}
.btn-outline-light:hover {
    color: #ffffff !important;
background-color: transparent !important; 
    border-color: #f8f9fa;
}

.refresh-link .bi-arrow-clockwise {
    transition: transform 0.5s ease-in-out;
}

.refresh-link.rotating .bi-arrow-clockwise {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.autocomplete-item {
    padding: 8px;
    cursor: pointer;
    color: white;
}

    .autocomplete-item:hover {
        background-color: #495057;
    }

.autocomplete-wrapper {
    position: relative;
}

.historyaccordy .accordion-button::after {
    display: none;
}

.historyaccordy .accordion-body {
    color: black;
    font-size:12px;
}

.historyaccordy .accordion-item {
    border: 0.5px solid #5f95cb7d;
    /*    margin-bottom: 0.5rem;*/
    /*    border-radius: 0.3rem;*/
    border-left: none;
    border-right: none;
}

.historyaccordy .accordion-button {
    background-color: #f8f9fa;
    /*    margin-bottom: 0.5rem;*/
    /*    border-radius: 0.3rem;*/
    border-left: none;
    border-right: none;
}

.historyaccordy p{
    margin-bottom:5px !important;
    display:flex;
    justify-content:space-between;
}
.accordion-button:focus {
    box-shadow:none !important;
}
.historyaccordy {
    max-height: 60vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    /* Hide scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
/*    padding:5px !important*/
}

    .historyaccordy::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

.symbolchartdropdown {
    display: none;
}

/* Toast container */
.custom-toast-container {
    position: fixed;
    z-index: 1080;
    pointer-events: none;
}

/* Desktop: top-right placement */
@media (min-width: 769px) {
    .custom-toast-container {
        top: 80px;
        right: 20px;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
    }
}

/* Mobile: bottom center placement */
@media (max-width: 768px) {
    .custom-toast-container {
        bottom: 70px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column-reverse; /* stack upward */
        align-items: center;
        gap: 10px;
    }
}

/* Toast design */
.toast {
    min-width: 260px;
    background-color: #fff !important;
    color: #000;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-left: 4px solid transparent; /* default strip */
    pointer-events: auto;
    transition: all 0.4s ease;
}

/* Buy = blue strip */
.toast-buy {
    border-left-color: #007bff !important;
}

/* Sell = red strip */
.toast-sell {
    border-left-color: #dc3545 !important;
}

/* Toast body text */
.toast-body {
    font-size: 15px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Make only "Buy" / "Sell" colored */
.toast-buy strong.action-text {
    color: #007bff;
}

.toast-sell strong.action-text {
    color: #dc3545;
}

/* Fade animation */
.toast {
    opacity: 0;
    transform: translateY(10px);
}

    .toast.show {
        opacity: 1;
        transform: translateY(0);
    }


@supports (-webkit-touch-callout: none) {
    input,
    textarea,
    select {
        font-size: 16px !important;
    }
}
@supports (-webkit-touch-callout: none) {
    .oneclick-container {
        top: -6.3%; /* override for iOS */
    }

    .watchlist-container,
    .io-container {
        height: 80vh; /* Set height for both containers */
        transition: width 0.3s ease; /* Smooth transition for width */
    }
}

.internet-toast {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff4d4d;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    width:50%;
    text-align:center;
}

/* Medium devices: width ~294px (your device) */
@media (min-width: 280px) and (max-width: 320px) {
    .container {
        width: 90%; /* almost full width */
        height: auto; /* adjust height automatically */
        padding: 0.5rem;
        font-size: 14px; /* adjust text size for small screens */
    }
    .navbar-brand {
        font-size: 0.89rem;
    }
    .oneclick-container {
        top: -6% !important;
        border: 0px solid #595555 !important;
    }

    .historyaccordy .accordion-body {
        color: black;
        font-size: 10px !important;
    }
    .pendingFields{
        font-size:13px;
    }
}
.orderButton {
    position: relative;
    overflow: hidden;
    transition: transform 0.1s ease;
}

    /* Small button press feedback */
    .orderButton:active {
        transform: scale(0.95);
    }

    /* Ripple element */
    .orderButton::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 5px;
        height: 5px;
        background: rgba(255, 255, 255, 0.7);
        border-radius: 50%;
        transform: scale(1);
        opacity: 0;
        pointer-events: none;
    }

    /* Active plink animation */
    .orderButton.plink::after {
        animation: plinkEffect 0.5s ease-out;
    }

/* Animation keyframes */
@keyframes plinkEffect {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(20);
        opacity: 0;
    }
}
.resize-handle.horizontal {
    width: 100%;
    height: 8px;
    background: #444;
    cursor: ns-resize;
    position: relative;
    z-index: 15;
}

    /* grip lines */
    .resize-handle.horizontal::before,
    .resize-handle.horizontal::after {
        content: "";
        position: absolute;
        left: 50%;
        width: 30px;
        height: 2px;
        background: #aaa;
        border-radius: 2px;
        transform: translateX(-50%);
        opacity: 0.8;
    }

    .resize-handle.horizontal::before {
        top: 2px;
    }

    .resize-handle.horizontal::after {
        top: 5px;
    }

    .resize-handle.horizontal:hover {
        background: #666;
    }


.resize-handle.vertical {
    width: 6px;
    height: 100%;
    background: #444;
    cursor: ew-resize;
    position: relative;
    z-index: 15;
}

    .resize-handle.vertical:hover {
        background: #666;
    }

.no-pointer-events {
    pointer-events: none !important;
}
