/* =========================================
   1. ROGERLE BRANDING CORE (Orange & Blue)
   ========================================= */
:root {
    --base-h: 28 !important;          /* Orange Hue */
    --base-s: 80% !important;         /* Saturation */
    --base-l: 52% !important;         /* Lightness */
    --main-color: #e67e22 !important; /* RogerLe Orange */
    --text-color: #334155 !important; /* Slate Grey Text */
    --heading-color: #1e293b !important; /* Dark Blue Headings */
    --section-bg: #fff7ed !important; /* Soft Orange Backgrounds */
}

/* HEADER & SIDEBAR -> DARK BLUE */
.header, .header-bottom, .sidebar {
    background-color: #1e293b !important;
    border-bottom: 1px solid #334155;
}

/* BUTTONS -> ROGERLE ORANGE */
.btn--base, .btn--primary, .cmn--btn, .cookies-btn, .btn-primary {
    background-color: #e67e22 !important;
    border-color: #e67e22 !important;
    color: #fff !important;
    font-weight: 600;
}
.btn--base:hover, .btn--primary:hover, .cmn--btn:hover, .cookies-btn:hover {
    background-color: #d35400 !important; /* Darker Orange on Hover */
    color: #fff !important;
}

/* SIDEBAR ACTIVE ITEMS */
.sidebar .sidebar-menu .sidebar-menu-item.active > a {
    background-color: #e67e22 !important;
    box-shadow: 0 4px 10px rgba(230, 126, 34, 0.4);
    color: white !important;
}
.sidebar .sidebar-menu .sidebar-menu-item a:hover {
    background-color: rgba(255,255,255,0.05);
}

/* DASHBOARD CARDS */
.dashboard-widget {
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.dashboard-widget:hover {
    border-color: #e67e22;
    transform: translateY(-2px);
    transition: 0.3s;
}

/* =========================================
   2. EXISTING FUNCTIONALITY (Tweaked for Brand)
   ========================================= */

/* Selection Color (Now Orange) */
::selection{
  background-color: #e67e22;
  color: #fff;
}

.base-color{
  color: #e67e22 !important;
}

/* Copy Input Animation */
.copyInput {
    display: inline-block;
    line-height: 50px;
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    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: #e67e22; /* Changed to Brand Orange */
    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 */
.cookies-card {
    width: 520px;
    padding: 30px;
    color: #1e293b; /* Dark Blue Text */
    position: fixed;
    bottom: 15px;  
    left: 15px;
    z-index: 999999;
    transition: all .5s;
    background: #ffffff; /* White background looks cleaner than gray */
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 12px;
}

.cookies-card.hide{
    bottom: -500px !important;
}
.radius--10px {
    border-radius: 10px;
}

.cookies-card__icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #fff7ed; /* Soft Orange BG */
    color: #e67e22; /* Orange Icon */
    font-size: 32px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.cookies-card__content {
    margin-bottom: 0;
}

.cookies-btn {
    text-decoration: none;
    padding: 10px 35px;
    margin: 3px 5px;
    display: inline-block;
    border-radius: 999px;
    /* Color handled by global button override above */
}

@media (max-width: 767px) {
    .cookies-card {
        width: 100%;
        left: 0;
        bottom: 0;
        font-size: 14px;
        padding: 15px;
        border-radius: 0;
    }
}

/* Hover Input Popup */
.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: #1e293b; /* Dark Blue BG */
    color: #fff;
    padding: 20px;
    border-radius: 5px;
    transform: translateX(-50%);
    transition: all 0.3s;
    z-index: 100;
}
.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 #1e293b transparent; /* Matches BG */
    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: #2ecc71;
}

.show-filter{
    display: none;
}
@media(max-width:767px){
    .responsive-filter-card{
        display: none;
        transition: none;
    }
    .show-filter{
        display: block;
    }
}