/*--------------------------------------------------------------
  Castaminofen child theme — brand overrides only.
  Component/layout styles: plugins/castory/assets/css/custom.css
--------------------------------------------------------------*/

:root {
    --primary-color: #776CFE;
    --primary-hover: #A03CFF;
    --accent-color: #00EA99;
    --secondary-color: #99BE7D;
    --bg-dark: #1A1D29;
    --card-bg: #FFFFFF;
    --text-dark: #111827;
    --text-gray: #4B5563;
    --border-color: #E5E7EB;
}

/* BuddyBoss profile: listening history tab */
.cast-podcast-history-wrap h3 {
    color: var(--text-dark);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.cast-history-list {
    list-style: none;
    padding: 0;
}

.cast-history-list li {
    background: #F9FAFB;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.cast-history-list li:hover {
    background: #F3F4F6;
    border-left-color: var(--accent-color);
}

.cast-history-list .podcast-title {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

.cast-history-list .podcast-time {
    color: var(--text-gray);
    font-size: 0.9em;
    background: var(--border-color);
    padding: 4px 8px;
    border-radius: 4px;
}

.is-dark-mode .cast-history-list li {
    background: var(--bg-dark);
}

.is-dark-mode .cast-podcast-history-wrap h3 {
    color: #F3F4F6;
}

/* Podcast comment seek markers */
#comment-timestamp-input {
    display: none;
}

.comment-time-marker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    margin-right: 8px;
    background: rgba(119, 108, 254, 0.08);
    color: var(--primary-color);
    border: 1px solid rgba(119, 108, 254, 0.25);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all 0.25s ease;
}

.comment-time-marker:hover {
    background: var(--primary-color);
    color: #fff !important;
    border-color: var(--primary-color);
    box-shadow: 0 6px 16px rgba(119, 108, 254, 0.22);
    transform: translateY(-1px);
}

.comment-time-marker::before {
    content: "🎧";
    font-size: 0.9rem;
}

.is-dark-mode .comment-time-marker {
    background: rgba(0, 234, 153, 0.08);
    color: var(--accent-color);
    border-color: rgba(0, 234, 153, 0.25);
}

.is-dark-mode .comment-time-marker:hover {
    background: var(--accent-color);
    color: #111827 !important;
    border-color: var(--accent-color);
}
