/* ==========================================================================
   Series Reminder Detail Custom Styles (series_detail_v3.css)
   ========================================================================== */

/* 1. FLEXIBLE DETAIL BLOCKS (Elegant, standard vertical dividers) */
.sr-detail-block {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.sr-detail-block:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

/* Standardized Section Title */
.sr-detail-block-title {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 1.25rem; /* ~20px */
    color: #3e4555;
    margin-top: 0;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 2. CUSTOM CARD CONTAINER (Optional if you want boxed containers later) */
.sr-card {
    background-color: #fcfcfc;
    border: 1px solid #e9ecef !important;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Quicksand', sans-serif;
}

.sr-card-title {
    font-family: 'Quicksand', sans-serif;
    color: #3e4555;
    font-weight: 600;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Standardized Custom Buttons inside Cards */
.sr-card-btn {
    text-decoration: underline;
    font-weight: normal;
    color: #9352b3;
    transition: color 0.2s ease;
}

.sr-card-btn:hover {
    color: #6f42c1;
}

/* ==========================================================================
   3. SOVEREIGN EDITORIAL TYPOGRAPHY (Styles any basic HTML output)
   ========================================================================== */
.sr-editorial {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1rem; /* Great readable size (~18px) */
    line-height: 1.7; /* Comfortable reading line-height */
    color: #3e4555; /* Slate grey */
}

/* Space out paragraphs cleanly */
.sr-editorial p {
    margin-top: 0;
    margin-bottom: 1.25rem;
}

/* Beautiful, slightly darker bolding */
.sr-editorial strong {
    font-weight: 700;
    color: #232731; /* Darker slate for strong emphasis */
}

/* Soft italics */
.sr-editorial em {
    font-style: italic;
    color: #555e70;
}

/* Clean list rendering if the AI outputs bullet points */
.sr-editorial ul,
.sr-editorial ol {
    margin-top: 0;
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.sr-editorial li {
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   4. EDITORIAL METADATA & ADMIN DIAGNOSTICS
   ========================================================================== */

/* The footer container at the bottom of any editorial section */
.sr-meta-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f3f5;
    font-family: 'Quicksand', sans-serif;
}

/* Elegant, muted generation dates */
.sr-meta-text {
    font-size: 13px;
    color: #868e96;
    font-style: italic;
}

/* Standardized Confidence Badge */
.sr-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 13px;
    font-weight: 500;
    background-color: #f8f9fa;
    color: #495057;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.sr-meta-badge i {
    color: #6f42c1; /* Theme purple accent for the shield/star icon */
}

/* Admin Debug/AI Diagnostics Box */
.sr-admin-diagnostics {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background-color: #fcfcfc;
    border: 1px dashed #ced4da;
    border-radius: 4px;
    font-size: 12px;
    color: #6c757d;
    font-family: monospace; /* Monospace makes dates and IDs easy to read */
    line-height: 1.5;
}