/* TAILWIND COLORS */
.color-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#tailwind-colors .color-item {
  border: 1px solid #ccc;
  border-radius: 4px;
  margin: 4px 2px;
  position: relative;
  transition: transform 0.1s ease;
}

#tailwind-colors .color-item p {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 48px;
  font-size: 14px;
  cursor: pointer;
}

#tailwind-colors .color-item p span {
  display: none;
}

#tailwind-colors .color-item p:hover span {
  display: block;
}

.tooltip {
  display: none;
  position: absolute;
  bottom: 90%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 12px;
  z-index: 2;
}

#tailwind-colors .color-item:hover .tooltip {
  display: block;
}

.tooltip a {
  color: #fff;
  text-decoration: none;
  display: flex;
  gap: 4px;
}

/* TAILWIND COLORS SECTION */
.tailwind-colors-section {
  max-width: 800px;
  margin: 2rem auto 0 auto;
}
.tailwind-colors-section div {
  margin-bottom: 3rem;
}
.tailwind-colors-section h2 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: var(--primary-color);
}
.tailwind-colors-section h3 {
  margin-bottom: 1rem;
}
.tailwind-colors-section p {
  margin-bottom: 1rem;
  line-height: 1.5;
}
.tailwind-colors-section pre {
  margin-bottom: 1rem;
  background: #f8fafc;
  border-radius: 6px;
  border: 1px solid #ccc;
  white-space: pre-wrap;
}
.tailwind-colors-section pre code {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}
.tailwind-colors-section ul {
  margin-bottom: 1rem;
}
.tailwind-colors-section li {
  margin-bottom: 1rem;
}

/* TAILWIND COLORS pSEO */
.color-page .breadcrumbs {
  padding: 0 0 .5rem .5rem;
}
.color-value {
  cursor: pointer;
  font-weight: 600;
  padding: .6rem;
}
.color-value:hover {
  filter: brightness(2);
}
.tailwind-color-class {
  display: block;
  background: var(--accent);
  color: var(--text);
  border-radius: var(--radius);
  font-size: 14px;
  padding: 4px 8px;
  cursor: pointer;
}
.tailwind-color-class:hover {
  filter: brightness(0.8);
}

/* UI Card */
.ui-card{
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 360px;
  width: 100%;
  height: auto;
  max-height: 100%;
  color: #0f172a;
  box-sizing: border-box;
}
.ui-card:hover {
  box-shadow: 0 0 0 2px var(--accent);
}
.ui-card button:hover,
.ui-card .subscribe-btn:hover {
  filter: brightness(0.8);
}

/* Calendar */
.cal-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.cal-controls{
  display:flex;
  gap:8px;
  align-items:center;
}
.cal-controls button:hover{
  background: var(--accent);
}
.cal-controls button:hover svg{
  color: var(--text);
}

button.icon-btn{
  display:inline-grid;
  place-items:center;
  width:36px;
  height:36px;
  border-radius:8px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
}
button.icon-btn:focus{ outline: 3px solid rgba(6,182,212,0.14); outline-offset:2px; }
button.icon-btn svg{ width:18px; height:18px; color:var(--muted); }

.month-title{
  font-weight:600;
  font-size:16px;
  text-align:center;
  flex:1;
}

.weekdays{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  font-size:12px;
  color: var(--muted);
  text-align:center;
  margin-bottom:12px;
}

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

.day{
  min-height:40px;
  border-radius:8px;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  font-size:14px;
  color:#0f172a;
}

.day.empty{ background:transparent; color:transparent; pointer-events:none; }

.day button{
  width:38px;
  height:38px;
  border-radius:8px;
  border:none;
  background:transparent;
  cursor:pointer;
  font-size:14px;
}
.day button:hover{ background: rgba(2,6,23,0.04); }

.day.other-month button{ color: #9aa8b6; }

.day.today button{
  background: var(--accent);
  color: var(--text);
}

@media (max-width:420px){
  .ui-card{ padding:12px; max-width: 100%; }
  .day{ min-height:36px; }
  .month-title{ font-size:14px; }
}

/* Pricing Card */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.card-header h3 {
  font-size: 26px;
  font-weight: 700;
  margin: 0;
}

.price {
  font-size: 20px;
  color: #333;
}

.price small {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
}

.features {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.features li {
  display: flex;
  align-items: center;
}

.check {
  color: var(--accent);
  font-weight: bold;
  margin-right: 8px;
  font-size: 14px;
}

.disabled {
  opacity: 0.5;
  text-decoration: line-through;
}

.subscribe-btn {
  display: block;
  width: 100%;
  padding: 12px;
  border: none;
  background: var(--accent);
  color: var(--text);
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease;
  text-decoration: none;
  text-align: center;
}

.subscribe-btn:hover {
  background: var(--accent);
}

/* Chat Container */
.chat {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-start {
  flex-direction: row;
}

.chat-end {
  flex-direction: row-reverse;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-content {
  max-width: 75%;
}

.chat-header {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-time {
  font-size: 11px;
  color: var(--muted);
  margin-left: 8px;
}

.chat-bubble {
  background: #e5e7eb;
  color: #0f172a;
  padding: 10px 14px;
  border-radius: 14px;
  margin-top: 4px;
  line-height: 1.4;
  display: inline-block;
  position: relative;
}

.chat-start .chat-bubble {
  border-bottom-left-radius: 4px;
}

.chat-end .chat-bubble {
  background: var(--accent);
  color: var(--text);
  border-bottom-right-radius: 4px;
}

.chat-footer {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

.chat-input {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 1rem;
}

.chat-input input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 2px solid var(--border);
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
}
.chat-input input:active,
.chat-input input:focus {
  border-color: var(--accent);
}

.chat-input button {
  background: var(--accent);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Login Card */
.login-form legend {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.login-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #0f172a;
}

.login-form input {
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 1rem;
  border: 2px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

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

.login-form button {
  width: 100%;
  padding: 10px;
  background-color: var(--accent);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

/* Song List */
.song-list .list-header {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 16px 16px 8px;
  border-bottom: 1px solid var(--border);
}

.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.2s;
}

.list-row:last-child {
  border-bottom: none;
}

.list-row:hover {
  background-color: var(--card-bg);
}

.cover img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.song-info {
  flex: 1;
}

.song-title {
  font-weight: 500;
}

.song-subtitle {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.6;
  margin-top: 2px;
}

.actions {
  display: flex;
  gap: 6px;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  color: var(--muted);
  transition: background-color 0.2s, color 0.2s;
}

.icon-btn:hover {
  background-color: var(--accent);
  color: var(--text);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

/* Trust Badge */
.trust-badge-avatars {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  justify-content: center;
}
.trust-badge-avatar-group {
  display: flex;
  align-items: center;
}
.trust-badge-avatars img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-right: -0.75rem;
  box-shadow: 0 0 0 1px var(--border-color);
  background: #fff;
}
.trust-badge-rating {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.trust-badge-stars {
  display: flex;
  align-items: center;
}
.trust-badge-star {
  color: var(--accent);
  display: inline-block;
}
.trust-badge-rating-text {
  font-size: 0.875rem;
}
.trust-badge-rating-text .font-semibold {
  font-weight: 600;
}

/* Simple Table */
.simple-table {
  max-width: 746px;
  border-collapse: collapse;
  background: var(--card-bg);
  overflow: hidden;
}

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

.simple-table thead th {
  background: var(--accent);
  color: var(--text);
  font-weight: 600;
}

.simple-table tbody tr:nth-child(even) td {
  background: var(--card-bg);
}

.simple-table a {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
}
.simple-table a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.simple-table img {
  border-radius: 8px;
  border: 1px solid var(--border);
}

@media (max-width: 480px) {
  .simple-table th,
  .simple-table td {
    padding: 10px 12px;
  }
}

/* Choose Industry */
.choose-industry {
  background: var(--accent);
}

.ui-card .title {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.plans {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: pointer;
}
.plan:hover {
  border-color: var(--accent);
}

.plan input[type="radio"] {
  accent-color: var(--accent);
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  cursor: pointer;
}

.plan .name {
  font-weight: 600;
  color: var(--text);
}

.plan .desc {
  font-size: 13px;
  color: var(--text);
  margin-top: 4px;
}

.plan a {
  font-size: 13px;
  color: var(--text);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.plan a:hover {
  text-decoration: none;
}