.ipt-search-wrapper {
    position: relative;
    max-width: 520px;
}

#ipt-city {
    width: 100%;
    padding: 10px 12px;
    font-size: 16px;
    border: 1px solid #c9d4be;
    border-radius: 6px;
}

.ipt-results {
    position: absolute;
    width: 100%;
    background: #fff;
    border: 1px solid #d8ddcf;
    border-top: none;
    max-height: 250px;
    overflow-y: auto;
    display: none;
    z-index: 9999;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.ipt-result-item {
    padding: 8px 12px;
    cursor: pointer;
    border-top: 1px solid #edf1e7;
}

.ipt-result-item:hover {
    background: #eef5e4;
}

.ipt-request-wrapper {
    max-width: 520px;
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.ipt-request-wrapper label {
    font-size: 14px;
}

.ipt-request-wrapper select,
.ipt-request-wrapper button {
    width: 100%;
    padding: 10px 12px;
    font-size: 16px;
    border: 1px solid #c9d4be;
    border-radius: 6px;
}

#ipt-submit-request {
    cursor: pointer;
    background: #2f5c2f;
    border-color: #2f5c2f;
    color: #fff;
    transition: background 0.15s ease;
}

#ipt-submit-request:hover {
    background: #244924;
}

.ipt-server-response {
    max-width: 980px;
    margin-top: 12px;
    font-size: 14px;
}

.ipt-madhab-fieldset {
    margin: 0;
    padding: 10px;
    border: 1px solid #d8ddcf;
    border-radius: 6px;
    background: #f9fbf5;
}

.ipt-madhab-fieldset legend {
    font-size: 14px;
    padding: 0 6px;
}

.ipt-madhab-fieldset label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 12px;
}

.ipt-feedback {
    margin: 0;
    padding: 12px;
    border-radius: 6px;
    background: #f4f6ef;
    border: 1px solid #d8ddcf;
}

.ipt-feedback-error {
    background: #fff4f4;
    border-color: #edb7b7;
    color: #8a1f1f;
}

.ipt-times-card {
    border: 1px solid #d5dcc8;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.ipt-times-head {
    padding: 14px 16px;
    background: linear-gradient(180deg, #f4f8ed 0%, #edf3e2 100%);
    border-bottom: 1px solid #d5dcc8;
}

.ipt-times-head h3 {
    margin: 0 0 6px;
    font-size: 20px;
    color: #25351f;
}

.ipt-times-head p {
    margin: 0;
    color: #4a5e45;
    font-size: 13px;
}

.ipt-times-table-wrap {
    overflow-x: auto;
}

.ipt-times-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.ipt-times-table th {
    background: #6d8458;
    color: #fff;
    font-weight: 600;
    text-align: center;
    padding: 10px 8px;
    white-space: nowrap;
}

.ipt-times-table td {
    text-align: center;
    padding: 8px 6px;
    border-bottom: 1px solid #edf1e7;
    white-space: nowrap;
}

.ipt-times-table tbody tr:nth-child(even) {
    background: #f9fbf6;
}

@media (max-width: 680px) {
    .ipt-search-wrapper,
    .ipt-request-wrapper {
        max-width: 100%;
    }

    .ipt-times-head h3 {
        font-size: 18px;
    }
}
