/* ShiftGuard Browser Views - Common Styles */
/* This file contains shared styles for all browser view pages */

/* Body Styles */
body {
    background: linear-gradient(-45deg, #1E304C, #141A25, #172031, #23395B, #1E2024);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    height: 90vh;
}

/* Navbar Styles */
.navbar-container {
    position: fixed;
    top: 0px;
    width: 102%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background-color: rgba(20, 26, 37, 0);
    transition: background-color 0.5s, opacity 0.5s;
}

.navbar-brand {
    font-size: 1.75rem;
}

.navbar-brand span {
    color: #00bcd4;
}

.navbar-dark .navbar-nav .nav-link {
    color: #ffffff;
    padding: 0 1rem;
}

/* Dropdown Navigation */
.nav-item {
    position: relative;
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown .dropdown-menu:hover {
    display: block;
    margin-top: 15px;
}

.dropdown-toggle::after {
    display: none;
}

.nav-sub-menu {
    background-color: rgba(20, 26, 37, 0.9);
    border-radius: 10px;
    border: 1px solid var(--primary);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.4);
    min-width: 480px;
    margin-top: 15px;
    left: -189px;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px); /* Safari */
}

.nav-item.dropdown {
    position: relative;
}

.nav-sub-menu::before {
    content: "";
    position: absolute;
    top: -18px;
    left: 45%;
    border-width: 0 18px 18px 18px;
    border-style: solid;
    border-color: transparent transparent var(--primary) transparent;
}

.nav-sub-menu::after {
    content: "";
    position: absolute;
    top: -16px;
    left: 45%;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-bottom: 18px solid rgba(16, 26, 37, 0.96);
    z-index: 2;
}

.nav-sub-menu .dropdown-header {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 12px;
}

.nav-sub-menu .dropdown-item {
    color: #cfd8e3;
    padding: 6px 15px;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
    font-size: 15px;
    border: 1px solid transparent;
}

.nav-sub-menu .dropdown-item:hover {
    background-color: #17a2b8 !important;
    border: 1px solid #17a2b8;
    color: #fff;
}

.navbar-nav .nav-link.active {
    color: #17a2b8 !important;
    font-weight: 600;
    border-bottom: 2px solid #17a2b8;
}

.dropdown-menu .dropdown-item.active {
    background-color: #17a2b8;
    color: #fff !important;
    border-radius: 6px;
}

.nav-item.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

/* Banner & Layout */
.banner {
    margin-bottom: -90px;
    padding-top: 65px;
    padding-bottom: 10px;
}

.border-left {
    border-left: 2px solid #fff !important;
}

.display-2 {
    font-size: 1.5rem;
}

.middle-cta {
    position: relative;
    top: 60px;
    z-index: 100;
}

.info-section img {
    height: 425px;
    width: 425px;
    border-radius: 1.0rem !important;
}

.bg-team {
    background-color: #F9FCFF;
}

.lh-2 {
    line-height: 2;
}

/* FAQ Accordion */
.faq-accordion .accordion-item {
    background: transparent;
    border: 0;
    margin-bottom: 12px;
}

.faq-accordion .accordion-header {
    width: 100%;
}

.accordion-header {
    margin-bottom: 0;
}

.faq-accordion .accordion-button {
    display: block;
    width: 100%;
    background: #2f353f;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 24px 30px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: none;
}

.faq-accordion .accordion-button.collapsed,
.faq-accordion .accordion-button:not(.collapsed) {
    background: #1b293d;
    color: #fff;
    text-align: left;
}

.faq-accordion .accordion-button:not(.collapsed) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.faq-accordion .accordion-button::after {
    display: none;
}

.faq-accordion .accordion-body {
    background: #393F53;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, .12);
    border-top: 0;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    padding: 14px 30px;
}

/* Discovery Feature */
.discover_feature a {
    width: 17%;
}

/* Pricing & Button Styles */
.bg-primary-dark {
    background: #1b293d;
}

.btn-primary {
    border-radius: 8px !important;
}

.btn-plan {
    border: 1px solid var(--primary);
    color: #fff;
    border-radius: 8px;
    padding: 12px 15px;
}

.banner a:hover,
.discover_feature .hover-glow a:hover {
    background: linear-gradient(155deg, #50c4deba 13%, var(--primary-dull) 59%);
    color: #fff;
}

.btn-plan.active {
    background: linear-gradient(155deg, #50c4deba 13%, var(--primary-dull) 59%);
    color: #fff;
    z-index: auto;
}

/* Enhanced Pricing Section */
.pricing-section-enhanced {
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--primary-dull);
    box-shadow: 0 0 32px 0 var(--primary-alpha);
    backdrop-filter: blur(4px);
}

/* Enhanced Feature Heading */
.feature-heading-enhanced {
    background: linear-gradient(135deg, rgba(27, 41, 61, 0.9) 0%, rgba(23, 32, 49, 0.9) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    text-shadow: 0 0px 32px rgba(0, 188, 212, .4);
}

/* Animations */
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Glow Effect */
.glow-on-hover {
    outline: none;
    color: #fff !important;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}

.glow-on-hover:before {
    content: '';
    background: linear-gradient(12deg, #40B6D0 30%, #00809C 60%);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

.glow-on-hover:hover:before {
    opacity: 1;
}

.glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #172031;
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 400% 0;
    }
    100% {
        background-position: 0 0;
    }
}

/* Range Input Styles */
input[type=range] {
    background: #fff;
    outline: none;
}

#teamRange {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 5px;
    background: linear-gradient(to right, #50C4DE 25%, #ffffff 25%);
    outline: none;
    transition: background 0.3s ease;
}

/* THUMB (Chrome, Edge, Safari) */
#teamRange::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #50C4DE;
    border: 2px solid white;
    cursor: pointer;
}

/* No hover color change */
#teamRange:hover::-webkit-slider-thumb {
    background: #50C4DE;
}

/* THUMB (Firefox) */
#teamRange::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #50C4DE;
    border: 2px solid white;
    cursor: pointer;
}

/* Remove hover color change in Firefox */
#teamRange:hover::-moz-range-thumb {
    background: #50C4DE;
}

/* Generic range input fallback */
input[type=range]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #50C4DE;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #50C4DE;
    cursor: pointer;
    border-radius: 50%;
}