.admin-dashboard-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 100vw;
  height: 100vh;
  background: var(--nav-bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-left: 1px solid var(--border-wine);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
}

.admin-dashboard-drawer.is-open {
  transform: translateX(0);
}

.admin-drawer-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-wine);
}

.admin-drawer-header h3 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--wine);
}

.admin-drawer-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--ink);
  opacity: 0.6;
  transition: opacity 0.2s;
  padding: 0;
  line-height: 1;
}

.admin-drawer-close:hover {
  opacity: 1;
  color: var(--rose);
}

.admin-drawer-tabs {
  display: flex;
  padding: 10px 24px 0;
  border-bottom: 1px solid var(--border-wine);
  gap: 12px;
}

.admin-tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 10px 4px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  opacity: 0.6;
  transition: all 0.2s;
}

.admin-tab-btn:hover {
  opacity: 1;
  color: var(--wine);
}

.admin-tab-btn.is-active {
  opacity: 1;
  color: var(--wine);
  border-bottom-color: var(--wine);
}

.admin-drawer-content {
  flex: 1;
  padding: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.admin-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.admin-content-header h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.admin-action-add {
  background: var(--wine);
  color: #fff8ef;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.admin-action-add:hover {
  background: var(--rose);
  transform: scale(1.02);
}

.admin-action-add:active {
  transform: scale(0.98);
}

.admin-list-scroll {
  flex: 1;
  overflow-y: auto;
  padding-right: 4px;
}

/* Custom Scrollbar */
.admin-list-scroll::-webkit-scrollbar {
  width: 6px;
}
.admin-list-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.admin-list-scroll::-webkit-scrollbar-thumb {
  background: var(--border-wine);
  border-radius: 10px;
}

.admin-item-row {
  display: flex;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 248, 239, 0.4);
  border: 1px solid rgba(114, 47, 55, 0.1);
  margin-bottom: 12px;
  transition: all 0.2s;
}

[data-theme="dark"] .admin-item-row {
  background: rgba(26, 18, 19, 0.4);
  border-color: rgba(255, 248, 239, 0.05);
}

.admin-item-row:hover {
  border-color: var(--border-wine);
  background: rgba(114, 47, 55, 0.05);
}

.admin-item-thumb {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 14px;
  border: 1px solid var(--border-wine);
  background: var(--input-bg);
}

.admin-item-thumb--video {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.admin-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.admin-item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-item-meta {
  font-size: 12px;
  opacity: 0.6;
  margin-top: 4px;
}

.admin-item-actions {
  display: flex;
  gap: 8px;
}

.admin-btn-icon {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: background 0.2s;
}

.admin-btn-icon:hover {
  background: rgba(114, 47, 55, 0.1);
}

.admin-drawer-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-wine);
  display: flex;
  justify-content: flex-end;
}

.admin-logout-btn {
  background: none;
  border: 1px solid var(--rose);
  color: var(--rose);
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.admin-logout-btn:hover {
  background: var(--rose);
  color: #fff8ef;
}

/* Story Tab Cards */
.admin-story-card {
  border: 1px solid rgba(114, 47, 55, 0.15);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
  background: rgba(255, 248, 239, 0.3);
}

[data-theme="dark"] .admin-story-card {
  border-color: rgba(255, 248, 239, 0.08);
  background: rgba(26, 18, 19, 0.3);
}

.admin-story-card-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.admin-story-card-num {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--wine);
  letter-spacing: 0.05em;
}

.admin-story-card-title {
  font-size: 15px;
  font-weight: 700;
  margin-top: 2px;
}

.admin-story-photos-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-story-photo-item {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-wine);
}

.admin-story-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-story-photo-del {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
  line-height: 1;
}

.admin-story-photo-del:hover {
  background: var(--rose);
}

.admin-story-photo-add-btn {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  border: 2px dashed var(--border-wine);
  background: transparent;
  color: var(--wine);
  font-size: 24px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-story-photo-add-btn:hover {
  background: rgba(114, 47, 55, 0.05);
  border-color: var(--rose);
  color: var(--rose);
}
