/* Copy Animation */
.base-color {
    color: hsl(var(--main)) !important;
}

.copyInput {
    display: inline-block;
    line-height: 50px;
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.copied::after {
    position: absolute;
    top: 8px;
    right: 12%;
    width: 100px;
    display: block;
    content: "COPIED";
    font-size: 1em;
    padding: 5px 5px;
    color: #fff;
    background-color: hsl(var(--base));
    border-radius: 3px;
    opacity: 0;
    will-change: opacity, transform;
    animation: showcopied 1.5s ease;
}

@keyframes showcopied {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }

    50% {
        opacity: 0.7;
        transform: translateX(40%);
    }

    70% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
    }
}


.cookies-card {
    width: 520px;
    padding: 30px;
    color: #1E2337;
    position: fixed;
    bottom: 15px;
    left: 15px;
    z-index: 999999;
    transition: all .5s;
    background: #d1d1d1;
    border-radius: 5px;
}

[data-theme=light] .cookies-card {
    background-color: hsl(var(--section-bg));
}

[data-theme=light] .cookies-card p {
    font-weight: 300;
    color: hsl(var(--black)/0.7) !important;
}


.cookies-card.hide {
    bottom: -500px !important;
}

.radius--10px {
    border-radius: 10px;
}

.cookies-card__icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #6e6f70;
    color: #fff;
    font-size: 32px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.cookies-card__content {
    margin-bottom: 0;
}

.cookies-btn {
    color: #363636;
    text-decoration: none;
    padding: 10px 35px;
    margin: 3px 5px;
    display: inline-block;
    border-radius: 999px;
}

.cookies-btn:hover {
    color: #363636;
}


@media (max-width: 767px) {
    .cookies-card {
        width: 100%;
        left: 0;
        bottom: 0;
        font-size: 14px;
        padding: 15px;
    }
}




.hover-input-popup {
    position: relative;
}

.input-popup {
    display: none;
}

.hover-input-popup .input-popup {
    display: block;
    position: absolute;
    bottom: 130%;
    left: 50%;
    width: 280px;
    background-color: #1a1a1a;
    color: #fff;
    padding: 20px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.input-popup::after {
    position: absolute;
    content: '';
    bottom: -19px;
    left: 50%;
    margin-left: -5px;
    border-width: 10px 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent #1a1a1a transparent;
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.input-popup p {
    padding-left: 20px;
    position: relative;
}

.input-popup p::before {
    position: absolute;
    content: '';
    font-family: 'Line Awesome Free';
    font-weight: 900;
    left: 0;
    top: 4px;
    line-height: 1;
    font-size: 18px;
}

.input-popup p.error {
    text-decoration: line-through;
}

.input-popup p.error::before {
    content: "\f057";
    color: #ea5455;
}

.dashboard-fluid {
    overflow-x: hidden !important;
}

.dashboard-header__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.dashboard-header__right .custom--dropdown {
    position: relative;
}

.dashboard-header__right .custom--dropdown.open .dropdown-list {
    display: block;
}

.dashboard-header__right .custom--dropdown .dropdown-list .dropdown-list__item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.dashboard-header__right .custom--dropdown .thumb {
    width: 25px;
    height: 15px;
    flex-shrink: 0;
}

[dir="rtl"] .dashboard-header__right .custom--dropdown .thumb {
    margin-left: 10px;
}

.dashboard-header__right .custom--dropdown .dropdown-list {
    min-width: 150px;
    position: absolute;
    top: 100%;
    z-index: 1000;
    background: #0d1e23;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    display: none;
    padding: 5px 0;
}

/* LTR Specific */
html[dir="ltr"] .dashboard-header__right .custom--dropdown .dropdown-list {
    right: 0;
}
html[dir="ltr"] .dashboard-header__right .custom--dropdown .thumb {
    margin-right: 10px;
}

/* RTL Specific */
html[dir="ar"], html[dir="rtl"], [dir="rtl"] {
    direction: rtl;
}

[dir="rtl"] .dashboard-header__right {
    justify-content: flex-start;
}

[dir="rtl"] .dashboard-header__right .custom--dropdown .dropdown-list {
    left: 0;
    right: auto;
}

[dir="rtl"] .dashboard-header__right .custom--dropdown .dropdown-list {
    left: 0;
    right: auto;
    text-align: right;
}

.dashboard-header__right .custom--dropdown .dropdown-list .dropdown-list__item {
    padding: 8px 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    justify-content: flex-start;
}

[dir="rtl"] .dashboard-header__right .custom--dropdown .dropdown-list .dropdown-list__item {
    justify-content: flex-start;
}

.dashboard-header__right .custom--dropdown .custom--dropdown__selected {
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding-right: 10px !important;
    position: relative;
    z-index: 2;
}

.dashboard-header__right .custom--dropdown .custom--dropdown__selected::after {
    display: none !important;
}

.dashboard-header__right .custom--dropdown .chevron,
.user-info__profile .chevron {
    font-size: 14px;
    color: #fff;
    transition: all 0.3s;
    pointer-events: none;
}

.dashboard-header__right .custom--dropdown.open .chevron,
.user-info-dropdown.show ~ .user-info__right .chevron {
    transform: rotate(180deg);
}

/* User Info RTL Fixes */
[dir="rtl"] .user-info {
    position: relative;
}

[dir="rtl"] .user-info-dropdown {
    right: auto !important;
    left: 0 !important;
    transform: translateX(0) !important;
    text-align: right !important;
}

[dir="rtl"] .user-info-dropdown__link {
    flex-direction: row-reverse !important;
    justify-content: flex-start !important;
}

[dir="rtl"] .user-info-dropdown__link .icon {
    margin-right: 0 !important;
    margin-left: 10px !important;
}

[dir="rtl"] .user-info-dropdown::before {
    right: auto !important;
    left: 15px !important;
}

.user-info__profile {
    display: flex;
    align-items: center;
}

[dir="rtl"] .user-info__profile {
    flex-direction: row-reverse;
}

[dir="rtl"] .dashboard-header__right .custom--dropdown .custom--dropdown__selected {
    padding-right: 10px !important;
    padding-left: 10px !important;
    flex-direction: row-reverse; /* Ensure flag-text-arrow order in RTL */
}

.dashboard-header__right .custom--dropdown .dropdown-list {
    min-width: 150px;
    position: absolute;
    top: calc(100% + 5px); /* Add a small gap */
    z-index: 1000;
    background: #0d1e23;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    display: none;
    padding: 5px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* Fix overlapping buttons in dashboardBodyNav */
.dashboardBodyNav {
    flex-wrap: wrap !important;
    gap: 10px;
}

.dashboardBodyNav .dashboard-body__bar {
    flex: 0 0 auto !important;
}

@media (max-width: 575px) {
    .dashboardBodyNav {
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
    }
    
    .dashboardBodyNav .dashboard-body__bar {
        margin: 0 !important;
    }
}

.input-popup p.success::before {
    content: "\f058";
    color: #28c76f;
}

.show-filter {
    display: none;
}

@media(max-width:767px) {
    .responsive-filter-card {
        display: none;
        transition: none;
    }

    .show-filter {
        display: block;
    }
}

.verification-code-wrapper {
    box-shadow: var(--box-shadow) !important;
    background-color: hsl(var(--footer-bg)) !important;
    border: 0 !important;
}

.verification-code input {
    background-color: transparent !important;
    color: hsl(var(--black)) !important;
}

.verification-code::after {
    background-color: transparent !important;
}

.verification-code span {
    background-color: transparent !important;
    border-color: hsl(var(--base)) !important;
}

.verification-code input {
    letter-spacing: 67px !important;
}
