body {
    font-weight: 400;
}
.error {
    color: #dc3545;
}

/* Alpine.js: prevent flash of uninitialized content */
[x-cloak] {
    display: none !important;
}

/* Utilities */
.h-80px { height: 80px !important; }

/* Multilingual field styling */
.multilingual-field .field-group {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.multilingual-field .field-group .form-control {
    flex: 1 1 auto;
    min-width: 0;
}

.multilingual-field .btn-translate {
    flex: 0 0 auto;
    margin-left: 0 !important;
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #dc3545 !important;
}

.upload-file label {
    background-position: top 35% center !important;
}

.upload-file label span {
    font-size: 1em;
    line-height: 1.3em;
    top: 52% !important;
}
.small-images .upload-file label span {
    font-size: 1rem;
}
@media (max-width: 1600px) {
    .small-images .upload-file label span {
        font-size: 0.7rem;
    }
}
@media (max-width: 600px) {
    .small-images .upload-file label span {
        font-size: 1rem;
    }
}
@media (max-width: 500px) {
    .small-images .upload-file label span {
        font-size: 0.5rem;
    }
}
.accordion-body {
    font-weight: 100;
}
.page-body {
    font-weight: 100;
}
.uploaded-file {
    padding-top: calc(56.25% - 2px);
}
#nav-icon {
    margin-right: 8px;
}

.nav-tab-ui .nav-item .nav-link {
    font-size: 15px;
}

.company-page .company-slide .splide__slide img {
    object-position: top;
}

#login-page {
    background-color: transparent !important;
    left: 105%;
}
.home-page .home-calculation:before {
    background: transparent linear-gradient(232deg, #2db2b2 0%, #004080 100%) 0%
        0% repeat;
    height: 100%;
}
@media (min-width: 400px) {
    .company-page .company-images span {
        width: 40px;
        height: 40px;
        bottom: 6px;
        right: 6px;
        padding-top: 7px;
    }
    .company-page .company-images span img {
        width: 24px;
        height: 24px;
    }

    .home-page .home-header .home-nav .nav-link {
        margin-right: 12px;
    }
    .home-page .home-calculation:after {
        display: none;
    }
    .calculator-container label,
    .calculator-bottom-part strong {
        color: #fff;
    }
    .home-page .home-section-box {
        padding: 40px 27px 0px;
    }
    .home-section-box p {
        height: 80px !important;
    }
    .addReferenceButton {
        padding: 10px 15px;
    }
    .addReferenceButtonText {
        float: left;
        font-size: 14px;
        padding-left: 5px;
        padding-top: 2px;
    }
    .addReferenceButtonPlus {
        float: left;
        font-size: 16px;
        font-weight: bold;
    }
    .addReferenceButton img {
        padding-top: 2px;
    }
    .btn.btn-share {
        font-size: 14px;
    }
}
@media (min-width: 768px) {
    .create-page aside {
        height: auto !important;
    }
    .company-page .company-images span {
        width: 40px;
        height: 40px;
        bottom: 6px;
        right: 6px;
        padding-top: 7px;
    }
    .company-page .company-images span img {
        width: 26px;
        height: 26px;
    }
    .home-page .home-calculation:after {
        display: block;
    }
    .calculator-container label,
    .calculator-bottom-part strong {
        color: #000;
    }
    .home-page .home-section-box {
        padding: 80px 27px 40px;
    }
    .addReferenceButton {
        padding: 4px 20px 6px;
    }
    .addReferenceButtonText {
        float: left;
        font-size: 14px;
        padding-left: 5px;
        padding-top: 10px;
    }
    .addReferenceButtonPlus {
        float: left;
        font-size: 26px;
    }
    .addReferenceButton img {
        padding-top: 1px;
    }
    .btn.btn-share {
        font-size: 19px;
    }
}

@media (min-width: 992px) {
    .company-page .company-images span {
        width: 40px;
        height: 40px;
        bottom: 6px !important;
        right: 6px;
        padding-top: 7px !important;
    }
    .company-page .company-images span img {
        width: 26px;
        height: 26px;
    }
    .addReferenceButton {
        padding: 5px 25px 7px;
    }
    .addReferenceButtonText {
        float: left;
        font-size: 15px;
        padding-left: 8px;
        padding-top: 10px;
        font-weight: 600;
    }
    .addReferenceButtonPlus {
        float: left;
        font-size: 26px;
    }
    .addReferenceButton img {
        padding-top: 1px;
    }
}

@media (min-width: 1200px) {
    .home-page .testimonials .owl-stage-outer .blockquote {
        font-size: 20px;
    }
    .home-page .testimonials .owl-stage-outer figcaption {
        font-size: 20px;
    }
    .h1 {
        font-size: 48px;
    }
    .h2 {
        font-size: 40px;
    }
    .h3 {
        font-size: 35px;
    }
    .home-page .home-head .row .home-head-text:after {
        top: 0px;
    }

    .company-page .company-images span {
        width: 60px;
        height: 60px;
        bottom: 6px;
        right: 6px;
        padding-top: 12px;
    }
    .company-page .company-images span img {
        width: 42px;
        height: 42px;
        margin-top: 2px;
    }

    .home-page .home-header .home-nav .nav-link {
        margin-right: 26px;
    }
}

.h2-reference {
    font-size: 40px;
    position: relative;
    margin-bottom: 35px;
    padding-bottom: 20px;
    color: #d67d2d;
}
.h2-reference::after {
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    height: 5px;
    width: 75px;
    content: "";
    background-color: #d67d2d;
}
.h4-reference {
    color: #d67d2d;
}
.reference-person-name {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 15px;
    color: #d67d2d;
}
.icon-white {
    -webkit-filter: brightness(0) invert(1) !important;
    filter: brightness(0) invert(1) !important;
}
.buttons-reference-bottom .btn img.icon-white {
    -webkit-filter: brightness(0) invert(1) !important;
    filter: brightness(0) invert(1) !important;
}

.lang-label {
    margin-left: 1rem;
    font-size: 0.75rem;
    font-weight: bold;
}

.character-count {
    margin-right: 1rem;
    font-size: 0.75rem;
}

.btn-orange:disabled,
.btn-orange[disabled] {
    background: linear-gradient(251deg, #e65e15 0%, #e87924 100%);
    opacity: 0.65;
    color: #fff;
}
