/* Copy Animation */
.base-color {
    color: hsl(var(--main)) !important;
}

/* Improved Badge Styles for Better Contrast */
.badge--success {
    background-color: #d1fae5 !important;
    color: #065f46 !important;
    border: 1px solid #a7f3d0 !important;
    font-weight: 500 !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
}

.badge--danger {
    background-color: #fee2e2 !important;
    color: #991b1b !important;
    border: 1px solid #fecaca !important;
    font-weight: 500 !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
}

.badge--warning {
    background-color: #fef3c7 !important;
    color: #92400e !important;
    border: 1px solid #fde68a !important;
    font-weight: 500 !important;
    padding: 4px 8px !important;
    border-radius: 6px !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: #FF7000;
    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;
}

.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: 80%;
    left: 50%;
    width: 280px;
    background-color: #1a1a1a;
    color: #fff;
    padding: 20px;
    border-radius: 5px !important;
    -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;
}

.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;
    }
}

.btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
    opacity: 0.3;
}


.h-45 {
    height: 50px;
}

.h-none {
    height: 37px !important;
}

.input-group-text {
    color: #747474;
    background-color: #fff;
}

.form--control:focus~.input-group-text {
    border-color: #e52c3c;
}

.account-form .input-group-text {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.15);
}

.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-left: 0;
}

.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),
.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) {
    border-right: 0;
}

.sub-title-for-account-insurance {
    margin: 30px auto 0;
    text-align: center;
    width: 800px;
    max-width: 95%;
    font-weight: bold;
}

.pricing-card__list-full {
    flex-wrap: nowrap;
    text-align: left;
}
.pricing-card__list-full .pricing-card__name {
    width: calc(100% - 20px);
}

.selected-account-insurance {

}
.not-selected-account-insurance {
    opacity: 0.5;
}
.selected-account-insurance .insurance-btn,
.not-selected-account-insurance .insurance-btn {
    display: none;
}
.insurance-btn-deactivate {
    display: none;
}
.selected-account-insurance .insurance-btn-deactivate {
    display: block;
}

.insurance-message {
    margin: 5px 0;
}

.terms-in-profile {
    text-align: center;
    margin: 10px 0 50px;
    font-weight: bold;
}

.dashboard .dashboard-widget.not-active-balance {
    background: #d8d5d5;
    cursor: pointer;
}
.dashboard .dashboard-widget.not-active-balance .dashboard-widget__text {
    color: #8692a1;
}
.dashboard .dashboard-widget.not-active-balance:hover {
    transform: none;
    background: #d8d5d5;
}
.dashboard .dashboard-widget.not-active-balance:hover .dashboard-widget__text {
    color: #8692a1;
}
.dashboard .dashboard-widget.not-active-balance:hover .dashboard-widget__number {
    color: hsl(var(--heading-color));
}
.dashboard .dashboard-widget.dashboard-block-paid {
    background: #bf5049;
}
.dashboard .dashboard-widget.dashboard-block-paid .dashboard-widget__text {
    color: #fff;
}
.dashboard .dashboard-widget.dashboard-block-paid .dashboard-widget__number {
    color: #fff;
}
.dashboard .dashboard-widget.dashboard-block-paid:hover {
    transform: none;
    background: #d2453d;
}
.dashboard .dashboard-widget.dashboard-block-small-text {
}
.dashboard .dashboard-widget.dashboard-block-small-text .dashboard-widget__text {
}
.dashboard .dashboard-widget.dashboard-block-small-text .dashboard-widget__number {
    font-size: 18px; /* Increased from 16px to 18px */
    word-break: break-all;
    min-height: 49px;
    padding-top: 10px;
}
.password-with-eye-container {
    position: relative;
}
.password-with-eye-container .eye-container {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    cursor: pointer;
    font-size: 28px;
}
.password-with-eye-container .eye-container .eye-hide {
    display: inline-block;
}
.password-with-eye-container .eye-container .eye-visible {
    display: none;
}
.password-with-eye-container .eye-container.visible .eye-hide {
    display: none;
}
.password-with-eye-container .eye-container.visible .eye-visible {
    display: inline-block;
}
.section-heading__subtitle::before {
    bottom: 5px;
}



@media screen and (min-width:768px) and (max-width:1024px) {
    .hover-input-popup .input-popup {
        left: 70% !important;
    }
}

@media screen and (max-width:992px) {
    .password-with-eye-container .eye-container {
        height: 52px;
        font-size: 25px;
    }
}

@media screen and (max-width:500px) {
    .dashboard .dashboard-widget.dashboard-block-small-text .dashboard-widget__number {
        font-size: 16px; /* Increased from 14px to 16px */
        min-height: auto;
        padding-top: 5px;
    }
}

@media screen and (max-width:400px) {
    .dashboard .dashboard-widget.dashboard-block-small-text .dashboard-widget__number {
        font-size: 15px; /* Increased from 13px to 15px */
    }
}

/* Fix for dashboard widget number alignment with icon */
.dashboard .dashboard-widget__content.flex-align + .dashboard-widget__number {
    margin-left: 0px; /* Align with the start of dashboard-widget__content block */
}

.dashboard .dashboard-widget__content.flex-align + .dashboard-widget__number__also {
    margin-left: 17px; /* Align with the start of dashboard-widget__content block */
}

@media screen and (max-width: 575px) {
    .dashboard .dashboard-widget__content.flex-align + .dashboard-widget__number {
        margin-left: 10px; /* Align with the start of dashboard-widget__content block */
    }

    .dashboard .dashboard-widget__content.flex-align + .dashboard-widget__number__also {
        margin-left: 22px;
    }
}

/* Fix for mobile responsive tables - hide data-label for no transactions message */
@media screen and (max-width: 767px) {
    .table--responsive--md tbody tr td.no-transactions-message::before {
        display: none !important;
    }

    .table--responsive--md tbody tr td.no-transactions-message {
        justify-content: center !important;
        text-align: center !important;
    }
}
