/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Template: generatepress
Author: Tom Usborne
Author URI: https://generatepress.com/about
Description: GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Performance is important to us, which is why a fresh GeneratePress install adds less than 10kb (gzipped) to your page size. We take full advantage of the block editor (Gutenberg), which gives you more control over creating your content. If you use page builders, GeneratePress is the right theme for you. It is completely compatible with all major page builders, including Beaver Builder and Elementor. Thanks to our emphasis on WordPress coding standards, we can boast full compatibility with all well-coded plugins, including WooCommerce. GeneratePress is fully responsive, uses valid HTML/CSS, and is translated into over 25 languages by our amazing community of users. A few of our many features include 60+ color controls, powerful dynamic typography, 5 navigation locations, 5 sidebar layouts, dropdown menus (click or hover), and 9 widget areas. Learn more and check out our powerful premium version at https://generatepress.com
Tags: two-columns,three-columns,one-column,right-sidebar,left-sidebar,footer-widgets,blog,e-commerce,flexible-header,full-width-template,buddypress,custom-header,custom-background,custom-menu,custom-colors,sticky-post,threaded-comments,translation-ready,rtl-language-support,featured-images,theme-options
Version: 3.6.1.1772607486
Updated: 2026-03-04 09:58:06

*/


/*
Theme Name: ELIVIP NotebookLM Platform
Description: Custom Theme for Educational Platform using ACF & Ultimate Member
Author: Your Name
Version: 1.0
*/

:root {
  --bg: #F2EFE8;
  --bg-card: #E8E4DB;
  --ink: #1C1C1A;
  --ink-mid: #5A5A56;
  --ink-light: #9A9A94;
  --rule: #C8C4BB;
  --brick: #9B4A35;
  --brick-dim: #7A3A28;
  --sage: #4D6B45;
  --sand: #B89B6A;
  --white: #FDFAF5;
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-sub: 'Barlow Semi Condensed', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: #fbf8f3;
  color: #999999;
  min-height: 100vh;
  font-size: 15px;
  letter-spacing: 0.01em;
}

/* ── NAV BAR (design preview only) ── */
.preview-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  background: var(--ink);
  z-index: 999;
  border-top: 3px solid var(--brick);
}

.preview-nav button {
  flex: 1;
  padding: 10px 4px;
  background: none;
  border: none;
  border-right: 1px solid #333;
  color: var(--ink-light);
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s;
}

.preview-nav button:last-child {
  border-right: none;
}

.preview-nav button.active,
.preview-nav button:hover {
  color: var(--white);
  background: #2A2A28;
}

.preview-nav button.active {
  color: var(--brick);
}

/* ── VIEWS ── */
.view {
  display: none;
  min-height: 100vh;
  padding-bottom: 0px;
}

.view.active {
  display: block;
}



.main-header {


  padding: 20px 0px;
  background: #111;
  border-bottom: 2px solid #111;
  position: sticky;
  top: 0;
  z-index: 10;
}


/* ══════════════════════════════════════
     1. LOGIN
  ══════════════════════════════════════ */
#view-login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

#view-login.active {
  display: grid;
}

.login-left {
  background: #111;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

/* .login-left::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 280px; height: 280px;
    border: 40px solid #2D2D2B;
    border-radius: 50%;
  } 
  .login-left::after {
    content: '';
    position: absolute;
    bottom: 80px; left: -40px;
    width: 160px; height: 160px;
    background: var(--brick);
    opacity: 0.25;
  } */

.login-brand {
  position: relative;
  z-index: 1;
}

.login-brand .elibip {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #ac996c;
  margin-bottom: 20px;
}

.login-brand h1 {
  font-family: var(--font-body);
  font-size: 82px;
  font-weight: 700;
  line-height: 0.95;
  color: var(--white);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.login-brand h1 span {
  color: #ad9b6d;
  display: block;
}

.elibipInfo {
  color: #a9a9a9;
  margin-top: 40px;
  display: block;
}

.login-tagline {
  position: relative;
  z-index: 1;
  color: var(--ink-mid);
  font-family: var(--font-sub);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  max-width: 260px;
}

.login-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px;
  background: #fbf8f3;
}

.login-right h2 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 6px;
}

.login-right .sub {
  font-family: var(--font-sub);
  font-size: 13px;
  color: #979799;
  margin-bottom: 40px;
  font-weight: 300;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--rule);
  border-radius: 0;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brick);
}

.school-tabs {
  display: flex;
  border: 1.5px solid var(--rule);
  margin-bottom: 28px;
  background: var(--white);
}

.school-tabs button {
  flex: 1;
  padding: 12px;
  background: none;
  border: none;
  border-right: 1px solid var(--rule);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  cursor: pointer;
  transition: all 0.15s;
}

.school-tabs button:last-child {
  border-right: none;
}

.school-tabs button.active {
  background: var(--ink);
  color: var(--white);
}

.btn-primary {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--brick);
  color: var(--white);
  border: none;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-primary:hover {
  background: var(--brick-dim);
}

.login-rule {
  width: 48px;
  height: 3px;
  background: var(--brick);
  margin-bottom: 32px;
}


.logoWrap img {
  width: 250px;
  height: auto;
}

/* ══════════════════════════════════════
     2. STUDENT DASHBOARD
  ══════════════════════════════════════ */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: var(--white);
  border-bottom: 2px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-brand {
  display: block;
  align-items: baseline;
  gap: 12px;
}

.header-brand .logoWrap {
  display: inline-block;
  vertical-align: middle;
  border-right: 1px solid #444444;
  padding-right: 30px;
  margin-right: 30px;
  padding-top: 15px;
  padding-bottom: 10px;
}

.header-brand .logo-mark {
  font-family: var(--font-body);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  display: inline-block;
  vertical-align: middle;
}

.header-brand .logo-mark span {
  color: #ad9a6d;
}

.header-brand .logo-sub {
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 300;
  color: var(--ink-light);
  letter-spacing: 0.06em;
}

.logo-group {
  display: inline-block;
}

.header-nav {
  display: block;
  align-items: center;
  gap: 20px;
  float: right;
  margin-top: 30px;
}

.header-nav a:link {
  margin-left: 20px;
}

.header-school {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #000;
  border: 1.5px solid #ad9a6d;
  padding: 6px 14px;
  background: #ad9a6d;
  text-decoration: none;
}

.header-nav a:link,
.header-nav a:visited {
  text-decoration: none;
}


.header-school.nobtn {
  border: none;
  border-right: 1.5px solid var(--rule);
}

.btn-logout,
.btn-books {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: #888888;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: all 0.15s;
}

.btn-logout:hover,
.btn-books:hover {
  color: var(--brick);
  border-bottom-color: var(--brick);
}

.dashboard-hero {
  padding: 5px 48px 10px;
  border-bottom: none;
  display: block;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;


}

.dashboard-hero h2 {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  color: var(--ink);
}

.dashboard-hero h2 em {
  font-style: normal;
  color: var(--ink-light);
  font-weight: 300;
  display: block;
  font-size: 32px;
  letter-spacing: 0.02em;
}

.dashboard-hero p {
  font-family: Open Sans;
  font-size: 16px;
  font-weight: 400;
  color: #999999;
  line-height: 1.6;
}

.grade-section {
  padding: 40px 0px;
}

.grade-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.grade-label .grade-num {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ink);
  padding: 4px 10px;
}

.grade-label .grade-name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.grade-label .grade-line {
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  padding-top: 10px;
}

.book-card {
  background: #fff;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 2px solid #e0e0e0;
}

.book-card:hover {
  background: #f3f1ee;
}

.book-card:hover .book-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.book-cover {
  width: 100%;
  aspect-ratio: 3/4;
  background: #fff;
  overflow: hidden;
  position: relative;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.7);
  transition: filter 0.3s;
}

.book-card:hover .book-cover img {
  filter: saturate(1);
}

.book-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 80px;
  font-weight: 700;
  color: var(--rule);
  background: linear-gradient(135deg, var(--bg-card) 0%, #DDD9D0 100%);
}

.book-info {
  padding: 16px 16px 20px;
  border-top: none;
}

.book-info .book-title {
  font-family: calibri;
  font-size: 16px;
  font-weight: 600;
  color: #222;
  line-height: 1.35;
  margin-bottom: 4px;
}

.book-info .book-author {
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 300;
  color: var(--ink-light);
}

.book-info .prompt-count {
  margin-top: 42px;
  font-family: calibri;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ad9a6d;
}

.book-card-arrow {
  position: absolute;
  bottom: 16px;
  right: 16px;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.2s;
  font-size: 20px;
  color: #ad9a6d;
}

/* ══════════════════════════════════════
     3. BOOK DETAIL
  ══════════════════════════════════════ */
.detail-header {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 340px;
  border-bottom: none;
}

.detail-cover {
  background: var(--ink);
  overflow: hidden;
  border-radius: 15px;
  border: 1px solid #505050;
}

.detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none;
  mix-blend-mode: normal;
  opacity: 1;
}

.detail-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 120px;
  font-weight: 700;
  color: #2D2D2B;
}

.detail-meta {
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
}

.detail-breadcrumb {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  text-decoration: none;
}

.detail-breadcrumb:hover {
  color: var(--brick);
}

.detail-meta h2 {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 8px;
  max-width: 500px;
}

.detail-meta .author {
  font-family: calibri;
  font-size: 16px;
  font-weight: 300;
  color: #999;
  margin-bottom: 24px;
}

.detail-meta .description {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: #222;
  max-width: 480px;
}

.detail-meta-bottom {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-notebook {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #000;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.15s;
  cursor: pointer;
  border: none;
  border-radius: 10px;
}

.btn-notebook:hover {
  background: #ad9a6d;
  color: #fff;
}

.btn-notebook .nb-icon {
  font-size: 16px;
  background: #ad9a6d;
  width: 20px;
  height: 20px;
  overflow: hidden;
  border-radius: 5px;
}

.btn-notebook:hover .nb-icon {
  font-size: 16px;
  background: #fff;
  width: 20px;
  height: 20px;
  overflow: hidden;
}

.grade-badge {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mid);
  border: 1.5px solid var(--rule);
  padding: 6px 12px;
}


.single .grade-badge {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mid);
  border: none;
  padding: 6px 12px;
  margin-bottom: 10px;
  display: block;
}

.detail-content {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding-top: 40px;
  padding-bottom: 40px;
}

.prompts-section h3 {
  font-family: calibri;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: uppercase;
  color: #222;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}

.prompts-section h3 span {
  color: #ad9a6d;
}

.prompt-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  align-items: flex-start;
}

.prompt-num {
  font-family: calibri;
  font-size: 16px;
  font-weight: 500;
  color: #c8c4bb;
  min-width: 28px;
  padding-top: 1px;
}

.prompt-text {
  font-family: var(--font-sub);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  flex: 1;
}

.btn-copy {
  flex-shrink: 0;
  padding: 7px 12px;
  background: none;
  border: 1.5px solid var(--rule);
  /*font-family: var(--font-head);*/
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-light);
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-copy:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-copy.copied {
  border-color: var(--sage);
  color: var(--sage);
}

.detail-sidebar h3 {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}

.info-block {
  background: var(--bg-card);
  padding: 20px;
  margin-bottom: 2px;
}

.info-block .ib-label {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 6px;
}

.info-block .ib-value {
  font-family: var(--font-sub);
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
}

.instructions-box {
  background: var(--ink);
  padding: 24px;
  margin-top: 2px;
}

.instructions-box .ib-label {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 10px;
}

.instructions-box ol {
  list-style: none;
  counter-reset: step;
  margin: 0;
}

.instructions-box ol li {
  counter-increment: step;
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.55;
  color: #AAAAAA;
  padding: 8px 0;
  border-bottom: 1px solid #2D2D2B;
  display: flex;
  gap: 12px;
}

.instructions-box ol li:last-child {
  border-bottom: none;
}

.instructions-box ol li::before {
  content: counter(step);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--brick);
  min-width: 16px;
}

/* ══════════════════════════════════════
     4. ADMIN PANEL
  ══════════════════════════════════════ */
.admin-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: calc(100vh - 52px);
}

.admin-sidebar {
  background: var(--ink);
  padding: 0;
  border-right: none;
  display: flex;
  flex-direction: column;
}

.admin-sidebar-header {
  padding: 28px 24px;
  border-bottom: 1px solid #2D2D2B;
}

.admin-sidebar-header .admin-label {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 6px;
}

.admin-sidebar-header .admin-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.04em;
}

.admin-nav {
  padding: 16px 0;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 400;
  color: #888;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all 0.15s;
}

.admin-nav-item:hover {
  color: var(--white);
  background: #1F1F1D;
}

.admin-nav-item.active {
  color: var(--white);
  border-left-color: var(--brick);
  background: #1F1F1D;
}

.admin-nav-item .nav-icon {
  font-size: 14px;
  width: 18px;
  text-align: center;
}

.admin-main {
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  padding: 20px 36px;
  background: var(--white);
  border-bottom: 2px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-topbar h2 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}

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

.btn-sm {
  padding: 9px 18px;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
}

.btn-sm-primary {
  background: var(--brick);
  color: var(--white);
}

.btn-sm-primary:hover {
  background: var(--brick-dim);
}

.btn-sm-outline {
  background: none;
  border: 1.5px solid var(--rule);
  color: var(--ink-mid);
}

.btn-sm-outline:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.admin-body {
  padding: 32px 36px;
  flex: 1;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--white);
  padding: 20px 24px;
  border-top: 3px solid var(--rule);
}

.stat-card.accent {
  border-top-color: var(--brick);
}

.stat-card .stat-num {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-card .stat-label {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-light);
}

.admin-table-wrap {
  background: var(--white);
}

.admin-table-header {
  display: grid;
  grid-template-columns: 60px 1fr 140px 100px 80px 120px;
  padding: 10px 20px;
  background: var(--ink);
  gap: 16px;
}

.admin-table-header span {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #777;
}

.admin-table-row {
  display: grid;
  grid-template-columns: 60px 1fr 140px 100px 80px 120px;
  padding: 14px 20px;
  gap: 16px;
  border-bottom: 1px solid var(--rule);
  align-items: center;
  transition: background 0.1s;
}

.admin-table-row:hover {
  background: var(--bg-card);
}

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

.row-cover {
  width: 40px;
  height: 52px;
  background: var(--bg-card);
  overflow: hidden;
  flex-shrink: 0;
}

.row-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.6);
}

.row-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: var(--bg-card);
}

.row-title {
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.row-subtitle {
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 300;
  color: var(--ink-light);
}

.row-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  color: var(--white);
}

.badge-gym {
  background: var(--sage);
}

.badge-lyk {
  background: var(--sand);
}

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

.row-action {
  padding: 5px 10px;
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1.5px solid var(--rule);
  background: none;
  color: var(--ink-mid);
  transition: all 0.12s;
}

.row-action:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.row-action.danger:hover {
  border-color: #C0392B;
  color: #C0392B;
}

/* ── MODAL OVERLAY (Admin add/edit) ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 28, 26, 0.7);
  z-index: 100;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--bg);
  width: 560px;
  max-height: 88vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  background: var(--ink);
}

.modal-header h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
}

.modal-close {
  background: none;
  border: none;
  color: #888;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--white);
}

.modal-body {
  padding: 28px;
}

.modal-footer {
  padding: 20px 28px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* ── PROMPTS EDITOR ── */
.prompts-editor {
  margin-top: 32px;
}

.prompts-editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.prompts-editor-header h3 {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

.prompt-edit-item {
  background: var(--white);
  border: 1.5px solid var(--rule);
  margin-bottom: 4px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
}

.prompt-drag {
  color: var(--rule);
  cursor: grab;
  font-size: 16px;
  padding-top: 2px;
}

.prompt-edit-text {
  flex: 1;
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.5;
}

.prompt-edit-actions {
  display: flex;
  gap: 4px;
}

/* footer */
.inside-site-info {
  font-size: 0.9em;
  border-top: 1px solid #e0e0e0;
}

.site-info {
  background-color: #fbf8f3;
}

.site-info a:link,
.site-info a:visited {
  color: #999;
  text-decoration: none;
}

.copyright {
  color: #999999;
}

/* ── NOTIFICATION ── */
.toast {
  position: fixed;
  bottom: 64px;
  right: 24px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-left: 3px solid var(--sage);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.2s;
  z-index: 200;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  #view-login {
    grid-template-columns: 1fr;
  }

  .login-left {
    min-height: 200px;
    padding: 32px;
  }

  .login-left h1 {
    font-size: 40px;
  }

  .login-right {
    padding: 40px 24px;
  }

  .detail-header {
    grid-template-columns: 160px 1fr;
  }

  .detail-content {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    display: none;
  }

  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .books-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

/* 3. LAYOUT COMPONENTS  */
.container {
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 0px 48px;
}

header {
  border-bottom: 2px solid var(--ink);
  padding: 24px 0;
  margin-bottom: 40px;
}

.logo-area {
  display: block;
  justify-content: space-between;
  align-items: flex-end;
}

.logo-main {
  font-size: 32px;
  font-weight: 800;
  font-family: var(--font-head);
}

.logo-sub {
  font-size: 14px;
  color: var(--ink-mid);
  font-family: var(--font-sub);
}




/* .prompt-count {
    margin-top: 16px;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    background: var(--sand);
    border: 1px solid var(--ink);
} */

/* 5. BOOK DETAIL VIEW */
.detail-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 60px;
}

.sidebar-sticky {
  position: sticky;
  top: 40px;
}

.btn-primary {
  display: block;
  width: 100%;
  background: var(--brick);
  color: var(--white);
  text-align: center;
  padding: 18px;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  margin-bottom: 24px;
}

.btn-primary:hover {
  background: var(--brick-dim);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}


/* 6. ULTIMATE MEMBER OVERRIDES (Login Page) */
.um-login {
  max-width: 100%;
  margin: 0 auto;
}

.um.um-login.um-7 {
  margin: 0 !Important;
}

.loginNote {
  margin-top: 24px;
  font-family: var(--font-sub);
  font-size: 12px;
  color: #979799;
  line-height: 1.6;
  text-align: center;
  max-width: 450px;
}

.loginNote a:link,
.loginNote a:visited {
  color: #a5925e;
  text-decoration: none;
}

.um-form input[type=text],
.um-form input[type=password] {
  background: var(--white) !important;
  border: 2px solid var(--ink) !important;
  border-radius: 0 !important;
  padding: 12px !important;
  font-family: var(--font-body) !important;
}

.um-button {
  background: #111 !important;
  border-radius: 0 !important;
  text-transform: uppercase !important;
  font-family: var(--font-head) !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
}


.page-template-page-login #um-submit-btn {
  display: block !important;
  width: auto !important;
  min-width: 100% !important;
}

/* 7. TOAST NOTIFICATION */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--ink);
  color: var(--white);
  padding: 16px 32px;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  transform: translateY(100px);
  transition: transform 0.3s ease;
  z-index: 9999;
}

.toast.show {
  transform: translateY(0);
}



/* 8. MOBILE RESPONSIVENESS */

@media (max-width: 1070px) {
  .header-brand .logo-mark {
    font-size: 30px;
  }
}

@media (max-width: 970px) {
  .header-brand .logoWrap {
    display: block;
    border-right: none;
    padding-right: 0px;
    margin-right: 0px;
  }

  .header-brand .logoWrap img {
    width: 150px;
  }

  .header-brand .logo-mark {
    font-size: 25px;
  }

  .container {
    padding: 0px 20px;
  }
}

@media (max-width: 768px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-sticky {
    position: static;
    margin-bottom: 40px;
  }

  .books-grid {
    grid-template-columns: 1fr;
  }
}



@media (max-width: 980px) {
  .detail-header {
    grid-template-columns: 1fr;
    /* Μετατροπή σε μία στήλη */
    gap: 20px;
    /* Προσθέτει κενό ανάμεσα στα στοιχεία που έπεσαν το ένα κάτω από το άλλο */
  }

  .detail-cover {
    max-width: 300px;
    margin: 0 auto;
  }

  .separate-containers .site-main {
    margin: 0;
  }
}



@media (max-width: 900px) {
  .login-left {
    text-align: center;
  }
}

@media (max-width: 570px) {
  .header-brand .logo-mark {
    font-size: 20px;
  }

  .header-nav {
    display: block;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
    margin: 0 auto;
    width: 300px;
    float: none;
    margin-bottom: 10px;
  }

  .header-brand {
    display: block;
    align-items: baseline;
    gap: 12px;
  }

  .logo-area {
    display: block;
    justify-content: space-between;
    align-items: flex-end;
    text-align: center;
  }

  .header-brand .logoWrap {
    padding-bottom: 0px;
  }

  .main-header {
    padding: 10px 0px;
  }
}

@media (max-width: 540px) {

  .container {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0px 20px;
  }

  .dashboard-hero {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .prompt-item {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .prompt-text {
    text-align: center;
  }

  .detail-content {
    grid-template-columns: 1fr;
    padding: 0;
    margin-top: 40px;
  }

  .header-nav {
    display: block;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
  }


  .header-school {
    margin-right: 20px;
  }

  .detail-cover {
    max-width: 100%;
    margin: 0 auto;
  }

  .detail-meta {
    padding: 40px 08px;
  }

  .detail-meta h2 {
    font-size: 28px;
  }


}

/* ══════════════════════════════════════
   9. INTERACTIVE PROMPTS (Flipcards)
   ══════════════════════════════════════ */

:root {
  --cat-comp: #4a90c2;
  --cat-int: #7b5ea7;
  --cat-cre: #c2784a;
  --cat-cha: #c24a5e;
}

.ps-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}

.ps-header h3 {
  font-family: calibri;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #222;
  margin: 0;
  padding: 0;
  border: none;
}

.ps-header h3 span {
  color: #ad9a6d;
}

.ps-progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ps-progress-bar {
  width: 160px;
  height: 5px;
  background: var(--rule);
  border-radius: 3px;
  overflow: hidden;
}

.ps-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brick-dim), var(--brick));
  border-radius: 3px;
  width: 0%;
  transition: width 0.5s ease;
}

.ps-progress-text {
  font-family: var(--font-sub);
  font-size: 12px;
  color: var(--ink-light);
}

.ps-legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-family: var(--font-sub);
  font-size: 12px;
  color: var(--ink-mid);
  margin-bottom: 14px;
}

.ps-legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.ps-leg-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.ps-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 24px;
}

.ps-filter-btn {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--rule);
  background: transparent;
  color: var(--ink-mid);
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ps-filter-btn:hover {
  border-color: #c0a67a;
  color: #5a5a56;
  background: rgba(184, 155, 106, 0.1);
}

.ps-filter-btn.active {
  border-color: var(--sand);
  color: var(--sand);
  background: rgba(184, 155, 106, 0.1);
}

.ps-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.ps-dot-Κατανόηση {
  background: var(--cat-comp);
}

.ps-dot-Ερμηνεία {
  background: var(--cat-int);
}

.ps-dot-Δημιουργία {
  background: var(--cat-cre);
}

.ps-dot-Πρόκληση {
  background: var(--cat-cha);
}

.ps-shuffle-btn {
  margin-left: auto;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--sand);
  background: transparent;
  color: var(--sand);
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ps-shuffle-btn:hover {
  background: rgba(184, 155, 106, 0.12);
}

.ps-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

.ps-card-wrapper {
  perspective: 1000px;
  height: 300px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ps-card-wrapper.ps-hidden {
  display: none;
}

.ps-card {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  cursor: pointer;
}

.ps-card.flipped {
  transform: rotateY(180deg);
}

.ps-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.ps-front {
  background: #fff;
  border: 1.5px solid var(--rule);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.ps-card-wrapper:hover .ps-front {
  border-color: var(--sand);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.ps-front-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.ps-cat-badge {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 9px;
}

.ps-card-num {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--rule);
  line-height: 1;
}

.ps-prompt-text {
  font-family: var(--font-sub);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  flex: 1;
  display: flex;
  align-items: center;
}

.ps-front-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}

.ps-difficulty {
  display: flex;
  gap: 3px;
}

.ps-pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rule);
}

.ps-pip.filled {
  background: var(--sand);
}

.ps-flip-hint {
  font-family: var(--font-sub);
  font-size: 11px;
  color: var(--ink-light);
}

.ps-back {
  background: #fdfaf5;
  border: 1.5px solid var(--sand);
  transform: rotateY(180deg);
  justify-content: space-between;
}

.ps-back-label {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 10px;
}

.ps-hint-text {
  font-family: var(--font-sub);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  flex: 1;
  overflow-y: auto;
}

.ps-back-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.ps-action-btn {
  flex: 1;
  padding: 9px 12px;
  border-radius: 8px;
  border: none;
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
}

.ps-copy-btn {
  background: var(--sand);
  color: var(--ink);
  font-weight: 700;
}

.ps-copy-btn:hover {
  background: #ad9363;
  box-shadow: 0 4px 12px rgba(184, 155, 106, 0.3);
}

.ps-copy-btn.copied {
  background: var(--sage);
  color: #fff;
}

.ps-flip-back-btn {
  background: var(--white);
  color: var(--ink-mid);
  border: 1.2px solid var(--rule) !important;
}

.ps-flip-back-btn:hover {
  color: var(--ink);
  border-color: var(--sand) !important;
}

.ps-card-wrapper.ps-used .ps-front {
  border-color: var(--sand);
}

.ps-card-wrapper.ps-used .ps-front::after {
  content: '✓';
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 14px;
  color: var(--sand);
}

/* Category accent — left border + badge + glow hover */

/* Κατανόηση */
.ps-cat-Κατανόηση .ps-front {
  border-left: 3px solid var(--cat-comp);
}

.ps-cat-Κατανόηση .ps-cat-badge {
  background: rgba(74, 144, 194, 0.12);
  color: var(--cat-comp);
}

.ps-card-wrapper.ps-cat-Κατανόηση:hover .ps-front {
  box-shadow: 0 8px 30px rgba(173, 154, 109, 0.25), 0 0 0 1px #ad9a6d;
  border-color: #ad9a6d;
}

/* Ερμηνεία */
.ps-cat-Ερμηνεία .ps-front {
  border-left: 3px solid var(--cat-int);
}

.ps-cat-Ερμηνεία .ps-cat-badge {
  background: rgba(123, 94, 167, 0.12);
  color: var(--cat-int);
}

.ps-card-wrapper.ps-cat-Ερμηνεία:hover .ps-front {
  box-shadow: 0 8px 30px rgba(173, 154, 109, 0.25), 0 0 0 1px #ad9a6d;
  border-color: #ad9a6d;
}

/* Δημιουργία */
.ps-cat-Δημιουργία .ps-front {
  border-left: 3px solid var(--cat-cre);
}

.ps-cat-Δημιουργία .ps-cat-badge {
  background: rgba(194, 120, 74, 0.12);
  color: var(--cat-cre);
}

.ps-card-wrapper.ps-cat-Δημιουργία:hover .ps-front {
  box-shadow: 0 8px 30px rgba(173, 154, 109, 0.25), 0 0 0 1px #ad9a6d;
  border-color: #ad9a6d;
}

/* Πρόκληση */
.ps-cat-Πρόκληση .ps-front {
  border-left: 3px solid var(--cat-cha);
}

.ps-cat-Πρόκληση .ps-cat-badge {
  background: rgba(194, 74, 94, 0.12);
  color: var(--cat-cha);
}

.ps-card-wrapper.ps-cat-Πρόκληση:hover .ps-front {
  box-shadow: 0 8px 30px rgba(173, 154, 109, 0.25), 0 0 0 1px #ad9a6d;
  border-color: #ad9a6d;
}

.ps-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(70px);
  background: var(--ink);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 8px;
  font-family: var(--font-sub);
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transition: all 0.32s ease;
  z-index: 9999;
  pointer-events: none;
}

.ps-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@media (max-width: 680px) {
  .ps-card-grid {
    grid-template-columns: 1fr;
  }

  .ps-card-wrapper {
    height: 320px;
  }

  .ps-shuffle-btn {
    margin-left: 0;
  }

  .ps-progress-bar {
    width: 110px;
  }
}

/* ══════════════════════════════════════
   10. AUDIO PLAYER
   ══════════════════════════════════════ */
.ps-audio-wrapper {
  display: flex;
  flex-direction: column;
  position: relative; /* Για να ευθυγραμμιστεί η μπάρα από κάτω */
}

.ps-audio-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--sand);
  border-radius: 12px;
 font-family: Open sans;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  height: 50px; /* Ίδιο ύψος με το NotebookLM button αν χρειάζεται */
  box-sizing: border-box;
}

.ps-audio-btn:hover {
  background: var(--sand);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(184, 155, 106, 0.15);
}

.ps-audio-btn.is-playing {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.ps-audio-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--sand);
  transition: color 0.2s ease, transform 0.2s ease;
}

.ps-audio-btn:hover .ps-audio-icon,
.ps-audio-btn.is-playing .ps-audio-icon {
  color: #fff;
}

.ps-audio-icon svg {
  width: 100%;
  height: 100%;
}

.ps-audio-btn:hover .ps-audio-icon {
  transform: scale(1.1);
}

.ps-audio-progress-wrap {
  position: absolute;
  bottom: -6px; /* Εμφάνιση ακριβώς κάτω από το κουμπί */
  left: 12px;
  right: 12px;
  height: 3px;
  background: #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.ps-audio-wrapper:hover .ps-audio-progress-wrap,
.ps-audio-btn.is-playing+.ps-audio-progress-wrap {
  opacity: 1;
}

.ps-audio-progress-bar {
  height: 100%;
  background: var(--sand);
  width: 0%;
}