/* GHMC Property Tax — Brand Orange Theme (#ff6725), prefix: gp- */

.gp-search-hero {
    background: linear-gradient(135deg, #ff6725 0%, #ff8f5c 50%, #ffb88c 100%);
    padding: 32px 28px 22px;
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
}
.gp-search-hero-decoration {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.gp-search-hero-decoration::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}
.gp-search-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}
.gp-search-hero-badge i { margin-right: 5px; }
.gp-search-hero-title {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.2;
}
.gp-search-hero-desc {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    margin: 0;
}
.gp-search-hero-desc a {
    color: #ffd4c2;
    text-decoration: underline;
    font-weight: 500;
}
.gp-search-hero-desc a:hover { color: #fff; text-decoration: none; }
.gp-search-hero + .gp-search-card { border-radius: 0 0 20px 20px !important; }
.gp-search-card { padding: 24px; }

/* Section titles */
.gp-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}
.gp-section-title i {
    color: #ff6725;
    margin-right: 8px;
}

/* Info cards grid */
.gp-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}
.gp-info-card {
    padding: 20px;
    background: #fafafa;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}
.gp-info-card h5 {
    font-size: 15px;
    font-weight: 700;
    color: #e55a1b;
    margin: 0 0 8px;
}
.gp-info-card h5 i { margin-right: 6px; }
.gp-info-card p {
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* Penalty table */
.gp-penalty-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}
.gp-penalty-table thead th {
    background: #e55a1b;
    color: #fff;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
}
.gp-penalty-table tbody td {
    padding: 12px 16px;
    font-size: 14px;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
}
.gp-penalty-table tbody tr:last-child td { border-bottom: none; }
.gp-penalty-table tbody tr:nth-child(even) { background: #fafafa; }

/* Data table for search results */
.gp-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.gp-data-table thead th {
    background: #fff5f0;
    color: #333;
    font-weight: 700;
    padding: 12px 14px;
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom: 2px solid #ffe0d0;
    white-space: nowrap;
}
.gp-data-table tbody td {
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
    vertical-align: middle;
}
.gp-data-table tbody tr:hover {
    background: #fff9f6;
}
.gp-data-table tbody tr:last-child td {
    border-bottom: none;
}

/* Detail button */
.gp-detail-btn {
    background: linear-gradient(135deg, #ff6725, #ff8f5c);
    color: #fff !important;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    white-space: nowrap;
}
.gp-detail-btn:hover {
    background: linear-gradient(135deg, #e55a1b, #ff6725);
    color: #fff !important;
}

/* Detail grid */
.gp-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.gp-detail-item {
    padding: 14px 18px;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    flex-direction: column;
}
.gp-detail-item:nth-child(odd) {
    border-right: 1px solid #f5f5f5;
}
.gp-detail-label {
    font-size: 12px;
    color: #999;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}
.gp-detail-label i {
    color: #ff6725;
    margin-right: 5px;
    width: 14px;
    text-align: center;
}
.gp-detail-value {
    font-size: 15px;
    color: #333;
    font-weight: 600;
}

/* Tax highlight box */
.gp-tax-highlight {
    background: linear-gradient(135deg, #fff3ed 0%, #ffe8db 100%);
    border: 1px solid #ffd4c2;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    margin-top: 24px;
}
.gp-tax-label {
    font-size: 13px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 6px;
}
.gp-tax-amount {
    font-size: 36px;
    font-weight: 700;
    color: #e55a1b;
    line-height: 1.2;
    margin-bottom: 8px;
}
.gp-tax-note {
    font-size: 13px;
    color: #888;
}
.gp-tax-note a {
    color: #e55a1b;
    font-weight: 600;
    text-decoration: underline;
}
.gp-tax-note a:hover { color: #ff6725; }

/* Skeleton loading */
.gp-skeleton-bar {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: gp-shimmer 1.5s infinite;
    border-radius: 6px;
    height: 14px;
    display: inline-block;
}
.gp-skeleton-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: center;
}
.gp-skeleton-row .gp-skeleton-bar { height: 16px; }
@keyframes gp-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Results actions */
.gp-results-actions .btn {
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 6px;
}

/* FAQ */
.gp-faq-item {
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s;
}
.gp-faq-item.open { border-color: #ff6725; }
.gp-faq-question {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
    color: #333;
    background: #fafafa;
}
.gp-faq-question i { transition: transform 0.3s; color: #ff6725; }
.gp-faq-item.open .gp-faq-question i { transform: rotate(180deg); }
.gp-faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    color: #555;
    font-size: 14px;
    line-height: 1.7;
}
.gp-faq-item.open .gp-faq-answer {
    padding: 0 20px 16px;
    max-height: 500px;
}

/* Print */
@media print {
    .dashboard-side-menu, .dashboard-header, .gp-search-hero, .gp-search-card,
    .related-tool-card, #tool-article, .gp-faq-item, footer, nav, .breadcrumb,
    .gp-results-actions, #gp-info-section, .gp-detail-btn { display: none !important; }
    .gp-data-table { font-size: 11px; }
    .gp-data-table thead th { background: #f5f5f5 !important; }
    .gp-data-table tbody tr { page-break-inside: avoid; }
    .gp-detail-grid { border: 1px solid #ddd; }
    .gp-tax-highlight { border: 1px solid #ddd; background: #f9f9f9 !important; }
    #gp-result-area::before, #gp-detail-area::before {
        content: 'GHMC Property Tax — Source: tg.verified.realestate';
        display: block;
        font-size: 12px;
        color: #666;
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid #ddd;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .gp-search-hero-title { font-size: 20px; }
    .gp-info-grid { grid-template-columns: 1fr; }
    .gp-detail-grid { grid-template-columns: 1fr; }
    .gp-detail-item { border-right: none !important; }
    .gp-data-table { font-size: 12px; }
    .gp-data-table thead th, .gp-data-table tbody td { padding: 8px 10px; }
    .gp-tax-amount { font-size: 28px; }
}
@media (max-width: 576px) {
    .gp-search-hero { padding: 22px 18px 16px; }
    .gp-search-hero-title { font-size: 18px; }
    .gp-penalty-table { font-size: 13px; }
    .gp-penalty-table thead th, .gp-penalty-table tbody td { padding: 10px 12px; }
    .gp-data-table thead th, .gp-data-table tbody td { padding: 6px 8px; font-size: 11px; }
    .gp-detail-item { padding: 10px 14px; }
    .gp-detail-value { font-size: 14px; }
    .gp-tax-amount { font-size: 24px; }
}
