:root {
    --primary: rgba(93, 180, 39, 1);
    --secondary: #34AD54;
    --light: #EEF9FF;
    --dark: #091E3E;

    --grr-lred: rgba(255, 99, 132, 0.6);
    --grr-lblue: rgba(54, 162, 235, 0.6);
    --grr-lyellow: rgba(255, 206, 86, 0.6);
    --grr-lgreen: rgba(75, 192, 192, 0.6);
    --grr-lpurple: rgba(153, 102, 255, 0.6);
    --grr-lorange: rgba(255, 159, 64, 0.6);
    --grr-lindigo: rgba(83, 102, 255, 0.6);

    --grr-dred: rgba(255, 99, 132, 1);
    --grr-dblue: rgba(54, 162, 235, 1);
    --grr-dyellow: rgba(255, 206, 86, 1);
    --grr-dgreen: rgba(75, 192, 192, 1);
    --grr-dpurple: rgba(153, 102, 255, 1);
    --grr-dorange: rgba(255, 159, 64, 1);
    --grr-dindigo: rgba(83, 102, 255, 1);

    --grr-altgreen: rgba(93, 180, 39, 1);
    /* The raw RGB numbers for your green */
    --grr-altgreen-rgb: 93, 180, 39;
}

a {
    text-decoration: none;
}

a.a-right {
    color: #18d26e;
    text-decoration: none;
    display: inline-block;
    /* Required for transforms to work */
    transition: transform 0.3s ease;
    /* Smooth motion */
}

a.a-right:hover,
a.a-right:active,
a.a-right:focus {
    color: #18d36e;
    outline: none;
    text-decoration: none;
    transform: translateX(10px);
    /* Moves 10px to the right */
}

/* min-height ensures the container/body is ALWAYS at least 50px taller than the screen */
.min-vh {
    min-height: calc(100dvh + 50px) !important;
}

.text-alt-green {
    color: var(--grr-altgreen) !important;
}

.bg-alt-green {
    background-color: var(--grr-altgreen) !important;
}

#navbar a {
    font-size: 0.8rem;
    font-weight: 300;
}

#navbar .logo,
#footer .logo {
    font-size: 34px;
    margin: 0;
    padding: 0;
    padding-left: 0px;
    font-weight: 700;
    letter-spacing: 3px;
    padding-left: 10px;
    border-left: 4px solid var(--primary);
}

.dropdown-menu {
    background-color: var(--bs-gray-800);
}

.dropdown-item {
    color: #ffffff;
}

.dropdown-item:hover {
    background-color: var(--grr-altgreen);
    color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 300 !important;
}

h1 {
    font-size: 2.5rem !important;
}

h2 {
    font-size: 1.75rem !important;
}

h3 {
    font-size: 1.5rem !important;
}

h4 {
    font-size: 1.25rem !important;
}

h5 {
    font-size: 0.125rem !important;
}

h6 {
    font-size: 1rem !important;
}

.hero-i {
    color: #18d26e;
    font-size: 64px;
    display: inline-block;
    line-height: 1;
}

/* Base style for Mobile (allows image to shrink naturally) */
.custom-carousel-img {
    /* Ensures the image covers the area without stretching */
    width: 100%;
    height: auto;
    /* Shrinks proportionally on small screens */
    object-fit: cover;

    /* Optional: Centers the focus of the image (top, bottom, or center) */
    object-position: center;
}

/* Large screens (992px and up): Force full-screen height */
@media (min-width: 992px) {
    .custom-carousel-img {
        height: 100vh;
        height: 100dvh;
        /* Better for mobile browsers in 2026 */
    }
}

.hero-title {
    color: #ffffff;
    font-size: 18px;
}

.hero-description {
    font-size: 0.8rem;
    color: #fff;
    margin-bottom: 0;
}

.blog-item p {
    font-size: 0.8rem;
}

#footer .copyright {
    font-size: 0.8rem;
}

#footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/*-----------------
# Accordion Start #
-----------------*/
.accordion-container {
    /*max-width: 800px;*/
    margin: 0 auto;
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 12px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .05);
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
    transform: translateY(-2px);
}

.accordion-button {
    padding: 20px 25px;
    border-radius: 12px !important;
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--bs-gray-500);
    background: white;
}

.accordion-button:not(.collapsed) {
    color: var(--grr-altgreen);
    background: var(--bs-gray-200);
    box-shadow: none;
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(13, 110, 253, 0.25);
}

.accordion-button::after {
    background-image: none;
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.2rem;
    color: #6c757d;
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
    color: var(--grr-altgreen);
}

.accordion-body {
    padding: 20px 25px;
    color: #495057;
    line-height: 1.6;
    background: white;
}

.feature-icon {
    margin-right: 12px;
    color: var(--grr-altgreen);
    font-size: 2rem;
}

.badge-custom {
    margin-left: 10px;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.8rem;
}

.progress {
    height: 8px;
    margin-top: 15px;
    border-radius: 4px;
}

.list-group-item {
    border: none;
    padding: 0 0;
    display: flex;
    align-items: center;
}

.status-icon {
    margin-right: 10px;
}

.image-preview {
    border-radius: 8px;
    margin-top: 15px;
}

/*---------------
# Accordion End #
---------------*/

/*-------------------
# Breadcrumbs Start #
-------------------*/
.breadcrumbs {
    padding: 20px 0;
    min-height: 40px;
    margin-top: 55px;
}

.breadcrumbs h2 {
    font-size: 24px;
    margin-bottom: 0;
    font-weight: 400;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.8rem;
}

.breadcrumbs ol li+li {
    padding-left: 10px;
}

.breadcrumbs ol li+li::before {
    display: inline-block;
    padding-right: 10px;
    color: #6c757d;
    content: "/";
}

.breadcrumbs ol li a {
    text-decoration: none;
    /* Required for transforms to work */
    display: inline-block;
    transition: transform 0.3s ease;
    /* Smooth motion */
}

.breadcrumbs ol li a:hover {
    text-decoration: none;
    color: var(--grr-altgreen);
    transform: translateX(5px);
    /* Moves 10px to the left */
}

@media (max-width: 768px) {
    .breadcrumbs .d-flex {
        display: block !important;
    }

    .breadcrumbs ol {
        display: block;
    }

    .breadcrumbs ol li {
        display: inline-block;
    }
}

/*-----------------
# Breadcrumbs End #
-----------------*/

/*------------------------------
# Web Projects Accordion Start #
------------------------------*/
.testpage-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.testpage-links ul a {
    color: #9a9a9a;
    font-weight: 300;
    text-decoration: none;
    transition: 0.5s;
}

.testpage-links ul a:hover {
    color: #000000;
    font-weight: 700;
}

/*----------------------------
# Web Projects Accordion End #
----------------------------*/

/*-------------------------
# Pagination Styles Start #
-------------------------*/
/* Base link style: Remove blue border and set a neutral text color */
#pagination-list .page-item {
    margin: 0 5px;
    /* Add spacing between circles */
}

#pagination-list .page-link {
    border-radius: 50% !important;
    /* Make items perfectly round */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    /* Light gray border instead of blue */
    color: #555;
}

#pagination-list .page-item.active .page-link {
    background-color: var(--grr-altgreen);
    /* color of active circle */
    border-color: var(--grr-altgreen);
    color: #fff;
}

/* Focus state: Remove the blue "glow" outline */
#pagination-list .page-link:focus {
    box-shadow: none;
    /* Removes blue glow */
    background-color: #ffffff;
}

/* Disabled state: Fade the arrows */
#pagination-list .page-item.disabled .page-link {
    background-color: transparent;
    /*opacity: 0.5;*/
}

/*-------------------------
# Pagination Styles End #
-------------------------*/

/*---------------------
# Cookie Policy Start #
---------------------*/
/* Apply the variable to the wrapper so the arrow can see it */
.green-tooltip {
    --bs-tooltip-bg: var(--grr-altgreen);
    --bs-tooltip-color: #fff;
    --bs-tooltip-opacity: 1;
}

/* Force the bubble to use that same variable */
.green-tooltip .tooltip-inner {
    background-color: var(--bs-tooltip-bg) !important;
    padding-bottom: 6px !important;
}

/* Removes the focus ring/state after clicking */
a[data-bs-toggle="tooltip"]:focus {
    outline: none !important;
    box-shadow: none !important;
}

.cookie-row {
    transition: all 0.3s ease;
    /* Smooth transition for all properties */
    border-left: 4px solid transparent;
    /* Prepare the side accent */
    cursor: pointer;
}

.cookie-row:hover {
    background-color: rgba(0, 0, 0, 0.03);
    /* Very light grey shift */
    border-left-color: var(--grr-altgreen);
    /* Your custom blue/green accent */
    transform: translateX(5px);
    /* Subtle slide to the right */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /* Soft shadow for depth */
}

/* Optional: Make the image pop slightly on hover */
.cookie-row:hover img {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.cookie-text {
    font-size: 0.8rem;
}

#cookie_ul strong {
    font-size: 1.4rem;
    color: var(--grr-altgreen);
    transition: 0.5s;
    text-decoration: none;
}

#centre-ul li {
    padding-top: 20px;
}

li.d-flex img {
    padding-right: 8px;
}

/*-------------------
# Cookie Policy End #
-------------------*/

/*----------------
# GRR Hash Start #
----------------*/

.mdh {
    color: #0069ff;
    font-size: 32px;
    font-family: 'Courier New';
    padding: 12px;
    background-color: #f5f2f0;
    /* Safari 3-4, iOS 1-3.2, Android 1.6- */
    -webkit-border-radius: 8px;
    /* Firefox 1-3.6 */
    -moz-border-radius: 8px;
    /* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
    border-radius: 8px;
    /* Prevent background color leak outs */
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
}

/*--------------
# GRR Hash End #
--------------*/

/*----------------------------
# ICONS & Modal Styles Start #
----------------------------*/

/* Center the badge overlay in the modal body */
#copyBadge {
    display: none;
    /* Hidden by default */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    /* Above modal content */

    /* Bigger styling */
    font-size: 1.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: fadeInOut 3s ease-in-out forwards;
}

/* Optional simple fade animation */
@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -60%);
    }

    20% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }

    80% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
}

.bg-gr-danger {
    --bs-bg-opacity: 1;
    background-color: var(--grr-dred) !important;
}

.modal-title {
    margin-bottom: 0;
    line-height: var(--bs-modal-title-line-height);
    font-size: 1.6rem;
    font-weight: 300;
}

/* Ensure the modal body is the relative container for centering */
.modal-body {
    position: relative;
}

.custom-close-btn {
    position: absolute;
    top: -25px;
    /* Move button up off the modal */
    right: -25px;
    /* Move button right off the modal */
    width: 50px;
    height: 50px;
    background-color: #fff;
    border: none;
    border-radius: 50%;
    /* Make it circular */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1060;
    /* Higher than modal content */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s ease;
    padding: 0;
}

.custom-close-btn:hover {
    background-color: var(--gr-danger, #dc3545);
    color: white;
    transform: rotate(90deg) scale(1.2);
    /* Adds a nice hover effect */
}

.custom-close-btn i {
    font-size: 1.5rem;
    line-height: 1;
}

/* Ensure modal content doesn't clip the button */
.modal-content {
    overflow: visible !important;
}

/* Custom utility for 8 columns per row */
@media (min-width: 992px) {
    .row-cols-lg-10>* {
        flex: 0 0 auto;
        width: 10%;
    }
}

/* Base card style */
.clickable-tile {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* Hover state: Lift, Expand, and Deepen Shadow */
.clickable-tile:hover {
    transform: translateY(-0px) scale(1.10);
    /* Moves 5px up and grows by 5% */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
    /* Deeper shadow for "height" */
    z-index: 10;
    /* Ensures the expanded card stays on top of neighbors */
}

/* The "Press" effect */
.clickable-tile:active {
    transform: translateY(-2px) scale(0.98);
    /* Sinks back down slightly */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.1s ease;
    /* Faster transition for the click */
}

/* 1. Reset the base state to be clean */
.grr-icons .input-group {
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
    border-radius: 0.5rem;
}

/* 2. Professional Subtle Glow on Focus */
.grr-icons .input-group:focus-within {
    border-color: var(--grr-altgreen) !important;
    position: relative;
    z-index: 10;

    /* Reduced Spread and Opacity for a sophisticated look */
    box-shadow:
        0 0 0 4px rgba(var(--grr-altgreen-rgb), 0.1),
        /* Tiny tight ring */
        0 8px 20px 2px rgba(var(--grr-altgreen-rgb), 0.15),
        /* Soft glow mainly at the bottom */
        0 0 30px 5px rgba(var(--grr-altgreen-rgb), 0.05);
    /* Very faint ambient aura */
}

/* 3. Sync colors without overpowering */
.grr-icons .input-group:focus-within .input-group-text,
.grr-icons .input-group:focus-within #iconSearch {
    border-color: var(--grr-altgreen) !important;
    color: var(--grr-altgreen) !important;
    background-color: #fff !important;
    /* Keeps it clean and white inside */
}

/* 4. Remove standard blue glow */
#iconSearch:focus {
    box-shadow: none !important;
    outline: none !important;
}

#iconSearch::placeholder {
    opacity: 0.3;
    /* Optional: makes it look more like a hint */
}

.noBlueOutline:focus {
    box-shadow: none !important;
    outline: none !important;
}

.noBlueOutline::placeholder {
    opacity: 0.3;
    /* Optional: makes it look more like a hint */
}

#noResults:not(.d-none) {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*--------------------------
# ICONS & Modal Styles End #
--------------------------*/

/*-----------------------
# PHP Info Styles Start #
-----------------------*/
pre {
    margin: 0;
    font-family: monospace;
}

table {
    border-collapse: collapse;
    border: 0;
    width: 934px;
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.2);
}

.center {
    text-align: center;
}

.center table {
    margin: 1em auto;
    text-align: left;
}

.center th {
    text-align: center !important;
}

#php td,
#php th {
    border: 1px solid #666;
    font-size: 75%;
    vertical-align: baseline;
    padding: 4px 5px;
}

th {
    position: sticky;
    top: 0;
    background: inherit;
}

h1 {
    font-size: 150%;
}

h2 {
    font-size: 125%;
}

h2 a:link,
h2 a:visited {
    color: inherit;
    background: inherit;
}

.p {
    text-align: left;
}

.e {
    background-color: #ccf;
    width: 300px;
    font-weight: bold;
}

.h {
    background-color: #99c;
    font-weight: bold;
}

.v {
    background-color: #ddd;
    max-width: 300px;
    overflow-x: auto;
    word-wrap: break-word;
}

.v i {
    color: #999;
}

#php img {
    float: right;
    border: 0;
}

#php hr {
    width: 934px;
    margin-left: auto;
    margin-right: auto;
    background-color: #ccc;
    border: 0;
    height: 1px;
}

:root {
    --php-dark-grey: #333;
    --php-dark-blue: #4F5B93;
    --php-medium-blue: #8892BF;
    --php-light-blue: #E2E4EF;
    --php-accent-purple: #793862
}

@media (prefers-color-scheme: dark) {
    body {
        background: var(--php-dark-grey);
        color: var(--php-light-blue)
    }

    .h td,
    td.e,
    th {
        border-color: #606A90
    }

    td {
        border-color: #505153
    }

    .e {
        background-color: #404A77
    }

    .h {
        background-color: var(--php-dark-blue)
    }

    .v {
        background-color: var(--php-dark-grey)
    }

    hr {
        background-color: #505153
    }
}

/*---------------------
# PHP Info Styles End #
---------------------*/

/*-------------------
# BTCC Styles Start #
-------------------*/
.btccBody {
    font-family: Inter, sans-serif !important;
    font-weight: 200;
}

table.easy-table {
    max-width: 100%;
    background-color: transparent;
    border-collapse: collapse;
    border-spacing: 0;
}

.easy-table {
    width: 100%;
    margin-bottom: 18px;
}

.easy-table th,
.easy-table td {
    padding: 8px;
    line-height: 18px;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid #ddd;
}

.table-striped tbody tr:nth-child(2n+1) td,
.table-striped tbody tr:nth-child(2n+1) th {
    background-color: #f9f9f9;
}

.read-more {
    -moz-text-align-last: center;
    text-align-last: center;
}

.read-more a {
    display: inline-block;
    background: #fff;
    color: #333333;
    padding: 6px 30px 6px 30px;
    transition: 0.3s;
    font-size: 14px;
    border-radius: 50px;
    border: 2px solid #18d26e;
}

.read-more a:hover {
    background: #18d26e;
    color: #fff;
}

#MainLogo {
    width: 320px;
    height: 110px;
    background-image: url(../btcc/KF_BTCC_Combined_logo_landscape_White_Out.png);
    background-size: 320px;
    background-repeat: no-repeat;
    position: relative;
    display: inline-block;
    margin: 10px 0 10px;
}

#btcc1 {
    background-image: url(../btcc/top-banner-shatter.jpg);
    background-repeat: no-repeat;
    position: relative;
    display: inline-block;
}

a.content-grid-item {
    position: relative;
    display: block;
    border: solid 7px #252525;
    margin: 0 auto 30px auto;
    font-weight: 400;
    max-width: 360px;
}

a.content-grid-item .content-name {
    text-align: center;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
}

a.content-grid-item {
    font-weight: 400;
}

.content-footer {
    font-size: 16px;
    height: 70px;
    line-height: 35px;
    box-shadow: 0 0px 0px rgba(255, 255, 255, .3) inset;
    background-color: #252525;
}

.img-responsive {
    display: block;
    height: auto;
    max-width: 100%;
}

a.content-grid-item:hover .content-footer {
    border-top-color: #ffde00;
    background: #007cba;
}

a.content-grid-item:hover {
    text-decoration: none;
    border-color: #ffde00;
}

.content-name span.circuit-date {
    margin-right: 10px;
    font-weight: 400;
    color: #ffde00;
}

.nextRaceOff {
    max-width: 100%;
    position: absolute;
    top: 30%;
    display: none;
}

.nextRaceOn {
    max-width: 100%;
    position: absolute;
    top: 30%;
    display: block;
}

.circuit-rounds {
    font-weight: 400 !important;
    color: #00ff00 !important;
}

.bordered {
    margin-bottom: 10px;
    padding: 5px;
    border: 1px solid #bebebe;
    border-radius: 4px;
    box-shadow: 4px 4px 6px 0 rgba(0, 0, 0, .1);
    height: auto;
    max-width: 100%;
}

/* Countdown Styles */
ul#btcc-timer {
    list-style: none;
    margin: 50px 0;
    padding: 0;
    display: block;
    text-align: center;
}

ul#btcc-timer li {
    display: inline-block;
}

ul#btcc-timer li span {
    font-size: 80px;
    font-weight: 300;
    line-height: 80px;
}

ul#btcc-timer li.seperator {
    font-size: 80px;
    line-height: 70px;
    vertical-align: top;
}

ul#btcc-timer li p {
    color: #a7abb1;
    font-size: 25px;
}

/*-----------------
# BTCC Styles End #
-----------------*/

/*--------------------
# LINE AWESOME START #
--------------------*/
.icons[data-v-1cf7c370] {
    display: grid;
    margin: 0;
    padding: 0;
    grid-column-gap: 4%;
    grid-template-columns: repeat(auto-fill, 22%)
}

.icons__item[data-v-1cf7c370] {
    align-items: center;
    cursor: pointer;
    display: flex;
    height: 42px;
    position: relative;
    z-index: 1
}

.icons__item[data-v-1cf7c370]:hover {
    color: #0ca940
}

.icons__item:hover .icons__before[data-v-1cf7c370] {
    opacity: 1;
    transition: opacity .2s linear;
    width: 72px
}

.icons__item[data-v-1cf7c370]:hover:before {
    opacity: 1;
    transform: translate(-12px);
    transition: opacity .2s linear;
    cursor: pointer;
}

.icons__item[data-v-1cf7c370]:before {
    background: #f4fbf6;
    border: 1px solid #0ca9401a;
    border-radius: 4px;
    box-sizing: border-box;
    content: "";
    display: block;
    inset: 0 -19px;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    z-index: 0
}

.icons__before[data-v-1cf7c370] {
    display: none;
    font-size: 32px;
    justify-content: space-between;
    opacity: 0;
    position: absolute;
    right: 100%;
    text-align: center;
    width: 0
}

.icons__arrow[data-v-1cf7c370] {
    display: inline-block;
    font-size: 16px;
    line-height: 32px;
    width: 36px
}

.icons__after[data-v-1cf7c370] {
    font-size: 32px;
    z-index: 1
}

.icons__text[data-v-1cf7c370] {
    display: inline-block;
    letter-spacing: -.03em;
    max-width: 200px;
    overflow: hidden;
    padding: 0 0 0 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 1
}

#iCode {
    font-size: 64px;
    color: var(--bs-danger);
}

#iText {
    font-size: 18px;
    color: var(--bs-danger);
}

.icon-grid-bg {
    /* Subtle checkerboard pattern */
    background-image: repeating-conic-gradient(#f8f9fa 0% 25%, #ffffff 0% 50%);
    background-position: 0 0, 10px 10px;
    background-size: 20px 20px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-bottom: 5px;
}

.icon-grid-bg:hover {
    border-color: var(--grr-altgreen);
    background-color: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/*--------------------
# LINE AWESOME END #
--------------------*/

/*------------------
# LOGIN PAGE START #
------------------*/
#login-avatar {
    width: 380px;
    height: 380px;
}

/* The container (card-body) needs relative positioning */
.card-shadow {
    position: relative;
}

#error-box {
    position: absolute;
    top: 50%;
    /* Move to vertical center */
    left: 50%;
    /* Move to horizontal center */
    transform: translate(-50%, -50%);
    /* Offset by its own size for perfect centering */
    z-index: 1050;
    /* Ensure it sits above inputs */
    width: 80%;
    /* Keep it from hitting the card edges */
    pointer-events: none;
    /* Allows user to click "through" the alert to the inputs below */
}

/* Optional: Make the alert itself look like a popup */
#error-box .alert {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    /* Re-enable clicks on the alert itself if needed */
}

/*----------------
# LOGIN PAGE END #
----------------*/