/* Custom background color */

/* Fullscreen overlay styling */
#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 1050; /* Ensures it's on top */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}
/* Hidden overlay once loaded */
#loadingOverlay.hide {
    opacity: 0;
    pointer-events: none;
}
#content.hide {
    opacity: 0;
}

.bg-light-orange {
    background-color: #FEF7EE;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 40px;
}


/* Header Styles */

.header {
    position: sticky;
    top: 0; /* Stick to the top of the viewport */
    z-index: 1000; /* Keep above other content */
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
    padding: 1px 0;
}

/* Center the logo in the middle of the header */
.header .logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive logo size */
.header .logo img {
    max-width: 150px;
    height: auto;
}

/* Header End */

/* Hero Styles*/

/* Hero image scaling */
.hero-section {
    background-color: #ffffff;
    padding: 0;
    margin: 0;
    margin-bottom: 3rem;
}

.hero-image-wrapper, .hero-content-wrapper {
    padding: 0;
    margin: 0;
}

/* Hero Image Styling */
.hero-image img {
    width: 100%; /* Ensure image takes up full width */
    height: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Prevent overflow */
    object-fit: cover; /* Cover the space */
}

/* Text Styling with Responsive Font Size */
.hero-title {
    font-size: 4vw; /* Scale title based on viewport width */
    font-weight: bold;
    color: var(--blue-blue-50, #3FC0F0);
    text-align: left;
}

.hero-title span {
    text-decoration: underline;
    text-decoration-color: var(--accents-orange-50, #FD9100);
}

.hero-subtitle {
    color: #6c757d;
    font-size: 1.5vw; /* Scale subtitle based on viewport width */
    text-align: left;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .hero-content {
        text-align: left;
        padding: 20px;
    }

    .hero-title {
        font-size: 6vw; /* Adjust title size for readability */
    }

    .hero-subtitle {
        font-size: 4vw; /* Adjust subtitle size for readability */
        font-weight: 600;
    }

    .hero-image img {
        width: 100vw; /* Full viewport width on mobile */
        border-radius: 0; /* Remove circular effect on mobile */
    }
}

/* Desktop Adjustments */
@media (min-width: 768px) {
    .hero-content-wrapper {
        padding-left: 5vw;
        max-width: 50%; /* Limit to half the screen */
    }

    .hero-image-wrapper {
        max-width: 50%; /* Limit image to half the screen width */
    }
}

.banner__data {
    display: flex;
    align-items: center;
    text-align: center;
    padding: 10px 15px;
}

.icon {
    width: 1.2em; /* Adjust as needed, 1em = font size of the text */
    height: 1.2em; /* Keep height proportional to width */
    margin-right: 0.5em; /* Space between icon and text */
}


/* Container for the badge row */
.badge-row {
    display: flex;
    flex-wrap: nowrap; /* Keeps badges in a single row */
    overflow-x: auto; /* Enables horizontal scrolling if items overflow */
    gap: 15px; /* Space between each badge */
    padding: 10px 0;
    scrollbar-width: thin; /* Firefox scrollbar styling */
    scrollbar-color: #d1d1d1 transparent; /* Firefox scrollbar color */
}

/* Styling for the trust and safety section cards */

/* Badge item styling */
.badge-item {
    background-color: #f8f9fa; /* Light grey background */
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 120px; /* Minimum width for each badge item */
    flex: 0 0 auto; /* Prevents items from shrinking */
}

/* Badge image styling */

.badge-row {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap on smaller screens */
    justify-content: center; /* Center-align items */
    gap: 15px; /* Space between badges */
    padding: 10px 0;
}

/* Badge item styling */
.badge-item {
    background-color: #f8f9fa; /* Light grey background */
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex: 1 1 100px; /* Flex-basis of 100px, allowing flexibility */
    max-width: 100px; /* Max width to control item size */
}

/* Badge image styling */
.badge-image {
    width: 100%; /* Responsive to container */
    height: auto;
    max-width: 80px; /* Maximum width of the image */
    object-fit: contain;
}

/* Responsive adjustments for a 2x2 grid on smaller screens */
@media (max-width: 768px) {
    .badge-item {
        flex: 1 1 45%; /* Each item takes roughly half the width */
        max-width: 45%; /* Prevents items from exceeding half the row width */
    }
}

/**/

.box-header {

    align-items: center;
    margin-top: 50px;
    padding-top: 50px; /* Padding to make room for the avatar overlap */
    padding-bottom: 30px;


}

/* Responsive Image */
.img-fluid {

    max-width: 100%;
    height: auto;
    background-repeat: no-repeat;
    margin: 0; /* Remove any default margins */
    padding: 0; /* Remove any padding */
    float: right; /* Align the image to the right */
}


.sectionDivider-icon, .sectionDivider-container img {
    width: 5em; /* Consistent width */
    height: 5em; /* Consistent height */
    margin-top: 2em; /* Spacing above */
}

.sectionDivider-container {
    position: absolute;
    top: -80px; /* Positioned above the box */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10; /* Layers above */
    margin-bottom: 3em; /* Consistent spacing below */
}

/* Text styles */

.sectionDivider-headline {
    color: var(--blue-blue-50, #3FC0F0);
    text-align: center;
    font-size: 1.75rem; /* Matches 28px in this context */
    font-style: normal;
    font-weight: 700;
    line-height: 1.16667; /* Converted from 28px line-height to relative value */
    margin-top: 16px;
}

.sectionDivider-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-gray-50, #415769);
    line-height: 1.2;
}

.sectionDivider-paragraph {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-gray-40, #627484);
}


/* General Container Layout for Responsive Design */
.sectionOverview-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
}

/* Flex items are set to display in a row on larger screens */
@media (min-width: 768px) {
    .sectionOverview-container {
        flex-direction: row;
        justify-content: space-around;
    }
}

/* Flex item styling for consistency */
.sectionOverview-item {
    padding: 1rem;
    flex: 1;
    max-width: 300px; /* Restricts width to ensure even alignment */
    text-align: center;
}

/* Icon Styling */
.sectionOverview-icon {
    width: 5em;
    height: 5em;
    margin-bottom: 1em;
}

/* Subtitle Styling */
.sectionOverview-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: #415769;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Paragraph Styling with Consistent Width */
.sectionOverview-paragraph {
    font-size: 1rem;
    color: #5e6f7d;
    line-height: 1.6;
    margin: 0 auto 1rem auto;
    max-width: 250px; /* Ensures consistent width across all paragraphs */
}

/* Link Styling */
.sectionOverview-link {
    color: var(--blue-blue-50, #3FC0F0);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sectionOverview-link:hover {
    color: #2A8DB5; /* Slightly darker shade for hover */
    text-decoration: underline;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .sectionDivider-headline {
        font-size: 1.5rem;
    }

    .sectionOverview-subtitle {
        font-size: 1.15rem;
    }

    .sectionOverview-paragraph {
        font-size: 0.95rem;
    }
}


/*---OLD---*/
/* Intro Text */
.intro-text {
    color: #3FC0F0;
    font-size: xx-large;
    font-style: normal;
    font-weight: 700;
    line-height: 110%; /* 39.6px */
}

/* Tablet/Title text */
.tablet-title {
    font-size: 20px;
    font-style: bold;
    font-weight: 700;
    line-height: 26px; /* 130% */
}

/* Tablet/Body text */
.tablet-body-text {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.tablet-sub-title {
    color: #415769;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px; /* 130% */
}

.tablet-title-semibold {
    color: var(--gray-gray-50, #415769);
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px; /* 150% */
}

.tablet-caption {
    color: var(--gray-gray-50, #415769);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px; /* 128.571% */

}

.mobile-headline {
    color: var(--blue-blue-50, #3FC0F0);
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px; /* 116.667% */
}

.mobile-title {
    color: var(--gray-gray-50, #415769);
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px; /* 133.333% */
    padding-top: 20px;
}

.mobile-title-semibold {
    color: var(--gray-gray-50, #415769);
    font-size: 20px;
    font-style: normal;
    font-weight: bold;
    font-weight: 600;
    line-height: 26px; /* 130% */
}

.main-title {
    color: #5B9BF3;
    font-weight: bold;
}

.box-title {
    font-weight: bold;
    color: #333;
    font-size: 1.2rem;
    padding-top: 40px;
}

.highlight-text {
    color: #F39C12;
    font-weight: bold;
}

/* Padding adjustments for text */
p.lead {
    font-size: 1.2rem;
}

/* Responsive Design for Text Alignment */
@media (min-width: 768px) {
    .text-md-start {
        text-align: left !important;
    }

    .hero-section img {
        object-fit: cover;
    }
}


.icon {
    font-size: 2rem; /* Adjust icon size */
    margin-right: 10px; /* Space between icon and text */
}


.card {
    position: relative; /* For positioning the overlay */
    overflow: hidden; /* Ensure overlay and other elements stay within the card */
    margin-bottom: 20px; /* Adjust this value to set the desired spacing */
}

.color-fill-note {
    height: 60px; /* Fill the top 60% */
    background-color: #e6fff5; /* Solid color */
}

.color-fill {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%; /* Fill 60% of the card height */
    background-color: #b8ffe2;
    z-index: 1;
}

.card-img-top {
    object-fit: contain;
    display: block;
    margin: 0 auto; /* Center image horizontally */
    width: auto;
    max-height: 250px; /* Limit the height of the image */
    height: auto;
    z-index: 2;
}

.card-title {
    text-align: center; /* Center the title */
    margin-top: auto; /* Add margin above the title to avoid overlap with the image */
    z-index: 1; /* Ensure title is above everything */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5); /* White overlay with 50% transparency */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease; /* Transition for smooth effect */
}

.card:hover .overlay {
    opacity: 1; /* Show overlay on hover */
}

/* Chart Section styling */

#radarChart {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 10px;

}

/* Make the legend responsive */
.legend-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    margin: 5px 10px;
}

.legend-color-box {
    width: 15px;
    height: 15px;
    margin-right: 8px;
    border-radius: 3px;
}

.main-card {
    background-color: #f8f9fa; /* Light gray background */
    border-radius: 15px;
    padding: 0; /* Remove padding so progress bar aligns to full width */
    margin-bottom: 20px;
    overflow: hidden; /* Ensure the progress bar doesn't overflow the rounded edges */
}

.main-card .main-card-header {
    background-color: white;
    padding: 20px;
    border-radius: 15px 15px 0 0;
}

.main-card .main-card-body {
    background-color: #f1f3f5;
    padding: 20px;
    border-radius: 0 0 15px 15px;
}

.sub-card {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 15px;
}

.sub-card h5 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.sub-card .icon {
    float: left;
    margin-right: 15px;
    width: 50px;
    height: 50px;
}

.sub-card .progress {
    height: 10px;
    margin-top: 10px;
}

.main-progress {
    background-color: orange;
    height: 20px;
}

.sub-card .progress-bar {
    background-color: #66cc33; /* Green progress */
}

.progress {
    height: 10px;
    border-radius: 0; /* Ensure the progress bar goes edge to edge */
    margin: 0; /* Align to the edge of the white and gray sections */
    width: 100%;
}


/* Skill Cards Custom Styles */
.skill-cards-card {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: none;
}

.skill-cards-header {
    background-color: #ffffff; /* Card background */
    padding: 20px 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px;
}

.skill-cards-header h5 {
    margin-bottom: 0;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Icon styles */
.skill-cards-header span {
    font-size: 1.5rem; /* Larger icon size to match design */
}

.skill-cards-progress {
    height: 12px; /* Default for larger screens (tablet and up) */
    border-radius: 10px;
    margin-top: 10px;
}

.skill-cards-card-body {
    padding: 15px;
    background-color: #f7f7f7;
    border-radius: 20px;
}

/* Mobile Styles */
@media (max-width: 768px) {

    .avatar-image {
        width: 60px;
        height: 60px;
    }

    .intro-text {
        font-size: x-large;
    }

    .skill-cards-progress {
        height: 8px; /* Smaller height for mobile */
    }

    .skill-cards-header {
        padding: 15px; /* Slightly reduce padding on mobile */
    }

    .skill-cards-header h5 {
        font-size: 1rem; /* Reduce header size on mobile */
    }

    .skill-cards-header span {
        font-size: 1.2rem; /* Reduce icon size on mobile */
    }
}

/* Strength Chart Cards -------------- Start*/

/* Strength Card Styles */

.strengthCard {
    border-radius: 12px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.strengthCard:hover {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
}

.strengthCard-header {
    background-color: #E4E9EE;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #339BC1;
    font-size: 1.15rem;
    font-weight: 600;
    border-bottom: 1px solid #e0e0e0;
}

.strengthCard-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.strengthCard-icon {
    font-size: 1.2rem;
    font-weight: 800;
    color: #415769;
    transition: transform 0.3s ease;
    font-family: "Quicksand Bold", "Quicksand Medium", Roboto, sans-serif;
}

.collapseIndicator {
    transition: transform 0.3s ease; /* Smooth transition for rotation */
}

div[aria-expanded="true"] .collapseIndicator {
    transform: rotate(90deg);
}

/* Visible body content (icon, title, and subtitle) */
.strengthCard-body-visible {
    display: flex;
    align-items: center; /* Centers content vertically */
    padding: 15px;
}

.strengthCard-icon-img {
    width: 3.5rem; /* Increased size from 2rem to 2.5rem */
    height: 3.5rem;
    margin-right: 15px;
}

.strengthCard-headline {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.strengthCard-subline {
    margin-top: 0.15rem;
    font-size: 0.85rem;
    color: #6c757d;
}

/* Collapsible section */
.strengthCard-collapse {
    padding-top: 5px;
}

.strengthCard-body {
    padding: 15px;
}

.strengthCard-section-heading {
    color: #FD9100;
    font-weight: 600;
}

/* List styling for strengths */
.strengthCard-list {
    padding-left: 1.2rem;
    list-style-type: disc;
    color: #333;
}

/* Additional padding for list items */
.strengthCard-list li {
    margin-bottom: 0.5rem;
}

/* Link styling */
.strengthCard-link {
    color: #FD9100;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .strengthCard-title {
        font-size: 1.1rem;
    }

    .strengthCard-headline {
        font-size: 0.95rem;
    }

    .strengthCard-subline {
        font-size: 0.85rem;
    }

}

/* Strength Chart Cards -------------- End*/

/*Keyskills --------------- Start*/

.keyskill-card {
    border-radius: 20px;
    margin-bottom: 23px;
    position: relative; /* For positioning the overlay */
    overflow: hidden; /* Ensure overlay and other elements stay within the card */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #E4E9EE;
}

.keyskill-card-header {
    display: flex;
    align-items: center;
    cursor: pointer;
    background-color: #fff;
    border-radius: 20px 20px 0 0;
    justify-content: space-between;
}

.keyskill-card-header img {
    width: 60px;
    height: 60px;
}

/* Main skill progress bar */
.keyskill-progress-bar {
    height: 12px;
    margin-top: 5px;
    background-color: #E4E9EE;
}

.keyskill-progress {
    height: 12px;
    background-color: #FFB3A1;

}


/* Style for expanded sub-skills */
.keyskill-card .card-body {
    padding: 15px;
    background-color: #F9F8FE;
}

.keyskill-subskill {
    display: flex;
    flex-wrap: wrap; /* Wrap items on smaller screens */
    gap: 20px;
}

.subskill-card {
    display: flex;
    align-items: center;
    background-color: #FFF;
    padding: 5px;
    border-radius: 12px;
    max-width: 320px; /* Limit width for individual cards */
    flex: 1 1 45%; /* Responsive two per row on smaller screens */
}

/* Profile Icon */
.subskill-icon {
    width: 65px;
    height: 65px;
    margin-right: 5px;
}

/* Sub-skill Details */
.subskill-details {
    flex: 1;
}

.subskill-title {
    margin: 0;
    font-size: 1em;
    color: #6c757d;
}

/* Progress Bar */
.subskill__progressbar {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    margin-top: 5px;
    max-width: 250px;
}

.subskillprogress {
    height: 100%;
    background-color: #F39C12;

}

/* Style for all communication-related progress bars */
.communication .subskillprogress {
    height: 100%;
    background-color: #62C175;
}

/* Style for all cognition-related progress bars */
.cognition .subskillprogress {
    height: 100%;
    background-color: #FFB3A1;
}

/* Style for all social-related progress bars */
.social .subskillprogress {
    height: 100%;
    background-color: #40ABE8;
}

/* Style for all motoric-related progress bars */
.motoric .subskillprogress {
    height: 100%;
    background-color: #FFD488;
}

/* Style for all logic-related progress bars */
.logic .subskillprogress {
    height: 100%;
    background-color: #7A6DD4;
}

/* Add more classes as needed */


/* Responsive Design */
@media (min-width: 768px) {
    .keyskill-subskill {
        gap: 25px; /* Larger gap on tablets and up */
    }

    .subskill-card {
        flex: 1 1 30%; /* Three per row on medium screens */
    }
}

@media (min-width: 1024px) {
    .subskill-card {
        flex: 1 1 22%; /* Four per row on larger screens */
    }
}


/* Colors for individual cards */
.skill0-progress {
    background-color: #FFB3A1; /* Progress bar color for Kognitive card */
}

.skill1-progress {
    background-color: #FFC75F; /* Progress bar color for Feinmotorik card */
}
.skill2-progress {
    background-color: #62C175; /* Progress bar color for Sprach card */
}

.skill3-progress {
    background-color: #40ABE8; /* Progress bar color for Sozial card */
}
.skill4-progress {
    background-color: #B39CD0; /* Progress bar color for Problem solving */
}

/* Figurine Overview Cards Section */

/* Highlight Cards*/

.figurine_highlighted_container {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    justify-content: center;
    align-items: center;
}

.figurine_highlighted {
    border-radius: 20px;
    background-color: #fff;
    border: 1px solid #E4E9EE;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    max-width: 352px;
    max-height: 345px;
    flex: 1 1 100%;
}

/* Responsive layout for highlighted cards */
/* Tablet/Desktop Styles */
@media (min-width: 768px) {

    .figurine-highlighted-card-container {
        display: flex;
        justify-content: center; /* Centers cards horizontally */
        align-items: center; /* Centers cards vertically if necessary */
        gap: 20px; /* Space between cards */
    }

    .figurine-highlighted-card {
        flex: 0 0 48%; /* Each card takes up 48% of the container width */
        max-width: 48%; /* Ensures the cards don’t exceed 48% width */
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .figurine-highlighted-card-container {
        display: flex;
        flex-direction: column; /* Stacks cards vertically on mobile */
        justify-content: center; /* Centers the cards horizontally */
        align-items: center; /* Ensures the cards are centered within the container */
        gap: 20px; /* Space between cards */
    }

    .figurine-highlighted-card {
        flex: 1 1 100%; /* Each card takes up full width on mobile */
        max-width: 100%; /* Prevents the cards from exceeding 100% width */
    }
}


.figurine_highlighted:hover {
    box-shadow: 0 6px 12px rgba(39, 39, 39, 0.15);
}

/* Top colored section with full-size background image */
.figurine__highlighted__top {
    background-color: #787878;
    text-align: center;
    position: relative;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-size: cover; /* Ensure the image covers the entire background */
    background-position: center;
    height: 200px; /* Adjust height to fit design */
    width: 100%; /* Ensure the image covers the full width */
}

.figurine__highlighted__top-Mika {
    background-image: image-set("/images/Mika.svg");
    background-color: #62C175;
}

.figurine__highlighted__top-Luca {
    background-image: image-set("/images/Luca.svg"); /* Add your full-size transparent image */
    background-color: #7A6DD4;
}

.figurine-card-top img {
    margin-bottom: 10px;
}

/* Tag on the edge between colored and white section */
.figurine__highlighted__tag {
    background-color: #CBB1FF; /* Tag color */
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* Bottom white section with title and subline */
.figurine-card-bottom {
    padding: 50px 20px 20px 20px;
    text-align: center;
}

.figurine-card-bottom h6 {
    font-size: 1.2rem;
    margin: 0;
    color: #2D3142;
}

.figurine-card-bottom p {
    color: #6c757d;
    font-size: 0.95rem;
}

/* Progress bar at the bottom edge */
.figurine-progress-bar {
    height: 10px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: #e0e0e0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.figurine-progress {
    height: 12px;
    background-color: #7A6DD4;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    width: 75%; /* Adjust width based on JS value */
}

/* Styles for "Nicht freigeschaltet" indicator */
.figurine-not-available {
    background-color: #E9ECEF;
    padding: 5px 10px;
    border-radius: 5px;
    color: #6c757d;
    font-size: 1rem;
    text-align: center;
    margin-top: 10px;
    display: none;
}

.luca .figurine-progress-bar {
    color: #62C175;
}

/*----*/

/* Base styling for episode cards */
.compact_figurines-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    padding: 10px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.compact_figurines-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Content styling (tag and subline) */
.compact_figurines-content {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
}

.compact_figurines-tag {
    background-color: white;
    color: inherit;
    padding: 5px 15px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.compact_figurines-subline {
    font-size: 0.8rem;
    color: #6c757d;
}


/*--------------- Compact Cards*/

/* Base styling for episode cards */
.compact_figurines-card {
    background-color: #FEADAA; /* Default background */
    border-radius: 20px;
    position: relative;
    margin: 1.5rem 0;
    width: 100%;
    padding-bottom: 100%; /* Maintain square aspect ratio */
    overflow: visible;
    max-width: 300px;
    max-height: 300px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.compact_figurines-card:hover {
    transform: scale(1.02); /* Slight zoom effect */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Shadow effect */
}

/* Image that covers the card */
.compact_figurines-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;

}

/* Tag style at the bottom edge */
.compact_figurines-tag {
    position: absolute;
    bottom: -10%; /* Overlap the card slightly */
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff; /* Default to white background */
    padding: 8px 20px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
    z-index: 2;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Shadow effect */
    width: calc(100% - 30px); /* Responsive width, slightly smaller than card width */
    overflow: visible;
}

/* Styling within the tag for episode title */
.compact_figurines-tag .episode-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2; /* Adjust for consistent spacing */
}

/* Styling within the tag for episode subtitle */
.compact_figurines-tag .episode-subtitle {
    margin: 0;
    font-size: 0.8rem;
    color: #415769; /* Default subtitle color */
    line-height: 1.1;
}

/* Locked card overlay */
.locked-card {
    background-color: rgba(100, 100, 100, 0.15) !important; /* Dimmed background */
}

.locked-card img {
    filter: grayscale(100%);
    opacity: 0.8;
}

/* Optional locked overlay or icon */
.locked-card::after {
    content: "🔒 Nicht gespielt";
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 8px;
}

/* Adjust tag appearance for locked cards */
.locked-card .compact_figurines-tag {
    background-color: #777; /* Darker background for locked cards */
    color: white; /* White text for both title and subtitle when locked */
}

.locked-card .episode-title,
.locked-card .episode-subtitle {
    color: white !important; /* Override to white for locked state */
}


/* Content Recommendation */


.recommendation-background {
    background-image: url('/images/Bubble_BG.svg');
    background-repeat: no-repeat;
    background-size: cover;
    overflow: visible;
    object-fit: contain;
}


/* Card styling */
.recommendation-card {
    background-color: #f8f9fa;
    border-radius: 15px;
    max-width: 500px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto; /* Centers the wrapper */
}

.recommendation-group {
    padding: 50px 0;
}

/* Header section with white background */
.recommendation-header {
    background-color: #fff;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    justify-content: center;
    padding: 1rem;
    text-align: center;
}

/* Body section with light grey background */
.recommendation-body {
    background-color: #f8f9fa;
    padding: 20px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}


/* Recommendation item styling */
.recommendation-item {
    display: flex;
    align-items: start;
}

.recommendation-item:first-child {
    border-top: none;
}

.recommendation-image {
    width: 100%; /* Make the square responsive */
    max-width: 100px; /* Limit the maximum size on larger screens */
    aspect-ratio: 1 / 1; /* Ensures a square aspect ratio */
    background-color: #75D979; /* Example color */
    margin-right: 15px;
    border-radius: 12px;
    overflow: hidden;
    display: flex; /* Centers the content inside */
    justify-content: center;
    align-items: center;
    min-width: 100px;
}

.recommendation-image-display {
    width: 100%; /* Ensures the image fills the container width */
    height: 100%; /* Ensures the image fills the container height */
    object-fit: cover; /* Covers the entire area without distortion */
}

.inline_tag {
    display: inline-block;
    background-color: #DC5D58;
    color: white;
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 12px;
}


.expandable-heading {
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    font-weight: normal; /* Optional: adjust the weight for styling */
    position: relative;
}

.toggle-icon {
    display: inline-block;
    transition: transform 0.3s ease, content 0.3s ease;
    font-weight: bold; /* Optional: make the icon bold for emphasis */
    margin-left: 5px; /* Space between text and icon */
}

/* Rotate and change the symbol based on aria-expanded state */
.expandable-heading[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
    content: "-";
}

.expandable-heading[aria-expanded="false"] .toggle-icon {
    content: "+";
}

.offer-link {
    color: #D9654E;
    font-weight: 900;
    background-color: #FD9100;
    color: white;
    padding: 8px 15px;
    border-radius: 12px;
    font-size: 12px;
}

.section-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0077b6;
    margin-bottom: 24px;
    text-align: center;
}


/*Some Tweaks for the general padding etc*/


/* Reset body and html margin and padding */


/* Remove row gutter */
.row.g-0 {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

/* Universal box-sizing reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}


html, body {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

.d-flex {
    gap: 2rem; /* Space between columns */
}

.flex-item {
    flex: 1 1 30%; /* Ensures three items per row on larger screens */
    max-width: 30%; /* Limits width to 30% for each item */
    text-align: center;
}

/* Adjustments for Mobile */
@media (max-width: 767px) {
    .flex-item {
        flex: 1 1 100%; /* Full-width columns on mobile */
        max-width: 100%; /* Full width for each item on smaller screens */
    }
}

/* Font and Layout Adjustments */


p {
    font-size: 0.95rem;
    margin-top: 8px;
}

.cta-link {
    font-size: 0.9rem;
    font-weight: bold;
    color: #4A90E2;
    text-decoration: underline;
    display: inline-block;
    margin-top: 5px;
}

.full-width-image-container {
    width: 100vw; /* Full viewport width */
    overflow: hidden; /* Hide any overflow to ensure full width */
}

/* Image styling to make it responsive */
.full-width-image {
    width: 100%; /* Make the image span the entire width of the container */
    height: auto; /* Maintain the aspect ratio */
    display: block; /* Remove any unwanted whitespace (like gaps in inline images) */
}


    .purchase-cta {
        display: flex;
        align-items: center;
        gap: 1rem; /* Space between CTA text and button */
        margin-top: 1rem;
        text-align: left;
        flex-wrap: wrap; /* Allows items to stack on smaller screens */
    }


    .tag {
        background-color: #007bff; /* Background color for the tag */
        color:#2D3142;              /* Text color */
        padding: 3px 8px;          /* Padding to make it look like a tag */
        border-radius: 12px;       /* Rounded corners */
        font-size: 0.875em;        /* Slightly smaller font size */
        font-weight: 800;         /* Bold text */
        text-align: center;        /* Centers text */
        white-space: nowrap;       /* Prevents text from wrapping */
    }