/* ===========================
   ADMIN LAYOUT – DARK + WARM
=========================== */

.admin-container {
  display: flex;
  min-height: 100vh;
  background: #121212; /* main dark background */
  color: #f5f5f5;
}

/* ------------------ SIDEBAR ------------------ */

.admin-sidebar {
  width: 300px;
  background: #1a1a1a; /* slightly lighter than body */
  border-right: 1px solid #2a2a2a;
  padding: 24px;
}

.sidebar-header {
  font-weight: 600;
  margin-bottom: 25px;
  font-size: 18px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* Main Sidebar Item */
.sidebar-item {
  display: flex;
  align-items: center;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
  color: #e0e0e0;
}

.sidebar-item:hover {
  background: #242424;
}

.sidebar-item.active {
  background: #1f1f1f;
  border: 1px solid #f48c42;
  box-shadow: 0 0 0 1px rgba(244, 140, 66, 0.3);
}

/* Warm Accent Icon */
.icon-circle {
  width: 40px;
  height: 40px;
  background: #f48c42; /* warm accent */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 10px;
  font-weight: 600;
}

/* Sub Item Button */
.sidebar-sub-item {
  margin-top: 15px;
  width: 100%;
  padding: 12px;
  border: 1px solid #f48c42;
  border-radius: 8px;
  background: #222;
  color: #f48c42;
  text-decoration: none;
  display: block;
  text-align: center;
  font-weight: 600;
  transition: all 0.2s ease;
}

.sidebar-sub-item:hover {
  background: #f48c42;
  color: #121212;
}

.sidebar-sub-item.active-sub {
  background: #f48c42;
  color: #121212;
}

/* ------------------ CONTENT ------------------ */

.admin-content {
  flex: 1;
  padding: 40px;
  background: #121212;
}

/* Header */
.content-header {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

/* Cancel Button */
.cancel-btn {
  border: 1px solid #f48c42;
  padding: 10px 20px;
  border-radius: 10px;
  background: transparent;
  color: #f48c42;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.cancel-btn:hover {
  background: #f48c42;
  color: #121212;
}

/* Headings */
.content-body h1 {
  font-size: 32px;
  margin-top: 40px;
  margin-bottom: 40px;
  color: #ffffff;
}

/* Section Titles */
.section-title {
  font-weight: 700;
  letter-spacing: 2px;
  margin-top: 40px;
  color: #f48c42; /* warm accent */
}

/* Content Cards / Placeholder Blocks */
.section-placeholder {
  height: 120px;
  background: #1e1e1e;
  border-radius: 12px;
  margin-top: 15px;
  border: 1px solid #2a2a2a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
/* ===========================
   LOGIN BUTTON (ADMIN THEME)
=========================== */

.login-label ::ng-deep a,
.login-icon ::ng-deep a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid #f48c42;
  background: transparent;
  color: #f48c42 !important;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.login-label ::ng-deep a:hover,
.login-icon ::ng-deep a:hover {
  background: #f48c42;
  color: #121212 !important;
}

/* Icon-only version */
.login-icon ::ng-deep a {
  padding: 10px;
  width: 42px;
  height: 42px;
}

/* Responsive switch (like PeerTube header) */
@media (max-width: 768px) {
  .login-label {
    display: none;
  }

  .login-icon {
    display: inline-block;
  }
}

@media (min-width: 769px) {
  .login-icon {
    display: none;
  }
}