.stm-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 18px;
  border-top: 4px solid #009fe3;
  box-shadow: 0 8px 24px rgba(31, 45, 61, 0.06);
}
.stm-hero img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: #000;
  flex: 0 0 auto;
}
.stm-hero h2 {
  margin: 0 0 4px;
  font-size: 1.35rem;
  font-weight: 700;
}
.stm-hero p {
  margin: 0;
  color: #6c757d;
}
.stm-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.stm-tile {
  background: #fff;
  border-radius: 14px;
  padding: 16px 16px 14px;
  box-shadow: 0 8px 24px rgba(31, 45, 61, 0.06);
  min-height: 108px;
}
.stm-tile .stm-label {
  display: block;
  color: #6c757d;
  font-size: 0.82rem;
  margin-bottom: 6px;
}
.stm-tile strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.3;
  color: #1f2d3d;
}
.stm-tile .stm-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}
.stm-dot-blue { background: #009fe3; }
.stm-dot-red { background: #c71012; }
.stm-dot-yellow { background: #ffee00; border: 1px solid #d6c800; }
.stm-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(31, 45, 61, 0.06);
  margin-bottom: 18px;
  overflow: hidden;
}
.stm-card h3 {
  margin: 0;
  padding: 16px 18px 0;
  font-size: 1.05rem;
  font-weight: 700;
}
.stm-card .stm-note {
  margin: 4px 18px 0;
  color: #6c757d;
  font-size: 0.88rem;
}
.stm-card .table {
  margin: 12px 0 0;
}
.stm-card .table th {
  border-top: 0;
  color: #6c757d;
  font-weight: 600;
  font-size: 0.82rem;
}
.stm-zero {
  margin: 14px 18px 18px;
  background: #f4fbff;
  border-left: 4px solid #009fe3;
  border-radius: 10px;
  padding: 12px 14px;
  color: #1f2d3d;
}
.stm-actions a {
  display: inline-block;
  margin: 0 6px 6px 0;
  background: #009fe3;
  color: #fff !important;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.82rem;
}
.stm-actions a:hover { background: #007fb6; color: #fff !important; }
.stm-actions a.stm-print { background: #1f2d3d; }
.stm-poster {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  background: #111;
}
.stm-empty {
  padding: 28px 18px 32px;
  text-align: center;
  color: #6c757d;
}
.stm-empty a {
  display: inline-block;
  margin-top: 10px;
  background: #c71012;
  color: #fff !important;
  border-radius: 8px;
  padding: 8px 14px;
}
.stm-empty a:hover { background: #9a0c0e; }
@media (max-width: 991px) {
  .stm-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .stm-tiles { grid-template-columns: 1fr; }
  .stm-hero { align-items: flex-start; padding: 16px; }
}

body.sidebar-mini .content-wrapper {
  background: #f3f7fb;
}
.content-header h1 {
  font-weight: 700;
  color: #1f2d3d;
  font-size: 1.45rem;
}

.main-header.navbar {
  position: relative;
  border-bottom: 0;
  min-height: 60px;
}
.main-header.navbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #009fe3 0 72%, #ffee00 72% 80%, #c71012 80% 100%);
}
.main-header .stm-top {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #1f2d3d;
  border-radius: 8px;
  margin: 8px 2px;
}
.main-header .stm-top i {
  color: #009fe3;
  width: 1.1rem;
  text-align: center;
}
.main-header .stm-top.active {
  color: #009fe3;
  font-weight: 700;
  background: rgba(0, 159, 227, 0.1);
}
.main-header .stm-publier {
  background: #c71012;
  color: #fff !important;
  padding-left: 12px;
  padding-right: 12px;
}
.main-header .stm-publier i,
.main-header .stm-publier.active {
  color: #fff;
  background: transparent;
}
.main-header .stm-publier:hover {
  background: #9a0c0e;
  color: #fff !important;
}

.main-sidebar {
  background: #15202b;
}
.sidebar-dark-primary .brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 64px;
  padding: 0 14px;
  border-bottom: 3px solid #c71012;
  background: #101820;
}
.sidebar-dark-primary .brand-link .brand-image {
  float: none;
  width: 36px;
  height: 36px;
  max-height: 36px;
  margin: 0;
  border-radius: 8px;
  object-fit: contain;
  background: #000;
  opacity: 1;
}
.sidebar-dark-primary .brand-text {
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.1;
}
.sidebar-dark-primary .brand-text small {
  display: block;
  margin-top: 2px;
  color: #ffee00;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  font-weight: 700;
}
.user-panel {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.user-panel .image {
  display: flex;
  padding-left: 4px;
}
.stm-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: #000;
}
.stm-avatar.is-logo {
  object-fit: contain;
  padding: 4px;
}
.user-panel .info {
  overflow: hidden;
  padding: 0 8px;
}
.user-panel .info a {
  color: #fff;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stm-mail {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-sidebar .nav-item {
  margin: 0;
}
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link {
  display: flex;
  align-items: center;
  border-radius: 10px;
  margin: 3px 10px;
  color: rgba(255, 255, 255, 0.86);
}
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link .nav-icon {
  width: 1.5rem;
  margin-right: 0.55rem;
  text-align: center;
  font-size: 0.95rem;
  color: #ffee00;
}
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link p {
  margin: 0;
}
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link:hover {
  background: rgba(0, 159, 227, 0.18);
  color: #fff;
}
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active {
  background: #009fe3;
  color: #fff;
  box-shadow: none;
}
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active .nav-icon {
  color: #fff;
}
.stm-logout-item {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.stm-logout .nav-icon {
  color: #c71012;
}
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.stm-logout:hover {
  background: rgba(199, 16, 18, 0.18);
}

.main-footer {
  border-top: 3px solid #009fe3;
  background: #fff;
  color: #1f2d3d;
}
.main-footer a {
  color: #009fe3;
}
.main-footer a:hover {
  color: #c71012;
}

.info-box.stm-box-blue { background: #009fe3; color: #fff; }
.info-box.stm-box-blue .info-box-icon { background: rgba(0, 0, 0, 0.12); color: #fff; }
.info-box.stm-box-navy { background: #1f2d3d; color: #fff; }
.info-box.stm-box-navy .info-box-icon { background: #ffee00; color: #1f2d3d; }
.info-box.stm-box-red { background: #c71012; color: #fff; }
.info-box.stm-box-red .info-box-icon { background: rgba(0, 0, 0, 0.12); color: #fff; }

.sidebar-mini.sidebar-collapse .main-sidebar:not(:hover) .brand-link {
  justify-content: center;
  padding: 0;
}
.sidebar-mini.sidebar-collapse .main-sidebar:not(:hover) .brand-text,
.sidebar-mini.sidebar-collapse .main-sidebar:not(:hover) .user-panel,
.sidebar-mini.sidebar-collapse .main-sidebar:not(:hover) .nav-sidebar p {
  display: none !important;
}
.sidebar-mini.sidebar-collapse .main-sidebar:not(:hover) .brand-image {
  flex: 0 0 36px;
  margin: 0;
}
.sidebar-mini.sidebar-collapse .main-sidebar:not(:hover) .nav-sidebar > .nav-item > .nav-link {
  width: 46px;
  height: 42px;
  margin: 4px auto;
  padding: 0;
  justify-content: center;
}
.sidebar-mini.sidebar-collapse .main-sidebar:not(:hover) .nav-sidebar > .nav-item > .nav-link .nav-icon {
  margin: 0;
  width: auto;
}

@media (max-width: 991px) {
  .main-header .stm-top span { display: none; }
  .main-header .stm-top { padding-left: 10px; padding-right: 10px; }
  .main-header .stm-publier { padding-left: 10px; padding-right: 10px; }
  .content-header h1 { font-size: 1.2rem; }
  .main-footer .float-right { float: none !important; display: block; margin-top: 6px; }
}
@media (max-width: 420px) {
  .main-header .navbar-nav .nav-link { padding-left: 8px; padding-right: 8px; }
}

.stm-about {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(31, 45, 61, 0.06);
  margin-bottom: 18px;
}
.stm-about-cover {
  height: 92px;
  background: linear-gradient(90deg, #009fe3 0 72%, #ffee00 72% 80%, #c71012 80% 100%);
  position: relative;
}
.stm-about-logo {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  background: #000;
}
.stm-about-photo {
  display: block;
  width: 104px;
  height: 104px;
  margin: -52px auto 8px;
  position: relative;
  cursor: pointer;
}
.stm-about-avatar {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  background: #000;
  display: block;
}
.stm-about-avatar.is-logo { object-fit: contain; padding: 10px; }
.stm-about-preview {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
}
.stm-about-preview.is-visible { display: block; }
.stm-about-change {
  position: absolute;
  right: 2px;
  bottom: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #009fe3;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}
.stm-about h3 {
  margin: 0;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
}
.stm-about-role,
.stm-about-bio {
  margin: 4px 16px 0;
  text-align: center;
  color: #6c757d;
  font-size: 0.88rem;
}
.stm-about-form { text-align: center; padding: 8px 16px 0; }
.stm-about-form input[type="file"] { display: none; }
.stm-about-form .btn,
.stm-btn-blue {
  background: #009fe3;
  color: #fff;
  border: 0;
  border-radius: 8px;
}
.stm-about-form .btn:hover,
.stm-btn-blue:hover { background: #007fb6; color: #fff; }
.stm-btn-red {
  background: #c71012;
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-weight: 700;
}
.stm-btn-red:hover { background: #9a0c0e; color: #fff; }
.stm-about-progress,
.stm-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 16px 0;
}
.stm-about-progress .progress,
.stm-progress .progress { flex: 1; height: 8px; }
.stm-about-progress .progress-bar,
.stm-progress .progress-bar { background: #009fe3; }
.stm-about-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}
.stm-about-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 16px;
  border-top: 1px solid #eef2f6;
  font-size: 0.88rem;
}
.stm-about-list i {
  width: 16px;
  text-align: center;
  color: #009fe3;
  margin-top: 2px;
}
.stm-about-list li:nth-child(4) i,
.stm-about-list li:nth-child(5) i,
.stm-about-list li:nth-child(6) i { color: #c71012; }
.stm-about-list li:nth-child(n+7) i {
  color: #1f2d3d;
  background: #ffee00;
  border-radius: 4px;
  width: 18px;
  height: 18px;
  line-height: 18px;
  font-size: 0.72rem;
}

.stm-form-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px 0;
}
.stm-form-head img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: contain;
  background: #000;
}
.stm-form-head h3 { padding: 0; }
.stm-form-head p { margin: 2px 0 0; color: #6c757d; font-size: 0.86rem; }
.stm-form-body { padding: 8px 18px 18px; }
.stm-form .form-group label { font-weight: 600; color: #1f2d3d; }
.stm-file-note { margin: 0 0 8px; color: #6c757d; font-size: 0.84rem; }
.stm-form .input-group { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
.stm-form .input-group .col-9 { flex: 1; max-width: none; padding: 0; }
.stm-form .input-group .col-3 {
  display: flex;
  gap: 6px;
  width: auto;
  max-width: none;
  flex: 0 0 auto;
  padding: 0;
}
.stm-form .btn-primary {
  background: #009fe3;
  border-color: #009fe3;
}
.stm-form .btn-warning {
  background: #ffee00;
  border-color: #ffee00;
  color: #1f2d3d;
}
.stm-form-actions { margin-top: 8px; }
.stm-player {
  margin: 14px 18px 4px;
  padding: 16px;
  border-radius: 16px;
  background: #15202b;
  color: #fff;
}
.stm-player-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.stm-player-cover {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  object-fit: cover;
  background: #000;
  flex: 0 0 auto;
}
.stm-player-meta { flex: 1; min-width: 0; }
.stm-player-title,
.stm-player-album,
.stm-player-count { display: block; }
.stm-player-title {
  font-size: 1.05rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stm-player-album { color: rgba(255,255,255,0.72); font-size: 0.84rem; }
.stm-player-count { color: #ffee00; font-size: 0.75rem; margin-top: 4px; font-weight: 700; }
.stm-player-controls { display: flex; align-items: center; gap: 8px; }
.stm-player-controls button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.stm-player-controls .stm-player-play {
  width: 52px;
  height: 52px;
  background: #c71012;
  font-size: 1.05rem;
}
.stm-player-controls .stm-player-play:hover { background: #9a0c0e; }
.stm-player-controls button:hover { color: #fff; }
.stm-player-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
}
.stm-player-seek {
  flex: 1;
  height: 6px;
  border: 0;
  border-radius: 99px;
  appearance: none;
  outline: none;
}
.stm-player-seek::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffee00;
  border: 2px solid #1f2d3d;
  cursor: pointer;
}
.stm-player-mode { display: flex; gap: 8px; margin-top: 12px; }
.stm-player-mode button {
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.8rem;
}
.stm-player-mode button.is-on { background: #009fe3; }
.stm-player-hint { margin: 8px 0 0; color: #ffee00; font-size: 0.8rem; }
.stm-row-play,
.stm-track-open {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0;
  color: inherit;
  min-width: 0;
}
.stm-row-play { position: relative; }
.stm-row-play i,
.stm-track-open > i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #009fe3;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  flex: 0 0 auto;
}
.stm-row-play i {
  position: absolute;
  left: 9px;
  top: 9px;
}
.stm-row-play.is-playing i,
.stm-track-open.is-playing > i {
  background: #ffee00;
  color: #1f2d3d;
}
.stm-track-open.is-playing { color: #009fe3; }
.stm-track-open span { display: flex; flex-direction: column; min-width: 0; }
.stm-track-open small { color: #6c757d; }
.stm-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-top: 1px solid #eef2f6;
}
.stm-track-cover {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  background: #111;
  flex: 0 0 auto;
}
.stm-track-body { flex: 1; min-width: 0; }
.stm-track-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}
.stm-track-top strong { display: block; }
.stm-track-top span { color: #6c757d; font-size: 0.84rem; }
.stm-listen {
  margin: 8px 0 2px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #009fe3;
}
.stm-track audio { width: 100%; height: 36px; }
.stm-no-preload { margin: 0; color: #6c757d; font-size: 0.84rem; }
.stm-actions a.stm-danger { background: #c71012; }
.stm-actions a.stm-danger:hover { background: #9a0c0e; }
.stm-album-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 18px 4px;
  padding: 0 12px;
  border: 1px solid #e6edf3;
  border-radius: 10px;
  background: #fff;
}
.stm-album-search i { color: #ffee00; background: #1f2d3d; border-radius: 6px; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.72rem; }
.stm-album-search input {
  flex: 1;
  border: 0;
  padding: 10px 0;
  outline: none;
  background: transparent;
}
.stm-album {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid #eef2f6;
}
.stm-album-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #009fe3;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.stm-album-text { flex: 1; min-width: 0; }
.stm-album-text strong,
.stm-album-text small { display: block; }
.stm-album-text strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stm-album-text small { color: #6c757d; }
.stm-album-vide { margin: 0; padding: 16px 18px 20px; color: #6c757d; text-align: center; }
@media (max-width: 575px) {
  .stm-player-top { flex-wrap: wrap; }
  .stm-player-controls { width: 100%; justify-content: center; }
  .stm-track { flex-direction: column; align-items: stretch; }
  .stm-album { flex-wrap: wrap; }
  .stm-album .stm-actions { width: 100%; }
}
