/* ===== RIGHT (Actions) ===== */

    .sec_radio_recording_history .actions_btns {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

    .sec_radio_recording_history .actions_btns .btn {
  width: 30px;
  height: 30px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

    .sec_radio_recording_history .actions_btns .btn img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

/* =========================
   Overlay Modal
========================= */

#radio_recording_modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 1000;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#radio_recording_modal.is-active {
    opacity: 1;
    visibility: visible;
}

/* =========================
   Modal Body
========================= */

#radio_recording_modal .p-modal__body {
    background: #fff;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 50%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

#radio_recording_modal.is-active .p-modal__body {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* =========================
   Radio Filter Modal Body
========================= */

.radio-filter-modal {
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

.radio-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e5e5;
}

.radio-filter-title {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.radio-filter-close,
.radio-filter-clear {
    background: none;
    border: none;
    font-size: 14px;
    color: #8a8f98;
    cursor: pointer;
    padding: 6px 8px;
}

.radio-filter-close {
    font-size: 20px;
    line-height: 1;
}


.radio-filter-content {
    padding: 16px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}


.radio-filter-block {
    margin-bottom: 18px;
}

.radio-filter-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    outline: none;
    box-sizing: border-box; 
}

.radio-filter-input::placeholder {
    color: #b0b6bd;
}

/* Row */
.radio-filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

/* Labels */
.radio-filter-label {
    font-size: 14px;
    color: #000;
}

/* Divider */
.radio-filter-divider {
    height: 1px;
    background: #e5e5e5;
    margin: 16px 0;
}

/* Date selects */
.radio-filter-date {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.radio-filter-date select {
    width: 70px;
    padding: 6px 8px;
    font-size: 14px;
    border: 1px solid #cfd4da;
    border-radius: 3px;
    background: #fff;
}

/* =========================
   Toggle Switch
========================= */

.radio-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
}

.radio-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-switch-slider {
    position: absolute;
    inset: 0;
    background-color: #d1d5db;
    border-radius: 26px;
    transition: 0.3s;
    cursor: pointer;
}

.radio-switch-slider::before {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    left: 2px;
    top: 2px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

.radio-switch input:checked + .radio-switch-slider {
    background-color: #3fd1b7;
}

.radio-switch input:checked + .radio-switch-slider::before {
    transform: translateX(20px);
}

/* =========================
   Modal Footer Button
========================= */

.radio-filter-footer {
    padding: 16px;
    border-top: 1px solid #e5e5e5;
    background: #fff;
}

/* Sticky feel like the screenshot */
.radio-filter-footer {
    position: sticky;
    bottom: 0;
}

/* Button */
.radio-filter-submit-btn {
    width: 100%;
    height: 48px;
    border-radius: 24px;
    border: none;
    background: #00a6c8;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.radio-filter-submit-btn:hover {
    opacity: 0.9;
}

.radio-filter-modal *,
.radio-filter-modal *::before,
.radio-filter-modal *::after {
    box-sizing: border-box;
}
.radio_recording_player {
	position: relative;
	width: 100%;
	max-width: 400px;
	background: #000;
	border-radius: 12px;
	overflow: hidden;
	font-family: Arial, sans-serif;
	color: #fff;
	text-align: center;
	padding: 20px;
}

.radio_recording_player-overlay {
	position: absolute;
	z-index: 10;
}

.radio_recording_player-top-left {
	top: 15px;
	left: 15px;
	right: 15px;
	max-width: calc(100% - 30px);
}

.radio_recording_player-profile {
	display: flex;
	align-items: center;
	background: rgba(0,0,0,0.6);
	padding: 6px 10px;
	border-radius: 8px;
	position: relative;
}

.radio_recording_player-profile img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	margin-right: 8px;
}

.radio_recording_player-follow-btn {
	margin-left: 10px;
	flex-shrink: 0;
}

.radio_recording_player-follow-btn .icon {
	font-size: 20px;
}

.radio_recording_player-info {
	display: flex;
	flex-direction: column;
	font-size: 12px;
}

.radio_recording_player-name {
	font-weight: bold;
	font-size: 14px;
	margin-bottom: 2px;
	text-align: left;
}

.radio_recording_player-followers {
	font-size: 11px;
	opacity: 0.9;
	color: #fff;
	display: flex;
	align-items: center;
}
.radio_recording_player-followers .c-followSwitch .icon {
	font-size: 12px;
}
.radio_recording_player-follow-icon-display {
	margin-right: 4px;
}
.radio_recording_player-follow-icon-display .icon {
	font-family: "macheVariety icon";
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	vertical-align: middle;
	display: inline-block;
	font-size: 12px;
	position: relative;
	color: #eb008c;
}
.radio_recording_player-follow-icon-display .icon:before {
	content: "\F622";
}

.radio_recording_player-event {
	font-size: 11px;
	color: #fff;
	padding: 6px 10px;
	max-width: 70%;
	width: 70%;
	line-height: 1.4;
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: all 0.3s ease;
	display: block;
	position: relative;
	text-align: left;
	box-sizing: border-box;
}

.radio_recording_player-event.expanded {
	white-space: normal;
	word-wrap: break-word;
}

.radio_recording_player-event.expanded::after {
	content: '';
	display: none;
}

.radio_recording_player-image {
	width: 200px;
	height: 200px;
	margin: 240px auto;
	border-radius: 50%;
	overflow: hidden;
	border: 4px solid #fff;
}

.radio_recording_player-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.custom-media-player {
    width: 90%;
    position: absolute;
    color: #fff;
    bottom: 10px;
}

.player-progress {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
}

#progressBar {
	flex: 1;
	height: 8px;
	border-radius: 4px;
	background: #555;
	cursor: pointer;
}

#progressBar::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #000;
}

.player-controls {
	display: flex;
	justify-content: center;
	gap: 20px;
}

.player-controls button {
	background: none;
	border: none;
	color: #fff;
	font-size: 20px;
	cursor: pointer;
}

@media screen and (max-width: 640px) {
	.radio_recording_player-image {
	width: 150px;
	height: 150px;
	}
	.radio_recording_player-profile img {
	width: 32px;
	height: 32px;
	}
	.radio_recording_player-info {
	font-size: 11px;
	}
	.radio_recording_player-follow-btn .icon {
	font-size: 16px;
	}
	.radio_recording_player-follow-btn {
	margin-left: 6px;
	}
}

.actions_btns .c-followSwitchRadio .icon {
	top: 0;
	font-size: 40px;
}


/* =========================
   talent profile

/* ===== Radio Record History ===== */

	.sec_radio_recording_history {
	padding-bottom: 4rem;
	}

/* ===== Container ===== */

 .sec_radio_recording_history .viewing_history {
	width: 100%;
	border-top: 1px solid #DEE1E2;
	box-sizing: border-box;
	}

.sec_radio_recording_history .history_list {
    padding: 0 4rem;
  }

.sec_radio_recording_history .list-item {
    padding: 1rem 0;
    border-bottom: 1px solid #DEE1E2;
  }

/* ===== Row ===== */

.sec_radio_recording_history .history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  text-decoration: none;
  color: inherit;
}

/* ===== LEFT ===== */

.sec_radio_recording_history .thumbnail_detail {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

    .sec_radio_recording_history .thumbnail {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

    .sec_radio_recording_history .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hide thumbnail only in radio.html (talent profile page) */
#follower_content .sec_radio_recording_history .thumbnail {
  display: none !important;
}

#follower_content .sec_radio_recording_history .name {
  display: none;
}

/* Radio.html specific styles - cleaner layout */
#follower_content .sec_radio_recording_history .first_row {
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

#follower_content .sec_radio_recording_history .date {
  font-size: 14px;
  color: #666;
  order: -1;
}

#follower_content .sec_radio_recording_history .event {
  font-size: 16px;
  font-weight: bold;
  color: #000;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

#follower_content .sec_radio_recording_history .detail {
  width: 100%;
}

#follower_content .sec_radio_recording_history .list-item {
  padding: 16px;
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
}

#follower_content .sec_radio_recording_history .history_list {
  padding: 0;
  margin: 0;
}

    .sec_radio_recording_history .detail {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sec_radio_recording_history .first_row {
  display: flex;
  gap: 8px;
}

    .sec_radio_recording_history .name {
  font-size: 1.6rem;
  font-weight: 600;
  white-space: nowrap;
}

    .sec_radio_recording_history .date {
  font-size: 18px;
  color: #888;
  white-space: nowrap;
}

    .sec_radio_recording_history .event {
   font-size: 1.6rem;
  font-weight: 600;
  max-width: 180px;
  white-space: nowrap;
}

/* ===== Empty State ===== */

.sec_radio_recording_history .not_found .ttl {
  color: #9AABAF;
  font-size: 2.4rem;
  margin-bottom: 1rem;
  text-align: center;
}

    .sec_radio_recording_history .not_found .text {
  color: #9AABAF;
  font-size: 1.6rem;
  margin-bottom: 4rem;
}

    .sec_radio_recording_history .not_found .action {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

    .sec_radio_recording_history .not_found .button {
  font-size: 1.6rem;
  width: 25rem;
  height: 2.5em;
  line-height: 2.5em;
  border-radius: 2.5em;
  border: 2px solid #00A0C8;
  text-decoration: none;
}

    .sec_radio_recording_history .not_found .button img {
  margin-right: 0.4rem;
}

    .sec_radio_recording_history .search_filter {
  padding: 20px;
  display: flex;
  justify-content: flex-end;
}

.sec_radio_recording_history .search_filter a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.6rem;
  color: #333;
  text-decoration: none;
}

.sec_radio_recording_history .search_filter img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}
.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
