/* Global font */
body {
  font-family: 'Inter', sans-serif;
}

/* Sidebar */
.sidebar {
  background-color: #ffffff; /* Slate 900 */
}
.sidebar a {
  color: #000000; /* Slate 400 */
}
.sidebar a:hover,
.sidebar a.active {
  color: #f0f0f0;
  background-color: #1E293B; /* Slate 800 */
}

/* Main Content */
.main-content {
  background-color: #F8FAFC; /* Slate 50 */
}

/* Cards */
.card {
  display: block;
  background: white;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.2s;
  font-weight: 500;
  color: #374151;
}
.card:hover {
  box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
}

/* Hero buttons */
.btn-tab {
  background: white;
  color: #1f2937;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 0.375rem;
  transition: background 0.2s;
}
.btn-tab:hover {
  background: #e5e7eb;
}
/* Login/Signup Buttons */
.btn-login {
  font-weight: 500;
  color: #374151; /* gray-700 */
  transition: color 0.2s;
}
.btn-login:hover {
  color: #1d4ed8; /* blue-700 */
}

.btn-signup {
  background: #facc15; /* yellow-400 */
  color: #111827; /* gray-900 */
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  transition: background 0.2s;
}
.btn-signup:hover {
  background: #eab308; /* yellow-500 */
}

/* Add (+) button and dropdown */
.add-btn {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #0ea5e9; /* sky-500 */
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: background 0.2s, transform 0.1s;
}
.add-btn:hover { background: #0284c7; }
.add-btn:active { transform: translateY(1px); }

.add-menu {
  position: absolute;
  right: 0;
  margin-top: 0.5rem;
  width: 14rem;
  background: #0f172a; /* slate-900 */
  color: #e5e7eb; /* slate-200 */
  border-radius: 0.5rem;
  padding: 0.5rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  z-index: 50;
}
.add-menu.hidden { display: none; }
.add-menu .menu-title {
  font-size: 0.75rem;
  color: #93c5fd; /* blue-300 */
  padding: 0.5rem 0.75rem;
}
.add-menu .menu-item {
  display: block;
  padding: 0.6rem 0.75rem;
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
}
.add-menu .menu-item:hover {
  background: #1e293b; /* slate-800 */
  color: #ffffff;
}

/* Header icons next to plus */
.icon-btn {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #0f172a; /* slate-900 */
  color: #cbd5e1; /* slate-300 */
  border: 1px solid #1e293b; /* slate-800 */
  transition: background 0.2s, color 0.2s;
}
.icon-btn:hover { background: #111827; color: #ffffff; }

.icon-menu {
  position: absolute;
  right: 0;
  margin-top: 0.5rem;
  width: 14rem;
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.5rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  z-index: 50;
}
.icon-menu.hidden { display: none; }

/* ensure icon row stays horizontal and tidy */
.icon-row { gap: 0.75rem; }

/* Show dropdowns on hover (no JS needed) */
.relative:hover > .icon-menu { display: block; }
.relative:hover > .add-menu { display: block; }

/* Menu items inside top-right icon dropdowns */
.icon-menu .menu-item {
  display: block;
  padding: 0.6rem 0.75rem;
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
}
.icon-menu .menu-item:hover {
  background: #1e293b; /* slate-800 */
  color: #ffffff;
}
/* Logo upload & preview */
.drop {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  text-align: center;
  transition: background 0.2s, border 0.2s;
}
.drop.dragover {
  background: #eef2ff;
  border-color: #3b82f6;
  color: #1e3a8a;
}
.drop img.preview {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 6px;
}
.hint-mini {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-top: 6px;
}
