

.ua-hotel-search { margin: 0; padding: 0; }
.ua-hotel-search--embedded { margin: 0; padding: 0; }

.ua-hotel-bar {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #ececec;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    padding: 3px 6px;
    gap: 4px;
    min-height: 44px;
    position: relative;
    z-index: 1;
}

.ua-hotel-field {
    position: relative;
    flex: 1;
    min-height: 34px;
    padding: 2px 10px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.ua-hotel-field + .ua-hotel-field {
    border-left: 1px solid #eee;
    border-radius: 0;
}

.ua-hotel-field:hover {
    background: #f7f7f7;
    border-color: #e0e0e0;
}

.ua-hotel-icon {
    font-size: 16px;
    opacity: 0.75;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #2f4449;
}

.ua-hotel-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ua-hotel-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.ua-hotel-label {
    font-size: 10px;
    color: #999;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1;
}

.ua-hotel-value {
    font-size: 13px;
    color: #2f4449;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.ua-hotel-field:hover .ua-hotel-value { color: #fabe0c; }

.ua-hotel-submit {
    background: #fabe0c;
    color: #2f4449;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    min-width: 110px;
    height: 34px;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.ua-hotel-submit:hover {
    background: #f5b700;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(250, 190, 12, 0.3);
}

.ua-hotel-submit .ua-hotel-icon svg { width: 18px; height: 18px; }

.ua-hotel-duration-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 320px;
    max-width: 360px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
    padding: 16px;
    z-index: 9999;
    cursor: default;
    text-align: left;
}

.ua-hotel-dd__hint {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #fff8e1;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 14px;
}

.ua-hotel-dd__hint-icon {
    flex-shrink: 0;
    color: #b45309;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ua-hotel-dd__hint-icon svg { width: 18px; height: 18px; }

.ua-hotel-dd__hint-text {
    font-size: 12px;
    line-height: 1.4;
    color: #78350f;
}

.ua-hotel-dd__btns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.ua-hotel-dd__btn {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 6px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ua-hotel-dd__btn:hover {
    background: #fff8e1;
    border-color: #fabe0c;
}

.ua-hotel-dd__btn.active {
    background: #fabe0c;
    color: #2f4449;
    border-color: #fabe0c;
    font-weight: 600;
}

.ua-hotel-dd__custom {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    margin-bottom: 14px;
}

.ua-hotel-dd__custom label {
    font-size: 12px;
    color: #6b7280;
    flex: 1;
}

.ua-hotel-dd__custom-input {
    width: 70px;
    padding: 6px 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 13px;
    text-align: center;
}

.ua-hotel-dd__custom-input:focus {
    outline: none;
    border-color: #fabe0c;
    box-shadow: 0 0 0 3px rgba(250, 190, 12, 0.2);
}

.ua-hotel-dd__footer {
    display: flex;
    justify-content: flex-end;
}

.ua-hotel-dd__apply {
    background: #fabe0c;
    color: #2f4449;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ua-hotel-dd__apply:hover {
    background: #f5b700;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .ua-hotel-bar {
        flex-direction: column;
        gap: 6px;
        padding: 6px;
    }

    .ua-hotel-field {
        width: 100%;
        flex: 1 1 100%;
        border-left: none !important;
        border-radius: 10px !important;
    }

    .ua-hotel-submit {
        width: 100%;
        justify-content: center;
        margin-top: 0;
    }

    .ua-hotel-duration-dropdown {
        left: 0;
        right: 0;
        transform: none;
        min-width: 0;
        max-width: none;
    }
}

.ua-qs-modal-trigger .ua-hotel-bar {
    min-height: 58px;
    padding: 6px 10px;
    margin: 0 6px;
    gap: 6px;
}

.ua-qs-modal-trigger .ua-hotel-field {
    min-height: 46px;
    padding: 6px 14px;
    gap: 14px;
}

.ua-qs-modal-trigger .ua-hotel-submit {
    min-height: 44px;
}

.ua-qs-modal-trigger .ua-hotel-field:hover .ua-hotel-value {
    color: #374151;
}

.ua-qs-modal-trigger .ua-hotel-label  { font-size: 11px !important; }
.ua-qs-modal-trigger .ua-hotel-value  { font-size: 15px !important; font-weight: 500; }
.ua-qs-modal-trigger .ua-hotel-submit { font-size: 15px; }

.ua-hotel-search .ua-hotel-bar {
    display: flex !important;
    align-items: stretch !important;
    background: #ffffff !important;
    border-radius: 10px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.08), 0 1px 2px -1px rgba(0, 0, 0, 0.04) !important;
    padding: 0 !important;
    gap: 0 !important;
    min-height: 54px !important;
    overflow: hidden !important;
}

.ua-hotel-search .ua-hotel-bar .ua-hotel-field {
    flex: 1 !important;
    min-width: 0 !important;
    padding: 8px 14px !important;
    background: #ffffff !important;
    border: none !important;
    border-right: 1px solid #e2e8f0 !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-align: left !important;
    transition: background-color 0.15s ease !important;
    min-height: auto !important;
    font-family: inherit;
}

.ua-hotel-search .ua-hotel-bar .ua-hotel-field:last-of-type {
    border-right: none !important;
}

.ua-hotel-search .ua-hotel-bar .ua-hotel-field:hover {
    background: #f8fafc !important;
}

.ua-hotel-search .ua-hotel-bar .ua-hotel-field.active {
    background: #fffbeb !important;
}

.ua-hotel-search .ua-hotel-bar .ua-hotel-icon {
    flex-shrink: 0 !important;
    width: 22px !important;
    height: 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fabe0c !important;
    opacity: 1 !important;
}

.ua-hotel-search .ua-hotel-bar .ua-hotel-icon svg {
    width: 100% !important;
    height: 100% !important;
    stroke: #fabe0c !important;
    fill: none !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.ua-hotel-search .ua-hotel-bar .ua-hotel-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.ua-hotel-search .ua-hotel-bar .ua-hotel-label {
    display: block !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #94a3b8 !important;
    line-height: 1 !important;
    margin-bottom: 1px !important;
}

.ua-hotel-search .ua-hotel-bar .ua-hotel-value {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.2 !important;
}

.ua-hotel-search .ua-hotel-bar .ua-hotel-field:hover .ua-hotel-value {
    color: #1e293b !important;
}

.ua-hotel-search .ua-hotel-bar .ua-hotel-submit {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    padding: 0 26px !important;
    min-width: 72px !important;
    width: auto !important;
    height: auto !important;
    background: #fabe0c !important;
    color: #1e293b !important;
    border: none !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    cursor: pointer !important;
    transition: background-color 0.15s ease !important;
    box-shadow: none !important;
    margin: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    white-space: nowrap;
}

.ua-hotel-search .ua-hotel-bar .ua-hotel-submit:hover {
    background: #eab308 !important;
    transform: none !important;
}

.ua-hotel-search .ua-hotel-bar .ua-hotel-submit .ua-hotel-icon {
    width: 22px !important;
    height: 22px !important;
    color: #1e293b !important;
    opacity: 1 !important;
}

.ua-hotel-search .ua-hotel-bar .ua-hotel-submit svg {
    width: 22px !important;
    height: 22px !important;
    stroke: #1e293b !important;
    fill: none !important;
    stroke-width: 2.5 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

@media (max-width: 768px) {
    .ua-hotel-search .ua-hotel-bar {
        flex-direction: column !important;
        min-height: auto !important;
    }
    .ua-hotel-search .ua-hotel-bar .ua-hotel-field {
        border-right: none !important;
        border-bottom: 1px solid #e2e8f0 !important;
        width: 100% !important;
    }
    .ua-hotel-search .ua-hotel-bar .ua-hotel-field:last-of-type {
        border-bottom: none !important;
    }
    .ua-hotel-search .ua-hotel-bar .ua-hotel-submit {
        width: 100% !important;
        padding: 16px !important;
        border-radius: 0 0 10px 10px !important;
    }
}

@media (min-width: 769px) {
  .ua-qs-modal-trigger .ua-hotel-bar .ua-hotel-submit {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    align-self: stretch !important;
    margin: 6px !important;
    padding: 0 22px !important;
    min-width: 60px !important;
    width: auto !important;
    height: auto !important;
    background: #fabe0c !important;
    color: #1e293b !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    cursor: pointer !important;
    transition: background-color .15s ease !important;
    font-size: 0 !important;
    line-height: 0 !important;
    white-space: nowrap !important;
  }
  .ua-qs-modal-trigger .ua-hotel-bar .ua-hotel-submit:hover {
    background: #eab308 !important;
    transform: none !important;
    box-shadow: none !important;
  }
  .ua-qs-modal-trigger .ua-hotel-bar .ua-hotel-submit svg {
    width: 22px !important;
    height: 22px !important;
    stroke: #1e293b !important;
    fill: none !important;
    stroke-width: 2.5 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }
}
@media (min-width: 769px) {
  .ua-qs-modal-trigger .ua-hotel-bar { margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; }
}

@media (min-width: 769px) {
  .ua-qs-modal-trigger .ua-hotel-bar {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 4px -1px rgba(0,0,0,.08), 0 1px 2px -1px rgba(0,0,0,.04) !important;
    padding: 0 !important;
    gap: 0 !important;
    min-height: 54px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .ua-qs-modal-trigger .ua-hotel-bar .ua-hotel-field {
    min-width: 0 !important;
    padding: 8px 14px !important;
    background: transparent !important;
    border: none !important;
    border-right: 1px solid #e2e8f0 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    min-height: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }
}
