﻿
.pt-search-wrapper {
    width: 100%;
    max-width: 720px;
    margin: 35px auto;
    padding: 0 15px;
    direction: rtl;
    box-sizing: border-box;
}

.pt-search-form {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 66px;
    padding: 7px 8px 7px 10px;
    background: #ffffff;
    border: 1px solid #e1e6ed;
    border-radius: 14px;
    box-shadow: 0 5px 22px rgba(22, 43, 77, 0.06);
    box-sizing: border-box;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

    .pt-search-form:focus-within {
        border-color: #1769aa;
        box-shadow: 0 0 0 4px rgba(23, 105, 170, 0.09);
    }

.pt-search-input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 15px;
    border: none;
    outline: none;
    background: transparent;
    color: #263648;
    font-family: inherit;
    font-size: 14px;
    direction: rtl;
    box-sizing: border-box;
}

    .pt-search-input::placeholder {
        color: #9aa5b3;
        opacity: 1;
    }

    .pt-search-input::-webkit-search-cancel-button {
        cursor: pointer;
    }

.pt-search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: #1769aa;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

    .pt-search-button:hover {
        background: #105486;
    }

    .pt-search-button:active {
        transform: scale(0.96);
    }

    .pt-search-button svg {
        width: 23px;
        height: 23px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

@media (max-width: 576px) {
    .pt-search-wrapper {
        margin: 22px auto;
        padding: 0 12px;
    }

    .pt-search-form {
        height: 58px;
        gap: 7px;
        border-radius: 12px;
    }

    .pt-search-input {
        padding: 0 9px;
        font-size: 12px;
    }

    .pt-search-button {
        width: 44px;
        height: 44px;
        border-radius: 9px;
    }
}


