html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}
.mud-tabs-tabbar {
    overflow: hidden;
}
.customToastMessage {
    color: white;
    width: 300px;
    margin-right: 20px;
    margin-top: 60px;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    position: fixed; /* Fixed position so it doesn't affect other elements */
    top: 20px; /* Position it at the top-right corner */
    right: 20px;
    z-index: 1000; /* High z-index to ensure it's on top of other elements */
    animation: fadeOutToast 5s ease forwards;
}
/* Animation for fading out and sliding up the toast */
@keyframes fadeOutToast {
    0% {
        opacity: 0.9;
        transform: translateY(0);
    }

    80% {
        opacity: 0.9;
        transform: translateY(-10px);
    }

    100% {
        opacity: 0;
        transform: translateY(-30px);
    }
}
.left-panel {
    width: 50%;
    transition: width .3s ease;
}

    .left-panel.collapsed {
        width: 30%; /* vagy amire akarod */
    }
.mud-grid-item {
    transition: flex-basis .3s ease, max-width .3s ease;
}
.multi-line-cell {
    max-height: 3.6em; /* kb 2 sor */
    overflow: hidden;
    position: relative;
    line-height: 1.8em;
}
    .multi-line-cell::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1.2em;
        background: linear-gradient( to bottom, rgba(255,255,255,0), rgba(255,255,255,1) );
    }

.status-active {
    background-color: #004b70 !important;
    color: white !important;
}
.small-document-tabs .mud-tab {
    min-height: 34px !important;
    padding: 4px 12px !important;
    font-size: 13px !important;
    min-width: auto !important;
}


.timegate-hero {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(0, 75, 112, .08);
    background: radial-gradient(circle at 78% 35%, rgba(122, 173, 211, .20), transparent 26%), linear-gradient(135deg, #ffffff 0%, #f8fbfd 58%, #eef7fb 100%);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.timegate-hero-content {
    position: relative;
    min-height: 170px;
    padding: 26px 28px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.hero-title {
    color: #004b70;
    font-weight: 900 !important;
    letter-spacing: -.02em;
}

.hero-subtitle {
    color: #1f2937;
    font-weight: 600;
    margin-top: 8px;
}

.hero-supplier-name {
    font-weight: 900 !important;
    color: #263238;
    margin-left: 8px;
}

.active-nav-chip {
    background-color: #263238 !important;
    color: white !important;
    font-weight: 700;
}

.nav-home-chip {
    width: 34px;
    min-width: 34px;
    height: 28px;
    justify-content: center;
    color: #004b70;
    background-color: rgba(122, 173, 211, .10);
}

.hero-user-box {
    position: absolute;
    top: 24px;
    right: 28px;
    text-align: right;
    z-index: 2;
}

.logout-link {
    border: none;
    background: none;
    padding: 6px 0 0 0;
    cursor: pointer;
    color: rgba(0, 0, 0, .55);
    font-size: 13px;
}

    .logout-link:hover {
        color: #004b70;
        text-decoration: underline;
    }

.dashboard-card {
    border-radius: 18px !important;
    border: 1px solid rgba(0, 75, 112, .08);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05) !important;
}

.booking-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
}

.bookings-card {
    background: #ffffff;
}

.card-title {
    color: #003f5f;
    font-weight: 800 !important;
}

.primary-action-button {
    height: 42px;
    border-radius: 10px !important;
    background: linear-gradient(90deg, #004b70 0%, #006b94 100%) !important;
    color: white !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 16px rgba(0, 75, 112, .18);
}

    .primary-action-button:hover {
        box-shadow: 0 10px 20px rgba(0, 75, 112, .25);
        filter: brightness(1.03);
    }

.clean-bookings-table .mud-table-head {
    background-color: #f8fbfd;
}

.clean-bookings-table .mud-table-cell {
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.clean-bookings-table .mud-table-row:hover {
    background-color: rgba(122, 173, 211, .08) !important;
}

/* Finom hero illusztráció CSS-ből, külön kép nélkül */
/*.timegate-hero-visual {
    position: absolute;
    right: 210px;
    bottom: 0;
    width: 430px;
    height: 145px;
    opacity: .95;
    pointer-events: none;
}

.sun {
    position: absolute;
    right: 180px;
    top: 16px;
    width: 66px;
    height: 66px;
    border-radius: 999px;
    background: rgba(122, 173, 211, .18);
}

.warehouse {
    position: absolute;
    right: 135px;
    bottom: 18px;
    width: 88px;
    height: 58px;
    background: linear-gradient(135deg, rgba(0,75,112,.18), rgba(122,173,211,.34));
    clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
    border-radius: 4px;
}

.truck {
    position: absolute;
    bottom: 16px;
    height: 24px;
    border-radius: 5px;
    background: #0b6f95;
}

    .truck::before,
    .truck::after {
        content: "";
        position: absolute;
        bottom: -6px;
        width: 10px;
        height: 10px;
        border-radius: 999px;
        background: #263238;
    }

    .truck::before {
        left: 10px;
    }

    .truck::after {
        right: 10px;
    }

.truck-one {
    right: 245px;
    width: 78px;
}

.truck-two {
    right: 58px;
    width: 68px;
    background: #d97706;
}

.barrier {
    position: absolute;
    right: 120px;
    bottom: 21px;
    width: 54px;
    height: 5px;
    background: repeating-linear-gradient( 90deg, #e31e24 0 8px, #ffffff 8px 16px );
    transform: rotate(-28deg);
    transform-origin: left center;
    border-radius: 999px;
}

.tree {
    position: absolute;
    bottom: 16px;
    width: 16px;
    height: 42px;
    background: #8b5e34;
    border-radius: 999px;
}

    .tree::before {
        content: "";
        position: absolute;
        left: -12px;
        top: -18px;
        width: 40px;
        height: 40px;
        border-radius: 999px;
        background: #7cb342;
    }

.tree-one {
    right: 340px;
}

.tree-two {
    right: 25px;
}

@media (max-width: 1200px) {
    .timegate-hero-visual {
        display: none;
    }

    .hero-user-box {
        position: static;
    }

    .timegate-hero-content {
        flex-direction: column;
    }
}*/

.timegate-hero-image-wrap {
    position: absolute;
    right: 210px;
    bottom: 0;
    width: 620px;
    height: 150px;
    overflow: hidden;
    pointer-events: none;
    opacity: .95;
    border-bottom-right-radius: 18px;
}

.timegate-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 62%;
    filter: drop-shadow(0 10px 18px rgba(15, 23, 42, .10));
}

@media (max-width: 1400px) {
    .timegate-hero-image-wrap {
        right: 170px;
        width: 520px;
    }
}

@media (max-width: 1200px) {
    .timegate-hero-image-wrap {
        display: none;
    }
}

.product-hero {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(0, 75, 112, .08);
    background: radial-gradient(circle at 88% 24%, rgba(122, 173, 211, .20), transparent 24%), linear-gradient(135deg, #ffffff 0%, #fbfdfe 58%, #eef7fb 100%);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.product-hero-content {
    min-height: 150px;
    padding: 26px 28px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.hero-title {
    color: #004b70;
    font-weight: 900 !important;
    letter-spacing: -.02em;
}

.hero-subtitle {
    color: #1f2937;
    font-weight: 700;
    margin-top: 8px;
}

.hero-supplier-name {
    font-weight: 900 !important;
    color: #263238;
    margin-left: 8px;
}

.product-hero-actions {
    text-align: right;
    min-width: 360px;
}

.active-nav-chip {
    background-color: #263238 !important;
    color: white !important;
    font-weight: 700;
}

.nav-home-chip {
    width: 34px;
    min-width: 34px;
    height: 28px;
    justify-content: center;
    color: #004b70;
    background-color: rgba(122, 173, 211, .10);
}

.logout-link {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    color: rgba(0, 0, 0, .55);
    font-size: 13px;
}

    .logout-link:hover {
        color: #004b70;
        text-decoration: underline;
    }

.dashboard-card {
    border-radius: 18px !important;
    border: 1px solid rgba(0, 75, 112, .08);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05) !important;
    background: #ffffff;
}

.product-list-card,
.product-form-card {
    min-height: 560px;
}

.completion-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
}

.status-filter-row {
    flex-wrap: wrap;
}

.status-filter-button {
    border-radius: 999px !important;
    min-height: 34px !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
}

.clean-product-table {
    border: 1px solid rgba(15, 23, 42, .06);
    border-radius: 14px;
    overflow: hidden;
}

    .clean-product-table .mud-table-head {
        background-color: #f8fbfd;
    }

    .clean-product-table .mud-table-cell {
        border-bottom: 1px solid rgba(15, 23, 42, .08);
    }

    .clean-product-table .mud-table-row:hover {
        background-color: rgba(122, 173, 211, .08) !important;
    }

.table-action-button {
    border-radius: 999px !important;
    font-weight: 800 !important;
    font-size: 12px !important;
}

.product-tabs {
    border-radius: 18px;
}

    .product-tabs .mud-tabs-toolbar {
        border-bottom: 1px solid rgba(15, 23, 42, .08);
        padding-left: 24px;
    }

    .product-tabs .mud-tab {
        min-height: 46px !important;
        font-weight: 800 !important;
        font-size: 13px !important;
        letter-spacing: .02em;
    }

        .product-tabs .mud-tab.mud-tab-active {
            color: #004b70 !important;
        }

.product-main-field {
    font-weight: 700;
    background-color: white;
}

.product-section-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}



.secondary-action-button {
    border-radius: 999px !important;
    font-weight: 800 !important;
    color: #263238 !important;
    border-color: rgba(15, 23, 42, .22) !important;
    background: rgba(255, 255, 255, .78) !important;
}

.primary-action-button-small {
    border-radius: 999px !important;
    background: linear-gradient(90deg, #004b70 0%, #006b94 100%) !important;
    color: white !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 16px rgba(0, 75, 112, .18);
}

@media (max-width: 1200px) {
    .product-hero-content {
        flex-direction: column;
    }

    .product-hero-actions {
        text-align: left;
        min-width: 0;
        width: 100%;
    }

    .product-section-list {
        grid-template-columns: 1fr;
    }
}

.hero-subtitle-wrap {
    margin-top: 8px;
    flex-wrap: wrap;
}

.helit-product-chip {
    border-color: rgba(0, 75, 112, .25) !important;
    color: #004b70 !important;
    background-color: rgba(122, 173, 211, .10) !important;
    font-weight: 700;
}

.registration-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px 72px 16px;
    box-sizing: border-box;
}

.registration-card {
    width: 100%;
    border-radius: 22px;
    padding: 34px;
    border: 1px solid rgba(0, 75, 112, .08);
    background: radial-gradient(circle at 88% 18%, rgba(122, 173, 211, .18), transparent 28%), linear-gradient(135deg, #ffffff 0%, #fbfdfe 58%, #eef7fb 100%);
    box-shadow: 0 16px 38px rgba(15, 23, 42, .08);
}

.registration-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.registration-title {
    color: #004b70;
    font-weight: 900 !important;
    letter-spacing: -.02em;
}

.registration-subtitle {
    color: #1f2937;
    font-weight: 600;
    margin-top: 8px;
}

.registration-submit {
    height: 44px;
}

.uploaded-documents-section {
    padding: 0 24px 24px 24px;
}

.clean-document-table {
    border: 1px solid rgba(15, 23, 42, .06);
    border-radius: 14px;
    overflow: hidden;
}

    .clean-document-table .mud-table-head {
        background-color: #f8fbfd;
    }

    .clean-document-table .mud-table-cell {
        border-bottom: 1px solid rgba(15, 23, 42, .08);
    }

.product-field-with-na {
    width: 100%;
    align-items: flex-start;
}

    .product-field-with-na .mud-input-control {
        flex: 1;
    }

.not-relevant-checkbox {
    min-width: 145px;
    padding-top: 8px;
}

@media (max-width: 900px) {
    .product-field-with-na {
        flex-direction: column !important;
    }

    .not-relevant-checkbox {
        min-width: 0;
        padding-top: 0;
    }
}