.obt-search-wrap {
    max-width: 960px;
    margin: 0 auto;
    font-family: inherit;
}

.obt-search-header {
    text-align: center;
    margin-bottom: 2rem;
}

.obt-search-header h2 {
    margin: 0 0 0.5rem;
    color: #1a365d;
    font-size: 1.75rem;
}

.obt-search-header p {
    margin: 0;
    color: #4a5568;
}

.obt-search-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(26, 54, 93, 0.25);
}

.obt-field label {
    display: block;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.obt-field select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 1rem;
    background: #fff;
    cursor: pointer;
}

.obt-field select:focus {
    outline: none;
    border-color: #ed8936;
}

.obt-btn-search {
    padding: 0.85rem 1.75rem;
    background: #ed8936;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
}

.obt-btn-search:hover {
    background: #dd6b20;
}

.obt-btn-search:active {
    transform: scale(0.98);
}

.obt-btn-search:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.obt-results {
    margin-top: 2rem;
}

.obt-route-summary {
    background: #ebf8ff;
    border-left: 4px solid #3182ce;
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #2c5282;
}

.obt-bus-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s;
}

.obt-bus-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.obt-bus-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.obt-bus-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.obt-bus-number {
    background: #1a365d;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.obt-bus-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #4a5568;
}

.obt-bus-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.obt-badge {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.obt-badge-operator {
    background: #c6f6d5;
    color: #22543d;
}

.obt-badge-type {
    background: #feebc8;
    color: #7b341e;
}

.obt-timings h4 {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    color: #2d3748;
}

.obt-stops {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.obt-stops h4 {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    color: #2d3748;
}

.obt-stop-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.obt-stop-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.45rem 0.75rem;
    font-size: 0.9rem;
    color: #4a5568;
}

.obt-stop-item.obt-stop-highlight {
    background: #ebf8ff;
    border-color: #90cdf4;
    color: #2c5282;
    font-weight: 600;
}

.obt-stop-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: #edf2f7;
    font-size: 0.7rem;
    font-weight: 700;
    color: #718096;
}

.obt-stop-highlight .obt-stop-number {
    background: #3182ce;
    color: #fff;
}

.obt-stop-tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: #3182ce;
    color: #fff;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    margin-left: auto;
}

.obt-timing-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.obt-timing-list li {
    background: #edf2f7;
    color: #2d3748;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.obt-message {
    text-align: center;
    padding: 2rem;
    color: #718096;
    background: #f7fafc;
    border-radius: 8px;
}

.obt-message-error {
    color: #c53030;
    background: #fff5f5;
    border: 1px solid #feb2b2;
}

@media (max-width: 768px) {
    .obt-search-form {
        grid-template-columns: 1fr;
    }

    .obt-btn-search {
        width: 100%;
    }
}
