:root {
    --color-primary: #0c7ff2;
    --color-text-primary: #111418;
    --color-text-secondary: #60758a;
    --color-text-third: #35393d;
    --color-background-primary: #fff;
    --color-background-secondary: #f8f8f8;
    --color-border: #dbe0e6;
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 24px;
    --spacing-xxl: 40px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --max-width-content: 1200px;
}

/* Base styles */
html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-y: scroll;
}

.main-container {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    flex-direction: column;
    background-color: #fff;
    overflow-x: hidden;
    font-family: Inter, "Noto Sans", sans-serif;
}

.layout-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    max-width: 1280px;
    /* Set a max-width for the entire layout */
    width: 100%;
    /* Ensure it takes full width up to max-width */
    margin: 0 auto;
    /* Center the container */
    /* Remove horizontal padding from here */
}

/* Header styles */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    border-bottom: 1px solid #f0f2f5;
    padding: 12px 40px;
    /* py-3 px-10 */
    width: 100%;
    /* Ensure header takes full width of layout-container */
    box-sizing: border-box;
    /* Include padding in width calculation */
}

.header-title {
    color: #111418;
    font-size: 18px;
    /* text-lg */
    font-weight: 700;
    /* font-bold */
    line-height: 1.25;
    /* leading-tight */
    letter-spacing: -0.015em;
    /* tracking-[-0.015em] */
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    /* gap-4 */
    color: #111418;
}

.header-right {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    gap: 32px;
    /* gap-8 */
}

.header-logo-icon {
    width: 16px;
    /* size-4 */
    height: 16px;
    /* size-4 */
}

.header-logo-icon svg path {
    fill: #111418;
    /* Explicitly setting the fill color */
}

.header-nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    /* gap-9 */
}

.header-nav-link {
    color: #111418;
    font-size: 14px;
    /* text-sm */
    font-weight: 500;
    /* font-medium */
    line-height: 1.5;
    /* leading-normal */
    text-decoration: none;
    /* remove default underline */
}

.upload-status-container {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.upload-status-titles {
    display: flex;
    position: relative;
    flex-direction: row;
    align-items: center;
    /* Vertically center children */
    gap: 8px;
    /* Add some space between the elements */
    min-height: 40px;
    /* Ensure enough height for the button */
    padding-bottom: 12px;
    /*padding-top: 24px;*/
}

.button-wrapper-end {
    position: absolute;
    right: 0;

    display: flex;
    justify-content: flex-end;
}

.button-wrapper-fullWidth {
    padding-top: 16px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.button-wrapper-center {
    display: flex;
    padding: 12px 16px;
    /* px-4 py-3 */
    justify-content: center;
}

.divButton {
    cursor: pointer;
}

.loadingCircle {
    height: 100%;
}

.header-button {
    display: flex;
    min-width: 84px;
    width: 120px;
    max-width: 480px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    /* rounded-lg */
    height: 40px;
    /* h-10 */
    padding: 0 16px;
    /* px-4 */
    background-color: #0c7ff2;
    color: #fff;
    font-size: 14px;
    /* text-sm */
    font-weight: 700;
    /* font-bold */
    line-height: 1.5;
    /* leading-normal */
    letter-spacing: 0.015em;
    /* tracking-[0.015em] */
    border: none;
    /* remove default button border */

}

.header-button:hover {
    background-color: #0066cc;
    /* Manually darkened #0c7ff2 */
}

.header-button-light {
    background-color: #f0f2f5;
    color: #111418;
}

.header-button-light:hover {
    background-color: #c7c7c7;
    /* Manually darkened #0c7ff2 */
}

.header-button-disabled {
    background-color: #f0f2f5;
    color: #3e4146;
}

.header-button-disabled-wrapper {
    cursor: not-allowed;
}

.header-button-disabled-wrapper {
    cursor: not-allowed;
}

.header-button-hidden {
    display: none;
}

.hidden {
    display: none;
}

.header-button-disabled:hover {
    background-color: #f0f2f5;
    cursor: not-allowed;
}

.framedArea {
    border-radius: 8px;
    /* rounded-lg */
    border: 1px solid #dbe0e6;
    padding: 12px;

}

.header-button-text {
    white-space: nowrap;
    /* truncate */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Main content area */
.main-content-area {
    padding: 20px 40px;
    /* py-5 px-10 */
    display: flex;
    flex: 1;
    justify-content: center;
    box-sizing: border-box;
    /* Include padding in width calculation */
}

.layout-content-container {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    /* Allow to expand to parent's width */
    width: 100%;
    /* Ensure it takes full width up to max-width */
    margin: 0 auto;
    /* Center the content */
    flex: 1;
    padding: 0;
    /* Remove horizontal padding from here */
}

/* Hero section */
.hero-section-wrapper {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    min-height: 480px;
    border-radius: 8px;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-section {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 480px;
    width: 100%;
    flex-direction: column;
    gap: 24px;
    /* gap-6 */
    background: linear-gradient(rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.5) 20%,
            rgba(0, 0, 0, 0.6) 40%,
            rgba(0, 0, 0, 0.65) 100%);
    align-items: flex-start;
    /* items-start */
    justify-content: flex-end;
    /* justify-end */
    padding: 40px 40px;
    /* Apply consistent horizontal padding */
    box-sizing: border-box;
}

.hero-title {
    color: #fff;
    font-size: 36px;
    /* text-4xl */
    font-weight: 900;
    /* font-black */
    line-height: 1.25;
    /* leading-tight */
    letter-spacing: -0.033em;
    /* tracking-[-0.033em] */
    margin: 0px;
    /* @[480px]:text-5xl @[480px]:font-black @[480px]:leading-tight @[480px]:tracking-[-0.033em] will be handled with media queries */
}

.hero-subtitle {
    color: #fff;
    font-size: 14px;
    /* text-sm */
    font-weight: 400;
    /* font-normal */
    line-height: 1.5;
    /* leading-normal */
    /* @[480px]:text-base @[480px]:font-normal @[480px]:leading-normal will be handled with media queries */
}

.hero-text-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* gap-2 */
    text-align: left;
    /* Remove horizontal padding from here */
}

.hero-button {
    display: flex;
    min-width: 84px;
    max-width: 480px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    /* rounded-lg */
    height: 40px;
    /* h-10 */
    padding: 0 16px;
    /* px-4 */
    background-color: #0c7ff2;
    color: #fff;
    font-size: 14px;
    /* text-sm */
    font-weight: 700;
    /* font-bold */
    line-height: 1.5;
    /* leading-normal */
    letter-spacing: 0.015em;
    /* tracking-[0.015em] */
    border: none;
    /* remove default button border */
    /* @[480px]:h-12 @[480px]:px-5 @[480px]:text-base @[480px]:font-bold @[480px]:leading-normal @[480px]:tracking-[0.015em] will be handled with media queries */
}

.hero-button-text {
    white-space: nowrap;
    /* truncate */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Section styles */
.section-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    /* gap-10 */
    /*    padding: 40px 40px; /* Apply consistent horizontal padding */
    padding-top: 40px;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 0px;
}

.full-grid-container {
    position: relative;
    display: flex;
    flex-direction: row;
    /* Changed to row for horizontal layout */
    align-items: center;
    /* Align items vertically in the center */
    justify-content: space-between;
    /* Distribute items with space between them */
    width: 100%;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* gap-4 */
}

.section-title {
    color: #111418;
    letter-spacing: -0.033em;
    /* tracking-light and tracking-[-0.033em] */
    font-size: 32px;
    /* text-[32px] */
    font-weight: 700;
    /* font-bold */
    line-height: 1.25;
    /* leading-tight */
    max-width: 100%;
    margin: 0px;
}

.section-subtitle {
    color: #111418;
    letter-spacing: -0.033em;
    /* tracking-light and tracking-[-0.033em] */
    font-size: 24px;
    /* text-[32px] */
    font-weight: 700;
    /* font-bold */
    line-height: 1.25;
    /* leading-tight */
    max-width: 100%;
    margin: 0px;
}

.section-description {
    color: #111418;
    font-size: 16px;
    /* text-base */
    font-weight: 400;
    /* font-normal */
    line-height: 1.5;
    /* leading-normal */
    max-width: 59%;
    margin: 0px;
}

.section-description-small {
    color: #111418;
    font-size: 16px;
    /* text-base */
    font-weight: 400;
    /* font-normal */
    line-height: 1.5;
    /* leading-normal */
    max-width: 59%;
    margin: 0px;
}

.section-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
    gap: 12px;
    /* gap-3 */
}

.section-grid-container-vertical {
    display: flex;
    flex-direction: column;
    flex: 1;
    /* Allow it to fill the height of its parent */
}

/* Framed cards */
.framed-card {
    display: flex;
    flex: 1;
    gap: 12px;
    /* gap-3 */
    border-radius: 8px;
    /* rounded-lg */
    background-color: #fff;
    padding: 16px;
    /* p-4 */
    flex-direction: column;
}

.framed-card-active {
    border: 1px solid #0c7ff2;
}

.framed-card-nonactive {
    border: 1px solid #dbe0e6;
}

.framed-card-icon {
    display: flex;
    width: auto;
    /* data-size="24px" */
    height: 24px;
    /* data-size="24px" */
    align-items: center;
}

.framed-card-icon-active {
    color: #0c7ff2;
}

.framed-card-icon-nonactive {
    color: #111418;
}

.framed-card-icon-label {
    height: 100%;
    line-height: 24px;
    padding-left: 8px;
    font-size: 16px;
    /* text-base */
    font-weight: 700;
    /* font-bold */
}

.framed-card-icon-label-active {
    color: #0c7ff2;
}

.framed-card-icon-label-nonactive {
    color: #111418;
}

.framed-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    /* gap-1 */
}

.framed-card-title {
    color: #111418;
    font-size: 16px;
    /* text-base */
    font-weight: 700;
    /* font-bold */
    line-height: 1.25;
    /* leading-tight */
    margin: 4px;
}

.framed-card-description {
    color: #60758a;
    font-size: 14px;
    /* text-sm */
    font-weight: 400;
    /* font-normal */
    line-height: 1.5;
    /* leading-normal */
    margin: 4px;
    max-width: 90%;
}

/* Non-framed cards */
.nonframed-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* gap-3 */
    padding-bottom: 12px;
    /* pb-3 */
}

.nonframed-card-image {
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    aspect-ratio: 16 / 9;
    /* aspect-video */
    border-radius: 8px;
    /* rounded-lg */
}

.nonframed-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    /* gap-1 */
}

.nonframed-card-title {
    color: #111418;
    font-size: 16px;
    /* text-base */
    font-weight: 500;
    /* font-medium */
    line-height: 1.5;
    /* leading-normal */
    margin: 4px;
}

.nonframed-card-description {
    color: #60758a;
    font-size: 14px;
    /* text-sm */
    font-weight: 400;
    /* font-normal */
    line-height: 1.5;
    /* leading-normal */
    margin: 4px;
    max-width: 90%;
}

/* Footer styles */
.footer-container {
    width: 100%;
    background-color: var(--color-background-secondary);
    padding: var(--spacing-xxl) 0;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    max-width: var(--max-width-content);
    margin: 0 auto;
    padding: 0 var(--spacing-xxl);
}

.footer {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.footer-row {
    display: flex;
    flex-direction: column;
    /* Stack rows vertically */
    gap: var(--spacing-xl);
}

.footer-columns {
    display: flex;
    flex-direction: column;
    /* Stack columns vertically by default */
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--spacing-xl);
}

.footer-col {
    flex: 1;
    min-width: 200px;
    /* text-align: center; */
    padding: 0 40px;
    /* Add padding to match section-container */
}

.footer-col-wide {
    min-width: 33%;
}

.footer-col-content {
    display: flex;
    flex-direction: column;
    /* Stack links vertically */
    gap: var(--spacing-md);
    align-items: flex-start;
    /* Align items to the left */
}

.footer-label {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.8em;
}

.footer-text {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.8em;
}

.footer-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.8em;
}

.footer-link:hover {
    color: var(--color-primary);
}

.footer-copyright {
    font-size: 0.8em;
    color: var(--color-text-secondary);
}

.newsletter-form {
    display: flex;
    justify-content: flex-end;
    /* Align content to the right */
    width: 100%;
    /* Ensure it takes full width */
}

.newsletter-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 400px;
    /* Limit the width of the input field */
    gap: var(--spacing-sm);
}

.newsletter-input {
    flex-grow: 1;
    /* Allow input to take available space */
    height: 40px;
    /* Match button height */
    padding: 0 var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    outline: none;
    /* Remove outline on focus */
    font-size: 0.9em;
    background-color: var(--color-background-primary);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    /* Include padding and border in height */
}

.newsletter-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(12, 127, 242, 0.2);
}

.newsletter-button {
    /* Inherits most styles from .header-button */
    white-space: nowrap;
    /* Prevent text wrapping */
    /* Override specific styles to match header-button */
    width: 120px;
    border-radius: var(--border-radius-md);
    /* Use the same border-radius as header-button */
    padding: 0 var(--spacing-lg);
    /* Adjust padding to match header-button's horizontal padding */
    height: 40px;
    /* Match header-button's height */
    font-size: 14px;
    /* Match header-button's font size */
    background-color: var(--color-primary);
    /* Ensure primary color */
    color: var(--color-background-primary);
    /* Ensure white text */
    border: none;
    /* Remove default button border */
    cursor: pointer;
}

.newsletter-button:hover {
    background-color: #0066cc;
    /* Manually darkened #0c7ff2 */
}

.footer-logo-text-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Adjust as needed for spacing between icon and text */
}

.footer-logo-text {
    color: var(--color-text-primary);
    font-size: 1em;
    /* Adjust as needed */
    font-weight: 700;
}

.footer-divider {
    border-top: 1px solid var(--color-border);
    margin: var(--spacing-xl) 0;
    /* Adjust spacing as needed */
}

/* Media queries for responsive design */
@media (min-width: 480px) {
    .hero-section-wrapper {
        padding: 0;
        /* Remove horizontal padding */
    }

    .hero-section {
        gap: 32px;
        /* @[480px]:gap-8 */
        border-radius: 8px;
        /* @[480px]:rounded-lg */
        padding: 40px 40px;
        /* Apply consistent horizontal padding for hero content */
    }

    .hero-title {
        font-size: 48px;
        /* @[480px]:text-5xl */
        font-weight: 900;
        /* @[480px]:font-black */
        line-height: 1.25;
        /* @[480px]:leading-tight */
        letter-spacing: -0.033em;
        /* @[480px]:tracking-[-0.033em] */
    }

    .hero-subtitle {
        font-size: 16px;
        /* @[480px]:text-base */
        font-weight: 400;
        /* @[480px]:font-normal */
        line-height: 1.5;
        /* @[480px]:leading-normal */
    }

    .hero-button {
        height: 48px;
        /* @[480px]:h-12 */
        padding: 0 20px;
        /* @[480px]:px-5 */
        font-size: 16px;
        /* @[480px]:text-base */
        font-weight: 700;
        /* @[480px]:font-bold */
        line-height: 1.5;
        /* @[480px]:leading-normal */
        letter-spacing: 0.015em;
        /* @[480px]:tracking-[0.015em] */
    }

    .hero-button:hover {
        background-color: #0066cc;
        /* Manually darkened #0c7ff2 */
    }

    .section-title {
        font-size: 36px;
        /* @[480px]:text-4xl */
        font-weight: 900;
        /* @[480px]:font-black */
        line-height: 1.25;
        /* @[480px]:leading-tight */
        letter-spacing: -0.033em;
        /* @[480px]:tracking-[-0.033em] */
    }

    .footer-columns {
        flex-direction: row;
        /* Arrange columns horizontally on larger screens */
    }
}

.upload-dropzone-wrapper {
    display: flex;
    flex-direction: column;
    padding: 16px;
    padding-top: 0px;
}

.upload-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    flex-grow: 1;
    border-radius: 8px;
    /* rounded-lg */
    border: 2px dashed #dbe0e6;
    padding: 24px;
}

.upload-dropzone-text {
    display: flex;
    max-width: 480px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    /* gap-2 */
}

.upload-dropzone-title {
    color: #111418;
    font-size: 18px;
    /* text-lg */
    font-weight: 700;
    /* font-bold */
    line-height: 1.25;
    /* leading-tight */
    letter-spacing: -0.015em;
    /* tracking-[-0.015em] */
    max-width: 480px;
    text-align: center;
}

.upload-dropzone-description {
    color: #111418;
    font-size: 14px;
    /* text-sm */
    font-weight: 400;
    /* font-normal */
    line-height: 1.5;
    /* leading-normal */
    max-width: 480px;
    text-align: center;
}

.upload-progress-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* gap-3 */
    padding-top: 12px;
    width: 100%;
}

.upload-progress-header {
    display: flex;
    gap: 24px;
    /* gap-6 */
    justify-content: space-between;
}

.upload-progress-title {
    display: flex;
    height: 100%;
    flex-direction: row;
    /* Arrange children horizontally */
    align-items: center;
    /* Vertically align children */
    gap: 8px;
    /* Add space between text and loading circle */
    color: #60758a;
    font-size: 14px;
    /* text-base */
    font-weight: 700;
    /* font-medium */
    line-height: 1.5;
    /* leading-normal */
}

.upload-progress-bar-bg {
    border-radius: 4px;
    /* rounded */
    background-color: #dbe0e6;
}

.upload-progress-bar-fill {
    height: 8px;
    /* h-2 */
    border-radius: 4px;
    /* rounded */
    background-color: #0c7ff2;
}

.upload-dropzone-masterWrapper-transition {
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    overflow: hidden;
    /* Ensure content is clipped during collapse */
}

.upload-dropzone-masterWrapper-collapsed {
    max-height: 0 !important;
    /* Use !important to ensure it overrides inline styles */
    opacity: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


.upload-progress-description {
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
    color: #60758a;
    font-size: 14px;
    /* text-sm */
    font-weight: 400;
    /* font-normal */
    line-height: 1.5;
    /* leading-normal */
}

.upload-progress-limits {
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
    color: #60758a;
    font-size: 12px;
    /* text-sm */
    font-weight: 400;
    /* font-normal */
    line-height: 1.5;
    /* leading-normal */
}

.noPadding {
    padding-left: 0px;
    padding-right: 0px;
}

.articleSection {
    color: #292C2F;
    transition: max-height 0.5s ease-out;
    /* Smooth transition for collapse/expand */
}

.articleSection-collapsed {
    max-height: 0;
    overflow: hidden;
}

.seo-article-hidden {
    max-height: 0;
}

/* Styles for uploaded file items */
.uploaded-file-item {

    justify-content: space-between;
    align-items: center;
    padding: 0px 12px;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    color: var(--color-text-secondary);
}

.uploaded-file-item span {
    flex-grow: 1;
    margin-right: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--color-text-secondary);
}

.offer-desc-item-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 12px;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 700;
}

.offer-desc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 12px;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
}

.offer-desc-item-value {
    padding-left: 8px;
    color: #0c7ff2;
    flex-grow: 1;
    margin-right: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 700;
}

.remove-file-button {
    background-color: #ffffff;
    color: #0c7ff2;
    border: none;
    border-radius: var(--border-radius-sm);

    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    transition: background-color 0.2s ease;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 16px;
    padding-right: 16px;
}

.remove-file-button:hover {
    color: red;
}

.required {
    color: red;
}

/* Form styles */
.form-wrapper {
    display: flex;
    flex-direction: column;
    padding-left: 16px;
    padding-right: 16px;
    gap: 16px;
}

.fullWidth {
    width: 100%;
}

.header-button.fullWidth {
    width: 100%;
    max-width: 100%;
    /* Ensure it takes full width and overrides max-width */
}

.form-container {
    display: flex;
    flex-direction: column;
    padding: 0px;
    border: 0px solid var(--color-border);
    border-radius: var(--border-radius-md);
    background-color: var(--color-background-primary);
    gap: 4px;
}

.form-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* Align items vertically in the center */
    gap: 8px;
    /* Adjust as needed */
}

.form-label {
    color: #60758a;
    font-size: 14px;
    /* text-sm */
    font-weight: 400;
    /* font-normal */
    line-height: 1.5;
    /* leading-normal */
    margin: 4px;
    max-width: 90%;
}

.custom-checkbox {
    height: 1rem;
    width: 1rem;
    border-radius: 0.25rem;
    border: 2px solid #cedbe8;
    background-color: transparent;
    color: #0c7ff2;

    /* Reset focus ring and outline */
    outline: none;
    box-shadow: none;
}

.custom-checkbox:checked {
    background-color: #0c7ff2;
    border-color: #0c7ff2;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.custom-checkbox:focus {
    outline: none;
    box-shadow: none;
    border-color: #cedbe8;
}

.form-input {
    flex-grow: 1;
    padding: 16px 24px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    outline: none;
    font-size: 0.9em;
    background-color: transparent;
    color: var(--color-text-primary);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(12, 127, 242, 0.2);
}

.form-input::placeholder {
    color: var(--color-text-secondary);
}

.form-textarea {
    flex-grow: 1;
    padding: 16px 24px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    outline: none;
    font-size: 0.9em;
    background-color: transparent;
    color: var(--color-text-primary);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: Inter, "Noto Sans", sans-serif;
    min-height: 120px;
    resize: vertical;
}

.form-textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(12, 127, 242, 0.2);
}

.form-textarea::placeholder {
    color: var(--color-text-secondary);
}

/* Info Dialog Styles */
.info-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    visibility: hidden;
    /* Hidden by default */
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease-in-out;
}

.info-dialog-overlay.visible {
    visibility: visible;
    opacity: 1;
}

.info-dialog-content {
    background-color: var(--color-background-primary);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
    max-width: 400px;
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.info-dialog-title {
    color: #111418;
    font-size: 18px;
    /* text-lg */
    font-weight: 700;
    /* font-bold */
    line-height: 1.25;
    /* leading-tight */
    letter-spacing: -0.015em;
    /* tracking-[-0.015em] */
    text-align: center;
    margin: 0;
}

.info-dialog-message {
    color: #60758a;
    font-size: 16px;
    /* text-sm */
    font-weight: 400;
    /* font-normal */
    line-height: 1.5;
    /* leading-normal */
    margin: 4px;
    max-width: 90%;
}

.info-dialog-button {
    background-color: #0c7ff2;
    color: #fff;
    border: none;
    /* remove default button border */
    border-radius: 8px;
    /* rounded-lg */
    padding: 0 16px;
    /* px-4 */
    cursor: pointer;
    font-size: 14px;
    /* text-sm */
    font-weight: 700;
    /* font-bold */
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 40px;
    /* h-10 */
    line-height: 1.5;
    /* leading-normal */
    letter-spacing: 0.015em;
    /* tracking-[0.015em] */
}

.info-dialog-button:hover {
    background-color: #0066cc;
    /* Darkened primary color */
}

/* Checkout Container Transition Styles */
.checkout-container-transition {
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    overflow: hidden;
}

.checkout-container-collapsed {
    max-height: 0;
    /* Removed !important */
    opacity: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Modal Styles */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1000;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    background-color: rgba(0, 0, 0, 0.6);
    /* Black w/ opacity */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 500px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #dbe0e6;
}

.modal-header-title {
    display: flex;
    flex-direction: column;
}

.modal-header-title h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #111418;
}

.modal-header-comment {
    margin: 0;
    font-size: 14px;
    color: #60758a;
}

.close-button {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
}

/* Quotation Summary Styles */
.summary-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 24px;
    border-radius: 8px;
}

.summary-header {
    text-align: left;
}

.summary-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
}

.summary-subtitle {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-top: 4px;
}

.summary-row {
    display: flex;
    gap: 24px;
}

.summary-card {
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 24px;
    border: 1px solid var(--color-border);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.summary-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-third);
    margin: 0;
}

.summary-card-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.summary-card-item-grid {
    display: grid;
    justify-content: space-between;
    font-size: 14px;
}

.summary-card-label {
    color: var(--color-text-secondary);
}

.summary-card-value {
    color: var(--color-text-third);
    font-weight: 500;
    text-align: right;
}

.summary-footer {
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
    padding-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-price-container {
    text-align: left;
}

.summary-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.summary-price-details {
    font-size: 14px;
    color: var(--color-text-secondary);
}

.summary-price-discount {
    font-size: 14px;
    color: #28a745;
    /* A green color for the discount */
    font-weight: 600;
}
/* ===================== Mobile/Responsive Enhancements ===================== */
/* Fluid media */
img, video {
  max-width: 100%;
  height: auto;
}

/* Prevent background scroll when drawer open */
body.mobile-nav-open {
  overflow: hidden;
}

/* Mobile drawer and toggle (hidden by default; shown via media queries) */
.mobile-nav-toggle {
  display: none;
}

.mobile-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
}

.mobile-drawer-backdrop.visible {
  display: block;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 80%;
  max-width: 320px;
  transform: translateX(100%);
  transition: transform 0.25s ease-in-out;
  background: #fff;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  gap: 8px;
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.12);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f2f5;
}

.mobile-drawer-title {
  color: #111418;
  font-weight: 700;
  font-size: 16px;
  margin: 0;
}

.mobile-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #dbe0e6;
  background: #fff;
  color: #111418;
  cursor: pointer;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
  gap: 4px;
}

.mobile-drawer-nav a {
  color: #111418;
  text-decoration: none;
  font-weight: 500;
  padding: 12px 8px;
  border-radius: 8px;
}

.mobile-drawer-nav a:hover {
  background: #f8f8f8;
}

.mobile-drawer .drawer-cta {
  margin-top: auto;
}

/* Screen reader only helper */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 1px, 1px) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* --------------------- Base responsive adjustments --------------------- */
@media (max-width: 767px) {
  /* Header */
  .header {
    padding: 12px 16px;
  }

  .header-left {
    gap: 12px;
  }

  .header-title {
    font-size: 16px;
  }

  .header-right {
    gap: 12px;
  }

  .header-nav-links {
    display: none; /* Hide desktop nav on mobile; drawer will replace it */
  }

  /* Show hamburger on mobile */
  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #dbe0e6;
    border-radius: 8px;
    background: #fff;
    color: #111418;
    cursor: pointer;
  }

  /* Optionally hide header CTA in topbar on mobile to declutter; provide in drawer */
  .header-right .header-button {
    display: none;
  }

  /* Content and sections */
  .main-content-area {
    padding: 16px;
  }

  .section-container {
    padding-left: 16px;
    padding-right: 16px;
    gap: 24px;
  }

  .full-grid-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 20px;
  }

  .section-description,
  .section-description-small {
    max-width: 100%;
  }

  /* Cards */
  .framed-card,
  .nonframed-card {
    gap: 8px;
  }

  .nonframed-card-title,
  .framed-card-title {
    font-size: 16px;
  }

  .nonframed-card-description,
  .framed-card-description {
    font-size: 14px;
    max-width: 100%;
  }

  /* Hero */
  .hero-section-wrapper {
    min-height: 380px;
  }

  .hero-section {
    min-height: 380px;
    padding: 24px 16px;
    gap: 16px;
  }

  /* Footer */
  .footer-content {
    padding: 0 16px;
  }

  .footer-col {
    padding: 0 16px;
  }

  .newsletter-form {
    justify-content: center;
  }

  .newsletter-input-wrapper {
    max-width: 100%;
  }

  /* Forms and buttons */
  .form-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .header-button.fullWidth {
    width: 100%;
    max-width: 100%;
  }
}

/* Small phones fine-tuning */
@media (max-width: 414px) {
  .hero-title {
    font-size: 28px;
  }
  .hero-subtitle {
    font-size: 14px;
  }
}

/* Tablet baseline (tighten desktop paddings slightly where needed) */
@media (min-width: 768px) and (max-width: 1023px) {
  .header {
    padding: 12px 24px;
  }
  .main-content-area {
    padding: 20px 24px;
  }
  .section-container {
    padding-left: 24px;
    padding-right: 24px;
  }
}
/* Fix: place section CTA below text on mobile; avoid overlapping due to absolute positioning */
@media (max-width: 767px) {
  .full-grid-container .button-wrapper-end {
    position: static;
    width: 100%;
    padding-top: 8px;
    justify-content: flex-start;
  }
}
/* Mobile: ensure dragAndDrop-generated UI lays out correctly */
@media (max-width: 767px) {
  /* Top titles row inside upload sections: keep actions below text, avoid overlap */
  .upload-status-titles {
    min-height: auto;
    padding-bottom: 8px;
  }
  .upload-status-titles .button-wrapper-end {
    position: static;
    width: 100%;
    padding-top: 8px;
    justify-content: flex-start;
  }

  /* Dropzone padding and spacing */
  .upload-dropzone-wrapper {
    padding: 12px;
  }
  .upload-dropzone {
    padding: 16px;
    gap: 12px;
  }
  .upload-dropzone-text {
    gap: 6px;
  }

  /* Progress header/description spacing */
  .upload-progress-wrapper {
    width: 100%;
    padding-top: 8px;
  }
  .upload-progress-header {
    flex-direction: column;
    gap: 8px;
  }
  .upload-progress-title {
    gap: 8px;
    font-size: 14px;
  }
  /* Uploaded files list: make filenames wrap; keep remove button readable */
  .uploaded-file-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
  }
  .uploaded-file-item span {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .remove-file-button {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Summary and CTA in checkout preview created by dragAndDrop flow */
  #checkoutContainer .summary-container {
    gap: 16px;
  }
  #checkoutContainer .summary-row {
    flex-direction: column;
    gap: 12px;
  }
  #checkoutContainer .summary-card {
    padding: 16px;
  }
  #checkoutContainer .summary-footer {
    padding-top: 16px;
    padding-bottom: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  #checkoutContainer .header-button {
    width: 100%;
    max-width: 100%;
  }
}
/* Mobile: move "Koszyk" button to the right in checkout preview */
@media (max-width: 767px) {
  #checkoutContainer .summary-footer {
    align-items: stretch; /* allow child alignment overrides */
  }
  #checkoutContainer #KoszykWrapper {
    align-self: flex-end; /* push to the right */
    width: auto;
    margin-top: 8px;
  }
  #checkoutContainer #KoszykWrapper .header-button {
    width: auto;      /* override previous fullWidth rule */
    max-width: none;  /* keep compact size */
  }
}
/* Mobile: also align "Koszyk" to the right in any summary-footer (upload + orderStatus) */
@media (max-width: 767px) {
  .summary-footer #KoszykWrapper {
    align-self: flex-end;
    width: auto;
    margin-top: 8px;
  }
  .summary-footer #KoszykWrapper .header-button {
    width: auto;
    max-width: none;
  }
}
/* Desktop and mobile: ensure "Koszyk" wrapper aligns right inside any summary-footer */
.summary-footer #KoszykWrapper {
  margin-left: auto;
  display: flex;
  width: auto;
}

/* FAQ Section Styles */
.faq-container {
  width: 100%;
/*  max-width: 800px; /* Adjust max-width as needed */
  margin: 0 auto; /* Center the container */
  display: flex;
  flex-direction: column;
  gap: 16px; /* Space between items */
}

.faq-category-title {
    color: #111418;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 24px;
    margin-bottom: 8px;
    border-bottom: 1px solid #dbe0e6;
    padding-bottom: 8px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  overflow: hidden; /* Ensures the answer is clipped when collapsed */
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16px;
  background-color: var(--color-background-primary);
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background-color: var(--color-background-secondary);
}

.faq-question span {
  flex-grow: 1;
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  color: var(--color-primary);
  margin-left: 16px;
}

.faq-question.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: var(--color-background-secondary);
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.faq-answer p {
    margin: 0;
    padding: 16px;
}

.faq-answer.active {
  max-height: 500px; /* Adjust as needed for content */
}
