/* Prohibited Property Check — Shared Styles */

/* =========================================================
   IGRS Hero — Theme: #ff6725 (orange)
   ========================================================= */
.pp-search-hero {
    background: linear-gradient(135deg, #ff6725 0%, #ff8f5c 50%, #ffb88c 100%);
    border-radius: 20px 20px 0 0;
    padding: 30px 30px 25px;
    position: relative;
    overflow: hidden;
}
.pp-search-hero-decoration {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    pointer-events: none;
}
.pp-search-hero-decoration::before {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
}
.pp-search-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.pp-search-hero-badge i {
    font-size: 11px;
}
.pp-search-hero-title {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
.pp-search-hero-desc {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin-bottom: 0;
}
.pp-search-hero-desc a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.pp-search-hero-desc a:hover {
    color: #fff;
    text-decoration-thickness: 2px;
}
.pp-search-hero + .pp-search-card {
    border-radius: 0 0 20px 20px;
    margin-top: -1px;
}
.pp-search-card {
    position: relative;
}

/* =========================================================
   Bhu Bharati Hero — Theme: #ff6725 (orange)
   ========================================================= */
.bb-search-hero {
    background: linear-gradient(135deg, #ff6725 0%, #ff8f5c 50%, #ffb88c 100%);
    border-radius: 20px 20px 0 0;
    padding: 30px 30px 25px;
    position: relative;
    overflow: hidden;
}
.bb-search-hero-decoration {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    pointer-events: none;
}
.bb-search-hero-decoration::before {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
}
.bb-search-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.bb-search-hero-badge i {
    font-size: 11px;
}
.bb-search-hero-title {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
.bb-search-hero-desc {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin-bottom: 0;
}
.bb-search-hero-desc a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.bb-search-hero-desc a:hover {
    color: #fff;
    text-decoration-thickness: 2px;
}
.bb-search-hero + .bb-search-card {
    border-radius: 0 0 20px 20px;
    margin-top: -1px;
}
.bb-search-card {
    position: relative;
}

/* =========================================================
   Dual Check Banner
   ========================================================= */
.pp-dual-check-banner {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 12px;
    padding: 18px 22px;
}
.pp-dual-check-banner .d-flex {
    gap: 15px;
}
.pp-dcb-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff3e0;
    color: #ff9800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.pp-dual-check-banner strong {
    font-size: 15px;
    color: #6d4c00;
}
.pp-dual-check-banner p {
    font-size: 13px;
    color: #795548;
    line-height: 1.5;
}
.pp-dcb-btn {
    display: inline-flex;
    align-items: center;
    background: #ff9800;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
    flex-shrink: 0;
}
.pp-dcb-btn:hover {
    background: #f57c00;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,152,0,0.3);
}

/* =========================================================
   PDF Type Buttons
   ========================================================= */
.pp-pdf-section strong {
    font-size: 14px;
    color: #333;
}
.pp-pdf-type-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    margin: 0 6px 8px 0;
    transition: all 0.2s;
    cursor: url(../dashboard/images/icon/pointer.svg), pointer !important;
}
.pp-pdf-type-btn:hover {
    background: #ff6725;
    border-color: #ff6725;
    color: #fff;
}
.pp-pdf-type-btn.active {
    background: #ff6725;
    border-color: #ff6725;
    color: #fff;
    box-shadow: 0 2px 8px rgba(255,103,37,0.3);
}
.pp-pdf-type-btn i {
    margin-right: 4px;
    font-size: 12px;
}

/* =========================================================
   PDF Viewer
   ========================================================= */
.pp-pdf-iframe {
    width: 100%;
    min-height: 700px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #f9f9f9;
}

/* =========================================================
   Error Card
   ========================================================= */
.pp-error-card {
    background: #fff3cd;
    color: #856404;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #ffc107;
    margin: 15px 0;
    font-size: 14px;
}
.pp-error-card a {
    color: #0d6efd;
    text-decoration: underline;
}

/* =========================================================
   Results Table (Bhu Bharati)
   ========================================================= */
.pp-results-table {
    font-size: 13px;
}
.pp-results-table thead th {
    background: #ff6725;
    color: #fff;
    font-weight: 600;
    text-align: center;
    padding: 10px 8px;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 1;
}
.pp-results-table tbody td {
    padding: 8px;
    vertical-align: middle;
}
.pp-results-table tbody tr:hover {
    background: #fff5f0;
}

/* =========================================================
   FAQ Section (shared between both pages)
   ========================================================= */
.pp-faq-section {
    margin-top: 0;
}
.pp-faq-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}
.pp-faq-question {
    padding: 15px 20px;
    font-weight: 600;
    font-size: 15px;
    cursor: url(../dashboard/images/icon/pointer.svg), pointer !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    transition: background 0.2s;
}
.pp-faq-question:hover {
    background: #fff5f0;
}
.pp-faq-question .faq-icon {
    transition: transform 0.3s;
    font-size: 12px;
    color: #ff6725;
}
.pp-faq-question.open .faq-icon {
    transform: rotate(180deg);
}
.pp-faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    font-size: 14px;
    color: #495057;
    line-height: 1.6;
}
.pp-faq-answer.open {
    padding: 15px 20px;
    max-height: 500px;
}
.pp-faq-answer a {
    color: #0d6efd;
    text-decoration: underline;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 767px) {
    .pp-search-hero,
    .bb-search-hero {
        padding: 22px 20px 18px;
        border-radius: 16px 16px 0 0;
    }
    .pp-search-hero-title,
    .bb-search-hero-title {
        font-size: 1.2rem;
    }
    .pp-pdf-iframe {
        min-height: 400px;
    }
    .pp-results-table {
        font-size: 12px;
    }
    .pp-results-table thead th,
    .pp-results-table tbody td {
        padding: 6px 4px;
    }
    .pp-dual-check-banner .d-flex {
        flex-wrap: wrap;
    }
    .pp-dcb-btn {
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }
    .pp-faq-question {
        font-size: 14px;
        padding: 12px 15px;
    }
}
