﻿:root {
    --bandel-grey: #b8bdc0;
    --bandel-blue: #006599;
    --bandel-yellow: #FC9E0C;
    --bandel-light-background: #f3f5ff;
    --bandel-dark-background: #1d2f39;
    --bandel-light-foreground: black;
    --bandel-dark-foreground: white;
    --bandel-almost-black: #001b28;
    --hamburger-animation-speed: 0.15s;
    --scrollbar-color: gray;
    --scrollbar-background: var(--bandel-almost-black);
    --job-card-dark: #d3d3d314;
    --job-card-light: #d3d3d37d;
    --admin-panel-small-spacing: 0.5rem;
    --bandel-error: #c00000;
    --bandel-card: #d3d3d37d;
    --mockup-container-dark: #d3d3d314;
    --mockup-container-light: #d3d3d37d;
}

.dark-theme {
    --bandel-background: var(--bandel-dark-background);
    --bandel-foreground: var(--bandel-dark-foreground);
    --bandel-job-card: var(--job-card-dark);
    --bandel-datepicker-theme: dark;
    --bandel-about-us-text-on-picture: var(--bandel-light-background);
    --bandel-job-card-subtitle: lightgrey;
    --bandel-success: lawngreen;
    --bandel-error: lightcoral;
    --bandel-card: #d3d3d314;
    --bandel-mockup-container: var(--mockup-container-dark);
    transition: all 0.3s ease-in-out;
}

.white-theme {
    --bandel-background: var(--bandel-light-background);
    --bandel-foreground: var(--bandel-light-foreground);
    --bandel-job-card: var(--job-card-light);
    --bandel-datepicker-theme: light;
    --bandel-about-us-text-on-picture: var(--bandel-light-background);
    --bandel-job-card-subtitle: gray;
    --bandel-success: green;
    --bandel-error: red;
    --bandel-mockup-container: var(--mockup-container-light);
    transition: all 0.3s ease-in-out;
}

input:-webkit-autofill,
input:-webkit-autofill:focus,
input:-internal-autofill-selected {
    transition: background-color 0s 600000s, color 0s 600000s !important;
}

/* Validation Container */
.small-dropdown-validation-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Required Text */
.small-dropdown-required-text {
    position: absolute;
    top: -7px;
    right: 10px;
    font-size: 12px;
    background: var(--bandel-background);
    padding-inline: 6px;
    color: var(--bandel-error);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    z-index: 2;
}

.small-dropdown-required-text-show {
    opacity: 1;
}

.small-dropdown-required-text-medium {
    font-size: 10px;
    top: -5px;
    right: 6px;
    padding-inline: 4px;
}

.small-dropdown-required-text-small {
    font-size: 9px;
    top: -5px;
    right: 5px;
    padding-inline: 3px;
}

/* Main Container */
.small-dropdown-container {
    position: relative;
    border: 1px solid transparent;
    border-radius: 6px;
    transition: border-color 0.3s ease-in-out;
    height: 56px; /* Large size default */
}

/* Container Size Variants */
.small-dropdown-container-medium {
    height: 40px;
}

.small-dropdown-container-small {
    height: 32px;
}

/* Error State */
.small-dropdown-container-error {
    border-color: var(--bandel-error);
}

    .small-dropdown-container-error .small-dropdown-btn {
        border-color: var(--bandel-error);
    }

    .small-dropdown-container-error .small-dropdown-options {
        box-shadow: inset 0px 0px 1px 1px var(--bandel-error);
    }

/* Success State */
.small-dropdown-container-success {
    border-color: var(--bandel-success, #28a745);
}

    .small-dropdown-container-success .small-dropdown-btn {
        border-color: var(--bandel-success, #28a745);
    }

    .small-dropdown-container-success .small-dropdown-options {
        box-shadow: inset 0px 0px 1px 1px var(--bandel-success, #28a745);
    }

/* Success Icon */
.small-dropdown-success-icon {
    position: absolute;
    top: 50%;
    right: 32px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    color: var(--bandel-success, #28a745);
    font-weight: bold;
    font-size: 16px;
    z-index: 3;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .small-dropdown-success-icon svg {
        width: 16px;
        height: 16px;
    }

.small-dropdown-success-icon-medium {
    width: 20px;
    height: 20px;
    right: 28px;
}

    .small-dropdown-success-icon-medium svg {
        width: 14px;
        height: 14px;
    }

.small-dropdown-success-icon-small {
    width: 16px;
    height: 16px;
    right: 24px;
}

    .small-dropdown-success-icon-small svg {
        width: 12px;
        height: 12px;
    }

/* Main Button */
.small-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
    padding: 1rem; /* Large size default */
    border-radius: 6px;
    cursor: pointer;
    user-select: none;
    color: var(--bandel-foreground);
    line-height: 1;
    transition: 0.3s ease-in-out;
    height: 100%;
    box-sizing: border-box;
    font-size: 16px; /* Large size default */
    background: var(--bandel-job-card);
}

    .small-dropdown-btn:hover {
        opacity: 0.7;
    }

    .small-dropdown-btn > svg {
        transition: all 0.3s ease-in-out;
        flex-shrink: 0;
    }

    .small-dropdown-btn > p {
        margin: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        flex: 1;
    }

/* Button Size Variants */
.small-dropdown-btn-medium {
    padding: 0.5rem;
    font-size: 14px;
}

.small-dropdown-btn-small {
    padding: 0.375rem;
    font-size: 13px;
}

.small-dropdown-btn-show {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

    .small-dropdown-btn-show > svg {
        transform: rotateZ(-180deg);
    }

/* Options Container */
.small-dropdown-options {
    width: 100%;
    position: absolute;
    top: 100%;
    background: var(--bandel-background);
    height: 0px;
    opacity: 0;
    overflow-y: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 110;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    box-shadow: inset 0px 0px 1px 1px var(--bandel-yellow);
}

    .small-dropdown-options.on-top-show {
        top: auto;
        bottom: 100%;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
    }

.small-dropdown-btn-show.small-dropdown-btn-upwards {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.small-dropdown-options-show {
    opacity: 1;
}

/* Search Input */
.small-dropdown-search {
    padding: 0.5rem;
    line-height: 1;
    border: none;
    background: var(--bandel-background);
    color: var(--bandel-foreground);
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid var(--bandel-yellow);
    outline: none;
    font-family: inherit;
    font-size: 16px; /* Large size default */
    border-right: 2px solid var(--bandel-job-card);
    border-left: 2px solid var(--bandel-job-card);
    height: 28px; /* Large size default */
}

    .small-dropdown-search::placeholder {
        color: var(--bandel-foreground);
        opacity: 0.6;
    }

    .small-dropdown-search:focus {
        border-bottom-color: var(--bandel-yellow);
        opacity: 1;
    }

/* Search Size Variants */
.small-dropdown-search-medium {
    padding: 0.375rem;
    font-size: 14px;
    height: 24px;
}

.small-dropdown-search-small {
    padding: 0.25rem;
    font-size: 13px;
    height: 20px;
}

/* Options */
.small-dropdown-option {
    padding: 0.5rem;
    user-select: none;
    cursor: pointer;
    line-height: 1;
    font-size: 16px; /* Large size default */
    height: 28px; /* Large size default */
    box-sizing: border-box;
    display: flex;
    align-items: center;
    margin: 0;
}

    .small-dropdown-option:hover {
        background: grey;
        color: black;
    }

/* Option Size Variants */
.small-dropdown-option-medium {
    padding: 0.375rem;
    font-size: 14px;
    height: 24px;
}

.small-dropdown-option-small {
    padding: 0.25rem;
    font-size: 13px;
    height: 20px;
}

.small-dropdown-option-active {
    color: var(--bandel-yellow);
}

.small-dropdown-options-scrollable {
    overflow-y: auto;
}

    .small-dropdown-options-scrollable::-webkit-scrollbar {
        width: 6px;
    }

    .small-dropdown-options-scrollable::-webkit-scrollbar-track {
        background: transparent;
    }

    .small-dropdown-options-scrollable::-webkit-scrollbar-thumb {
        background: var(--bandel-yellow);
        border-radius: 3px;
        opacity: 0.6;
    }

.small-dropdown-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: help;
}

.small-dropdown-option-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .small-dropdown-truncate[title]:hover,
    .small-dropdown-option-truncate[title]:hover {
        position: relative;
    }

.small-dropdown-no-results {
    color: var(--bandel-foreground);
    opacity: 0.6;
    font-style: italic;
    cursor: default;
}

    .small-dropdown-no-results:hover {
        background: transparent;
        color: var(--bandel-foreground);
        opacity: 0.6;
    }

/* Bottom Area */
.small-dropdown-bottom-area {
    min-height: 16px;
}

.small-dropdown-helper-text,
.small-dropdown-error-text {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
}

.small-dropdown-helper-text {
    color: var(--bandel-foreground);
    opacity: 0.7;
}

.small-dropdown-error-text {
    color: var(--bandel-error);
}

/* Bottom Text Size Variants */
.small-dropdown-helper-text-medium,
.small-dropdown-error-text-medium {
    font-size: 11px;
}

.small-dropdown-helper-text-small,
.small-dropdown-error-text-small {
    font-size: 10px;
}

/* Focus improvements */
.small-dropdown-btn:focus {
/*    outline: 2px solid var(--bandel-blue);
    outline-offset: 1px;*/
}

.small-dropdown-container-error .small-dropdown-btn:focus {
    outline-color: var(--bandel-error);
}

.small-dropdown-container-success .small-dropdown-btn:focus {
    outline-color: var(--bandel-success, #28a745);
}

/* Dark theme adjustments */
.dark-theme .small-dropdown-container-success {
    border-color: var(--bandel-success, #28a745);
}

.dark-theme .small-dropdown-container-error {
    border-color: var(--bandel-error);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .small-dropdown-container {
        border-width: 2px;
    }

    .small-dropdown-container-success,
    .small-dropdown-container-error {
        border-width: 3px;
    }

    .small-dropdown-btn {
        border-width: 2px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .small-dropdown-btn,
    .small-dropdown-search,
    .small-dropdown-option {
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .small-dropdown-btn-small,
    .small-dropdown-search-small,
    .small-dropdown-option-small {
        font-size: 14px;
    }
}

.form-submit-container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 1;
    transition: all 0.3s ease-in-out;
}

.form-submit-success-message-container, .form-submit-error-message-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    z-index: -10;
}

.form-submit-success-message-show, .form-submit-success-message-show, .form-submit-error-message-show {
    z-index: 10;
    opacity: 1;
    padding-inline: 1rem;
}

.form-submit-success-message-header, .form-submit-error-message-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.form-submit-success-message-header-icon {
    color: var(--bandel-success);
    border: 1px solid var(--bandel-success);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-submit-success-message-header > p {
    color: var(--bandel-success);
}

.form-submit-error-message-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.form-submit-error-message-header-icon {
    color: var(--bandel-error);
    border: 1px solid var(--bandel-error);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-submit-error-message-header > p {
    color: var(--bandel-error);
}

.form-submit-success-message, .form-submit-error-message {
    text-align: center
}

.outlinedTextField-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.outlinedTextField-wrapper {
    position: relative;
    border: 1px solid var(--bandel-foreground);
    border-radius: 6px;
    height: 56px;
    box-sizing: border-box;
    padding: 1px;
    transition: border-color 0.3s ease-in-out;
}

    .outlinedTextField-wrapper:focus-within {
        border: 1px solid var(--bandel-blue);
    }

.outlinedTextFieldArea-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid var(--bandel-foreground);
    border-radius: 6px;
    height: 96px;
    box-sizing: border-box;
    transition: border-color 0.3s ease-in-out;
}

    .outlinedTextFieldArea-wrapper:focus-within {
        border: 1px solid var(--bandel-blue);
    }

    .outlinedTextField-wrapper > label, .outlinedTextFieldArea-wrapper > label {
        position: absolute;
        opacity: 0;
        z-index: -10;
    }

.outlinedTextField-wrapper-required-show {
    border-color: var(--bandel-error);
}

.outlinedTextField-input {
    position: relative;
    width: 100%;
    height: 100%;
    padding-inline: 16px;
    outline: none;
    background-color: transparent;
    overflow-y: auto;
    color: var(--bandel-foreground);
    border: none;
    z-index: 10;
    font-size: 16px;
}

.outlinedTextFieldArea-input {
    position: relative;
    width: calc(100% - 0.5rem);
    height: 80%;
    padding-block: 0.5rem;
    padding-inline: 16px;
    outline: none;
    background-color: transparent;
    overflow-y: auto;
    color: var(--bandel-foreground);
    border: none;
    z-index: 10;
    resize: none;
    font-size: 16px;
}

.outlinedTextField-placeholder {
    position: absolute;
    top: 50%;
    left: 0.5rem;
    transform: translateY(-50%);
    padding-inline: 0.5rem;
    color: var(--bandel-foreground);
    z-index: 9;
    user-select: none;
    transition: all 0.3s ease-in-out;
}

.outlinedTextFieldArea-placeholder {
    position: absolute;
    top: 1.5rem;
    left: 0.5rem;
    transform: translateY(-50%);
    padding-inline: 0.5rem;
    color: var(--bandel-foreground);
    z-index: 9;
    user-select: none;
    transition: all 0.3s ease-in-out;
}

.outlinedTextField-input:focus ~ .outlinedTextField-placeholder, .outlinedTextFieldArea-input:focus ~ .outlinedTextFieldArea-placeholder {
    background-color: var(--bandel-background);
    position: absolute;
    top: 0;
    transform: translateY(-50%);
    font-size: 11px;
    z-index: 10;
    color: var(--bandel-blue);
}

.outlinedTextField-has-value ~ .outlinedTextField-placeholder, .outlinedTextFieldArea-has-value ~ .outlinedTextFieldArea-placeholder {
    background-color: var(--bandel-background);
    position: absolute;
    top: 0;
    transform: translateY(-50%);
    font-size: 11px;
    z-index: 10;
}

.outlinedTextField-required-text {
    position: absolute;
    top: 0;
    right: 0.5rem;
    padding-inline: 0.5rem;
    background: var(--bandel-background);
    font-size: 11px;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.outlinedTextField-required-text-show {
    opacity: 1;
    color: var(--bandel-error)
}

.outlinedTextField-bottom-text-wrapper {
    height: 11px;
}

.outlinedTextField-bottom-text {
    font-size: 11px;
}

.outlinedTextField-bottom-text-error {
    color: var(--bandel-error)
}

/*.outlinedDateField {
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.outlinedDateField-input-wrapper {
    display: flex;
    flex-grow: 1;
    position: relative;
    color-scheme: var(--bandel-datepicker-theme);
    border: 1px solid var(--bandel-foreground);
    border-radius: 6px;
}

.outlinedDateField-input-wrapper-error {
    border-color: var(--bandel-error);
    color: var(--bandel-error);
}

    .outlinedDateField-input-wrapper-error > .outlinedDateField-time-input {
        border-color: var(--bandel-error);
    }

    .outlinedDateField-input {
        flex-grow: 1;
        height: 54px;
        padding-inline: 1rem;
        background: var(--bandel-background);
        border-radius: 6px;
        border: none;
    }

    .outlinedDateField-input:focus {
        border: none;
        outline: none;
    }

.outlinedDateField-time-input {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    border:none;
    border-left: 1px solid var(--bandel-foreground);
    flex-grow: 1;
    height: 54px;
    padding-inline: 1rem;
    background: var(--bandel-background);
}

.outlinedDateField-time-input:focus {
    border: none;
    outline: none;
}

.outlinedDateField-input-wrapper:focus-within {
    border-color: var(--bandel-blue) !important;
}

    .outlinedDateField-input-wrapper:focus-within > .outlinedDateField-time-input {
        border-left: 1px solid var(--bandel-foreground);
        border-color: var(--bandel-blue) !important;
    }

.outlinedDateField-input-wrapper-medium{
    max-height: 40px;
}

.outlinedDateField-input-medium {
    padding-inline: 0.5rem;
    height: 38px;
}

.outlinedDateField-input-wrapper-small {
    max-height: 32px;
}

.outlinedDateField-input-small {
    padding-inline: 0.375rem;
    height: 30px;
}

.outlinedDateField-type {
    position: absolute;
    top: -7px;
    font-size: 12px;
    left: 10px;
    padding-inline: 7px;
    background: var(--bandel-background);
}

.outlinedDateField-input-wrapper:focus-within > .outlinedDateField-type {
    color: var(--bandel-blue) !important;
}

.outlinedDateField-type-medium {
    top: -6px;
    left: 5px;
    padding-inline: 4px;
    font-size: 10px;
}

.outlinedDateField-type-small {
    top: -5px;
    left: 4px;
    padding-inline: 3px;
    font-size: 9px;
}

.outlinedDateField-bottom-text {
    font-size: 12px;
}

.outlinedDateField-bottom-text-medium {
    font-size: 11px;
}

.outlinedDateField-bottom-text-small {
    font-size: 10px;
}

.outlinedDateField-required-text {
    position: absolute;
    top: -7px;
    right: 10px;
    font-size: 12px;
    background: var(--bandel-background);
    padding-inline: 6px;
    color: var(--bandel-error);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    z-index:1;
}

.outlinedDateField-required-text-show {
    opacity: 1;
}

.outlinedDateField-required-text-medium {
    font-size: 10px;
    top: -5px;
    right: 6px;
    padding-inline: 4px;
}

.outlinedDateField-required-text-small {
    font-size: 9px;
    top: -5px;
    right: 5px;
    padding-inline: 3px;
}

.outlinedDateField-bottom-text-error {
    color: var(--bandel-error);
}*/

.outlinedDateField {
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.outlinedDateField-input-wrapper {
    display: flex;
    align-items: center;
    flex-grow: 1;
    position: relative;
    color-scheme: var(--bandel-datepicker-theme);
    border: 1px solid var(--bandel-foreground);
    border-radius: 6px;
    transition: border-color 0.3s ease-in-out;
}

/* Error state */
.outlinedDateField-input-wrapper-error {
    border-color: var(--bandel-error);
    color: var(--bandel-error);
}

    .outlinedDateField-input-wrapper-error > .outlinedDateField-time-input {
        border-color: var(--bandel-error);
    }

/* Success state - NEW */
.outlinedDateField-input-wrapper-success {
    border-color: var(--bandel-success, #28a745);
}

    .outlinedDateField-input-wrapper-success > .outlinedDateField-time-input {
        border-left-color: var(--bandel-success, #28a745);
    }

.outlinedDateField-input {
    flex-grow: 1;
    height: 54px;
    padding-inline: 1rem;
    background: var(--bandel-background);
    border-radius: 6px;
    border: none;
    font-size: 16px;
}

    .outlinedDateField-input:focus {
        border: none;
        outline: none;
    }

.outlinedDateField-time-input {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    border: none;
    border-left: 1px solid var(--bandel-foreground);
    flex-grow: 1;
    height: 54px;
    padding-inline: 1rem;
    background: var(--bandel-background);
}

    .outlinedDateField-time-input:focus {
        border: none;
        outline: none;
    }

.outlinedDateField-input-wrapper:focus-within {
    border-color: var(--bandel-blue) !important;
}

    .outlinedDateField-input-wrapper:focus-within > .outlinedDateField-time-input {
        border-left: 1px solid var(--bandel-blue) !important;
    }

/* Size variants */
.outlinedDateField-input-wrapper-medium {
    max-height: 40px;
}

.outlinedDateField-input-medium {
    padding-inline: 0.5rem;
    height: 38px;
    font-size: 14px;
}

.outlinedDateField-input-wrapper-small {
    max-height: 32px;
}

.outlinedDateField-input-small {
    padding-inline: 0.375rem;
    height: 30px;
    font-size: 12px;
}

/* Label styling */
.outlinedDateField-type {
    position: absolute;
    top: -7px;
    font-size: 12px;
    left: 10px;
    padding-inline: 7px;
    background: var(--bandel-background);
    z-index: 2;
}

.outlinedDateField-input-wrapper:focus-within > .outlinedDateField-type {
    color: var(--bandel-blue) !important;
}

.outlinedDateField-type-medium {
    top: -6px;
    left: 5px;
    padding-inline: 4px;
    font-size: 10px;
}

.outlinedDateField-type-small {
    top: -5px;
    left: 4px;
    padding-inline: 3px;
    font-size: 9px;
}

/* Success Icon - NEW */
.outlinedDateField-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--bandel-success, #28a745);
    font-weight: bold;
    font-size: 16px;
    margin-right: 8px;
    flex-shrink: 0;
}

.outlinedDateField-success-icon-medium {
    width: 20px;
    height: 20px;
    font-size: 14px;
    margin-right: 6px;
}

    .outlinedDateField-success-icon-medium > svg {
        width: 14px;
        height: 14px;
    }

.outlinedDateField-success-icon-small {
    width: 16px;
    height: 16px;
    font-size: 12px;
    margin-right: 4px;
}

    .outlinedDateField-success-icon-small > svg {
        width: 12px;
        height: 12px;
    }

/* Bottom Area - Updated */
.outlinedDateField-bottom-area {
    min-height: 16px;
}

.outlinedDateField-bottom-text,
.outlinedDateField-error-text {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
}

.outlinedDateField-bottom-text {
    color: var(--bandel-foreground);
    opacity: 0.7;
}

.outlinedDateField-error-text {
    color: var(--bandel-error);
}

.outlinedDateField-bottom-text-medium,
.outlinedDateField-error-text-medium {
    font-size: 11px;
}

.outlinedDateField-bottom-text-small,
.outlinedDateField-error-text-small {
    font-size: 10px;
}

/* Required text */
.outlinedDateField-required-text {
    position: absolute;
    top: -7px;
    right: 10px;
    font-size: 12px;
    background: var(--bandel-background);
    padding-inline: 6px;
    color: var(--bandel-error);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    z-index: 2;
}

.outlinedDateField-required-text-show {
    opacity: 1;
}

.outlinedDateField-required-text-medium {
    font-size: 10px;
    top: -5px;
    right: 6px;
    padding-inline: 4px;
}

.outlinedDateField-required-text-small {
    font-size: 9px;
    top: -5px;
    right: 5px;
    padding-inline: 3px;
}

/* Adjust time input padding when success icon is present */
/*.outlinedDateField-input-wrapper-success .outlinedDateField-time-input {
    padding-right: 40px;*/ /* Make room for success icon */
/*}

.outlinedDateField-input-wrapper-success.outlinedDateField-input-wrapper-small .outlinedDateField-time-input {
    padding-right: 28px;
}

.outlinedDateField-input-wrapper-success.outlinedDateField-input-wrapper-medium .outlinedDateField-input:not(:has(+ .outlinedDateField-time-input)) {
    padding-right: 32px;
}

.outlinedDateField-input-wrapper-success.outlinedDateField-input-wrapper-small .outlinedDateField-input:not(:has(+ .outlinedDateField-time-input)) {
    padding-right: 28px;
}*/

/* Focus improvements - ensure success icon doesn't interfere */
.outlinedDateField-input:focus,
.outlinedDateField-time-input:focus {
    box-shadow: none;
}

/* Dark theme adjustments */
.dark-theme .outlinedDateField-input-wrapper-success {
    border-color: var(--bandel-success, #28a745);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .outlinedDateField-input-wrapper {
        border-width: 2px;
    }

        .outlinedDateField-input-wrapper:focus-within {
            border-width: 3px;
        }

    .outlinedDateField-input-wrapper-success,
    .outlinedDateField-input-wrapper-error {
        border-width: 3px;
    }
}

.admin-panel-dashboard-container {
    position: relative;
    overflow-x: hidden;
    height: calc(100% - 56px);
}

.pop-up-msg-container {
    /*    position: absolute;
    bottom: 1rem;
    right: 1rem;*/
    padding: 1rem;
    border-radius: 6px;
    transform: translateX(150%);
    opacity: 0;
    z-index: 100;
    transition: all 0.3s ease-in-out;
}

.pop-up-msg-container-show {
    transform: translateX(0);
    opacity: 1;
}

.pop-up-msg-close-btn {
    width: 20px;
    height: 20px;
    position: absolute;
    right: 4px;
    top: 4px;
    background: lightcoral;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

    .pop-up-msg-close-btn:hover {
        opacity: 0.7;
    }

.pop-up-msg-text {
    font-size: 12px;
    margin-inline: 1rem
}

.admin-page-notification-bell {
    margin-inline: 1rem;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

    .admin-page-notification-bell:hover {
        transform: scale(1.1);
    }

    .admin-page-notification-bell > svg {
        width: 28px;
        height: 28px;
        color: var(--bandel-sells-dark-blue);
        transition: all 0.3s ease-in-out;
    }

    .admin-page-notification-bell:hover > svg {
        color: var(--bandel-sells-medium-blue);
    }

.admin-page-notification-bell-counter {
    user-select: none;
    width: 18px;
    position: absolute;
    font-size: 11px;
    background-color: rgb(215,0,21);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px;
    font-weight: lighter;
    color: white;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.admin-page-notification-bell-counter-show {
    opacity: 1;
}

.big-outline-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    user-select: none;
}

.fill-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    user-select: none;
    font-weight: bold;
}

.yellow-btn {
    border: 1px solid var(--bandel-yellow);
    color: var(--bandel-yellow);
}

    .yellow-btn:hover {
        background: var(--bandel-yellow);
        color: white;
    }

.fill-yellow-btn {
    background: var(--bandel-yellow);
    color: black;
}

    .fill-yellow-btn:hover {
        opacity: 0.7;
    }

.purple-btn {
    border: 1px solid var(--bandel-sells-purple);
    color: var(--bandel-sells-purple);
}

    .purple-btn:hover {
        background: var(--bandel-sells-purple);
        color: white;
    }

.fill-purple-btn {
    background: var(--bandel-sells-purple);
    color: white;
}

    .fill-purple-btn:hover {
        opacity: 0.7;
    }

.pink-btn {
    border: 1px solid var(--bandel-sells-pink);
    color: var(--bandel-sells-pink);
}

    .pink-btn:hover {
        background: var(--bandel-sells-pink);
        color: white;
    }

.fill-pink-btn {
    background: var(--bandel-sells-pink);
    color: black;
}

    .fill-pink-btn:hover {
        opacity: 0.7;
    }

.dark-gray-btn {
    border: 1px solid var(--bandel-sells-dark-gray);
    color: var(--bandel-sells-dark-gray);
}

    .dark-gray-btn:hover {
        background: var(--bandel-sells-dark-gray);
        color: white;
    }

.fill-dark-gray-btn {
    background: var(--bandel-sells-dark-gray);
    color: white;
}

    .fill-dark-gray-btn:hover {
        opacity: 0.7;
    }

.light-gray-btn {
    border: 1px solid var(--bandel-sells-light-gray);
    color: var(--bandel-sells-light-gray);
}

    .light-gray-btn:hover {
        background: var(--bandel-sells-light-gray);
        color: black;
    }

.fill-light-gray-btn {
    background: var(--bandel-job-card);
    color: var(--bandel-foreground);
}

    .fill-light-gray-btn:hover {
        opacity: 0.7;
    }

.fill-red-btn {
    background: var(--bandel-error);
    color: white;
}

    .fill-red-btn:hover {
        opacity: 0.7;
    }

.dark-blue-btn {
    border: 1px solid var(--bandel-almost-black);
    color: var(--bandel-almost-black);
}

    .dark-blue-btn:hover {
        background: var(--bandel-almost-black);
        color: white;
    }

.fill-dark-blue-btn {
    background: var(--bandel-almost-black);
    color: white;
}

    .fill-dark-blue-btn:hover {
        opacity: 0.7;
    }

.medium-blue-btn {
    border: 1px solid var(--bandel-sells-medium-blue);
    color: var(--bandel-sells-medium-blue);
}

    .medium-blue-btn:hover {
        background: var(--bandel-sells-medium-blue);
        color: white;
    }

.fill-medium-blue-btn {
    background: var(--bandel-sells-medium-blue);
    color: white;
}

    .fill-medium-blue-btn:hover {
        opacity: 0.7;
    }

.light-blue-btn {
    border: 1px solid var(--bandel-sells-light-blue);
    color: var(--bandel-sells-light-blue);
}

    .light-blue-btn:hover {
        background: var(--bandel-sells-light-blue);
        color: black;
    }

.fill-light-blue-btn {
    background: var(--bandel-sells-light-blue);
    color: black;
}

    .fill-light-blue-btn:hover {
        opacity: 0.7;
    }

.big-btn {
    height: 56px;
    gap: 8px;
}

.medium-btn {
    height: 44px;
    gap: 8px;
}

.small-btn {
    height: 32px;
    gap: 4px;
    font-size: 14px;
}

.full-screen-modal-outer {
    width: 100%;
    height: 100%;
    background: #000000cc;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 101;
    backdrop-filter: blur(5px);
    animation: fade-in 0.5s ease-in-out forwards;
    transition: all 0.3s ease-in-out;
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fade-out {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.admin-page-new-job-modal-show, .full-screen-modal-outer-show {
    opacity: 1;
}

.admin-page-new-job-modal-hide, .full-screen-modal-outer-hide {
    animation: fade-out 0.5s ease-in-out forwards;
    opacity: 0;
    z-index: -1;
}

.full-screen-modal-inner {
    background: var(--bandel-background);
    width: 90%;
    height: fit-content;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 8px;
    z-index: 10;
    position: relative;
}

.zoom-in {
    animation: zoom-in 0.3s ease-in-out forwards;
}

.zoom-out {
    animation: zoom-out 0.3s ease-in-out forwards;
}

@keyframes zoom-in {
    0% {
        transform: scale(0.7)
    }

    100% {
        transform: scale(1)
    }
}

@keyframes zoom-out {
    0% {
        transform: scale(1)
    }

    100% {
        transform: scale(0.7)
    }
}

.full-screen-modal-small {
    width: 50%;
}

.full-screen-modal-medium {
    width: 70%;
}

.full-screen-modal-large {
    width: 90%
}

.admin-page-new-job-modal-close-btn, .full-screen-modal-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: lightcoral;
    color: white;
    z-index: 100;
    transition: all 0.3s ease-in-out;
}

    .admin-page-new-job-modal-close-btn:hover, .full-screen-modal-close-btn:hover {
        background: #792525;
    }

.outlinedDropdown-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.outlinedDropdown {
    width: 100%;
    border: 1px solid var(--bandel-foreground);
    border-radius: 6px;
    height: 56px;
    box-sizing: border-box;
}

.outlinedDropdown-opened {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.outlinedDropdown-select {
    display: flex;
    width: 100%;
    align-items: center;
    height: 100%;
}

.outlinedDropdown-placeholder {
    display: flex;
    align-items: center;
    position: absolute;
    left: 16px;
    transition: all 0.3s ease-in-out;
}

.outlinedDropdown-placeholder-transformed {
    left: 10px;
    font-size: 11px;
    border: none;
    padding-inline: 8px;
    background: var(--bandel-background);
    transform: translateY(-28px);
}

.outlinedDropdown-selected-option {
    position: absolute;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-grow: 1;
    padding-inline: 1rem;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.outlinedDropdown-selected-option-show {
    position: relative;
    opacity: 1;
}

.outlinedDropdown-selected-option-text {
    flex-grow: 1;
}

.outlinedDropdown-selected-option-remove-btn {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bandel-error);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    cursor: pointer;
}

.outlinedDropdown-selected-option-remove-btn-show {
    opacity: 1;
}

.outlinedDropdown-arrow {
    width: 56px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    transition: all 0.3s ease-in-out;
    border-left: 1px solid var(--bandel-foreground);
}

    .outlinedDropdown-arrow > svg {
        transition: all 0.3s ease-in-out;
    }

.outlinedDropdown-arrow-opened > svg {
    transform: rotateZ(-180deg)
}

.outlinedDropdown-options-list {
    position: absolute;
    left: 0;
    top: 55px;
    width: 100%;
    background: var(--bandel-background);
    border: 1px solid var(--bandel-foreground);
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    overflow: hidden;
    opacity: 0;
    height: 0;
    user-select: none;
    transition: all 0.3s ease-in-out;
}

.outlinedDropdown-list-show {
    opacity: 1;
    max-height: calc(4 * 56px);
    overflow-y: auto;
}

.outlinedDropdown-options-list-search {
    padding-inline: 1rem;
    padding-block: 0.5rem;
    border-bottom: 1px solid var(--bandel-job-card);
    display: flex;
    align-items: center;
}

    .outlinedDropdown-options-list-search > input {
        background: var(--bandel-background);
        border: 1px solid var(--bandel-foreground);
        border-top-left-radius: 6px;
        border-bottom-left-radius: 6px;
        width: 100%;
        height: 40px;
        padding-inline: 6px;
        color: var(--bandel-foreground);
    }

        .outlinedDropdown-options-list-search > input:focus {
            border-color: var(--bandel-blue);
            outline: none;
        }

.outlinedDropdown-options-list-search-icon {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--bandel-foreground);
    border-left: none;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.outlinedDropdown-options-list-search > input:focus ~ .outlinedDropdown-options-list-search-icon {
    color: var(--bandel-blue);
    border-color: var(--bandel-blue);
}

.outlinedDropdown-option {
    padding: 1rem;
    cursor: pointer;
    border-bottom: 1px solid var(--bandel-job-card);
}

    .outlinedDropdown-option:hover {
        background: var(--bandel-job-card);
    }

.outlinedDropdown-no-option {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.outlinedDropdown-required-text {
    position: absolute;
    top: -6px;
    right: 10px;
    font-size: 12px;
    color: var(--bandel-error);
    background: var(--bandel-background);
    padding-inline: 8px;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.outlinedDropdown-required-text-show {
    opacity: 1;
}

.outlinedDropdown-bottom-text {
    font-size: 11px;
}

.bandel-sells-alert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    display: none;
    z-index: -1;
}

.bandel-sells-alert-overlay-show {
    z-index: 1002;
    display: block;
}

.bandel-sells-alert-container {
    z-index: 1003 !important;
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--bandel-background);
    border-radius: 4px;
    box-shadow: 0px 0px 8px 1px var(--bandel-yellow);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: AlertZoomOut 0.2s linear forwards;
}

.bandel-sells-alert-container-show {
    animation: Pop 0.2s linear forwards;
}

@keyframes Pop {
    0% {
        opacity: 0;
        z-index: -1;
        transform: translate(-50%, -50%) scale(1)
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1)
    }

    100% {
        opacity: 1;
        z-index: 500;
        transform: translate(-50%, -50%) scale(1)
    }
}

@keyframes AlertZoomOut {
    from {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        z-index: 500;
    }

    to {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
        z-index: -1;
    }
}

.bandel-sells-alert-header {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.bandel-sells-alert-header-icon-danger {
    color: var(--bandel-error);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bandel-sells-alert-header-text {
    font-weight: bold;
}

.bandel-sells-alert-text {
    font-size: 14px;
    opacity: 0.8;
}

.bandel-sells-alert-btns {
    display: flex;
    gap: 1rem;
    flex-grow: 1;
    margin-left: auto;
}

.on-off-button-wrapper {
    height: 24px;
    width: 40px;
    background: var(--bandel-job-card);
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border: 1px solid var(--bandel-card);
    padding: 2px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.on-off-button-wrapper-on {
    background: limegreen;
}

.on-off-button-circle {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: white;
    transition: all 0.2s ease-in-out;
}

.on-off-button-circle-on {
    transform: translateX(16px);
}

.admin-page-jobs-table-row-more-options-dropdown {
    background: var(--bandel-background);
    position: absolute;
    right: 0px;
    top: 120%;
    box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.25);
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
}

.admin-page-jobs-table-row-more-options-dropdown-hide {
    transform: translateY(-10px);
    opacity: 0;
    z-index: -10;
}

.admin-page-jobs-table-row-more-options-dropdown-show {
    transform: translateY(0);
    opacity: 1;
    z-index: 10;
}

.options-list-outside-click {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    display: none;
}

.options-list-outside-click-show{
    display: block;
}

.admin-page-jobs-table-row-more-options-dropdown-item {
    padding: var(--admin-panel-small-spacing);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease-in-out;
}

    .admin-page-jobs-table-row-more-options-dropdown-item:hover {
        color: var(--bandel-yellow);
    }

.admin-page-jobs-table-row-more-options-dropdown-item-danger {
    color: lightcoral;
}

    .admin-page-jobs-table-row-more-options-dropdown-item-danger:hover {
        color: red;
    }

@keyframes pulsate {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }
}

.pulsating-container {
    background: var(--bandel-job-card);
    animation: pulsate 2s ease-in-out infinite;
}

.static-container {
    background: var(--bandel-job-card);
}

.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 73%);
    z-index: 1050;
}

    .modal-backdrop.show {
        display: flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(4px);
    }

.modal-dialog {
    width: 100%;
    max-width: 500px;
    margin: 1.75rem auto;
    position: relative;
    animation: zoom-in 0.3s ease-in-out forwards;
}

.modal-content {
    background: var(--bandel-background);
    border-radius: 0.3rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    color: var(--bandel-foreground);
    border-bottom: 2px solid var(--bandel-card);
}

.modal-title {
    margin: 0;
    line-height: 1.5;
    opacity: 0.8;
}

.btn-close {
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: var(--bandel-foreground);
    border-radius: 4px;
    width: 24px;
    height: 24px;
    transition: all 0.2s ease-in-out;
}

    .btn-close:hover {
        color: white;
        background: #c00000;
    }

.modal-body {
    padding: 1rem;
}

.upload-zone {
    border: 2px dashed var(--bandel-yellow);
    border-radius: 4px;
    padding: 2rem;
    text-align: center;
    background-color: var(--bandel-job-card);
    transition: all 0.3s ease;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .upload-zone.dragging {
        background-color: #e9ecef;
        border-color: #0d6efd;
    }

.upload-placeholder {
    color: var(--bandel-foreground);
    opacity: 0.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.selected-files {
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    padding: 0.5rem;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    background-color: var(--bandel-card);
    border-radius: 4px;
}

.file-name {
    flex-grow: 1;
    margin-right: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--bandel-foreground);
    opacity: 0.8;
    text-align: start;
}

.file-size {
    color: var(--bandel-foreground);
    opacity: 0.5;
    margin-right: 0.5rem;
    white-space: nowrap;
}

.btn-remove {
    background: none;
    border: none;
    color: var(--bandel-foreground);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
}

    .btn-remove:hover {
        background: #c00000;
        color: white;
    }

.modal-footer {
    padding: 1rem;
    border-top: 2px solid var(--bandel-card);
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.btn {
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 1rem;
    line-height: 1.5;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

    .btn-primary:hover {
        background-color: #0b5ed7;
        border-color: #0a58ca;
    }

    .btn-primary:disabled {
        background-color: #0d6efd80;
        border-color: #0d6efd80;
        cursor: not-allowed;
    }

.disabled-btn{
    pointer-events: none;
}

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

    .btn-secondary:hover {
        background-color: #5c636a;
        border-color: #565e64;
    }

.media-visualizer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.media-visualizer-visible {
    display: flex;
}

.media-visualizer-content {
    background: var(--bandel-background);
    border-radius: 8px;
    width: 90%;
    height: 90%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: zoom-in 0.2s ease-in-out;
}

.media-visualizer-header {
    padding: 1rem;
    border-bottom: 2px solid var(--bandel-card);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.media-visualizer-header-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8
}

.media-name {
    font-weight: 500;
    margin: 0;
}

.media-size {
    color: #666;
    font-size: 0.9rem;
}

.media-visualizer-body {
    flex: 1;
    overflow: auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-bottom: 2px solid var(--bandel-card);
}

.media-visualizer-image {
    max-width: 90%;
    max-height: 100%;
    object-fit: contain;
}

.media-visualizer-pdf {
    width: 100%;
    height: 100%;
    border: none;
}

.google-doc-viewer {
    width: 100%;
    height: 100%;
    min-height: 500px; /* or whatever minimum height you prefer */
}

.office-doc-viewer {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 200px;
}

.spinners-test{
    display: flex;
    gap: 2rem;
}

.spinner {  
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

    .spinner-text-nowrap {
        white-space: nowrap
    }

    .spinner-small {
        width: 40px;
        height: 40px;
        border: 4px solid var(--bandel-card);
        border-top: 4px solid var(--bandel-yellow);
    }

.spinner-medium {
    width: 56px;
    height: 56px;
    border: 6px solid var(--bandel-card);
    border-top: 6px solid var(--bandel-yellow);
}

.spinner-large {
    width: 72px;
    height: 72px;
    border: 8px solid var(--bandel-card);
    border-top: 8px solid var(--bandel-yellow);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.doc-content {
    padding: 1rem;
    line-height: 1.5;
    white-space: pre-wrap;
    font-family: system, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial;
}

.media-visualizer-text {
    width: 100%;
    height: 100%;
    overflow: auto;
}

    .media-visualizer-text pre {
        white-space: pre-wrap;
        padding: 1rem;
        background: var(--bandel-card);
        border-radius: 4px;
        margin: 0;
    }

.doc-content {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
    padding: 1rem;
}

    .doc-content p {
        margin-bottom: 1rem;
    }

    .doc-content table.doc-table {
        border-collapse: collapse;
        width: 100%;
        margin: 1rem 0;
    }

        .doc-content table.doc-table td {
            border: 1px solid #ddd;
            padding: 8px;
        }

        .doc-content table.doc-table tr:nth-child(even) {
            background-color: #f9f9f9;
        }

.media-visualizer-unsupported {
    text-align: center;
    padding: 2rem;
}

.media-visualizer-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.media-counter{
    padding: 1rem;
    text-align: center;
    opacity: 0.8;
}

.control-btn {
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

    .control-btn:hover {
        background: var(--bandel-card);
    }

.control-btn-danger:hover {
    color: white;
    background: #C00000;
}

.control-btn-small {
    width: 30px;
    height: 30px;
}

.control-btn-medium {
    width: 38px;
    height: 38px;
}

    .control-btn-medium > svg {
        width: 20px;
        height: 20px;
    }

.control-btn-large {
    width: 46px;
    height: 46px;
}

    .control-btn-large > svg {
        width: 24px;
        height: 24px;
    }

.pie-chart-container,
.axis-chart-container {
    background: var(--bandel-job-card);
    padding: 1rem;
    width: fit-content;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .pie-chart-container{
        width: 100%;
        height: 100%;
    }

    .pie-chart-header {
        font-weight: bold;
    }

.pie-chart-body {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.pie-chart-wheel-container {
    display: flex;
    margin-left: 2rem;
}

.pie-chart-wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
}

.pie-chart-inner-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: var(--bandel-background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pie-chart-inner-circle-values{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pie-chart-inner-circle-percentage {
    font-size: 2rem;
}

.pie-chart-wheel-no-data{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bandel-job-card);
    display: flex;
    justify-content: center;
    align-items: center;
}

.pie-chart-list-wrapper {
    display: flex;
    flex-direction: column;
}

.pie-chart-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 14px;
    /*background: red;*/
    overflow-y: auto;
}

.pie-list-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 6px;
    border-radius: 4px;
    cursor: pointer;
}

    .pie-list-item:hover{
        background: var(--bandel-card);        
    }

.color-indicator {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.pie-item-name {
    white-space: nowrap;
    margin-right: 2rem;
}

.pie-list-item-total {
    display: flex;
    align-items: center;
    margin-top: auto;
    margin-bottom: 0;
    padding: 6px;
}

.pie-item-total-name {   
    margin-right: auto;
    font-weight: bold;
}

.pie-item-value {
    font-weight: bold;
    color: var(--bandel-yellow);
    margin-left: auto;
}

.axis-chart-container {
    width: 100%;
    overflow-x: auto;
}

.axis-chart-body {
    position: relative;
}

.axis-chart-body-y-axis-steps {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;   
}

.axis-chart-body-y-axis-step{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
    opacity: 0.7;
    height: 16px;
}

.axis-chart-body-y-axis-step-value{
    text-align: end;
}

.axis-chart-body-y-axis-step-line {
    height: 1px;
    flex-grow: 1;
    background: var(--bandel-foreground);
    opacity: 0.2;
}

.axis-chart-body-x-axis {
    position: absolute;
    top: 0;
    left: 0;
    height: calc(100% - 8px);
    width: calc(100% - 2rem);
    display: flex;
    gap: 3rem;
    justify-content: space-between;
    align-items: flex-end;
    padding-inline: 3rem;
    overflow-x: auto;
}

.axis-chart-body-x-axis-bar {
    min-height: 1px;
    min-width: 4rem;
    background: var(--bandel-yellow);
    position: relative;
    height: 1px;
    cursor: pointer;
}

    .axis-chart-body-x-axis-bar.animate {
        transition: height 0.3s ease-in-out;
        height: var(--final-height);
    }

.axis-chart-body-x-axis-bar-value{
    position: absolute;
    top: -1.5rem;
    width: 100%;
    text-align: center;
    font-size: 14px;
    display: none;
}

.axis-chart-body-x-axis-bar:hover > .axis-chart-body-x-axis-bar-value {
    display: block;
}

.axis-chart-body-x-axis-bar:hover{
    opacity: 0.8;
}

.axis-chart-labels {
    width: calc(100% - 2rem);
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    white-space: nowrap;
    padding-inline: 3rem;
    font-size: 13px;
    font-weight: bold;
}

    .axis-chart-labels > p {
        min-width: 4rem;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.distribution-chart-container {
    width: 100%;
    background: var(--bandel-job-card);
    padding: 1rem;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.distribution-chart-list-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
    font-weight: bold;
    opacity: 0.7;
    border-bottom: 2px solid var(--bandel-card);
    padding-bottom: 6px;
    margin-bottom: 6px;
}

.distribution-chart-header-title{
    font-weight: bold;
}

.distribution-chart-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: fit-content;
    overflow-y: auto;
}

.distribution-chart-list-item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.distribution-chart-list-item-key{
    display: flex;
    align-items: center;
    gap: 6px;
}

.distribution-item-initials{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.distribution-item-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.distribution-item-bar {
    width: 200px;
    height: 12px;
    background: var(--bandel-card);
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
}

.distribution-item-bar-filled {
    height: 12px;
    background: var(--bandel-yellow);
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    width: 0%;
    transition: width 0.3s ease-in-out;
}

    .distribution-item-bar-filled.animate {
        transition: width 0.3s ease-in-out;
        width: var(--final-width);
    }

.distribution-item-values-percentage {
    font-weight: bold;
    pointer-events: none;
}

.distribution-item-values-percentage-highlighted{
    color: var(--bandel-yellow);
    pointer-events: all;
    cursor: pointer;
}

    .distribution-item-values-percentage-highlighted:hover{
        text-decoration: underline;
    }

    .distribution-item-values-count {
        color: var(--bandel-yellow);
        font-weight: bold;
        cursor: pointer;
    }

.distribution-item-values-count:hover{
    text-decoration: underline;
}

.distribution-chart-list-header-key,
.distribution-chart-list-item-key {
    flex-grow: 1;
}

.distribution-chart-list-header-label{
    width: 200px;
}

.distribution-chart-list-header-percentage,
.distribution-item-values-percentage {
    width: 48px;
    text-align: center;
}

.distribution-chart-list-header-count,
.distribution-item-values-count {
    width: 45px;
    text-align: center;
}

.floating-notifications-panel{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: fixed;
    bottom: 0.5rem;
    right: 0.5rem;
    width: 320px;
    height: 0;
    z-index: 1001;
    transition: height 0.4s ease-in-out;
}

.floating-notification {
    margin-top: auto;
    background: var(--bandel-job-card);
    font-size: 14px;
    padding: 0.5rem;
    border-radius: 6px;
    backdrop-filter: blur(10px);
    position: relative;
    display: flex;
    flex-direction: column;
}

.floating-notification-entering {
    animation: slideFromRight 0.4s ease-in-out;
}

.floating-notification-closing {
    animation: slideToRight 0.4s ease-in-out;
}

@keyframes slideFromRight {
    from{
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideToRight {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(100%);
    }
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--bandel-job-card);
    padding-bottom: 6px;
}

.notification-header-text{
    font-weight: bold;
}

.notification-header-text-success,
.floating-notification-icon-success {
    color: limegreen;
}

.notification-header-text-warning,
.floating-notification-icon-warning {
    color: var(--bandel-yellow);
}

.notification-header-text-error,
.floating-notification-icon-error {
    color: var(--bandel-error);
}

.floating-notification-close-btn {
}

.floating-notification-body{
    display: flex;
    align-items: center;
    flex-grow: 1;
    gap: 1rem;
    margin-top: 0.5rem;
}

.floating-notification-icon{
    margin-left: 0.5rem;
}

.floating-notification-icon-small > svg {
    width: 20px;
    height: 20px;
}

.floating-notification-icon-medium > svg,
.floating-notification-icon-large > svg {
    width: 32px;
    height: 32px;
}

.floating-notification-text {
    font-size: 13px;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.floating-notification-text-small {
    -webkit-line-clamp: 2; /* Limits text to 1 line */
    line-clamp: 2;
}

.floating-notification-text-medium {
    -webkit-line-clamp: 4; /* Limits text to 2 lines */
    line-clamp: 4;
}

.floating-notification-text-large {
    -webkit-line-clamp: 8; /* Limits text to 5 lines */
    line-clamp: 8;
}

.notification-panel-neutral-zone {
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    height: 100svh;
    width: 100vw;
    z-index: 100;
    animation: fade-in 0.2s ease-in forwards;
}

    .notification-panel-neutral-zone.fade-out {
        animation: fade-out 0.2s ease-out forwards;
    }

.notification-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100svh;
    min-width: 320px;
    width: fit-content;
    max-width: 320px;
    z-index: 101;
    padding: 0.5rem;
    background: var(--bandel-background);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateX(100%);
}

    .notification-panel.slide-in {
        animation: slideFromRight 0.2s ease-in forwards;
    }

    .notification-panel.slide-out {
        animation: slideToRight 0.2s ease-out forwards;
    }

.notification-panel-empty-message{
    background: var(--bandel-job-card);
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    margin-top: 0.5rem;
}

.notification-panel-card {
    background: var(--bandel-job-card);
    padding: 0.5rem;
    border-radius: 6px;
}

.notification-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--bandel-job-card);
    padding-bottom: 0.5rem;
}

.notification-panel-header > p {
    font-weight: bold;
    color: var(--bandel-yellow);
    font-size: 18px;
}

.notification-panel-body {
    height: calc(100% - 40px);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-block: 0.5rem;
}

.bandel-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    pointer-events: all;
    transition: opacity 0.3s ease-out;
}

.bandel-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(50px);
}

.bandel-full-screen-modal {
    position: relative;
    width: 90vw;
    height: 90vh;
    background-color: var(--bandel-background);
    border-radius: 8px;
    overflow: auto;
    z-index: 1001;
    transform-origin: center;
    animation: modal-zoom-in 0.3s ease-out forwards;
}

.modal-exit {
    animation: modal-zoom-out 0.3s ease-out forwards;
}

@keyframes modal-zoom-in {
     0% {
         opacity: 0;
         transform: scale(0.95);
     }
     100% {
         opacity: 1;
         transform: scale(1);
     }
 }

@keyframes modal-zoom-out {
     0% {
         opacity: 1;
         transform: scale(1);
     }
     100% {
         opacity: 0;
         transform: scale(0.95);
     }
 }

/* Robust TextField Styles - Following your exact patterns */

.robustTextField-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Input Wrapper - Base styles */
.robustTextField-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid var(--bandel-foreground);
    border-radius: 6px;
    height: 56px;
    box-sizing: border-box;
    background: var(--bandel-background);
    transition: border-color 0.3s ease-in-out;
}

    .robustTextField-input-wrapper:focus-within {
        border-color: var(--bandel-blue);
    }

/* Size variants for wrapper */
.robustTextField-input-wrapper-medium {
    height: 40px;
}

.robustTextField-input-wrapper-small {
    height: 32px;
}

/* State variants for wrapper */
.robustTextField-input-wrapper-error {
    border-color: var(--bandel-error);
}

.robustTextField-input-wrapper-success {
    border-color: var(--bandel-success, #28a745);
}

.robustTextField-input-wrapper-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: var(--bandel-grey, #f5f5f5);
}

.robustTextField-input-wrapper-readonly {
    background-color: var(--bandel-grey, #f9f9f9);
}

/* Label - Floating label like your DatePicker */
.robustTextField-label {
    position: absolute;
    top: 50%;
    left: 10px;
    font-size: 16px;
    padding-inline: 7px;
    background: transparent;
    color: var(--bandel-foreground);
    transform: translateY(-50%);
    transition: all 0.3s ease-in-out;
    z-index: 2;
    pointer-events: none;
}

.robustTextField-input-wrapper:focus-within > .robustTextField-label {
    background: var(--bandel-background);
    color: var(--bandel-blue);
    top: 0;
    transform: translateY(-50%);
    font-size: 12px;
}

.robustTextField-input-wrapper:has(.robustTextField-has-value) > .robustTextField-label {
    background: var(--bandel-background);
    top: 0;
    transform: translateY(-50%);
    font-size: 12px
}

    .robustTextField-input-wrapper-error > .robustTextField-label {
        /*color: var(--bandel-error);*/
    }

/* Label size variants */
.robustTextField-label-medium {
    top: 50%;
    left: 4px;
    padding-inline: 4px;
    font-size: 14px;
}

.robustTextField-input-wrapper:focus-within > .robustTextField-label-medium {
    background: var(--bandel-background);
    color: var(--bandel-blue);
    top: 0;
    transform: translateY(-50%);
    font-size: 10px;
}

.robustTextField-input-wrapper:has(.robustTextField-has-value) > .robustTextField-label-medium {
    background: var(--bandel-background);
    top: 0;
    transform: translateY(-50%);
    font-size: 10px
}

.robustTextField-label-small {
    top: 50%;
    left: 3px;
    padding-inline: 3px;
    font-size: 12px;
}

.robustTextField-input-wrapper:focus-within > .robustTextField-label-small {
    background: var(--bandel-background);
    color: var(--bandel-blue);
    top: 0;
    transform: translateY(-50%);
    font-size: 9px;
}

.robustTextField-input-wrapper:has(.robustTextField-has-value) > .robustTextField-label-small {
    background: var(--bandel-background);
    top: 0;
    transform: translateY(-50%);
    font-size: 9px
}

.robustTextField-label-phone {
    margin-inline-start: 80px;
}

/* Main Input Field */
.robustTextField-input {
    flex: 1;
    height: 100%;
    width: 100%;
    padding-inline: 1rem;
    border: none;
    outline: none;
    background: transparent;
    color: var(--bandel-foreground);
    font-size: 16px;
    font-family: inherit;
}

    .robustTextField-input::placeholder {
        color: var(--bandel-grey);
        opacity: 0.7;
    }

    .robustTextField-input:disabled {
        cursor: not-allowed;
    }

    .robustTextField-input:read-only {
        cursor: default;
    }

/* Input size variants */
.robustTextField-input-medium {
    padding-inline: 0.5rem;
    font-size: 14px;
}

.robustTextField-input-small {
    padding-inline: 0.375rem;
    font-size: 13px;
}

/* Textarea */
.robustTextField-textarea {
    flex: 1;
    width: calc(100% - 2rem);
    height: 80px;
    padding: 0.5rem 1rem;
    border: none;
    outline: none;
    background: transparent;
    color: var(--bandel-foreground);
    font-size: 16px;
    font-family: inherit;
    resize: vertical;
    min-height: 60px;
}

    .robustTextField-textarea::placeholder {
        color: var(--bandel-grey);
        opacity: 0.7;
    }

/* Textarea size variants */
.robustTextField-textarea-medium {
    padding: 0.375rem 0.5rem;
    font-size: 14px;
    min-height: 50px;
}

.robustTextField-textarea-small {
    padding: 0.25rem 0.375rem;
    font-size: 13px;
    min-height: 40px;
}

/* Required Text - Following your DatePicker pattern */
.robustTextField-required-text {
    position: absolute;
    top: -7px;
    right: 10px;
    font-size: 12px;
    background: var(--bandel-background);
    padding-inline: 6px;
    color: var(--bandel-error);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    z-index: 2;
}

.robustTextField-required-text-show {
    opacity: 1;
}

.robustTextField-required-text-medium {
    font-size: 10px;
    top: -5px;
    right: 6px;
    padding-inline: 4px;
}

.robustTextField-required-text-small {
    font-size: 9px;
    top: -5px;
    right: 5px;
    padding-inline: 3px;
}

/* Country Selector */
.robustTextField-country-selector {
    display: flex;
    align-items: center;
    border-right: 1px solid var(--bandel-foreground);
    padding: 0 8px;
    background: var(--bandel-grey, #f8f9fa);
}

.robustTextField-country-dropdown {
    border: none;
    background: transparent;
    color: var(--bandel-foreground);
    font-size: 14px;
    padding: 4px;
    cursor: pointer;
}

.robustTextField-country-dropdown-medium {
    font-size: 12px;
    padding: 2px;
}

.robustTextField-country-dropdown-small {
    font-size: 11px;
    padding: 1px;
}

.robustTextField-country-dropdown option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.robustTextField-country-dropdown svg {
    width: 16px;
    height: 12px;
    flex-shrink: 0;
}

/* Currency Selector/Symbol */
.robustTextField-currency-selector {
    display: flex;
    align-items: center;
    border-right: 1px solid var(--bandel-foreground);
    padding: 0 8px;
    background: var(--bandel-grey, #f8f9fa);
}

.robustTextField-currency-dropdown {
    border: none;
    background: transparent;
    color: var(--bandel-foreground);
    font-size: 14px;
    padding: 4px;
    cursor: pointer;
}

.robustTextField-currency-dropdown-medium {
    font-size: 12px;
    padding: 2px;
}

.robustTextField-currency-dropdown-small {
    font-size: 11px;
    padding: 1px;
}

.robustTextField-currency-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 100%;
    border-right: 1px solid var(--bandel-foreground);
    background: var(--bandel-grey, #f8f9fa);
    color: var(--bandel-foreground);
    font-weight: 500;
    font-size: 16px;
}

.robustTextField-currency-symbol-medium {
    width: 28px;
    font-size: 14px;
}

.robustTextField-currency-symbol-small {
    width: 24px;
    font-size: 12px;
}

/* Number Steppers */
.robustTextField-steppers {
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--bandel-foreground);
}

.robustTextField-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 50%;
    border: none;
    background: var(--bandel-grey, #f8f9fa);
    color: var(--bandel-foreground);
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: background-color 0.2s ease-in-out;
}

    .robustTextField-stepper:hover:not(:disabled) {
        background: var(--bandel-blue);
        color: white;
    }

    .robustTextField-stepper:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.robustTextField-stepper-up {
    border-top-right-radius: 6px;
    border-bottom: 0.5px solid var(--bandel-foreground);
}

.robustTextField-stepper-down {
    border-bottom-right-radius: 6px;
    border-top: 0.5px solid var(--bandel-foreground);
}

.robustTextField-stepper-medium {
    width: 20px;
    font-size: 10px;
}

.robustTextField-stepper-small {
    width: 16px;
    font-size: 9px;
}

/* Password Toggle */
.robustTextField-password-toggle {
    display: grid;
    place-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 4px;
    margin-right: 10px;
    padding-left: 8px;
    font-weight: bold;
    font-size: 16px;
    border-left: 1px solid var(--bandel-foreground);
    border-top-left-radius: revert;
    border-bottom-left-radius: revert;
}

.robustTextField-input-wrapper:focus-within > .robustTextField-password-toggle {
    border-color: var(--bandel-blue);
}

.robustTextField-password-toggle-no-pointer-events{
    pointer-events: none;
}

.robustTextField-password-toggle-medium {
    width: 28px;
    height: 28px;
    margin-right: 6px;
}



    .robustTextField-password-toggle-small {
        width: 24px;
        height: 24px;
        margin-right: 4px;
    }

.robustTextField-icon {
    display: grid;
    place-content: center;
    font-size: 16px;
    opacity: 0.7;
    color: var(--bandel-foreground);
    transform: scale(1);
    transition: all 0.2s ease-in-out;
}

    .robustTextField-icon:hover {
        opacity: 1;
        color: var(--bandel-blue);
        transform: scale(1.1)
    }
.robustTextField-icon-medium > svg {
    width: 14px;
    height: 14px;
}

.robustTextField-icon-small > svg {
    width: 12px;
    height: 12px;
}


/* Success Icon */
.robustTextField-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--bandel-success, #28a745);
    font-weight: bold;
    font-size: 16px;
    margin-right: 8px;
}

.robustTextField-success-icon-medium {
    width: 20px;
    height: 20px;
    font-size: 14px;
    margin-right: 6px;
}

    .robustTextField-success-icon-medium > svg {
        width: 14px;
        height: 14px;
    }

    .robustTextField-success-icon-small {
        width: 16px;
        height: 16px;
        font-size: 12px;
        margin-right: 4px;
    }
.robustTextField-success-icon-small > svg {
    width: 12px;
    height: 12px;
}

/* Password Strength Indicator */
.robustTextField-password-strength {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.robustTextField-password-strength-bar {
    flex: 1;
    height: 4px;
    background: var(--bandel-grey, #e0e0e0);
    border-radius: 2px;
    overflow: hidden;
}

.robustTextField-password-strength-fill {
    height: 100%;
    transition: width 0.3s ease-in-out, background-color 0.3s ease-in-out;
    border-radius: 2px;
}

.robustTextField-password-strength-veryweak {
    background-color: var(--bandel-error);
}

.robustTextField-password-strength-weak {
    background-color: #ff6b35;
}

.robustTextField-password-strength-fair {
    background-color: var(--bandel-yellow);
}

.robustTextField-password-strength-good {
    background-color: #4CAF50;
}

.robustTextField-password-strength-strong {
    background-color: var(--bandel-success, #28a745);
}

.robustTextField-password-strength-text {
    font-size: 11px;
    color: var(--bandel-foreground);
    font-weight: 500;
    min-width: 60px;
}

.robustTextField-password-strength-text-medium {
    font-size: 10px;
    min-width: 50px;
}

.robustTextField-password-strength-text-small {
    font-size: 9px;
    min-width: 40px;
}

/* Character Count */
.robustTextField-character-count {
    position: absolute;
    top: -7px;
    right: 80px; /* Position it left of required text */
    font-size: 11px;
    background: var(--bandel-background);
    padding-inline: 4px;
    color: var(--bandel-foreground);
    opacity: 0.7;
    z-index: 2;
}

.robustTextField-character-count-error {
    color: var(--bandel-error);
    opacity: 1;
}

.robustTextField-character-count-medium {
    font-size: 10px;
    right: 70px;
}

.robustTextField-character-count-small {
    font-size: 9px;
    right: 60px;
}

/* Bottom Area */
.robustTextField-bottom-area {
    min-height: 16px;
}

.robustTextField-helper-text,
.robustTextField-error-text {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
}

.robustTextField-helper-text {
    color: var(--bandel-foreground);
    opacity: 0.7;
}

.robustTextField-error-text {
    color: var(--bandel-error);
}

.robustTextField-helper-text-medium,
.robustTextField-error-text-medium {
    font-size: 11px;
}

.robustTextField-helper-text-small,
.robustTextField-error-text-small {
    font-size: 10px;
}

/* Dark theme adjustments */
.dark-theme .robustTextField-country-selector,
.dark-theme .robustTextField-currency-selector,
.dark-theme .robustTextField-currency-symbol,
.dark-theme .robustTextField-steppers .robustTextField-stepper {
    background: var(--bandel-almost-black, #2a2a2a);
    border-color: var(--bandel-dark-foreground);
}

/* Focus improvements */
.robustTextField-input:focus,
.robustTextField-textarea:focus {
    box-shadow: none; /* Remove default browser focus */
}

/* Accessibility improvements */
.robustTextField-stepper:focus,
.robustTextField-password-toggle:focus,
.robustTextField-country-dropdown:focus,
.robustTextField-currency-dropdown:focus {
/*    outline: 2px solid var(--bandel-blue);
    outline-offset: 1px;*/
}

/* Animation for floating labels when input has value */
.robustTextField-has-value ~ .robustTextField-label {
    background-color: var(--bandel-background);
    position: absolute;
    top: -7px;
    transform: translateY(0);
    font-size: 12px;
    z-index: 10;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .robustTextField-input,
    .robustTextField-textarea {
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .robustTextField-input-small,
    .robustTextField-textarea-small {
        font-size: 14px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .robustTextField-input-wrapper {
        border-width: 2px;
    }

        .robustTextField-input-wrapper:focus-within {
            border-width: 3px;
        }
}

.custom-country-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    outline: none;
    border-right: 1px solid var(--bandel-foreground);
    background: var(--bandel-background);
    height: 100%;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

    .custom-country-dropdown.disabled {
        cursor: not-allowed;
        opacity: 0.6;
    }

.custom-country-dropdown-open{
    border-bottom-left-radius: revert;
    border-left: 1px solid var(--bandel-foreground);
    transform: translateX(-1px);
    z-index: 10;
    border-color: var(--bandel-blue);
}

.robustTextField-input-wrapper:focus-within > .custom-country-dropdown{
    border-color: var(--bandel-blue);
}

.dropdown-selected {
    display: flex;
    align-items: center;
    gap: 4px;
    border-radius: 6px;
    background: transparent;
    transition: border-color 0.2s, box-shadow 0.2s;
}

/*.custom-country-dropdown:focus .dropdown-selected,
.custom-country-dropdown:hover:not(.disabled) .dropdown-selected {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}*/

.country-flag{
    width: 16px;
    height: 16px;
}

.flag-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

    .flag-container svg {
        width: 20px;
        height: 15px;
        border-radius: 2px;
    }
.placeholder {
    color: #9ca3af;
}

.dropdown-arrow {
    margin-left: auto;
    transition: transform 0.2s;
    color: #6b7280;
}

    .dropdown-arrow.open {
        transform: rotate(180deg);
    }

.dropdown-options {
    position: absolute;
    width: calc(100% + 2px);
    top: 100%;
    left: -1px;
    right: 0;
    background: var(--bandel-background);
    border: 1px solid var(--bandel-blue);
    border-radius: 6px;
    border-top-left-radius: revert;
    border-top-right-radius: revert;
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 0px;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    animation: dropdown-options-drop 0.2s ease-in forwards;
}

@keyframes dropdown-options-drop{
    from{
        max-height: 0;
    }
    to {
        max-height: 200px;
    }
}

.dropdown-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-inline: 8px;
    padding-block: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .dropdown-option:not(:last-of-type) {
        border-bottom: 1px solid var(--bandel-job-card);
    }

    .dropdown-option:hover {
        background-color: var(--bandel-job-card);
        color: var(--bandel-foreground);
    }

    .dropdown-option.selected {
        background-color: var(--bandel-yellow);
        color: var(--bandel-almost-black);
    }

    .dropdown-option.highlighted {
        background-color: var(--bandel-job-card);
        /*border-left: 3px solid #1976d2;*/
    }

.dropdown-options {
    max-height: 200px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.country-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 12px;
}

.country-code {
    font-size: 14px;
}

.country-prefix {
    font-size: 14px;
}


.country-name {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Size variations */
.custom-country-dropdown.size-small .dropdown-selected {
    padding: 6px 10px;
}

.custom-country-dropdown.size-small .flag-container svg {
    width: 16px;
    height: 12px;
}

.custom-country-dropdown.size-small .dropdown-option {
    padding: 6px 10px;
}

.custom-country-dropdown.size-medium .dropdown-selected {
    padding-inline: 8px;
}

.custom-country-dropdown.size-medium .flag-container svg {
    width: 20px;
    height: 15px;
}

/* RTE content area — kept for JS querySelector and content formatting */
.rte-content:empty:before {
    content: attr(data-placeholder);
    color: #6c757d;
    font-style: italic;
}

.rte-content a {
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
}

    .rte-content a:hover {
        color: #0056b3;
        text-decoration: underline;
    }

    .rte-content a:visited {
        color: #6610f2;
    }

/* Link Dialog Styles */
.rte-link-dialog {
    position: absolute;
    background: var(--bandel-background);
    border: 1px solid var(--bandel-foreground);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    width: 350px;
    z-index: 10000;
    animation: linkDialogFadeIn 0.2s ease-out;
}

@keyframes linkDialogFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.rte-link-dialog-content {
    padding: 0;
}

.rte-link-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--bandel-job-card-subtitle);
    background: var(--bandel-almost-black);
    border-radius: 8px 8px 0 0;
}

    .rte-link-dialog-header h4 {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
        color: var(--bandel-foreground);
    }

.rte-link-dialog-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--bandel-foreground);
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s;
}

    .rte-link-dialog-close:hover {
        background: var(--bandel-yellow);
        color: var(--bandel-almost-black);
    }

.rte-link-dialog-body {
    padding: 0.5rem;
}

.rte-link-dialog-field {
    margin-bottom: 0.5rem;
}

    .rte-link-dialog-field label {
        display: block;
        margin-bottom: 6px;
        font-size: 14px;
        font-weight: 500;
        color: var(--bandel-foreground);
    }

    .rte-link-dialog-field input[type="text"],
    .rte-link-dialog-field input[type="url"] {
        width: 100%;
        padding: 8px 12px;
        border: 1px solid var(--bandel-job-card-subtitle);
        border-radius: 4px;
        font-size: 14px;
        background: var(--bandel-background);
        color: var(--bandel-foreground);
        box-sizing: border-box;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

        .rte-link-dialog-field input[type="text"]:focus,
        .rte-link-dialog-field input[type="url"]:focus {
            outline: none;
            border-color: var(--bandel-yellow);
            box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.2);
        }

.rte-link-dialog-options {
    margin-bottom: 0;
}

    .rte-link-dialog-options label {
        display: flex;
        align-items: center;
        font-size: 14px;
        color: var(--bandel-foreground);
        cursor: pointer;
        margin-bottom: 0;
    }

    .rte-link-dialog-options input[type="checkbox"] {
        margin-right: 8px;
        accent-color: var(--bandel-yellow);
    }

.rte-link-dialog-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 16px 20px;
    border-top: 1px solid var(--bandel-job-card-subtitle);
    background: var(--bandel-almost-black);
    border-radius: 0 0 8px 8px;
}

.rte-link-dialog-btn {
    padding: 8px 16px;
    border: 1px solid var(--bandel-foreground);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 70px;
}

.rte-link-dialog-ok {
    background: var(--bandel-yellow);
    color: var(--bandel-almost-black);
    border-color: var(--bandel-yellow);
}

    .rte-link-dialog-ok:hover {
        background: #e6c200;
        border-color: #e6c200;
    }

.rte-link-dialog-remove {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

    .rte-link-dialog-remove:hover {
        background: #c82333;
        border-color: #bd2130;
    }

.rte-link-dialog-cancel {
    background: transparent;
    color: var(--bandel-foreground);
    border-color: var(--bandel-job-card-subtitle);
}

    .rte-link-dialog-cancel:hover {
        background: var(--bandel-job-card-subtitle);
        color: var(--bandel-foreground);
    }

/* Link Error Message */
.rte-link-error {
    position: absolute;
    background: #dc3545;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 10001;
    max-width: 200px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    animation: errorFadeIn 0.3s ease-out;
}

@keyframes errorFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content Styling */
.rte-content h1, .rte-content h2, .rte-content h3,
.rte-content h4, .rte-content h5, .rte-content h6 {
    margin: 16px 0 8px 0;
    font-weight: bold;
}

.rte-content h1 {
    font-size: 2em;
}

.rte-content h2 {
    font-size: 1.5em;
}

.rte-content h3 {
    font-size: 1.3em;
}

.rte-content h4 {
    font-size: 1.1em;
}

.rte-content h5 {
    font-size: 1em;
}

.rte-content h6 {
    font-size: 0.9em;
}

.rte-content p {
    margin: 8px 0;
}

.rte-content blockquote {
    margin: 16px 0;
    padding: 8px 16px;
    border-left: 4px solid #007bff;
    background: transparent;
}

.rte-content pre {
    background: var(--bandel-background);
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 12px;
    font-family: 'Courier New', monospace;
    overflow-x: auto;
    white-space: pre-wrap;
}

.rte-content ul, .rte-content ol {
    margin: 8px 0;
    padding-left: 24px;
    list-style: revert !important;
}

.rte-content li {
    margin: 4px 0;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .rte-link-dialog {
        width: 90vw;
        max-width: 350px;
        left: 5vw !important;
        right: 5vw !important;
    }

    .rte-link-dialog-footer {
        flex-wrap: wrap;
    }

    .rte-link-dialog-btn {
        flex: 1;
        min-width: 80px;
    }
}

.rte-mention {
    background: var(--bandel-yellow);
    color: var(--bandel-almost-black);
    padding: 2px 6px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    margin: 0 2px;
    transition: all 0.2s ease-in-out;
}

    .rte-mention:hover {
        filter: brightness(1.2)
    }

/* Mention dialog */
.rte-mention-dialog {
    background: var(--bandel-almost-black);
    color: lightgray;
    border: 1px solid var(--bandel-foreground);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    max-height: 200px;
    overflow-y: auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    width: 300px;
}

.rte-mention-list {
    padding: 4px 0;
    background: var(--bandel-background);
}

.rte-mention-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .rte-mention-item:hover,
    .rte-mention-item.selected {
        background: var(--bandel-yellow);
        color: var(--bandel-almost-black);
    }

.rte-mention-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
}

.rte-mention-info {
    flex: 1;
}

.rte-mention-name {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.2;
}

.rte-mention-username {
    font-size: 12px;
    opacity: 0.7;
    line-height: 1.2;
}

.rte-mention-placeholder {
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 6px;
    border-radius: 12px;
    font-weight: 500;
    display: inline-block;
    margin: 0 2px;
}

