/* Поиск по теплоходам на архиве /cruize-ships/.
   Панель в духе основного поиска сайта: PT Sans, #616f7b, кнопка #72a7d5. */

.np-ship-search {
    box-sizing: border-box;
    margin: 0 0 22px;
    padding: 16px 18px 14px;
    background: #f7fafc;
    border: 1px solid #dce7ee;
    border-radius: 6px;
    color: #616f7b;
    font-family: "PT Sans", sans-serif;
}

.np-ship-search *,
.np-ship-search *::before,
.np-ship-search *::after {
    box-sizing: border-box;
}

.np-ship-search-label {
    display: block;
    margin: 0 0 8px;
    color: #616f7b;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.np-ship-search-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.np-ship-search-field {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

.np-ship-search-icon {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 14px;
    width: 20px;
    height: 20px;
    color: #84929c;
    transform: translateY(-50%);
    pointer-events: none;
}

.np-ship-search-field input[type="text"] {
    display: block;
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 9px 14px 9px 42px;
    border: 1px solid #c9d9e5;
    border-radius: 4px;
    background: #fff;
    color: #616f7b;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    outline: none;
    box-shadow: none;
}

.np-ship-search-field input[type="text"]::placeholder {
    color: #84929c;
    opacity: 1;
}

.np-ship-search-field input[type="text"]:focus {
    border-color: #72a7d5;
    box-shadow: 0 0 0 2px rgba(114, 167, 213, 0.16);
}

.np-ship-search-submit {
    flex: 0 0 auto;
    min-width: 120px;
    height: 44px;
    margin: 0;
    padding: 0 22px;
    border: 1px solid #72a7d5;
    border-radius: 4px;
    background: #72a7d5;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.np-ship-search-submit:hover,
.np-ship-search-submit:focus {
    background: #4e7b9f;
    border-color: #4e7b9f;
    color: #fff;
}

.np-ship-search-hint {
    margin: 9px 0 0;
    color: #84929c;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}

@media (max-width: 700px) {
    .np-ship-search {
        margin-bottom: 20px;
        padding: 14px;
    }

    .np-ship-search-label {
        margin-bottom: 7px;
        font-size: 14px;
    }

    .np-ship-search-row {
        flex-direction: column;
        gap: 10px;
    }

    .np-ship-search-field,
    .np-ship-search-submit {
        width: 100%;
    }

    .np-ship-search-submit {
        min-width: 0;
        padding: 0 16px;
        font-size: 15px;
    }

    .np-ship-search-hint {
        margin-top: 8px;
        font-size: 12px;
    }
}
