/* Judgment text container */
.judgment-text {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1rem;
    line-height: 1.8;
    max-height: 80vh;
    overflow-y: auto;
    padding: 2rem;
    background: #fff;
    border-radius: 0.375rem;
    color: #2c2c2c;
}

/* ALL-CAPS headings (RULING, BETWEEN, CIVIL JURISDICTION) */
.jt-heading {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #555;
    margin: 1.8rem 0 0.6rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid #e0e0e0;
}

/* Section subheadings (Introduction, Background, Conclusion) */
.jt-subheading {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.1rem;
    font-weight: 700;
    font-style: italic;
    color: #333;
    margin: 2rem 0 0.8rem;
}

/* Numbered paragraphs */
.jt-numbered {
    margin: 0.8rem 0;
    padding-left: 3rem;
    text-indent: -3rem;
    text-align: justify;
}
.jt-num {
    display: inline-block;
    width: 2.5rem;
    text-indent: 0;
    font-weight: 600;
    color: #666;
}

/* Lettered sub-paragraphs */
.jt-sub {
    margin: 0.4rem 0;
    padding-left: 5rem;
    text-indent: -2rem;
    text-align: justify;
}
.jt-label {
    display: inline-block;
    width: 2rem;
    text-indent: 0;
    font-weight: 600;
    color: #666;
}

/* Quoted/indented text (statutory provisions, etc.) */
.jt-quote {
    margin: 1rem 2rem 1rem 3rem;
    padding: 0.8rem 1.2rem;
    border-left: 3px solid #ccc;
    background: #fafafa;
    font-size: 0.93rem;
    color: #444;
    line-height: 1.7;
}

/* Regular paragraphs */
.jt-para {
    margin: 0.8rem 0;
    text-align: justify;
}

/* Clickable table rows */
.cursor-pointer {
    cursor: pointer;
}

/* FTS highlight */
mark {
    background-color: #fff3cd;
    padding: 0.1em 0.2em;
    border-radius: 2px;
}

/* Search form spacing */
#search-form .form-select,
#search-form .form-control {
    font-size: 0.875rem;
}

/* HTMX loading indicator */
.htmx-indicator {
    display: none;
}
.htmx-request .htmx-indicator {
    display: inline-block;
}

/* Card hover effect */
.card {
    transition: box-shadow 0.2s;
}

/* Table links */
.table a {
    text-decoration: none;
}
.table a:hover {
    text-decoration: underline;
}
