body {
    font-family: 'Barlow Semi Condensed', sans-serif;
    color: #333;
    background-color: #f8f9fa;
    /* background-image: url('https://esdrom.ro/locker/bg1.jpg'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: rgb(248, 247, 247);
    background-blend-mode: overlay;
    min-height: 100vh;
    line-height: 1.2;
}

p {
    line-height: 1.2;
}

.h1,
h1 {
    /* font-size: calc(2rem + 2vw); */
    font-weight: 900;
}

h2 {
    font-weight: 900;
}

.form-container {
    /* min-width: 700px; */
    max-width: 800px;
    border-radius: 0px;
    font-size: small;
}

input::placeholder,
select::placeholder,
textarea::placeholder {
    color: #6c757d;
    font-style: italic;
}

form-select-lg::placeholder {
    color: #6c757d;
    font-style: italic;
}

.p-4 {
    padding: 4rem !important;
}

#qr-container {
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

#response {
    /* max-height: 60vh; */
    overflow-y: auto;
    padding: 15px;
    margin-top: 20px;
    /* background-color: #f8f9fa; */
    border-radius: 8px;
    scroll-behavior: smooth;
    font-size: 16px;
    font-weight: 600;
}

.disabled-success {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    cursor: default !important;
}

button[disabled] {
    opacity: 0.7;
    cursor: wait !important;
}

#cancelBtn {
    transition: all 0.3s ease;
}

#cancelStatus {
    min-height: 50px;
}

form+form {
    margin-top: 10px;
}

select:hover {
    background-color: transparent;
    color: #010101;
}

.form-select:focus,
.form-control:focus {
    /* border: none; */
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2) !important;
}

.form-control-lg {
    min-height: calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));
    padding: .5rem 1rem;
    font-size: 1.3em;
    border-radius: 0px;
    border: 1px solid #ced4da;
}

.form-select-lg {
    min-height: calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));
    padding: .5rem 1rem;
    font-size: 1.3em;
    border-radius: 0px;
    border: 1px solid #ced4da;
    font-style: italic;
}

.btn-group-lg, .btn,
.btn-lg {
    --bs-btn-padding-y: 0.5rem;
    --bs-btn-padding-x: 1rem;
    --bs-btn-font-size: 1.25rem;
    --bs-btn-font-weight: 500;
    --bs-btn-border-radius: 0px;
    background: #E0091D !important;
    --bs-btn-border-color: transparent !important;
}

.btn:hover {
    background: #010101 !important;
    box-shadow: 0 4px 10px 0 rgb(0 0 0 / 20%), 0 4px 20px 0 rgb(0 0 0 / 10%);
    --bs-btn-border-color: transparent !important;

}

.is-valid {
    border-color: #28a745 !important;
}

.is-invalid {
    border-color: #dc3545 !important;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
    width: 100%;
}

.text-danger {
    color: #dc3545 !important;
    font-size: 0.875em;
}

.input-group-text {
    background-color: #f8f9fa;
    border-right: none;
    width: 45px;
}

.form-control,
.form-select {
    /* border-left: none; */
    padding-left: 10;
}

.input-group:focus-within .input-group-text {
    background-color: #e9ecef;
    transition: background-color 0.3s;
}

/* Stiluri pentru popup */
.modal-content {
    border-radius: 0px;
}

.modal-header {
    background-color: #E0091D;
    color: white;
    border-bottom: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.btn-close {
    color: #ced4da;
    --bs-btn-close-color: #ffffff;
}

.modal-footer .btn {
    min-width: 100px;
}

.form-check-input {
    width: 15px;
    height: 15px;
    margin-right: 10px;
    border-color: #545454;
}

.form-check-label {
    font-size: 16px;
    margin-top: 3px;
}

.form-check-input-termeni {
    width: 15px;
    height: 15px;
    margin-right: 10px;
    border-color: #000000;
}

.form-check-label-termeni {
    font-size: 16px;
    margin-top: 3px;
    display: contents;
}

.form-check-input-termeni.is-invalid {
    border-color: #dc3545;
    outline: 0;
    box-shadow: inset 0 0 0 0.25rem rgba(220, 53, 69, .25);
}

.form-check-label-termeni.invalid-feedback {
    display: block;
    color: #dc3545;
    margin-top: 0.25rem;
}

/* .form-check-termeni {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.5rem;
}

.form-check-input-termeni {
    position: absolute;
    left: 0;
    margin-top: 0.3em;
    margin-left: 0;
} */

.invalid-feedback-termeni {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.small {
    color: #000000;
}

.small,
small {
    font-size: 1em;
}

.form-check-termeni{
    display: block;
    min-height: 1.5rem;
    padding-left: 0em;
    margin-bottom: .125rem;
}

.is-holiday {
    background-color: #fff8e6;
    border-color: #ffd700;
}

.is-holiday+.input-group-text {
    background-color: #fff8e6;
    color: #ff6b6b;
}

#interval_orar:disabled {
    background-color: #f8f9fa;
    opacity: 1;
    cursor: not-allowed;
}

/* Stiluri pentru selectorul de limbă */
.language-switcher {
    margin-bottom: 1rem;
}

.language-switcher .btn {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
}

.language-switcher .btn.active {
    background-color: #1428a0;
    color: white;
    border-color: #1428a0;
}

.program-info {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.program-info strong {
    color: #1428a0;
    font-weight: 600;
}

.btn-lng {
    font-size: 0.875rem;
    border: 0px white;
    background-color: #ffffff;
}
.btn-lng.active {
    font-size: 0.875rem;
    border: 0px white;
    background-color: #000000;
    color: #f8f9fa;
}

/* option[value="BUCURESTI"] {
    color: #dc3545 !important;
    font-weight: bold !important;
} */

@media (max-width: 768px) {
    .p-4 {
        padding: 1.5rem !important;
    }
    .h1, h1 {
        font-size: calc(2rem + 2vw);
        font-weight: 900;
    }
    .form-check-label {
        font-size: 16px;
        /* margin-top: 3px; */
        color: #000000;
    }
    label {
        display: block;   
    }
    .form-check-input-termeni {
        width: 15px;
        height: 15px;
        margin-right: 10px;
        border-color: #000000;
    }
    input::placeholder,
    select::placeholder,
    textarea::placeholder {
        color: #6c757d;
        font-style: italic;
        font-size: 12px;
    }
    form-select-lg::placeholder {
        color: #6c757d;
        font-style: italic;
        font-size: 12px;
    }

    .form-control-lg {
        min-height: calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));
        padding: .3rem .5rem;
        font-size: 12px;
        border-radius: 0px;
        border: 1px solid #ced4da;
    }

    .form-select-lg {
        min-height: calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));
        padding: .3rem .5rem;
        font-size: 12px;
        border-radius: 0px;
        border: 1px solid #ced4da;
        font-style: italic;   
    }
}