/* Base Reset & Typography */
body {
  margin: 0;
  font-family: 'Segoe UI', Roboto, sans-serif;
 background: linear-gradient(to bottom, #e8f6f3 0%, #ffffff 100%);
  color: #333;                                                         /* default body text color.*/
  line-height: 1.6;
}

h1, h2, h3 {
  color: #2c3e50;        /* A dark blue-grey used for all heading.*/
  margin-top: 1rem;
}

a {
  color: #007bff;   /* A standard bright blue used for all hyperlinks.*/
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}










/* sidebar with color and size */

.sidebar {
  width: 180px; /* was 220px */
  background-color: #2c3e50; /* Dark blue-grey for the sidebar background.*/
  padding: 1.25rem;
  color: #ecf0f1;    /* Light grey for sidebar text.*/
  flex-shrink: 0;
}

.sidebar li {
  margin: 0.8rem 0;
}

/* Layout Grid */
.container {
  display: flex;
  min-height: 100vh;
}

.sidebar h3 {
  margin-top: 0;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar a {
  color: #ecf0f1;                   /* Light grey for sidebar text.*/
  font-weight: 500;
}
.sidebar a:hover {
  color: #2c3e50;
  background-color: #e5f1ff; /* Pastel blue background */
}


.sidebar ul li a {
  transition: background-color 0.2s ease, padding-left 0.2s ease;
  padding: 0.4rem 0.8rem;
  display: block;
  border-radius: 6px;
}















/* Main Content */
.main-content {
  flex: 1;
  padding: 2rem;
  background: #fff;
  border-left: 1px solid #ddd;
}










/* Table Styling */
.repo-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.repo-table th, .repo-table td {
  padding: 0.8rem;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.repo-table th {
  background-color: #f0f0f0;
  color: #333;
}









/* Auth Button */
.auth-btn {
  background-color: #1abc9c;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border: none;
  margin-bottom: 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
}

.auth-btn:hover {
  background-color: #16a085;
}











/* Corpus Description Page */
.corpus-details {
  width: 100%;
  max-width: 700px;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.corpus-details th, .corpus-details td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid #ccc;
  vertical-align: top;
}

.corpus-details th {
  text-align: left;
  width: 200px;
  background-color: #f9f9f9;
}

ul li {
  margin-bottom: 0.5rem;
}
























/* Dashboard Cards */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}


.dashboard-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.dashboard-card h3 {
  margin-top: 0;
  color: #2c3e50;
}

.dashboard-card p {
  font-size: 0.95rem;
  color: #555;
}

.dashboard-btn {
  margin-top: 1rem;
  background-color: #ccc;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: not-allowed;
}



.dashboard-card {
  background-color: #e5f1ff; /* pastel blue */
  background-repeat: repeat;
  background-size: auto;
  border: 1px solid #ddd;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s ease;
}














/* Documentation Page Styling */
.doc-nav {
  margin: 1rem 0 2rem 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.doc-nav a {
  background-color: #ecf0f1;
  color: #2c3e50;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.doc-nav a:hover {
  background-color: #dfe6e9;
}

section {
  margin-bottom: 2.5rem;
}

section h3 {
  margin-bottom: 0.5rem;
}


















/* Notebook Gallery */
.notebook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}


.notebook-card {
  background-color: #e5f1ff; /* pastel blue */
  background-repeat: repeat;
  background-size: auto;
  border: 1px solid #ddd;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s ease;
}

.notebook-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.notebook-card h3 {
  margin-top: 0;
  color: #2c3e50;
}

.notebook-card p {
  font-size: 0.95rem;
  color: #555;
}






















.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card-button {
  display: inline-block;
  margin-top: 1rem;
  background-color: #1abc9c;
  color: white;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.card-button:hover {
  background-color: #004a99;
}




























/* Tighter spacing and professional layout */
.hero-card {
  background-color: #1abc9c;
  color: white;
  padding: 1.8rem 2.5rem;
  border-radius: 16px;
  margin: 2rem auto 1rem auto;
  max-width: 900px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.hero-card h2 {
  font-size: 1.8rem;
  margin: 0 0 0.6rem 0;
}

.hero-card p {
  font-size: 1.05rem;
  margin: 0;
}

.learn-more-card {
  background-color: #f5f5f5;
  padding: 1.2rem 2rem;
  border-radius: 16px;
  margin: 2rem auto;
  max-width: 900px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.learn-more-card h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.learn-more-card p {
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}

/* General section spacing cleanup */
section {
  margin-bottom: 1.5rem;
}

/* Reduce top margin of h2 inside main */
.main-content h2 {
  margin-top: 1rem;
}














/* Main page size, position and color */



/* hero card position */


.hero-card {
  margin: 0 auto 1.5rem auto; /* no top margin */
  padding: 1.5rem 2rem;
  max-width: 900px;
}

.hero-card {
  background-color: #d6ebff; /* pastel blue matching your logo */
  background-repeat: repeat;
  background-size: auto;
  color: #2c3e50;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  text-align: center;
}



/* feature card main page */

.features-grid {
  margin-top: 1.5rem;
  gap: 1.5rem;
}


section {
  margin-bottom: 1.5rem;
}

















/* Header Layout */
.site-header {
  background-color: #ecf0f1;
  padding: 1rem 2rem;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.branding {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  width: 50px;
  height: 50px;
}

.site-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
}






















/* Search Bar Styling */


.search-container {
  position: relative;
}

.search-input {
  padding: 0.6rem 2.2rem 0.6rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background: #fff;
  width: 200px;
}

.search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #999;
}

.search-bar {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ccc;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.search-bar input {
  border: none;
  outline: none;
  font-size: 1rem;
}

.search-bar input::placeholder {
  color: #aaa;
}


/* RIGHT header alignment for search & toggle */
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}


















/* scrollTopBtn */


#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #1abc9c;
  color: white;
  cursor: pointer;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 1.2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

#scrollTopBtn:hover {
  background-color: #16a085;
}





.copy-btn {
  margin-left: 0.5rem;
  padding: 0.2rem 0.5rem;
  background-color: #eee;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

.copy-btn:hover {
  background-color: #ddd;
}






.lang-toggle {
  display: flex;
  gap: 0.5rem;
  margin-left: 1rem;
}

.lang-btn {
  padding: 0.4rem 0.8rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.lang-btn.active {
  background-color: #005f8e;
}

.lang-btn.active {
  background-color: #0077b6;
  color: white;
  font-weight: bold;
  border-radius: 6px;
}


















/* filters */


.tag-filters {
  margin: 1rem 0;
}

.tag {
  display: inline-block;
  background: #ecf0f1;
  color: #2c3e50;
  padding: 0.4rem 0.8rem;
  margin: 0.3rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}

.tag:hover {
  background: #d0e6e0;
}

.tag.active {
  background-color: #1abc9c;
  color: white;
}












/* repo table */


.repo-table tbody tr {
  transition: all 0.3s ease;
}

.repo-table tbody tr.hide {
  opacity: 0;
  transform: translateY(10px);
}

.repo-table tbody tr.show {
  opacity: 1;
  transform: translateY(0);
}





















html {
  scroll-behavior: smooth;
}

button,
.card-button,
.feature-card {
  transition: all 0.3s ease;
}

.feature-card {
  transform: scale(1);
}
.feature-card:hover {
  transform: scale(1.02);
}
























:root {
  --primary: #0077b6;       /* Logo blue */
  --accent: #1abc9c;        /* Your existing accent */
  --nav-bg: #22313f;        /* Dark navy for nav */
  --light-bg: #f9fafa;      /* Light background */
  --text-dark: #2c3e50;
  --text-light: #ffffff;
  --shadow: 0 4px 10px rgba(0,0,0,0.05);
  --border-radius: 12px;
}

body {
  font-family: 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--light-bg);
  line-height: 1.7;
}

/* Headings */
h1, h2, h3 {
  color: var(--text-dark);
  font-weight: 600;
}

/* Buttons & Links */
a {
  color: var(--primary);
}





/* Feature cards */
.feature-card {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 1.8rem;
  background: white;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}





























footer {
  background-color: #a3d5f7;
  color: #2c3e50;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
}



/* Responsive Design */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    padding: 1rem;
  }

  .main-content {
    padding: 1.5rem;
  }
}






















































.learn-more-card {
  background-color: #e5f1ff; /* lighter pastel version of logo blue */
  background-repeat: repeat;
  background-size: auto;
  color: #2c3e50;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  text-align: center;
  max-width: 1000px;
  margin: 2rem auto;
}































/* Header and Logo Styling */
.site-header {
  background-color: #ecf0f1;
  padding: 1rem 2rem;
  border-bottom: 1px solid #ddd;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.site-title {
  font-size: 1.8rem;
  color: #2c3e50;
  margin: 0;
}







































/* Sponsor */

.sponsor-footer {
  text-align: center;
  margin-top: 2em;
  padding-top: 1em;
  border-top: 1px solid #ccc;
}

.sponsor-footer span {
  display: block;
  font-weight: bold;
  margin-bottom: 0.8em;
  font-size: 1.1em;
}

.sponsor-logo {
  height: 80px; /* previously 40px */
  margin: 0 15px;
  vertical-align: middle;
}






















footer {
  background-color: #ecf0f1; /* Same as .site-header */
  color: #2c3e50;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #ddd;
}


.lang-btn {
  padding: 0.4rem 0.8rem;
  background-color: #2c3e50; /* pastel blue like feature card */e5f1ff
  color: #2c3e50; /* text color from sidebar */
  border: 1px solid #e5f1ff; /* sidebar dark blue-grey border */
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.lang-btn:hover,
.lang-btn.active {
  background-color: #e5f1ff; /* sidebar color */
  color: #2c3e50; /* white text on active/dark button */
  font-weight: bold;
}




#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #ecf0f1;  /* header color */
  color: #2c3e50;             /* same as text-dark */
  cursor: pointer;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 1.2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  border: 1px solid #2c3e50;  /* pastel blue border to match feature cards */
}

#scrollTopBtn:hover {
  background-color: #2c3e50;  /* pastel blue */
  color: #e5f1ff;
}




.auth-btn {
  background-color: #e5f1ff;     /* pastel blue */
  color: #2c3e50;                /* dark text */
  padding: 0.6rem 1.2rem;
  border: 1px solid #2c3e50;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.auth-btn:hover {
  background-color: #2c3e50;     /* dark blue on hover */
  color: #e5f1ff;                /* pastel blue text */
}




























/* === Dropdown Sections (Details/Summary) Styling === */
details {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  background-color: #f9f9f9;
  transition: all 0.3s ease;
}

details[open] {
  background-color: #f1f5f9; /* slightly darker when open */
  border-color: #bbb;
}

summary {
  font-size: 1.0rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  outline: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  padding: 0.25rem 0;
}

summary::marker {
  display: none;
}

summary::before {
  content: "▶";
  display: inline-block;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
  font-size: 0.9rem;
  color: #444;
}

details[open] summary::before {
  transform: rotate(90deg);
}

.metadata-table {
  margin-top: 0.75rem;
  width: 100%;
  border-collapse: collapse;
}

.metadata-table td {
  padding: 0.5rem;
  border: 1px solid #ddd;
  font-size: 0.95rem;
}

.metadata-heading {
  margin: 0;
}






















.access-open {
  background-color: #e6f4ea; /* light green */
  color: #1b5e20; /* dark green text */
  font-weight: 600;
  border-radius: 4px;
}

.access-closed {
  background-color: #fff8e1; /* light yellow */
  color: #ff6f00; /* amber text */
  font-weight: 600;
  border-radius: 4px;
}

.access-restricted {
  background-color: #ffebee; /* light red */
  color: #c62828; /* red text */
  font-weight: 600;
  border-radius: 4px;
}

.access-special {
  background-color: #f0f0f0; /* grey */
  color: white;
  font-weight: 600;
  border-radius: 4px;
  padding: 4px;
}






















.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#toggleSidebar {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  color: inherit;
}

#toggleSidebar:hover {
  color: var(--accent-color);
}

.sidebar.collapsed {
  width: 3rem;
  overflow: hidden;
}

.sidebar.collapsed h3,
.sidebar.collapsed ul li a {
  display: none;
}

.sidebar.collapsed + .main-content {
  margin-left: 3rem; /* adjust if your layout shifts */
}


















.filter-bar-enhanced {
  background-color: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.filter-group-enhanced {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-item {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
}

.filter-item label {
  font-weight: 600;
  margin-bottom: 4px;
  color: #333;
}

.filter-item select {
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: white;
  font-size: 0.9rem;
  min-width: 140px;
  transition: border-color 0.2s ease-in-out;
}

.filter-item select:focus {
  border-color: #1abc9c;
  outline: none;
}
































/* Download dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-btn {
  background-color: #1abc9c;
  color: white;
  padding: 6px 10px;
  font-size: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.dropdown-btn:hover {
  background-color: #16a085;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 140px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  border-radius: 6px;
  z-index: 1;
}

.dropdown-content a {
  color: #333;
  padding: 8px 12px;
  text-decoration: none;
  display: block;
  font-size: 13px;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
  color: #000;
}

.dropdown:hover .dropdown-content {
  display: block;
}

















/* Sortable headers */
th.sortable {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
th.sortable .sort-icon {
  margin-left: 6px;
  font-size: 0.9em;
  opacity: 0.6;
}
th.sortable.asc .sort-icon,
th.sortable.desc .sort-icon {
  opacity: 1;
}


































/* Repository legend */
.repo-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: 8px 0 14px;
  font-size: 0.95rem;
}
.repo-legend .legend-title {
  font-weight: 600;
  margin-right: 4px;
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,.15);
  display: inline-block;
}

/* match the table colors (reuse your access-* palette) */
.legend-swatch.open { background: #e6f4ea; border-color: #1b5e20; }        /* = access-open */
.legend-swatch.closed { background: #fff8e1; border-color: #ff6f00; }      /* = access-closed */
.legend-swatch.restricted { background: #ffebee; border-color: #c62828; }  /* = access-restricted */
.legend-swatch.special { background: #f0f0f0; border-color: #9e9e9e; }     /* = access-special */




















/* More space between GER Min / Max selects */
.filter-item.ger .ger-row {
  gap: 14px; /* tweak: 12–16px works nicely */
}

/* Optional: a touch more vertical breathing room under "GER:" */
.filter-item.ger .ger-row .ger-field select {
  margin-top: 2px;
}

/* Keep mobile comfy */
@media (max-width: 720px) {
  .filter-item.ger .ger-row {
    gap: 10px;
  }
}


/* More space between GER Min / Max selects */
.filter-item.ger .ger-row {
  gap: 20px !important;   /* was 14px */
}

/* On very wide screens, a little extra */
@media (min-width: 1280px) {
  .filter-item.ger .ger-row { gap: 24px !important; }
}





































/* Download button: no green pill, black icon */
.dropdown .dropdown-btn,
.dropdown .dropdown-btn:visited {
  background: transparent !important;
  color: #000 !important;          /* black icon */
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0;                      /* keep it tight like an icon */
  line-height: 1;
  cursor: pointer;
}

/* Hover/focus states – keep it clean */
.dropdown .dropdown-btn:hover,
.dropdown .dropdown-btn:focus {
  background: transparent !important;
  color: #000 !important;
}

/* Disabled state (for closed datasets) */
.dropdown .disabled-btn {
  background: transparent !important;
  color: #9ca3af !important;       /* light gray */
  cursor: not-allowed;
}












































/* ==== Access color badges (cell background) ==== */
.repo-table td.access-open {
  background: #e6f4ea;          /* light green */
  border-left: 4px solid #22c55e;
}
.repo-table td.access-closed {
  background: #fde2e1;          /* light red */
  border-left: 4px solid #ef4444;
}
.repo-table td.access-restricted {
  background: #fff8db;          /* light yellow */
  border-left: 4px solid #facc15;
}
.repo-table td.access-special {
  background: #f1f3f5;          /* light gray */
  border-left: 4px solid #9aa0a6;
}

/* ==== Legend swatches ==== */
.repo-legend .legend-swatch.open { background: #22c55e; }
.repo-legend .legend-swatch.closed { background: #ef4444; }
.repo-legend .legend-swatch.restricted { background: #facc15; }
.repo-legend .legend-swatch.special { background: #9aa0a6; }

/* ==== Download button: black icon, no green background ==== */
.dropdown-btn {
  background: transparent;         /* remove green background */
  color: #000;                     /* black icon/text */
  border: 1px solid #d0d7de;
  border-radius: 6px;
  padding: 4px 8px;
  line-height: 1;
  cursor: pointer;
}
.dropdown-btn:hover {
  background: #f8f9fa;
}
.dropdown-btn.disabled-btn,
.dropdown.disabled .dropdown-btn {
  color: #6b7280;                  /* greyed out */
  border-color: #e5e7eb;
  background: transparent;
  cursor: not-allowed;
}

/* optional: dropdown menu remains neutral */
.dropdown .dropdown-content a {
  color: inherit;
}

























/* === Dashboard (match Notebook card colors & 4-up grid) === */
.dashboard-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(220px,1fr)); /* narrower width → fits 4 */
  gap:1rem;
  margin-top:1rem;
}

/* responsive fallbacks */
@media (max-width:1280px){ .dashboard-grid{ grid-template-columns:repeat(3, minmax(220px,1fr)); } }
@media (max-width:980px) { .dashboard-grid{ grid-template-columns:repeat(2, minmax(220px,1fr)); } }
@media (max-width:600px) { .dashboard-grid{ grid-template-columns:1fr; } }

/* match Notebook card palette */
.dashboard-card{
  display:flex;
  flex-direction:column;
  gap:.5rem;
  padding:1.2rem 1.25rem;
  border-radius:12px;
  background-color:#e5f1ff;   /* same as .notebook-card */
  border:1px solid #ddd;       /* same border */
  box-shadow:0 2px 6px rgba(0,0,0,.05); /* same shadow */
  transition:box-shadow .2s ease, transform .18s ease;
  min-height:240px;            /* taller */
}

.dashboard-card:hover{ box-shadow:0 4px 12px rgba(0,0,0,.08); transform:translateY(-2px); }

.dashboard-card h3{ margin:0 0 .3rem 0; color:#2c3e50; }
.dashboard-card p{ margin:0; color:#555; line-height:1.45; flex:1 1 auto; }

/* only the button is a link */
.dashboard-link{
  align-self:flex-start;
  font-weight:600;
  padding:.5rem .75rem;
  border-radius:10px;
  background:#ecf0f1;
  color:#2c3e50;
  border:1px solid #d0d7de;
  text-decoration:none;
  box-shadow:inset 0 -1px 0 rgba(0,0,0,.03);
}
.dashboard-link:hover{ background:#fff; border-color:#c7d6ff; }

/* small screens: slightly shorter */
@media (max-width:480px){
  .dashboard-card{ min-height:200px; padding:1rem; }
}























/* --- Dashboard: tighter 4-up cards --- */
.dashboard-grid{
  display:grid;
  /* smaller min width + tighter gap → fits 4 more easily */
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: .8rem;
  margin-top: 1rem;
}

/* always force 4 cols on desktop widths */
@media (min-width: 1024px){
  .dashboard-grid{ grid-template-columns: repeat(4, minmax(190px, 1fr)); }
}

/* compact card styling (height, padding, fonts) */
.dashboard-card{
  padding: .9rem 1rem;        /* was 1.2rem 1.25rem */
  border-radius: 10px;        /* a tad tighter */
  min-height: 200px;          /* was 240px */
}

.dashboard-card h3{
  font-size: 1.1rem;          /* was 1.25rem */
  margin: 0 0 .25rem 0;
}

.dashboard-card p{
  font-size: .92rem;          /* slightly smaller paragraph */
  line-height: 1.4;
}

/* smaller “Open” pill to save space */
.dashboard-link{
  padding: .4rem .6rem;       /* was .5rem .75rem */
  border-radius: 8px;
}

/* keep hover gentle */
.dashboard-card:hover{ transform: translateY(-1px); }

