:root {
    --bg-color: #fdfdfb;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --accent: #8b4513;
    /* Saddle Brown for a classic book feel */
    --accent-light: #f5f5dc;
    --border: #e0e0e0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

#root {
    min-height: 100vh;
}

/* Splash Page Styles - Preserved & Enhanced */
.splash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0f172a;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Use safe center or center with margin auto trick for scroll */
    justify-content: flex-start;
    z-index: 9999;
    cursor: pointer;
    padding: 2rem 2rem 5rem 2rem;
    /* Extra padding bottom for hint */
    box-sizing: border-box;
    text-align: center;
    user-select: none;
    overflow-y: auto;
    /* Allow scrolling */
}

.splash-content {
    max-width: 800px;
    margin: auto 0;
    /* This centers it vertically when flex parent is 'flex-start' */
    animation: fadeInScale 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.splash-quote-en {
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.4;
    font-style: italic;
    margin-bottom: 0.8rem;
    color: #f1f5f9;
}

.splash-quote-zh {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
    opacity: 0.9;
}

.splash-reference {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #38bdf8;
    text-transform: uppercase;
}

.splash-hint {
    /* Changed from absolute to fixed or relative-like to stay safe */
    position: fixed;
    bottom: 2rem;
    left: 0;
    width: 100%;
    margin-top: 2rem;
    font-size: 0.75rem;
    color: #64748b;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: pulse 2s infinite;
    pointer-events: none;
    /* Let clicks pass through */
}

.splash-placeholder-en {
    font-size: 1.3rem;
    line-height: 1.5;
    color: #cbd5e1;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto 1rem auto;
}

.splash-placeholder-zh {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #94a3b8;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* Main Layout */
.app-container.modern-bible {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.main-header {
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}

.app-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 0.5rem;
    background: #f1f5f9;
    border-radius: 1rem;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tab-btn {
    padding: 0.8rem 1.8rem;
    border-radius: 0.8rem;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.02em;
}

.tab-btn:hover {
    color: var(--accent);
}

.tab-btn.active {
    background: white;
    color: var(--accent);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.12);
    transform: translateY(-1px);
}


.header-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.reading-day-label {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.reading-day-label span {
    color: var(--accent);
    font-weight: 800;
    font-size: 2rem;
    margin: 0 0.5rem;
}

/* Calendar Component */
.calendar-container {
    position: relative;
}

.calendar-toggle-btn {
    background: white;
    border: 1px solid var(--border);
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.calendar-toggle-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.calendar-dropdown {
    position: absolute;
    top: 110%;
    right: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 100;
    width: 320px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Comment Section Styles */
.comment-section {
    width: 100%;
    max-width: 600px;
    margin-top: 4rem;
    padding: 2rem;
    background: white;
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.comment-header {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-align: left;
    border-bottom: 2px solid var(--accent-light);
    padding-bottom: 0.8rem;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.comment-input {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
    box-sizing: border-box;
}

.comment-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.comment-input.body {
    min-height: 80px;
    resize: none;
}

.comment-input.name {
    font-weight: 600;
}

.post-btn {
    align-self: flex-end;
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.post-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.comment-item {
    padding: 1.2rem;
    background: #f8fafc;
    border-radius: 16px;
    border-left: 4px solid var(--accent-light);
}

.comment-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.comment-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Outfit', sans-serif;
}

.comment-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.7;
}


.comment-body {
    margin: 0;
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.5;
}

@media (max-width: 600px) {
    .comment-section {
        width: 100%;
        padding: 1.5rem;
    }
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.calendar-header button {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--accent);
    padding: 0.5rem;
    border-radius: 50%;
}

.calendar-header button:hover {
    background: var(--accent-light);
}

.calendar-grid-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.calendar-day:hover:not(.empty) {
    background: var(--accent-light);
    color: var(--accent);
}

.calendar-day.selected {
    background: var(--accent);
    color: white;
}

.calendar-day.empty {
    cursor: default;
}

/* Reading Section Redesign */
.reading-container {
    animation: fadeIn 0.8s ease-out;
    margin-top: 2rem;
}

.reading-summary-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 2.0rem 3.2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto 1.5rem auto;
    gap: 1.5rem;
    max-width: 800px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.summary-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    gap: 0.2rem;
}

.reading-summary-card:hover {
    border-color: var(--accent);
    background: #fffdf9;
    box-shadow: 0 12px 40px rgba(139, 69, 19, 0.08);
    transform: translateY(-2px);
}

.summary-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    font-weight: 700;
    opacity: 0.7;
}

.bible-version-tag {
    font-size: 0.75rem;
    opacity: 0.6;
    letter-spacing: 0.05em;
    margin-left: 0.5rem;
    font-weight: 400;
}

.summary-text {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
    font-family: 'Outfit', sans-serif;
    text-align: left;
}

.summary-chevron {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    color: var(--accent);
    padding-left: 1rem;
    border-left: 1px solid #eee;
}

.chevron-icon {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.6;
}

.chevron-icon.expanded {
    transform: rotate(180deg);
    opacity: 1;
}

.chevron-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
}

.reading-container:hover .chevron-icon,
.reading-container:hover .chevron-label {
    opacity: 1;
}

.summary-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.summary-title span {
    color: var(--text-primary);
    font-weight: 700;
    margin-left: 0.5rem;
}

.expand-btn {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.expand-btn.active {
    transform: rotate(180deg);
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    opacity: 0;
}

.collapsible-content.expanded {
    max-height: 80000px;
    /* Large enough to fit any reading */
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.reading-container h3 {
    text-align: center;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.bible-chapter {
    margin-bottom: 5rem;
}

.bible-chapter h4 {
    font-size: 2.2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    color: var(--accent);
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent);
    padding-left: 1.5rem;
}

.verses {
    font-family: 'Crimson Pro', serif;
    font-size: 1.45rem;
    text-align: justify;
    line-height: 1.8;
}

/* Specialized italics for NKJV markers (e.g. "was", "it", etc) */
/* Specialized italics removed */
.verses i {
    font-style: normal;
    color: inherit;
}

.verse {
    margin-right: 0.5rem;
}

.verse-num {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    /* vertical-align: super; removed */
    margin-right: 0.2rem;
    opacity: 0.7;
}

.loading-state {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-style: italic;
    letter-spacing: 0.1em;
}

/* Responsive */
@media (max-width: 600px) {
    .app-container.modern-bible {
        padding: 1rem;
    }

    .header-top {
        flex-direction: column;
        gap: 1rem;
    }

    .splash-quote {
        font-size: 1.8rem;
    }
}

/* Language Toggle Logic & Header Layout Adjustments */
.lang-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0.2rem 0.4rem;
    transition: color 0.2s;
    font-family: inherit;
    font-weight: 600;
    opacity: 0.5;
}

.lang-btn.active {
    color: var(--accent);
    opacity: 1;
    font-weight: 800;
}

.lang-separator {
    color: var(--border);
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 1rem;
        padding-top: 2rem;
    }

    .lang-toggle-container {
        position: static;
        transform: none;
        margin-bottom: 0.5rem;
        justify-content: center;
        width: 100%;
    }

    .calendar-container {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }
}

/* Daily Tracker Styles */
.tracker-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3rem;
    padding-bottom: 4rem;
}

.read-count-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.read-count-label.bump {
    transform: scale(1.2);
    color: #2e7d32;
    font-weight: 700;
}

.read-it-btn {
    background-color: #2e7d32;
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.2);
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.celebration-message {
    margin-top: 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

.read-it-btn:hover {
    background-color: #1b5e20;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.3);
}

.read-it-btn:active {
    transform: translateY(0);
}

.read-it-btn.disabled {
    background-color: #cbd5e1;
    color: #94a3b8;
    cursor: default;
    box-shadow: none;
    transform: none;
    pointer-events: none;
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.popup-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.popup-title {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.popup-message {
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.popup-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.popup-btn {
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    min-width: 100px;
}

.popup-btn.yes {
    background-color: #2e7d32;
    color: white;
}

.popup-btn.yes:hover {
    background-color: #1b5e20;
}

.popup-btn.no {
    background-color: #f1f5f9;
    color: #64748b;
}

.popup-btn.no:hover {
    background-color: #e2e8f0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.celebration-slogan {
    margin-top: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.8s ease-out 0.2s backwards;
}

.main-quote-container {
    text-align: center;
    margin: 0 0 1.5rem 0;
    /* Spacing below quote */
    padding: 1.2rem;
    background-color: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.main-quote-text {
    font-family: 'Crimson Pro', serif;
    font-size: 1.15rem;
    font-style: italic;
    color: var(--accent);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.main-quote-ref {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.splash-slogan-en {
    margin-top: 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-light);
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.splash-slogan-zh {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 0.4rem;
    opacity: 0.8;
}

/* Audio Controls Styles */
.audio-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 0 auto 0 auto;
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    background: #f8fafc;
    border-radius: 1.2rem;
    border: 1px solid #e2e8f0;
    animation: fadeIn 0.4s ease-out;
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.audio-controls.compact {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    padding: 0;
    gap: 0;
    background: none;
    border: none;
    box-shadow: none;
    width: fit-content;
    margin-bottom: 0.5rem;
}

.voice-controls-row {
    display: flex;
    gap: 1.5rem;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.audio-controls.compact .voice-group {
    flex: 1;
    min-width: 0;
    max-width: 200px;
}

.audio-controls.compact .speed-group {
    flex: 0 0 75px;
    min-width: 0;
}

.voice-label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    font-family: 'Outfit', sans-serif;
    margin-left: 0.2rem;
}

.voice-select {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background: white;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.audio-controls.compact .voice-select {
    padding: 0.4rem 0.6rem;
    padding-right: 1.8rem;
    font-size: 0.75rem;
    border-radius: 6px;
    background-position: right 0.5rem center;
    background-size: 0.8rem;
}


.voice-select:hover {
    border-color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.voice-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.audio-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    max-width: 200px;
}

.audio-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%);
}

.audio-btn:active {
    transform: translateY(0);
}

.audio-btn.reading {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    animation: pulse-glow 1.5s infinite;
}

.audio-btn:disabled {
    background: #cbd5e1;
    cursor: wait;
    transform: none;
    box-shadow: none;
    opacity: 0.8;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(245, 87, 108, 0.6);
    }
}

.read-all-btn {
    flex: 0 0 auto;
    width: auto;
    padding: 0.45rem 1rem;
    font-size: 0.75rem;
    min-width: 110px;
}

/* Chapter Header with Audio Button */
.chapter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.chapter-audio-btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    flex-shrink: 0;
    border-radius: 50px;
    background: var(--accent);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.chapter-audio-btn.is-icon {
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border-radius: 50%;
}

.chapter-audio-btn.reading {
    background: #2c3e50;
}

/* Responsive adjustments for audio buttons */
@media (max-width: 600px) {
    .reading-summary-card {
        padding: 1rem;
        gap: 0.8rem;
    }

    .summary-text {
        font-size: 1.1rem;
    }

    .audio-controls.compact {
        flex-direction: column;
        gap: 0.8rem;
        padding: 1rem;
    }

    .audio-controls.compact>* {
        width: 100%;
        max-width: none;
    }

    .audio-controls.compact .speed-group {
        flex: 1 1 auto;
    }

    .read-all-btn {
        min-width: 0;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .chapter-audio-btn {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }

    .chapter-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 1rem;
    }

    .chapter-header h4 {
        margin-bottom: 0.5rem;
    }
}



/* Calendar Positioning */
.calendar-container {
    position: relative;
    display: inline-block;
}

.calendar-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0.5rem;
    z-index: 1000;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    min-width: 280px;
    animation: calendarAppear 0.2s ease-out forwards;
    transition: none !important;
}

@keyframes calendarAppear {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 600px) {
    .calendar-dropdown {
        left: 0;
        right: 0;
        transform: none;
        margin: 0.5rem auto;
        max-width: calc(100vw - 2rem);
        animation: calendarAppearMobile 0.2s ease-out forwards;
    }

    @keyframes calendarAppearMobile {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Calendar Today Highlight */
.calendar-day.today {
    background-color: #dbeafe;
    border: 2px solid #3b82f6;
    font-weight: 700;
    color: #1e40af;
}

.calendar-day.today.selected {
    background-color: #3b82f6;
    color: white;
    border-color: #1e40af;
}

/* Admin Page Styles */
.admin-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.admin-login-card {
    max-width: 400px;
    margin: 100px auto;
    padding: 40px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.admin-login-card h2 {
    margin-bottom: 24px;
    color: var(--accent);
    font-family: 'Outfit', sans-serif;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--accent-light);
}

.admin-header h1 {
    margin: 0;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
}

.admin-table-container {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    background: #f8fafc;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover {
    background: #fdfdfb;
}

.admin-btn {
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.admin-btn.edit {
    background: #f1f5f9;
    color: #475569;
    margin-right: 8px;
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    padding: 4px;
    background: #f1f5f9;
    border-radius: 12px;
    width: fit-content;
}

.admin-tab-btn {
    padding: 8px 20px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.admin-tab-btn:hover {
    color: var(--accent);
}

.admin-tab-btn.active {
    background: white;
    color: var(--accent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.admin-btn.delete {
    background: #fee2e2;
    color: #ef4444;
}

.admin-btn.save {
    background: #dcfce7;
    color: #16a34a;
}

.admin-btn.logout {
    background: #f1f5f9;
    color: #64748b;
}

.admin-input {
    width: 80px;
    padding: 8px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
}

.admin-input:focus {
    outline: none;
    border-color: var(--accent);
}

/* Browse Section Styles */
.browse-section {
    animation: fadeIn 0.6s ease-out;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 5rem;
}

.browse-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.selector-group {
    display: flex;
    gap: 1rem;
    width: 100%;
    max-width: 600px;
}

.bible-select {
    flex: 2;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background: white;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    padding-right: 3rem;
}

.chapter-select {
    flex: 1;
}

.bible-select:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.bible-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(139, 69, 19, 0.1);
}

.audio-control-group.browse-audio {
    width: 100%;
    justify-content: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 1.5rem;
    margin-top: 0.5rem;
}

.bible-chapter.browse-view {
    margin-bottom: 0;
    padding: 3rem;
    background: white;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.01);
}

/* Search Section Styles */
.search-section {
    animation: fadeIn 0.6s ease-out;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 5rem;
}

.search-controls {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.search-input-group {
    display: flex;
    gap: 1rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.search-input {
    flex: 3;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    font-size: 1.1rem;
    font-family: inherit;
    transition: all 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(139, 69, 19, 0.1);
}

.search-book-select {
    flex: 1.5;
}

.search-btn {
    flex: 1;
    background: var(--accent);
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.search-btn:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-1px);
}

.search-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.search-results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-result-item {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.search-result-item:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.result-meta {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.result-text {
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.search-match-highlight {
    background-color: #fef9c3;
    color: #854d0e;
    font-weight: 700;
    padding: 0 2px;
    border-radius: 2px;
}


.no-results {
    padding: 4rem;
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    font-size: 1.2rem;
}

.search-results-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
    opacity: 0.8;
}

.search-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 1rem;
}

.pagination-btn {
    background: white;
    border: 1px solid var(--border);
    color: var(--accent);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.15);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: default;
    background: #f1f5f9;
}

.pagination-info {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
}

/* Highlighted Verse */
.highlighted-verse {
    background-color: #fef9c3;
    padding: 0.2rem 0;
    border-radius: 4px;
    transition: background-color 2s ease;
    animation: highlightPulse 2s ease-out;
}

@keyframes highlightPulse {
    0% {
        background-color: #fde047;
    }

    100% {
        background-color: #fef9c3;
    }
}

@media (max-width: 600px) {
    .selector-group {
        flex-direction: column;
    }

    .bible-chapter.browse-view {
        padding: 1.5rem;
    }

    .search-input-group {
        flex-direction: column;
    }

    .search-btn {
        padding: 1rem;
    }
}

.admin-error {
    color: #ef4444;
    margin: 15px 0;
    font-size: 14px;
    font-weight: 500;
}

.admin-login-card .comment-input {
    margin-bottom: 20px;
}

.admin-login-card .post-btn {
    width: 100%;
}

.admin-details-row td {
    background: #fdfdfb;
    padding: 0;
}

.admin-details-container {
    padding: 20px 40px;
    border-top: 1px solid var(--border);
    animation: fadeIn 0.3s ease;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.details-section h4 {
    margin-bottom: 15px;
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--accent-light);
    padding-bottom: 8px;
}

.details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
    font-size: 0.85rem;
}

.details-item {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.details-item:last-child {
    border-bottom: none;
}

.details-item-meta {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 4px;
}

.badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 5px;
}

.badge-country {
    background: #f1f5f9;
    color: #475569;
}

.badge-ip {
    background: #ecfdf5;
    color: #059669;
}

.admin-btn.details {
    background: #eff6ff;
    color: #2563eb;
    margin-right: 8px;
}

/* Audio Controls Redesign */
.audio-controls-redesign {
    background: #fdfbf7;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin: 0 auto 2rem auto;
    max-width: 800px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.control-row {
    display: flex;
    justify-content: center;
    width: 100%;
}

.modern-play-btn {
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(139, 69, 19, 0.2);
    min-width: 200px;
    justify-content: center;
}

.modern-play-btn:hover {
    background-color: #723a0f;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(139, 69, 19, 0.3);
}

.modern-play-btn:active {
    transform: translateY(1px);
}

.modern-play-btn.playing {
    background-color: #2c3e50;
    box-shadow: 0 4px 6px rgba(44, 62, 80, 0.2);
}

.modern-play-btn.paused {
    background-color: var(--accent);
    box-shadow: 0 4px 6px rgba(139, 69, 19, 0.2);
}

.audio-control-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f1f5f9;
    padding: 0.4rem;
    border-radius: 50px;
    border: 1px solid var(--border);
}

.modern-play-btn,
.modern-stop-btn {
    min-width: unset;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
}

.modern-stop-btn {
    background-color: #ef4444;
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
}

.modern-stop-btn:hover {
    background-color: #dc2626;
}

.modern-skip-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: 50%;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-skip-btn:hover {
    background-color: #e2e8f0;
    color: var(--accent);
}

.stop-btn-small {
    background: #ef4444 !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin-left: 0.8rem;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
    transition: all 0.2s;
    cursor: pointer;
}

.stop-btn-small:hover {
    background: #fecaca !important;
    transform: scale(1.1);
}

.skip-btn-mini {
    background: transparent !important;
    border: none !important;
    color: var(--text-secondary) !important;
    font-size: 1.2rem !important;
    cursor: pointer !important;
    padding: 0.2rem !important;
    transition: all 0.2s !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.skip-btn-mini:hover {
    color: var(--accent) !important;
    background: #f1f5f9 !important;
    border-radius: 50% !important;
}

.chapter-controls {
    display: flex;
    align-items: center;
    background: #f8fafc;
    padding: 0.3rem 0.6rem;
    border-radius: 50px;
    border: 1px solid var(--border);
}

.settings-row {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.setting-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.setting-item label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modern-select {
    padding: 0.4rem 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    font-size: 0.9rem;
    color: var(--text-primary);
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
    font-family: 'Inter', sans-serif;
}

.modern-select:hover {
    border-color: var(--accent);
}

.modern-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(139, 69, 19, 0.1);
}

/* Audio buttons for chapters */
.chapter-audio-btn {
    background: white;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.chapter-audio-btn:hover {
    background: var(--accent);
    color: white;
}

.chapter-audio-btn.reading {
    background: var(--accent);
    color: white;
}


/* Compact Audio Controls */
.audio-controls-compact-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 0 auto 0rem auto;
    max-width: 800px;
}

.speed-select {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 50px;
    background-color: white;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    outline: none;
}

.speed-select:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* IP Information Modal */
.ip-info-card {
    max-width: 600px !important;
    text-align: left !important;
    position: relative;
    padding: 40px !important;
}

.ip-info-content {
    margin-top: 20px;
}

.ip-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ip-info-item {
    font-size: 0.9rem;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
}

.ip-info-item strong {
    color: var(--accent);
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.ip-info-readme {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.8rem;
    text-align: center;
}

@media (max-width: 500px) {
    .ip-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Comment Replies */
.reply-btn {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 14px;
    border-radius: 20px;
    margin-top: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.reply-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.reply-form {
    margin-top: 1rem;
    margin-left: 2rem;
    padding: 1rem;
    background: #f1f5f9;
    border-radius: 12px;
    border-left: 3px solid var(--accent);
    animation: fadeIn 0.3s ease;
}

.reply-list {
    margin-top: 1rem;
    margin-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    position: relative;
}

.reply-list::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 5px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom, #e2e8f0 0%, #f1f5f9 100%);
}

.reply-item {
    background: #f8fafc;
    padding: 1rem 1.2rem;
    border-radius: 0 12px 12px 12px;
    border-left: 3px solid var(--accent);
    font-size: 0.9rem;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* "Speech bubble" arrow for replies */
.reply-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 8px 10px 0;
    border-color: transparent var(--accent) transparent transparent;
}

.reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
}

.reply-name {
    font-weight: 700;
    color: var(--accent-dark);
}

.reply-time {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

/* Edit Mode Styles */
.edit-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-top: 0.5rem;
    margin-left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.edit-btn:hover {
    color: var(--accent);
}

.edit-form {
    display: grid;
    gap: 8px;
    margin-top: 5px;
}

.edit-input {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.9rem;
    font-family: inherit;
    width: 100%;
}

.edit-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.edit-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.edit-btn-save {
    background: var(--accent);
    color: white;
    border: none;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.edit-btn-cancel {
    background: #cbd5e1;
    color: var(--text-primary);
    border: none;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

/* Admin Reply Styles */
.admin-reply-item {
    margin-top: 8px;
    margin-left: 20px;
    padding: 8px;
    background: #f8fafc;
    border-radius: 6px;
    border-left: 2px solid var(--accent-light);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}