/* prices2.css — Styles for idgod.ph /prices page */

/* Header */
.prices-header {
    background-image: url(../img/bg-1-min4.svg);
}

/* Search section */
.search-section {
    margin-top: 1.5rem;
}
.search-form .search-row {
    align-items: flex-end !important;
    margin-left: -8px !important;
    margin-right: -8px !important;
    gap: 0 !important;
}
.search-form .search-row > [class*="col-"] {
    padding-left: 8px !important;
    padding-right: 8px !important;
    margin-bottom: 1rem !important;
}
.search-form .search-input-col {
    margin-bottom: 0 !important;
}
.search-form .search-hint-col {
    align-self: flex-start !important;
}
.search-form .search-label {
    display: block !important;
    margin-bottom: .45rem !important;
    padding-top: 0 !important;
    line-height: 1.25 !important;
    font-weight: 600;
    color: #e6e6e6;
}
.search-form .search-control {
    min-height: 45px !important;
    background: #272a31;
    color: #e6e6e6;
    border: 1px solid #444;
    border-radius: 6px;
}
.search-form .search-control:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 .2rem rgba(220,53,69,.25);
    background: #272a31;
    color: #e6e6e6;
}
.search-form .search-control option {
    background: #272a31;
    color: #e6e6e6;
}
.search-form .search-submit {
    min-height: 45px !important;
    border-radius: 4px !important;
}
.search-form .search-hint {
    display: block;
    margin-top: 6px;
    font-size: .85rem;
    color: #9CA3AF;
}
@media (min-width: 992px) {
    .search-form .search-row > [class*="col-"] {
        margin-bottom: 0 !important;
    }
}

/* No-results message (hidden by default, shown via JS) */
.prices-no-results {
    display: none;
    color: #fca5a5;
    margin-top: 12px;
    font-weight: 600;
}
.prices-no-results.prices-no-results-visible {
    display: block;
}

/* Clear button (hidden by default, shown via JS) */
.prices-clear-hidden {
    display: none;
}

/* Hide elements during search */
.prices-hide-on-search.is-searching {
    display: none !important;
}

/* Table schedule background */
.prices-schedule {
    background-image: url(../img/bg-table-1.svg);
}

/* Alert box */
.prices-alert {
    background: #272a31;
    border: 1px solid #fca5a5;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 20px;
}
.prices-alert-highlight {
    color: #fca5a5;
}
.prices-alert-link {
    color: #93c5fd;
    text-decoration: underline;
}

/* FAQ question headings */
.prices-faq-q {
    color: #f59e0b;
}
.prices-faq-link {
    text-decoration: underline;
}

/* Hidden rows */
.prices-card-table tbody tr.prices-hidden,
.training-schedule-cover.prices-hidden {
    display: none !important;
}

/* CTA buttons section */
.prices-cta {
    text-align: center;
    padding: 24px 0;
}
.prices-cta-buttons {
    display: inline-flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}
.prices-cta .btn {
    border-radius: 6px;
    min-width: 180px;
}
.btn.btn-vehicle-docs {
    background-color: #c2952c;
    color: #1a1a2e;
    font-weight: 700;
    border-color: #c2952c;
}
.btn.btn-vehicle-docs:hover,
.btn.btn-vehicle-docs:focus {
    background-color: #a87d24;
    color: #1a1a2e;
    border-color: #a87d24;
}
.prices-cta-note {
    color: #9CA3AF;
    font-size: 0.9rem;
    margin-top: 8px;
}

/* What's Included box */
.prices-included {
    background: #272a31;
    border-radius: 12px;
    padding: 24px 28px;
    margin-top: 10px;
}
.prices-included h2 {
    color: #f8fafc;
}
.prices-included strong {
    color: #f8fafc;
}

/* FAQ section spacing */
.prices-faq-section {
    padding: 2px 0;
}

/* Mobile card layout */
@media (max-width: 768px) {
    .training-schedule-table {
        overflow: visible !important;
    }
    .prices-card-table {
        display: block !important;
        width: 100% !important;
        overflow: visible !important;
    }
    .prices-card-table thead {
        display: none !important;
    }
    .prices-card-table tbody {
        display: block !important;
    }
    .prices-card-table tbody tr {
        display: block !important;
        background: #1a2332;
        border: 1px solid #2b3342;
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 12px;
    }
    .prices-card-table tbody td {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 6px 0;
        border: none;
        width: 100% !important;
    }
    .prices-card-table tbody td:first-child {
        font-weight: 700;
        font-size: 1.05rem;
        padding-bottom: 10px;
        margin-bottom: 6px;
        border-bottom: 1px solid #2b3342;
        display: block !important;
    }
    .prices-card-table tbody td:first-child::before {
        display: none;
    }
    .prices-card-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #9aa4b5;
        font-size: 0.9rem;
        flex-shrink: 0;
        margin-right: 12px;
        white-space: nowrap;
    }
    .prices-card-table tbody td p {
        margin: 0;
    }
}
