/* --- BEGIN: client.css --- */
/* ============================================================
   GEFYRA CLIENT UI v3.0 — Cinematic Flat Masterclass Design
   - Zero Glassmorphism 
   - Pure minimalist flat styling
   - Optimal for Dark Mode / Deep Slate
============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Brand Palette */
  --brand: #ab2225;
  --brand-muted: rgba(171, 34, 37, 0.1);
  --warning: #ef4444;

  /* LIGHT MODE VARIABLES */
  --bg-app: #f8fafc;
  --bg-card: #ffffff;
  --bg-sidebar: #ffffff;
  --bg-hover: #f1f5f9;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-reverse: #ffffff;
  
  --border: #e2e8f0;
  
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-float: 0 20px 25px -5px rgba(0, 0, 0, 0.05);

  --video-bg: #000000;

  --sidebar-w: 340px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================= DARK MODE VARIABLES ================= */
[data-theme="dark"] {
  --bg-app: #0B0E14;
  --bg-card: #151A22;
  --bg-sidebar: #0f1319;
  --bg-hover: #1f2937;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-reverse: #ffffff;
  
  --border: rgba(255, 255, 255, 0.08);
  
  --shadow-card: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-float: 0 20px 40px rgba(0, 0, 0, 0.6);
  --brand: #e11d48;
}

/* ================== GLOBAL RESET ================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-app) !important;
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
a { color: inherit; text-decoration: none; }

/* ================== SHELL ================== */
.app-container {
  display: flex;
  min-height: 100vh;
}

/* ================== SIDEBAR ================== */
.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  color: var(--text-main);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  z-index: 50;
  transition: transform 0.4s var(--ease), background-color 0.3s var(--ease);
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--border); }

.sidebar-head {
  padding: 32px 24px 24px;
  text-align: center;
}
.logo-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.logo-icon img { width: 100%; height: 100%; object-fit: cover; }
.logo-text { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 2px; }
.logo-sub { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.sidebar-hr { height: 1px; background: var(--border); margin: 24px 0; }

.menu-section { padding: 0 16px; margin-bottom: 8px; }
.menu-title {
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  transition: background 0.2s;
}
.menu-title:hover { background: var(--bg-hover); color: var(--text-main); }
.menu-title::after { content: "▸"; transition: transform 0.3s var(--ease); }
.menu-title.open::after { transform: rotate(90deg); color: var(--brand); }

.menu-list {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 0 8px;
}
.menu-list.open { max-height: 1000px; padding: 4px 8px 12px; }
.menu-list li {
  padding: 10px 14px;
  margin-bottom: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s var(--ease);
}
.menu-list li:hover {
  background: var(--bg-hover);
  color: var(--text-main);
  transform: translateX(4px);
}
.menu-list li.active {
  background: var(--brand-muted);
  color: var(--brand);
  font-weight: 700;
}

/* ================== MAIN CANVAS ================== */
.main-canvas {
  flex: 1;
  margin-left: var(--sidebar-w);
  padding: 32px 48px;
  max-width: 1400px;
}

/* ================== TOP NAV MENU ================== */
.action-top-bar {
  display: flex;
  gap: 12px;
  background: var(--bg-card);
  padding: 8px;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.action-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border-radius: 8px;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}
.action-btn:hover { background: var(--bg-hover); color: var(--text-main); }
.action-btn.active { background: var(--brand-muted); color: var(--brand); }

.action-btn.live-btn {
  background: var(--brand);
  color: #fff;
  animation: pulseBrand 2s infinite;
}
.action-btn.live-btn:hover { background: #9f1239; transform: translateY(-1px); }

@keyframes pulseBrand {
  0% { box-shadow: 0 0 0 0 rgba(171, 34, 37, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(171, 34, 37, 0); }
  100% { box-shadow: 0 0 0 0 rgba(171, 34, 37, 0); }
}

/* ================== CONTENT CARDS (DASHBOARD) ================== */
.dash-col-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  width: 100%;
}

.dash-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}
.dash-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.dash-card-title {
  font-size: 1rem;
  font-weight: 700;
}
.meta-pill {
  padding: 4px 10px;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}
.meta-pill.premium { background: #fbbf24; color: #000; border: none; }

.file-list { list-style: none; padding: 0; margin: 12px 0; }
.file-item {
  display: flex; align-items: center; padding: 12px 16px;
  background: var(--bg-hover); border: 1px solid var(--border);
  border-radius: 8px; margin-bottom: 8px; transition: transform 0.2s;
}
.file-item:hover { transform: translateX(4px); border-color: var(--brand); }
.file-link { text-decoration: none; font-weight: 600; font-size: 0.9rem; margin-left: 12px; flex: 1; color: var(--text-main); }

/* ================== LESSON VIEW ================== */
.lesson {
  display: none;
  opacity: 0;
  background: var(--bg-card);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  margin-bottom: 32px;
}
.lesson.active {
  display: block; opacity: 1;
}

.lesson-title { font-size: 2.5rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 12px; }

.video-showcase {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--video-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  margin: 32px 0;
}
.video-showcase iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.video-showcase.small { border-radius: 8px; margin-bottom: 16px; box-shadow: none; pointer-events: none; }
.video-showcase.small iframe { pointer-events: auto; }

.resources-section { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.notes-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-main);
  opacity: 0.9;
}

.premium-password {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--brand-muted); color: var(--brand);
  padding: 12px 20px; border-radius: 8px; font-weight: 600; font-size: 0.9rem; border: 1px solid var(--border);
}

/* ================== MOBILE ================== */
.mobile-nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 8px;
  background: var(--bg-card); color: var(--text-main);
  border: 1px solid var(--border); box-shadow: var(--shadow-card);
  font-size: 24px; cursor: pointer;
}
@media (max-width: 1024px) {
  .sidebar { transform: translateX(-100%); width: 340px; }
  .sidebar.open { transform: translateX(0); }
  .main-canvas { margin-left: 0; padding: 24px 16px 100px; }
  .mobile-nav-toggle { display: flex; }
  .dashboard-grid { grid-template-columns: 1fr; gap: 24px; }
  .lesson { padding: 24px; border-radius: 16px; }
  .lesson-title { font-size: 1.8rem; }
}

/* ================== LIVE SESSION CONTROLS & GROUP COMPONENTS ================== */
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 20px;
}
[data-theme="light"] .live-pill {
  background: rgba(0, 0, 0, 0.03);
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #94a3b8; /* default neutral grey */
}
.live-dot.active {
  background: #10b981; /* active bright green */
  box-shadow: 0 0 8px #10b981;
  animation: pulseLiveDot 1.5s infinite;
}
@keyframes pulseLiveDot {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.btn-join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  background: var(--brand);
  color: #fff !important;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(171, 34, 37, 0.15);
  outline: none;
}
.btn-join:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(171, 34, 37, 0.25);
}
.btn-join.disabled {
  background: var(--bg-hover);
  color: var(--text-muted) !important;
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
  border: 1px solid var(--border);
}
.btn-join.disabled:hover {
  transform: none;
  filter: none;
  box-shadow: none;
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}



/* --- BEGIN: profile.css --- */
/* =========================
   RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.7;
}

/* =========================
   HEADER
========================= */
header {
  background: #ffffff;
  padding: 14px 28px;
  border-bottom: 1px solid #eaeaea;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header img {
  height: 58px;
  object-fit: contain;
}

nav a {
  margin-left: 18px;
  text-decoration: none;
  color: #444;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #692331;
}

/* =========================
   MAIN LAYOUT
========================= */
main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px 60px;
}

/* =========================
   HERO (ΚΑΘΑΡΟ – ΜΟΝΟ ΕΝΑ)
========================= */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 60px;
}

/* ΑΡΙΣΤΕΡΑ */
.hero-profile {
  text-align: center;
}

.hero-photo {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 14px;
  border-radius: 12px;
}

.hero-name {
  font-size: 26px;
  font-weight: 800;
  color: #692331;
  margin-bottom: 2px;
}

.hero-role {
  font-size: 16px;
  font-weight: 600;
  color: #555;
}

/* ΔΕΞΙΑ – ΕΠΙΚΟΙΝΩΝΙΑ */
.hero-contact {
  background: #ffffff;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  padding: 22px 24px;
}

.contact-title {
  font-size: 22px;
  font-weight: 800;
  color: #692331;
  margin-bottom: 14px;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #333;
}

.contact-list a {
  color: #692331;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* =========================
   SECTIONS
========================= */
h2.section-title {
  font-size: 28px;
  margin: 50px 0 20px;
  color: #692331;
  font-weight: 700;
}

.image-block {
  text-align: center;
  margin-bottom: 30px;
}

.image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.image-caption {
  margin-top: 8px;
  font-weight: 600;
  color: #444;
}

/* =========================
   GALLERY
========================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.gallery-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 18px;
  border: 1px solid #e3e3e3;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.gallery-card:hover {
  border-color: #692331;
  transform: translateY(-3px);
}

.gallery-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.gallery-card h3 {
  font-size: 18px;
  color: #692331;
  margin-bottom: 6px;
}

.gallery-card p {
  font-size: 15px;
}

/* =========================
   FOOTER
========================= */
footer {
  background: #222;
  padding: 30px 20px;
  color: #ddd;
  text-align: center;
  margin-top: 80px;
}

footer a {
  color: #ffd700;
  text-decoration: none;
  margin: 0 10px;
  font-size: 15px;
}

footer a:hover {
  text-decoration: underline;
}

footer p {
  margin-top: 15px;
  font-size: 14px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
}
/* =========================
   NAVBAR – CLEAN & MODERN
========================= */
header {
  background: #ffffff;
  padding: 14px 28px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header img {
  height: 56px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  padding: 6px 2px;
  position: relative;
}

/* underline hover */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #692331;
  transition: width 0.25s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* CTA button */
.nav-cta {
  padding: 8px 16px;
  border-radius: 20px;
  background: #692331;
  color: #fff !important;
  font-weight: 600;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: #4f1a25;
}

/* MOBILE */
@media (max-width: 768px) {
  .main-nav {
    display: none; /* mobile menu later */
  }
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-toggle {
  display: none;
}
@media (max-width: 768px) {

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 340px;
    height: 100vh;
    background: white;
    box-shadow: -10px 0 30px rgba(0,0,0,0.2);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 2000;

    display: flex;
    flex-direction: column;
    padding: 90px 30px 40px;
  }

  .site-nav.open {
    transform: translateX(0);
  }

  .site-nav a {
    padding: 18px 0;
    font-size: 1.3rem;
    font-weight: 600;
    border-bottom: 1px solid #eee;
  }

  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #692331;
  }

}



