/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.3.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

:root {
    --quality-1-color: #43494b; /* White/Grey */
    --quality-2-color: #30576c; /* Blue */
    --quality-3-color: #503665; /* Purple */
    --quality-4-color: #ff8c00; /* Orange/Gold */
    --quality-5-color: #a32622; /* Red */
}

body {
    background: var(--ast-global-color-7) !important;
    background-color: var(--ast-global-color-7) !important;
}

.main-container,
header {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    font-weight: 600;
}

.footer {
    text-transform: none;
    font-weight: normal;
}

input, button {
    text-transform: uppercase;
    font-weight: 600 !important;
}

button:hover,
button:focus,
a:focus {
    color: unset;
    outline: unset;
}

.main-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.text-uppercase {
    text-transform: uppercase;
}

.text-center {
    text-align: center;
}

.disabled {
    pointer-events: none;
    color: #aaaaaa;
    text-decoration: none;
    cursor: not-allowed;
    opacity: 0.4;
}
  
/* Quality 1: White/Grey */
.quality-1 {
    background-color: var(--quality-1-color);
}

/* Quality 2: Blue */
.quality-2 {
    background-color: var(--quality-2-color);
}

/* Quality 3: Purple */
.quality-3 {
    background-color: var(--quality-3-color);
}

/* Quality 4: Orange/Gold */
.quality-4 {
    background-color: var(--quality-4-color);
}

/* Quality 5: Red */
.quality-5 {
    background-color: var(--quality-5-color);
}


.role-header {
    text-align: left;
    font-size: 1.1em;
    margin-bottom: 5px;
}


/* Style for the submenu under "Heroes" */
.menu-item-has-children > .sub-menu {
    display: none; /* Initially hide submenu */
    position: absolute;
    background-color: var(--ast-global-color-8);
    padding: 0 20px 20px 20px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
    width: max-content;
}

.menu-item-has-children button {
    box-shadow: none;
}

.menu-item-has-children:hover > .sub-menu {
    display: block; /* Show on hover */
}

.menu-item-has-children > .hero-option {
	height: unset !important;
}

.role-group .menu-item {
    margin-bottom: 10px;
}

.sub-menu .submenu-title {
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    display: block;
}

.sub-menu .submenu-title-first {
    margin-top: 10px;
}

/* Custom scrollbar for WebKit browsers */
.sub-menu {
    max-height: 500px; /* Set the max height for the submenu */
    overflow-y: auto; /* Enable vertical scrolling */
}

/* Scrollbar styles for WebKit browsers */
.sub-menu::-webkit-scrollbar {
    width: 8px; /* Set width of scrollbar */
}

/* Track */
.sub-menu::-webkit-scrollbar-track {
    background: rgba(236, 223, 194, 0.5); /* Light background */
    border-radius: 10px; /* Rounded corners */
}

/* Handle */
.sub-menu::-webkit-scrollbar-thumb {
    background: rgba(150, 150, 150, 0.8); /* Darker handle color */
    border-radius: 10px; /* Rounded corners */
}

/* Handle on hover */
.sub-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 100, 100, 0.9); /* Darker on hover */
}

/* Scrollbar styles for Firefox */
.sub-menu {
    scrollbar-width: thin; /* Use a thin scrollbar */
    scrollbar-color: rgba(150, 150, 150, 0.8) rgba(236, 223, 194, 0.5); /* Handle and track color */
}

.submenu-role-icon {
    width: 24px;
    height: 24px;
}

.submenu-hero-icon {
    width: 36px;
    height: 36px;
    margin-right: 8px;  /* Space between icon and text */
    vertical-align: middle; /* Align icon with text */
}

.ast-mobile-header-content .ast-arrow-svg {
    transition: transform 0.3s ease;
}

.ast-mobile-header-content .ast-submenu-expanded .ast-arrow-svg {
    transform: rotate(180deg);
}

.ast-mobile-header-content .ast-menu-toggle {
    width: 100%;
    padding-left: calc(0.907em + 20px) !important;
    padding-right: calc(0.907em + 20px) !important;
    text-align: right;
    right: 0 !important;
}

.ast-menu-toggle:focus {
    outline: none;
}

.custom-other-menu > .sub-menu {
    padding: 10px 20px;
}

.custom-other-menu > .sub-menu > .menu-item {
    padding: 10px 0;
}

.custom-other-menu .menu-item-separator hr {
    border: 0;
    height: 1px;
    background-color: #ccc;
    margin: 8px 0;
}

.countdown-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-bottom: -1px;
    background: url('/wp-content/uploads/marvel-assets/ui/countdown.svg') no-repeat center center; /* TODO check url */
    background-size: contain;
}


/* Popup Notification */
#user-popup {
    position: fixed;
    top: 120px; /* Adjust based on header height */
    min-width: 250px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.98);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    border: 1px solid var(--ast-global-color-1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
}

/* Show popup */
#user-popup.show {
    opacity: 1;
    pointer-events: auto;
}

/* Close button */
.close-popup {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-popup:hover {
    background: none;
}

/* Close icon */
.close-popup img {
    width: 18px; /* Adjust size */
    height: 18px;
    filter: invert(1); /* Make white for dark backgrounds */
    transition: opacity 0.2s ease-in-out;
}

/* Hover effect */
.close-popup:hover img {
    opacity: 0.7;
}


#popup-message a {
    color: var(--ast-global-color-1);
}

#popup-message a:hover {
    text-decoration: underline;
}


/* Account menu item avatar */
.menu-account-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

.menu-account-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    vertical-align: top;
}

.leak-info-table, .leak-info-table td, .leak-info-table th, .leak-info-table tr {
    border: unset !important;
}
.leak-info-table th {
    width: 115px;
    min-width: 115px;
}
.leak-info-table th, .leak-info-table td {
    padding: 0;
    text-align: left;
    vertical-align: top;
}
.leak-info-table th {
    opacity: 0.9;
}

/* Responsive Layout for Mobile */
@media (max-width: 968px) {

    #user-popup {
        font-size: 14px;
    }

    .menu-account-avatar {
        margin-bottom: 4px;
    }

    .ast-container {
        overflow: hidden;
    }

    .ast-builder-menu-mobile {
        font-size: 1.2em;
    }

    .ast-mobile-header-content {
        background-color: var(--ast-global-color-8) !important;
    }

    .ast-mobile-header-content div[data-section="section-hb-social-icons-1"] {
        padding: 20px;
    }

    .sub-menu .submenu-title {
        margin-top: 10px;
        margin-bottom: 0px;
    }

    .sub-menu .submenu-title-first {
        margin-top: 0px;
    }

    .main-header-menu > .menu-item > .menu-link, #astra-footer-menu > .menu-item > .menu-link {
        height: unset;
    }
}