/* =========================================
   STOCKIST DIRECTORY
========================================= */

.rp-stockist-section {
    padding: 35px 0;
    background: #f8fafc;
}

.rp-stockist-heading {
    margin-bottom: 25px;
}

.rp-stockist-eyebrow {
    display: inline-block;
    color: #000000;
    background: #fff7e6;
    border: 1px solid #f2dfb4;
    border-radius: 30px;
    padding: 8px 17px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 15px;
}

.rp-stockist-heading h2 {
    color: #153b3b;
    font-size:32px;
    font-weight: 600;
    margin-bottom: 12px;
}

.rp-stockist-heading p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto;
}


/* Filter Card */
.rp-stockist-filter-card {
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 15px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.035);
}

.rp-stockist-label {
    display: block;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 9px;
}

.rp-stockist-input-wrap {
    position: relative;
}

.rp-stockist-input-wrap > i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
}

.rp-stockist-input-wrap .form-control {
    padding-left: 40px;
}

.rp-stockist-filter-card .form-control,
.rp-stockist-filter-card .form-select {
    min-height: 46px;
    border: 1px solid #dce3eb;
    border-radius: 9px;
    font-size: 13px;
    color: #334155;
    box-shadow: none;
}

.rp-stockist-filter-card .form-control:focus,
.rp-stockist-filter-card .form-select:focus {
    border-color: #1b7773;
    box-shadow: 0 0 0 3px rgba(27, 119, 115, 0.09);
}

.rp-stockist-reset-btn {
    width: 100%;
    min-height: 46px;
    border: 1px solid #1b7773;
    border-radius: 9px;
    background: #fff;
    color: #176965;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.rp-stockist-reset-btn:hover {
    background: #1a2e5e;
    color: #fff;
}


/* Table Card */

.rp-stockist-table-card {
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

.rp-stockist-table-header {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 20px;
    padding: 10px 25px;
    border-bottom: 1px solid #edf0f4;
}

.rp-stockist-table-header h3 {
    color: #153b3b;
    font-size: 19px;
    font-weight: 750;
    margin: 0 0 6px;
}

.rp-stockist-table-header p {
    color: #64748b;
    font-size: 13px;
    margin: 0;
}
.rp-stockist-count {
    background: #eef1fdd1;
    color: #000;
    border-radius: 30px;
    padding: 9px 15px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}


/* Table */

.rp-stockist-table {
    min-width: 1150px;
    vertical-align: middle;
    border-collapse: separate;
    border-spacing: 0;
}
.rp-stockist-table thead th {
    padding: 8px 18px;
    background: #212b48;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    border: none;
}
.rp-stockist-table tbody td {
    padding: 6px 14px;
    color: #030303;
    font-size: 13px;
    line-height: 1.7;
    border-bottom: 1px solid #e1e9f4;
    font-weight: 700;
}

.rp-stockist-table tbody tr:last-child td {
    border-bottom: none;
}

.rp-stockist-table tbody tr {
    transition: background 0.2s ease;
}

.rp-stockist-table tbody tr:hover {
    background: #f6fbfa;
}

.rp-stockist-number {
    color: #94a3b8 !important;
    font-weight: 700;
}
.rp-stockist-state {
    display: inline-block;
    padding: 5px 10px;
    color: #040505;
    /* background: #d5e3f6; */
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.rp-stockist-name {
    min-width: 140px;
    color: #1e293b;
    font-weight: 700;
}

.rp-stockist-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #242828;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.rp-stockist-phone:hover {
    color: #b7791f;
}

.rp-stockist-na {
    color: #94a3b8;
}


/* Empty State */

.rp-stockist-empty {
    padding: 45px 20px;
    text-align: center;
}

.rp-stockist-empty-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 50%;
    font-size: 20px;
}

.rp-stockist-empty h4 {
    color: #1e293b;
    font-size: 18px;
    font-weight: 700;
}

.rp-stockist-empty p {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 0;
}


/* Footer */

.rp-stockist-table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 25px;
    border-top: 1px solid #edf0f4;
    color: #64748b;
    font-size: 12px;
}


/* Responsive */

@media (max-width: 767px) {

    .rp-stockist-section {
        padding: 50px 0;
    }

    .rp-stockist-filter-card {
        padding: 18px;
    }

    .rp-stockist-table-header {
        padding: 20px 18px;
        align-items: flex-start;
    }

    .rp-stockist-table-header h3 {
        font-size: 17px;
    }

    .rp-stockist-table-footer {
        padding: 16px 18px;
        align-items: flex-start;
        flex-direction: column;
    }

}