/* header-bookingblack.css — вынесено из inline <style> компонента view/common/header-bookingblack.php */
:root {
    --primary-color: #0F1114;
    --secondary-color: #6b5d4a;
    --text-color: #333333;
    --light-bg: #F8F9FA;
    --dark-bg: #1A1A1A;
}

.modal-backdrop {
    z-index: -1;
}

.modal.show .modal-dialog {
    transform: none;
    background: white;
    box-shadow: 0px 0px 8px rgb(0 0 0 / 20%);
    border-radius: 4px;
}

.btn:not(:disabled):not(.disabled) {
    background: var(--primary-color);
    border: 0;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:not(:disabled):not(.disabled):hover {
    background: var(--secondary-color);
}

.modal-open .modal {
    background: #06060696;
}

.modal-content .form-group label {
    font-weight: 500;
    margin: 0;
    color: var(--text-color);
}

.modal-content .form-control {
    margin-bottom: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px;
    transition: all 0.3s ease;
}

.modal-content .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(154, 138, 120, 0.25);
}

.formcompanyblock {
    margin: 22px -15px 11px;
    padding: 9px 0;
    text-align: center;
    font-weight: 600;
    background: #fafafa;
    color: var(--text-color);
}

.modal-content .btn:not(:disabled):not(.disabled) {
    width: 100%;
    background: var(--primary-color);
    font-weight: 500;
}

.fpbil {
    background: none;
    border: none;
    margin: 20px 0 0;
    color: var(--secondary-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.modal-body .form-group {
    margin-bottom: 6px;
}

.closelimomodal {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    color: #666;
    margin-left: auto;
}

.closelimomodal:hover {
    color: #000;
    transform: rotate(90deg);
}

.closelimomodal svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
}

.whitetheme .container {
    width: 90%;
    max-width: 1450px;
}

@media(max-width: 1380px) {
    .whitetheme .container {
        width: 100%;
    }
}

@media(max-width: 769px) {
    .whitetheme .container {
        width: 90%;
    }
}

header.whitetheme {
    background-color: #00000000;
    padding: 29px 0px;
    backdrop-filter: unset;
}

header.whitetheme.blurred {
    background-color: #0000008f;
    padding: 20px 0px;
    backdrop-filter: blur(8px);
}

header.sticky .logo2, header.whitetheme .logo2 {
    filter: invert(1);
}

header .phone a.maail {
    background-color: #ffffff;
    color: #000000;
    line-height: 24px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

header .phone a.maail:hover {
    background-color: var(--secondary-color);
    color: white;
}

header .phone a.tel {
    color: #ffffff;
    font-weight: 500;
}

.phone {
    max-width: fit-content;
}

.close-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
}

@media (max-width: 991px) {
    .close-btn img, .navbar-toggler img {
        width: 29px;
    }
    
    .navbar-toggler {
        filter: none;
    }
    
    header .phone a.tel {
        background-color: #202329db !important;
        color: white !important;
    }
    
    .language .dropdown-toggle {
        color: #000000 !important;
    }
    
    .nav-item.language .dropdown-toggle::after {
        border: 2px solid #414141;
        border-left: 0;
        border-top: 0;
    }
    
    header.whitetheme .navbar-nav li a.nav-link {
        color: #000;
        justify-content: center;
        font-weight: 500;
    }
}

.language .dropdown-toggle {
    color: #ffffff !important;
}


button.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(-135deg);
    margin-top: 3px;
}

header.sticky .language .dropdown-toggle, 
header.whitetheme .language .dropdown-toggle {
    color: #ffffff;
    font-weight: 500;
    font-size: 15px;
}

header.sticky .language li a, 
header.sticky .phone p a, 
header.sticky .navbar-nav li a.nav-link, 
header.whitetheme .phone p a, 
header.whitetheme .navbar-nav li a.nav-link, 
header .phone a.tel {
    color: #ffffff;
    font-weight: 500;
}
