/* ========================================
   Deed Details Lookup — BROWN/AMBER Theme
   Prefix: dd-
   ======================================== */

.dd-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;
}
.dd-search-hero-decoration {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.dd-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);
}
.dd-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;
}
.dd-search-hero-badge i { margin-right: 5px; }
.dd-search-hero-title {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.2;
}
.dd-search-hero-desc {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    margin: 0;
}
.dd-search-hero-desc a {
    color: #ffd4c2;
    text-decoration: underline;
    font-weight: 500;
}
.dd-search-hero-desc a:hover { color: #fff; text-decoration: none; }
.dd-search-hero + .dd-search-card { border-radius: 0 0 20px 20px !important; }
.dd-search-card { padding: 24px; }

/* Guidance result card */
.dd-guidance-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
}
.dd-guidance-header {
    background: linear-gradient(135deg, #fff3ed 0%, #ffd6c2 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}
.dd-guidance-section { margin-bottom: 20px; }
.dd-guidance-section h6 {
    font-size: 14px;
    font-weight: 700;
    color: #e55a1b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #fff3ed;
}
.dd-guidance-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
}
.dd-guidance-step:not(:last-child) {
    border-bottom: 1px solid #f5f5f5;
}
.dd-guidance-step-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ff6725;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}
.dd-guidance-step-text {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}
.dd-guidance-step-text strong { color: #333; }

.dd-link-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #ff6725;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}
.dd-link-btn:hover {
    background: #e55a1b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78,52,46,0.3);
}
.dd-link-btn i { margin-right: 6px; }

/* Info sections */
.dd-info-section {
    padding: 30px;
}
.dd-info-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: #e55a1b;
    margin-bottom: 16px;
}
.dd-info-section p,
.dd-info-section li {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}
.dd-info-section ul,
.dd-info-section ol {
    padding-left: 20px;
    margin-bottom: 16px;
}
.dd-info-section li { margin-bottom: 8px; }

/* Document types grid */
.dd-doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 16px;
}
.dd-doc-item {
    padding: 16px;
    background: #fafaf6;
    border-radius: 10px;
    border: 1px solid #fff3ed;
    transition: all 0.3s;
}
.dd-doc-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border-color: #ffd6c2;
}
.dd-doc-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff6725, #ff8f5c);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 10px;
}
.dd-doc-item h5 {
    font-size: 15px;
    font-weight: 700;
    color: #e55a1b;
    margin-bottom: 4px;
}
.dd-doc-item p {
    font-size: 13px;
    color: #777;
    margin: 0;
    line-height: 1.5;
}

/* Fee table */
.dd-fee-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #fff3ed;
    margin-top: 16px;
}
.dd-fee-table thead th {
    background: #ff6725;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 16px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.dd-fee-table tbody td {
    padding: 12px 16px;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #f0ebe8;
}
.dd-fee-table tbody tr:last-child td { border-bottom: none; }
.dd-fee-table tbody tr:nth-child(even) { background: #fafaf6; }
.dd-fee-table tbody tr:hover { background: #fff3ed; }
.dd-fee-table .dd-fee-amount {
    font-weight: 700;
    color: #e55a1b;
}

/* Required info list */
.dd-req-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}
.dd-req-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}
.dd-req-list li:last-child { border-bottom: none; }
.dd-req-list li i {
    color: #ff6725;
    margin-top: 3px;
    flex-shrink: 0;
}

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

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

/* SEO article */
#tool-article h2 {
    font-size: 24px;
    font-weight: 700;
    color: #e55a1b;
    margin-bottom: 16px;
}
#tool-article h3 {
    font-size: 18px;
    font-weight: 700;
    color: #5d4037;
    margin: 24px 0 12px;
}
#tool-article p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 14px;
}
#tool-article ul, #tool-article ol {
    padding-left: 20px;
    margin-bottom: 16px;
}
#tool-article li {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 6px;
}
#tool-article a { color: #ff6725; font-weight: 600; }
#tool-article a:hover { color: #e55a1b; text-decoration: underline; }

/* Mobile responsive */
@media (max-width: 768px) {
    .dd-search-hero-title { font-size: 20px; }
    .dd-search-hero { padding: 24px 18px 18px; }
    .dd-search-card { padding: 18px; }
    .dd-doc-grid { grid-template-columns: 1fr; }
    .dd-fee-table { font-size: 13px; }
    .dd-fee-table thead th, .dd-fee-table tbody td { padding: 10px 12px; }
    .dd-info-section { padding: 20px; }
    .dd-guidance-card { padding: 20px; }
    #tool-article p, #tool-article li { font-size: 15px; line-height: 1.7; }
}

@media (max-width: 576px) {
    .dd-search-hero-title { font-size: 18px; }
    .dd-doc-grid { grid-template-columns: 1fr; }
    .dd-guidance-step { gap: 10px; }
    .dd-guidance-step-number { width: 28px; height: 28px; font-size: 12px; }
}

/* Print styles */
@media print {
    .dashboard-side-menu, .dashboard-header, .dd-search-hero, .dd-search-card,
    .related-tool-card, .dd-faq-item, footer, nav, .breadcrumb,
    .dd-results-actions, .related-tools-heading { display: none !important; }
    .dd-guidance-card { box-shadow: none !important; border: 1px solid #ddd; }
    .dd-guidance-card::before {
        content: 'Deed Details Lookup — Source: tg.verified.realestate — Printed: ' attr(data-date);
        display: block;
        font-size: 12px;
        color: #666;
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid #ddd;
    }
    #tool-article { box-shadow: none !important; border: 1px solid #ddd; }
    .dd-fee-table { page-break-inside: avoid; }
    .dd-doc-item { page-break-inside: avoid; }
}
