/* 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;
}

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

/* Modern Gradient Button Styles */
.btn--modern-red {
    background: linear-gradient(135deg, #ff0000 0%, #ff4d4d 50%, #ff0000 100%);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
    border: none;
    color: white;
    transition: all 0.3s ease;
    background-size: 200% auto;
    position: relative;
    overflow: hidden;
}

.btn--modern-red:hover {
    background-position: right center;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
    color: white;
}

.btn--modern-red:active {
    box-shadow: 0 2px 10px rgba(255, 0, 0, 0.2);
}

.btn--modern-red::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn--modern-red:hover::before {
    left: 100%;
}

/* Override danger button styles */
.btn--danger,
.btn-danger,
.btn-outline--danger,
.badge.btn--danger,
.feedback-btn.btn--danger,
.sell-btn,
.sell-btn-sm {
    background: linear-gradient(110deg, #ff0f2f 0%, #ff4242 50%, #ff0f2f 100%) !important;
    box-shadow: 0 4px 15px rgba(255, 15, 47, 0.3),
                inset 0 -3px 8px rgba(255, 66, 66, 0.2),
                inset 0 3px 8px rgba(255, 255, 255, 0.1) !important;
    border: none !important;
    color: white !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background-size: 200% auto !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(5px) !important;
}

.btn--danger:hover,
.btn-danger:hover,
.btn-outline--danger:hover,
.badge.btn--danger:hover,
.feedback-btn.btn--danger:hover,
.sell-btn:hover,
.sell-btn-sm:hover {
    background-position: right center !important;
    box-shadow: 0 6px 25px rgba(255, 15, 47, 0.35),
                inset 0 -4px 10px rgba(255, 66, 66, 0.3),
                inset 0 4px 10px rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px) scale(1.02) !important;
    color: white !important;
    letter-spacing: 0.5px !important;
}

.btn--danger:active,
.btn-danger:active,
.btn-outline--danger:active,
.badge.btn--danger:active,
.feedback-btn.btn--danger:active,
.sell-btn:active,
.sell-btn-sm:active {
    transform: translateY(1px) scale(0.98) !important;
    box-shadow: 0 2px 10px rgba(255, 15, 47, 0.2),
                inset 0 -2px 5px rgba(255, 66, 66, 0.1),
                inset 0 2px 5px rgba(255, 255, 255, 0.1) !important;
}

/* Shimmer effect */
.btn--danger::before,
.btn-danger::before,
.btn-outline--danger::before,
.badge.btn--danger::before,
.feedback-btn.btn--danger::before,
.sell-btn::before,
.sell-btn-sm::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -100%;
    width: 100%;
    height: calc(100% + 4px);
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 45%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0.2) 55%,
        transparent 100%
    );
    transition: 0.75s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.btn--danger::after,
.btn-danger::after,
.btn-outline--danger::after,
.badge.btn--danger::after,
.feedback-btn.btn--danger::after,
.sell-btn::after,
.sell-btn-sm::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(255, 15, 47, 0.5) 0%, rgba(255, 66, 66, 0.5) 100%);
    opacity: 0;
    transition: 0.4s ease;
    border-radius: 8px;
    z-index: -1;
}

.btn--danger:hover::before,
.btn-danger:hover::before,
.btn-outline--danger:hover::before,
.badge.btn--danger:hover::before,
.feedback-btn.btn--danger:hover::before,
.sell-btn:hover::before,
.sell-btn-sm:hover::before {
    left: 100%;
}

.btn--danger:hover::after,
.btn-danger:hover::after,
.btn-outline--danger:hover::after,
.badge.btn--danger:hover::after,
.feedback-btn.btn--danger:hover::after,
.sell-btn:hover::after,
.sell-btn-sm:hover::after {
    opacity: 1;
}

/* Small button variants */
.btn--danger.btn--sm,
.btn-danger.btn-sm,
.btn-outline--danger.btn-sm,
.badge.btn--danger.btn--sm {
    font-size: 0.875rem !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 6px !important;
}

/* Outline variants */
.btn-outline--danger,
.btn--danger.outline {
    background: transparent !important;
    border: 2px solid #ff0f2f !important;
    color: #ff0f2f !important;
    box-shadow: 0 4px 15px rgba(255, 15, 47, 0.1),
                inset 0 -2px 5px rgba(255, 15, 47, 0.05),
                inset 0 2px 5px rgba(255, 255, 255, 0.05) !important;
}

.btn-outline--danger:hover,
.btn--danger.outline:hover {
    background: linear-gradient(110deg, #ff0f2f 0%, #ff4242 50%, #ff0f2f 100%) !important;
    border-color: transparent !important;
    color: white !important;
}

/* Badge specific styles */
.badge.btn--danger,
.feedback-btn.badge {
    font-size: 0.75rem !important;
    padding: 0.45em 0.85em !important;
    font-weight: 600 !important;
    border-radius: 50rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Block button variants */
.btn--danger.btn-block,
.btn--danger.w-100 {
    width: 100% !important;
    display: block !important;
    padding: 0.75rem 1.25rem !important;
}

/* Large button variants */
.btn--danger.btn-lg {
    padding: 0.85rem 1.75rem !important;
    font-size: 1.125rem !important;
    border-radius: 10px !important;
    letter-spacing: 0.5px !important;
}

/* Shadow variants */
.btn--danger.btn--shadow {
    box-shadow: 0 8px 25px rgba(255, 15, 47, 0.3),
                inset 0 -4px 10px rgba(255, 66, 66, 0.2),
                inset 0 4px 10px rgba(255, 255, 255, 0.1) !important;
}

/* Input group text buttons */
.input-group-text.btn--danger {
    display: flex !important;
    align-items: center !important;
    padding: 0.375rem 0.75rem !important;
    border-radius: 6px !important;
}

/* Disabled state */
.btn--danger:disabled,
.btn-danger:disabled,
.btn-outline--danger:disabled {
    opacity: 0.65 !important;
    pointer-events: none !important;
    background: linear-gradient(110deg, #ff6b6b 0%, #ff8787 50%, #ff6b6b 100%) !important;
    box-shadow: none !important;
}

/* Modern Header Styles */
.modern-header {
    background: rgba(17, 17, 17, 0.35);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    height: 80px;
    display: flex;
    align-items: center;
}

.modern-header.scrolled {
    background: rgba(17, 17, 17, 0.35);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.modern-header .navbar {
    padding: 0;
}

.modern-header .navbar-brand {
    padding: 0;
}

.modern-header .navbar-brand img {
    height: 42px;
    transition: all 0.3s ease;
}

.modern-header .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.85rem 1.4rem !important;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
    text-align: center;
    display: inline-block;
    height: 48px;
    line-height: 28px;
}

/* Remove red hover lines from navbar buttons */
.modern-header .nav-link::before,
.modern-header .nav-link::after {
    content: none !important;
    display: none !important;
}

.modern-header .nav-link:hover::before,
.modern-header .nav-link:hover::after,
.modern-header .nav-link.active::before,
.modern-header .nav-link.active::after {
    width: 100%;
}

.modern-header .nav-link:hover {
    color: #fff !important;
}

.modern-header .custom--dropdown {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 0.25rem;
}

.modern-header .custom--dropdown__selected {
    padding: 0.5rem 1rem;
}

.modern-header .dropdown-list {
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.modern-header .dropdown-list__item {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.modern-header .dropdown-list__item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.modern-header .auth-buttons .btn {
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    font-weight: 400;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    min-width: 100px;
    height: 40px;
    line-height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.modern-header .auth-buttons .btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
}

.modern-header .auth-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.modern-header .navbar-toggler {
    border: none;
    padding: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.modern-header .navbar-toggler:focus {
    box-shadow: none;
}

@media (max-width: 991px) {
    .modern-header .navbar-collapse {
        background: rgba(17, 17, 17, 0.98);
        backdrop-filter: blur(10px);
        padding: 1rem;
        border-radius: 12px;
        margin-top: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .modern-header .nav-link {
        padding: 0.85rem 1rem !important;
    }

    .modern-header .header-right {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* Add this to your existing button styles */
.btn--modern-red {
    background: linear-gradient(110deg, #ff0f2f 0%, #ff4242 50%, #ff0f2f 100%) !important;
    box-shadow: 0 4px 15px rgba(255, 15, 47, 0.3),
                inset 0 -3px 8px rgba(255, 66, 66, 0.2),
                inset 0 3px 8px rgba(255, 255, 255, 0.1) !important;
    border: none !important;
    color: white !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background-size: 200% auto !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    font-weight: 400 !important;
    font-size: 0.875rem !important;
    padding: 0.65rem 1.25rem !important;
    min-width: 100px !important;
    height: 40px !important;
    line-height: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn--modern-red:hover {
    background-position: right center !important;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
    color: white;
}

/* Glassmorphism reusable background */
.glass-bg {
    background: rgba(17, 17, 17, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    padding: 2rem 1.5rem;
}

.glass-bg-error {
    background: rgba(17, 17, 17, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.12);
    padding: 1.5rem 2rem;
    color: #fff;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 1.5rem auto;
    max-width: 480px;
}

#market-list-body .glass-bg, #market-list-body .glass-bg-error {
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.btn--base {
    background: linear-gradient(110deg, #ff0f2f 0%, #ff4242 50%, #ff0f2f 100%) !important;
    box-shadow: 0 4px 15px rgba(255, 15, 47, 0.3),
                inset 0 -3px 8px rgba(255, 66, 66, 0.2),
                inset 0 3px 8px rgba(255, 255, 255, 0.1) !important;
    border: none !important;
    color: white !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background-size: 200% auto !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.btn--base:hover {
    background-position: right center !important;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
    color: white;
}

.btn--base:active {
    box-shadow: 0 2px 10px rgba(255, 0, 0, 0.2);
}

.btn--base::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn--base:hover::before {
    left: 100%;
}

.btn--base.outline,
.btn--base.outline:active,
.btn--base.outline:focus,
.btn--base.outline:hover {
    color: #fff !important;
}

/* NOTE: Place a semi-transparent white chaotic lines PNG at /assets/templates/basic/images/chaotic-lines.png for the glassmorphism background effect on dashboard cards. */
