﻿/* ============================================================
   COMMON INNER PAGE SEARCH
============================================================ */

.inner-search {
    display: flex;
    align-items: center;
    gap: 8px;
}


.inner-search-box {
    position: relative;
    width: 245px;
}


    .inner-search-box i,
    .inner-search-box svg {
        position: absolute;
        left: 13px;
        top: 50%;
        transform: translateY(-50%);
        color: #9ba3ae;
        font-size: 11px;
        pointer-events: none;
    }


    .inner-search-box input {
        width: 100%;
        height: 38px;
        padding: 0 13px 0 35px;
        border: 1px solid #dce1e7;
        border-radius: 6px;
        outline: none;
        background: #ffffff;
        color: #263548;
        font-size: 11px;
        transition: border-color .2s ease, box-shadow .2s ease;
    }


        .inner-search-box input:focus {
            border-color: var(--brand-900, #880000);
            box-shadow: 0 0 0 3px rgba(136, 0, 0, .06);
        }


        .inner-search-box input::placeholder {
            color: #9ba4af;
        }


/* ============================================================
   SEARCH BUTTON
============================================================ */

.inner-search-btn {
    height: 38px;
    padding: 0 18px;
    border: 1px solid var(--brand-900, #880000);
    border-radius: 6px;
    background: var(--brand-900, #880000);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}


    .inner-search-btn:hover,
    .inner-search-btn:focus {
        background: var(--brand-700, #A72626);
        border-color: var(--brand-700, #A72626);
    }


/* ============================================================
   CLEAR / RESET BUTTON
============================================================ */

.inner-search-clear {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dde2e8;
    border-radius: 6px;
    background: #ffffff;
    color: #6d7886;
    font-size: 11px;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease;
}


    .inner-search-clear:hover,
    .inner-search-clear:focus {
        border-color: var(--brand-900, #880000);
        color: var(--brand-900, #880000);
    }


/* ============================================================
   OPTIONAL TOOLBAR WRAPPER
============================================================ */

.inner-search-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}


.inner-search-info {
    color: var(--text-secondary, #606060);
    font-size: 0.95rem;
    font-weight: 500;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 768px) {

    .inner-search-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }


    .inner-search {
        width: 100%;
    }


    .inner-search-box {
        flex: 1;
        width: auto;
    }
}


@media (max-width: 480px) {

    .inner-search {
        flex-wrap: wrap;
    }


    .inner-search-box {
        width: 100%;
        flex-basis: 100%;
    }


    .inner-search-btn {
        flex: 1;
    }
}

.inner-search-box svg {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ba3ae;
    pointer-events: none;
}