.container_otp {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40px;
}

.input_otp {
    width: 30px;
    border: none;
    border-bottom: 3px solid rgba(0, 255, 255, 0.2);
    margin: 0 10px;
    text-align: center;
    color: aqua;
    font-size: 36px;
    cursor: not-allowed;
    pointer-events: none;
    background: transparent;
}

.input_otp:focus {
    border-bottom: 3px solid orange;
    outline: none;
}

.input_otp:nth-child(1) {
    cursor: pointer;
    pointer-events: all;
}

/* Wrapper */
/*.dashboard-wrapper {*/
/*    background: #303030;*/
/*    border-radius: 10px;*/
/*    height: calc(100vh - 330px);*/
/*    max-height: 80vh;*/
/*    padding: 20px !important;*/
/*    padding-bottom: 50px !important;  !* ✅ add more bottom space *!*/
/*    overflow-y: auto;     !* keep *!*/
/*    overflow-x: hidden;*/
/*}*/

/*#dashboard_content {*/
/*    height: auto;         !* change *!*/
/*    overflow: visible;    !* change *!*/
/*    display: flow-root; !* stops margin collapsing *!*/
/*    padding-right: 10px;*/
/*    padding-bottom: 20px;*/
/*}*/

/*#dashboard_content::after{*/
/*    content:"";*/
/*    display:block;*/
/*    height: 32px;*/
/*}*/

/*!* Remove gutters from main row *!*/
/*.dashboard-wrapper > .row {*/
/*    margin-left: 0 !important;*/
/*    margin-right: 0 !important;*/
/*    padding-bottom: 20px !important;*/
/*}*/

.dashboard-wrapper {
    background:#303030;
    border-radius:10px;
    height: calc(100vh - 330px);
    max-height: 80vh;
    padding: 20px !important;

    display: flex;              /* ✅ */
    flex-direction: column;     /* ✅ */
    overflow: hidden;           /* ✅ no scroll here */
}

#dashboard_menu {
    flex: 0 0 auto;             /* menu stays visible */
}

#dashboard_content {
    flex: 1 1 auto;             /* ✅ takes remaining height */
    overflow-y: auto;           /* ✅ only ONE scrollbar */
    overflow-x: hidden;

    padding: 0.5rem;              /* your p-3 */
    padding-bottom: 3rem;       /* ✅ bottom “border/space” */
    min-height: 0;              /* ✅ IMPORTANT for flex scrolling */
}

.tc-item {
    text-indent: 2em;      /* TAB-like indent */
    margin-top: 0.5rem;
}

.tc-confirm-wrapper{
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.15);

    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tc-checkbox{
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    cursor: pointer;
}

.tc-checkbox input{
    accent-color: #2cff3c; /* green like your UI */
}

#tc_confirm_btn{
    align-self: flex-start;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
}

#tc_confirm_btn:disabled{
    opacity: 0.5;
    cursor: not-allowed;
}



.btn-missing-tec {
    background-color: #eb7a34 !important;
}

.btn-manager {
    background-color: #eef531 !important;
}

/* Equal fixed-width panels */
.panel-left,
.panel-right {
    padding: 0 !important;
}

/* Labels + Values */
.label {
    width: 200px;
}

.value {
    text-align: right;
    width: 150px;
    padding-right: 0 !important;
}

/* Divider */
.divider-container {
    padding: 0 !important;
    display: flex;
    justify-content: center;
}

.dash-divider {
    width: 2px;
    background: #8f8f8f;
    height: 100%;
}

/* Titles */
.dash-title-mono {
    font-family: "Courier New", monospace !important;
    letter-spacing: 1px;
    margin: 0;
}

.dash-title-line {
    border: 0;
    border-bottom: 2px solid #666;
    margin: 0 0 20px 0 !important;
}

/* Values monospace */
.dash-data-mono {
    font-family: "Courier New", monospace !important;
    letter-spacing: 1px;
}

.dash-data-value-right {
    width: 150px;
    text-align: right;
}

.dash-copy-risk {
    color: #c0c0c0;
    border-radius: 5px;
    background-color: #353535;

    border: 2px solid #404040;
    outline: none;            /* no blue focus outline */
    box-shadow: none;         /* prevent default shadows */
}

.dash-copy-risk:hover,
.dash-copy-risk:focus {
    border: 2px solid #4A9DEC;
    box-shadow: 0px 0px 0px 2px rgb(74, 157, 236, 20%);
    color: #f0f0f0;
    background-color: #505050;
}

#dash-history-chart {
    width: 100%;
    height: 100%;
    min-width: 300px;
    min-height: 200px;
}

.styled-select {
    height: 27px;
    width: 180px;
    text-align: left;   /* was right */
    padding-left: 8px; /* adjust padding since it's no longer right-aligned */
    padding-right: 36px; /* still leave space for arrow */
    font-size: 14px;
    overflow: hidden;
    color: #c0c0c0;
    border-radius: 5px;
    background-color: #353535;

    border: 2px solid #404040;
    outline: none;            /* no blue focus outline */
    box-shadow: none;         /* prevent default shadows */
}

.styled-select:hover,
.styled-select:focus {
    border: 2px solid #4A9DEC;
    box-shadow: 0px 0px 0px 2px rgb(74, 157, 236, 20%);
    color: #f0f0f0;
    background-color: #505050;
}

/* Dropdown options alignment */
.styled-select option {
    text-align: left;
}

/* custom arrow on the right */
.field.select-wrap::after{
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23e6e6e6' d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
    opacity: 0.95;
}

/* focus state */
.styled-select:focus + /* no sibling here, so target wrapper via :focus-within */ {}
.field.select-wrap:focus-within{
    box-shadow: var(--shadow-inset), 0 0 0 3px rgba(255,255,255,0.02), 0 1px 0 var(--accent);
    border-color: rgba(255,255,255,0.06);
}

/* --- risk bar container --- */
.risk-bar-wrapper {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin-top: 22px;
}

/* --- color bar --- */
.risk-bar {
    height: 28px;
    border-radius: 4px;
    border: 2px solid white;
    background: linear-gradient(to right, #ff0000, #ffa500, #ffff00, #00ff00);
}

/* --- arrow --- */
.risk-arrow {
    position: absolute;
    top: -15px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 12px solid #bfc2c7;

    /* starting point */
    left: 0%;
    transform: translateX(-50%) rotate(180deg);

    /* animation */
    transition: left 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* The whole block is fixed width AND centered */
.risk-block {
    width: 325px;     /* SAME AS BAR */
    margin: 0;
}

/* Bar wrapper fixed width */
.risk-bar-wrapper {
    width: 325px;
    margin: 0;
}

/* Labels must match EXACT width and center */
.risk-bar-labels {
    width: 325px;
    margin: 0px auto 0 auto;
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    letter-spacing: 1px;
}

/* Left and right color */
.risk-left {
    color: #ff4a4a;
    padding-left: 0px;   /* move right → aligns with START of gradient */
}

.risk-right {
    color: #00ff6a;
    padding-right: 0px;  /* move left → aligns with END of gradient */
}

/* SHIFT LEFT LABEL INWARD */
.risk-left {
}

/* SHIFT RIGHT LABEL INWARD */
.risk-right {
}


.dash-notification-list {
    margin-top: 10px;
}

.dash-notification-item {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #00e676;
    padding: 14px 18px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 16px;
    color: #e6e6e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dash-notification-item-text {
    white-space: nowrap;   /* keep words together */
    flex-grow: 1;          /* take all available space */
}

.dash-notification-price {
    font-weight: bold;
    color: #fffd03;       /* or another color */
}

.dash-notification-date {
    font-weight: bold;
    color: #ff6403;       /* or another color */
}

.dash-notification-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}

.dash-notification-item-text{
    flex:1 1 auto;        /* take remaining space */
    min-width:0;          /* IMPORTANT in flex to allow wrapping */
    white-space:normal;   /* allow wrap */
    overflow-wrap:anywhere;
    word-break:break-word;
}

/* Mobile */
@media (max-width: 576px){
    .dash-notification-item{
        flex-direction:column;
        align-items:stretch;
    }
    .dash-paynow-btn{
        align-self:flex-end; /* button to the right */
    }
}




/* Pay Now button */
.dash-paynow-btn {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 230, 118, 0.3);
    color: #00e676;
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.dash-paynow-btn:hover {
    background: rgba(0, 230, 118, 0.15);
    border-color: #00e676;
    color: #00ffa0;
}

.pricing-items {
    padding-top: 5px;
}

/* ---------------------------------------------------- */
/* DASHBOARD SUBMENU — WHITE when active, always bold   */
/* ---------------------------------------------------- */

.dashboard-menu .nav-link {
    font-family: var(--bs-font-sans-serif) !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;        /* ALWAYS bold */
    color: #ffffff !important;          /* ALWAYS white text */
    letter-spacing: 0.5px;
}

/* Hover (underline only, text stays white) */
.dashboard-menu .nav-link:hover {
    color: #ffffff !important;
}

/* Active fixes — force white text + bold */
.dashboard-menu .nav-link.active {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Remove Bootstrap underline from nav links */
.dashboard-menu .nav-link,
.dashboard-menu .nav-link.active,
.dashboard-menu .nav-link:hover {
    text-decoration: none !important;
}

/* Underline on active and hover */
.dashboard-menu .nav-link::after {
    content: "";
    display: block;
    height: 3px;
    width: 0;
    background: #00ff5f;
    margin-top: 4px;
    transition: 0.2s width ease-in-out;
}

.dashboard-menu .nav-link.active::after,
.dashboard-menu .nav-link:hover::after {
    width: 100%;
}

/* Dashboard submenu - ALWAYS white text */
.dashboard-menu .nav-link,
.dashboard-menu .nav-link.active {
    color: #ffffff !important;
    font-weight: 700 !important; /* always bold */
}

.table-responsive-fixed {
    height: 70vh;                /* scroll height */
    overflow-y: auto !important; /* must override Bootstrap */
    overflow-x: auto;            /* keep horizontal scroll */
    position: relative;          /* ensures sticky works */
}

#table_manager {
    color: #e5e5e5;           /* lighter text */
    font-size: 0.85rem;       /* smaller text */
    border-collapse: collapse;
}

/* table manager */
#table_manager thead th {
    background: #2d68ff !important; /* bright blue accent */
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
    color: white !important;
    font-weight: 600;
    padding: 10px;
    text-align: center;
    vertical-align: middle;
    position: sticky;
    top: 0;
    z-index: 5;   /* keeps header above table rows */
}

#table_manager tbody td {
    border: none;
    padding: 8px 10px !important;
    text-align: center;
    vertical-align: middle;
}

#table_manager tbody tr {
    border-top: 1px solid #3a3a3a;
}

#table_manager tbody tr.no-border + tr {
    border-top: none !important;
}

#table_manager tbody tr.rowcolor td {
    background-color: inherit !important;
}

#table_manager tbody tr:hover td {
    background: #333333;
}

/* Give last detail row a bottom border */
#table_manager tbody tr.detail {
    border-top: none !important;
}

#table_manager tr.detail {
    height: auto !important;
    line-height: 1 !important;
}

#table_manager tr.detail > td {
    padding: 0 !important;
}


/* PAYMENTS DETAIL TABLE STYLING */

#table_manager_payments {
    width: 100%;
    margin: 0 !important;
    border-collapse: collapse;
    border: none !important;
    font-family: monospace;
}

#table_manager_payments tr {
    border: none !important;
    padding: 0 !important;
}

#table_manager_payments td {
    border: none !important;
    vertical-align: middle;
    font-size: 0.85rem;
    white-space: nowrap;         /* prevents multi-line wrapping */
}

/* DASHBOARD CHANGE/SET MASTER */
.dashboard-master-row {
    display: flex;
    align-items: center;
}

.master-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;      /* pushes select + button to the right side */
}

.confirm_button {
    width: 150px;
    margin-left: 10px;
    justify-content: center;
    visibility: hidden;
    pointer-events: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background: none;
    color: #0f1923;
    cursor: pointer;
    position: relative;
    padding: 4px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    transition: all .15s ease;
}

.confirm_button.is-visible {
    visibility: visible;
    pointer-events: auto;
}

.confirm_button::before,
.confirm_button::after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    left: 0;
    height: calc(50% - 5px);
    border: 1px solid #7D8082;
    transition: all .15s ease;
}

.confirm_button::before {
    top: 0;
    border-bottom-width: 0;
}

.confirm_button::after {
    bottom: 0;
    border-top-width: 0;
}

.confirm_button:active,
.confirm_button:focus {
    outline: none;
}

.confirm_button:active::before,
.confirm_button:active::after {
    right: 3px;
    left: 3px;
}

.confirm_button:active::before {
    top: 3px;
}

.confirm_button:active::after {
    bottom: 3px;
}

.confirm_button_lg {
    position: relative;
    display: block;
    padding: 6px 16px;
    color: #fff;
    background-color: #0f1923;
    overflow: hidden;
    box-shadow: inset 0px 0px 0px 1px transparent;
}

.confirm_button_lg::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 2px;
    background-color: #0f1923;
}

.confirm_button_lg::after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 4px;
    height: 4px;
    background-color: #0f1923;
    transition: all .2s ease;
}

.confirm_button_sl {
    display: block;
    position: absolute;
    top: 0;
    bottom: -1px;
    left: -8px;
    width: 0;
    background-color: #ff4655;
    transform: skew(-15deg);
    transition: all .2s ease;
}

.confirm_button_text {
    position: relative;
}

.confirm_button:hover {
    color: #0f1923;
}

.confirm_button:hover .confirm_button_sl {
    width: calc(100% + 15px);
}

.confirm_button:hover .confirm_button_lg::after {
    background-color: #fff;
}

.inline-confirm {
    position: absolute;
    z-index: 9999;

    /* dark panel like your screenshot */
    background: #0f1720;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.45);

    padding: 10px 12px;
    min-width: 160px;

    /* IMPORTANT: make text visible */
    color: #e6edf3;
    font-size: 14px;
}

.inline-confirm p {
    margin: 0 0 10px;
    color: inherit; /* ensure it doesn't turn white-on-white */
}

.inline-confirm-btn {
    color: #e6edf3 !important;
    -webkit-text-fill-color: #e6edf3 !important; /* fixes Safari/Chrome text-fill tricks */
    font-size: 14px !important;
    line-height: 1.2 !important;
    text-indent: 0 !important;
    letter-spacing: normal !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-flex;               /* if your base button uses flex */
    align-items: center;
    justify-content: center;
}

.inline-confirm .inline-confirm-btn {
    min-width: 110px;     /* adjust to taste */
    padding: 6px 18px;    /* tighter than the main button */
}


.inline-confirm-actions {
    display: flex;
    gap: 10px;
}

/* If your site buttons are already styled by classes, you may not need this.
   But it's useful as a fallback so buttons don't look "browser-default". */
.inline-confirm button {
    cursor: pointer;
}

.inline-confirm .inline-confirm-btn {
    border: 1px solid rgba(0, 0, 0, 0.0);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.inline-confirm .inline-confirm-btn:hover {
    border-color: #f5c542; /* warm yellow */
    box-shadow: 0 0 0 1px rgba(245,197,66,.35);
}

/* Overlay */
#reqval_overlay {
    position: fixed;
    inset: 0;                 /* top:0; right:0; bottom:0; left:0; */
    width: 100vw;            /* full viewport width */
    height: 100vh;           /* full viewport height */
    display: none;           /* hidden until used */
    justify-content: center; /* center horizontally */
    align-items: center;     /* center vertically */
    background: rgba(0,0,0,0.45);
    z-index: 9999;           /* above most content */
    box-sizing: border-box;
}

/* Popup box */
#reqval_popup {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    min-width: 250px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transform: scale(0.8);   /* initial small */
    opacity: 0;              /* initial hidden */
    transition: all 0.3s ease; /* smooth effect */

    position: fixed;
    left: 50%;
    top: 50%;
}

/* When overlay is active, animate popup in */
#reqval_overlay.active #reqval_popup {
    transform: scale(1);
    opacity: 1;
}

#reqval_popup input {
    width: 50%;
    padding: 5px;
    margin: 10px;
    text-align: center;
}

#reqval_popup button {
    width: 80px;
    padding: 6px 12px;
    margin: 5px;
    cursor: pointer;
    background-color: #4A9DEC;
    border: 2px solid #0f5598;
}
