/* ====== Page background ====== */
body {
  margin: 0;
  font: 13px/1.35 Arial, Helvetica, sans-serif;
  color: #000;
  background: #a9c7de; /* γαλάζιο background της σελίδας */
}

/* ====== Outer wrapper ====== */
.page {
  width: 1200px;
  margin: 0 auto;
  background: #d7e9f6;
  box-shadow: 0 0 0 1px #9eb9cf inset;
}

/* ====== Top header ====== */
.topbar {
  background: linear-gradient(90deg, #1e5aa8 0%, #357de0 100%); /* πιο έντονο μπλε όπως στην εικόνα */
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.topbar .logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar .logo img {
  height: 42px;
}
.topbar .logo .brand {
  font-weight: bold;
  font-size: 24px;
  color: #fff;
  letter-spacing: 0.3px;
}
.topbar .search {
  flex: 1;
  display: flex;
  justify-content: center;
}
.search .box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 18px;
  padding: 6px 12px;
  width: 100%;
  max-width: 400px;
}
.search input {
  border: 0;
  outline: 0;
  flex: 1;
  font: 13px Arial;
  color: #333;
}
.search .go {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: linear-gradient(#fff, #f0f0f0);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.topbar .topnav {
  flex: 0 0 auto;
  text-align: right;
}
.topbar .topnav .pill {
    /* display: inline-block; */
    margin-left: 6px;
    /* padding: 6px 4px; */
    background: #fff;
    /* border: 1px solid #ccc; */
    border-radius: 14px;
    color: #1e5aa8;
    /* font-weight: bold; */
}
.topbar .topnav .pill:hover {
  background: #ffde59;
  color: #000;
}

/* ====== 3-column layout ====== */
.layout {
  display: grid;
  grid-template-columns: 210px 1fr 200px;
  gap: 10px;
  padding: 10px 12px 16px;
}

/* ====== Left blocks ====== */
.box {
  background: #f5fbff;
  border: 1px solid #93b1cb;
  margin-bottom: 10px;
}
.box h3 {
  margin: 0;
  padding: 7px 10px;
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.2px;
  background: linear-gradient(#5aa1e1, #2e72b9);
  border-bottom: 1px solid #2c66a4;
  text-transform: uppercase;
}
.menu a,
.menu span {
  display: block;
  padding: 6px 10px;
  color: #124e86;
  text-decoration: none;
  border-top: 1px solid #d6e7f5;
}
.menu a:hover {
  background: #eaf4fd;
}
.stats {
  padding: 8px 10px;
  color: #124e86;
}
.stats .row {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #d6e7f5;
  padding: 4px 0;
}
.friends a {
  display: block;
  padding: 6px 10px;
  color: #124e86;
  text-decoration: none;
  border-top: 1px solid #d6e7f5;
}

/* ====== Center column ====== */
.center .section {
  background: #f5fbff;
  border: 1px solid #93b1cb;
  margin-bottom: 10px;
}
.section .bar {
  background: linear-gradient(#5aa1e1, #2e72b9);
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  padding: 7px 10px;
  border-bottom: 1px solid #2c66a4;
}

/* ====== TOP BOX OFFICE ====== */
.top-box-office {
  margin: 15px 0;
  background: #f5fbff;
  border: 1px solid #93b1cb;
  overflow: hidden;
  position: relative;
  padding: 10px;
}
.top-box-office h2 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  background: linear-gradient(#5aa1e1, #2e72b9);
  padding: 6px 10px;
  border-bottom: 1px solid #2c66a4;
}
.tbo-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative; /* κρατάει το slider μέσα */
  height: 250px;      /* ✅ δώσε ύψος για να χωράει τα poster */
}

.tbo-slider {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.6s ease-in-out;
}

.tbo-item {
  flex: 0 0 135px;   /* 5 posters στη σειρά */
  margin-right: 10px;
  text-align: center;
  background: #eaf4fd;
  border: 1px solid #c4dbef;
  border-radius: 4px;
  padding: 6px;
  box-sizing: border-box;
}
.tbo-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border: 1px solid #98bddb;
}

.tbo-title {
  font-size: 12px;
  font-weight: bold;
  color: #0c4f88;
  line-height: 1.3;
}
.tbo-meta {
  font-size: 11px;
  color: #6b8aa6;
}

/* ====== Verified torrents ====== */
.vt-head {
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.vt-filters .chip {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid #93b1cb;
  border-radius: 10px;
  background: #fff;
  color: #0c4f88;
  font-size: 11px;
  margin-right: 4px;
}
.vt-filters .chip.active {
  background: #dff0ff;
}
.vt-pager {
  margin-left: auto;
  font-size: 12px;
  color: #0c4f88;
}
.vt-pager a {
  color: #0c4f88;
  text-decoration: none;
  border: 1px solid #93b1cb;
  padding: 2px 6px;
  margin-left: 2px;
  background: #fff;
}
.vt-pager a.active {
  background: #dff0ff;
  font-weight: bold;
}

/* ====== Featured torrent ====== */
.featured {
  padding: 0 10px 10px;
}
.ft-card {
  border: 1px solid #93b1cb;
  background: #fff;
}
.ft-title {
  background: linear-gradient(#5aa1e1, #2e72b9);
  color: #fff;
  font-weight: bold;
  padding: 6px 8px;
  border-bottom: 1px solid #2c66a4;
}
.ft-body {
  display: grid;
  grid-template-columns: 160px 1fr;  /* μικρό poster + δεξιά όλα */
  gap: 15px;
  padding: 10px;
  align-items: start;
}

.ft-poster img {
  width: 160px;
  height: 220px;
  object-fit: cover;
  border: 1px solid #93b1cb;
  border-radius: 4px;
}

/* δεξιά περιεχόμενο */
.ft-info {
  display: flex;
  flex-direction: column;
}

/* τίτλος να κάθεται πάνω από τον πίνακα */
.ft-info h4 {
  margin: 0 0 10px;
  color: #0c4f88;
  font-size: 18px;
  font-weight: bold;
}

/* στατιστικά πίνακας */
.ft-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  color: #163f66;
  background: #fff;
  border: 1px solid #c4dbef;
}
.ft-table th,
.ft-table td {
  padding: 6px 8px;
  border-top: 1px solid #e0effc;
  text-align: left;
}

.ft-meta {
  font-size: 11px;
  color: #6b8aa6;
  margin: 6px 0;
}
.ft-links a {
  color: #0c4f88;
  margin-right: 10px;
  font-weight: bold;
  text-decoration: none;
}
.ft-links a:hover {
  text-decoration: underline;
}

/* ====== Right column ====== */
.sponsor .slot {
  background: #fff;
  border: 1px dashed #93b1cb;
  height: 120px;
  margin: 10px;
  display: grid;
  place-items: center;
  color: #6b8aa6;
}

/* ====== Footer ====== */
.footer {
  background: linear-gradient(#ffffff, #e6f2fb);
  border-top: 1px solid #95b3cd;
  text-align: center;
  padding: 10px;
  color: #0b5fab;
}

/* ====== Helpers ====== */
.muted {
  color: #6b8aa6;
}
.link {
  color: #0c4f88;
  text-decoration: none;
}
.link:hover {
  text-decoration: underline;
}
/* =========================
   ΜΕΣΑΙΑ ΘΕΜΑΤΑ: μικρή φωτό αριστερά, stats δεξιά
   ========================= */

/* 1) Featured κάρτα (Avengers κ.λπ.) */
.ft-body {
  display: grid;
  grid-template-columns: 150px 1fr; /* μικρό poster αριστερά */
  gap: 14px;
  align-items: start;
}
.ft-poster img {
  width: 150px;
  height: 210px;
  object-fit: cover;
  border: 1px solid #93b1cb;
  border-radius: 4px;
}
.ft-info { display: flex; flex-direction: column; }
.ft-info h4 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #0c4f88;
  font-weight: 700;
}

/* 2) Αν χρησιμοποιείς τα imdb blocks στη μέση */
.imdb-layout {
  display: grid;
  grid-template-columns: 200px 1fr !important; /* μικραίνει το αριστερό pane */
  gap: 14px;
  align-items: start;
}
.imdb-poster img,
.imdb-details img {
  width: 200px !important;
  max-width: 300px !important;
  height: 300px !important;
  object-fit: cover;
  border: 1px solid #93b1cb;
  border-radius: 4px;
}


/* =========================
   Compact Stats (μεσαία θέματα)
   ========================= */

/* Γενικά μαζεύουμε κενά γύρω από το block */
.ft-body {
  gap: 10px;              /* ήταν 14 */
  padding: 8px 10px;      /* πιο σφιχτό */
}

/* Τίτλος πιο κοντά στον πίνακα */
.ft-info h4 {
  margin: 0 0 6px;        /* ήταν 10px */
  font-size: 17px;        /* ελαφρώς μικρότερο */
  line-height: 1.25;
}

/* Πίνακας στατιστικών πιο πυκνός */
.ft-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;        /* ήταν 13 */
  line-height: 1.25;      /* πιο κοντό */
  border: 1px solid #c4dbef;
}

.ft-table th,
.ft-table td {
  padding: 4px 6px;       /* ήταν 6px 8px */
  border-top: 1px solid #e0effc;
  vertical-align: top;
}

/* Στενότερη στήλη labels για να κερδίσουμε χώρο δεξιά */
.ft-table th {
  width: 120px;           /* ήταν 140 */
  color: #0c4f88;
  white-space: nowrap;    /* δεν σπάει σε δύο γραμμές */
}

/* Κείμενο στα cells λίγο πιο “μαζεμένο” */
.ft-table td {
  color: #163f66;
}

/* Λιγότερο κενό πριν/μετά από meta */
.ft-meta {
  margin: 4px 0;          /* ήταν 6px */
  font-size: 12px;
  line-height: 1.25;
}

/* Σε imdb blocks (αν τα χρησιμοποιείς στη μέση) */
.imdb-info h2 { margin: 0 0 6px; font-size: 20px; line-height: 1.25; }
.imdb-info p  { margin: 3px 0;   font-size: 13px; line-height: 1.25; }

/* Λίστα torrent-items: πιο σφιχτά meta */
.torrent-item { gap: 10px; }
.torrent-item span { margin-top: 2px; font-size: 12px; line-height: 1.25; }

/* Αν έχεις πολύ μεγάλο Plot, το κόβουμε οπτικά για να μη “απλώνει” */
.ft-table td .plot,
.imdb-info .plot {
  display: -webkit-box;
  -webkit-line-clamp: 3;      /* δείξε μέχρι 3 γραμμές */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Μικρότερο poster κατ’ επιλογή (αν θες λίγο παραπάνω χώρο) */
.ft-body {
  grid-template-columns: 150px 1fr; /* poster 150px, stats δεξιά */
}
.ft-poster img {
  width: 150px;
  height: 210px;
  object-fit: cover;
  border: 1px solid #93b1cb;
  border-radius: 4px;
}

/* ====== Last Movies section ====== */
.last-movies {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* responsive grid */
  gap: 15px;
  margin: 15px 0;
}

.movie-item {
  background: #f5fbff;
  border: 1px solid #93b1cb;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.movie-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,.2);
}

.movie-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-bottom: 1px solid #93b1cb;
}

.movie-info {
  padding: 0px 10px;
}

.movie-info h4 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #0c4f88;
  font-weight: bold;
  line-height: 1.3;
}

.movie-info p {
  margin: 2px 0;
  font-size: 12px;
  color: #333;
}
/* ===== VERIFIED TORRENT CARD (όπως στο screenshot) ===== */
.vt-card{
  border:1px solid #93b1cb; background:#fff; margin:12px 0;
}

/* Τίτλος επάνω σε ανοιχτή γαλάζια μπάρα */
.vt-title{
  padding:6px 8px;
  font-weight:700;
  color:#0c4f88;
  background: linear-gradient(#f7fbff,#e3efff); /* ανοικτό μπλε όπως το mock */
  border-bottom:1px solid #93b1cb;
  text-shadow:0 1px 0 rgba(255,255,255,.6);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

/* Κορμός: φωτο αριστερά μικρότερη, στατιστικά δεξιά */
.vt-body{
  display:grid;
  grid-template-columns: 220px 1fr;   /* poster αριστερά, stats δεξιά */
  gap:12px;
  padding:10px;
  background:#f7fbff;                 /* ίδιο ανοιχτό γαλάζιο όπως στο screenshot */
}

/* Poster */
.vt-poster img{
  width:220px; height:320px;          /* κοντά στο mock αλλά μαζεμένο */
  object-fit:cover;
  border:1px solid #93b1cb;
  background:#fff;
}

/* Δεξιά πληροφορίες */
.vt-info h4{                           /* προαιρετικός υπότιτλος/εναλλακτικός τίτλος */
  display:none;                        /* ο κύριος τίτλος είναι στη μπάρα επάνω */
}

/* Πίνακας στατιστικών: στενός, σφιχτός, ίδια παλέτα */
.vt-table{
  width:100%; border-collapse:collapse;
  font-size:12px; line-height:1.25;
  background:#fff; border:1px solid #c4dbef;
}
.vt-table th, .vt-table td{
  padding:4px 6px; border-top:1px solid #e0effc; text-align:left; vertical-align:top;
}
.vt-table th{
  width:130px; white-space:nowrap; color:#0c4f88;
}
.vt-meta{ font-size:12px; color:#6b8aa6; margin:4px 0; }

/* Links/Χρώματα όπως στην εικόνα */
.vt-info a{ color:#0c4f88; text-decoration:none; font-weight:600; }
.vt-info a:hover{ text-decoration:underline; }

/* προαιρετικό κουμπάκια κάτω από τον πίνακα, όπως “Info / Comments / Download” */
.vt-links a{ color:#0c4f88; font-weight:700; margin-right:10px; text-decoration:none; }
.vt-links a:hover{ text-decoration:underline; }

/* Responsive: στο κινητό στοίβαξη */
@media (max-width: 860px){
  .vt-body{ grid-template-columns:1fr; }
  .vt-poster img{ width:180px; height:260px; margin:0 auto; display:block; }
}
/* ===== VERIFIED TORRENT CARD ===== */
.vt-card{
  border:1px solid #93b1cb; background:#fff; margin:12px 0;
  box-shadow:0 1px 3px rgba(0,0,0,.08);
}

.vt-title{
  padding:6px 8px;
  font-weight:700;
  color:#0c4f88;
  background: linear-gradient(#f7fbff,#e3efff);
  border-bottom:1px solid #93b1cb;
  text-shadow:0 1px 0 rgba(255,255,255,.6);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

.vt-body{
  display:grid;
  grid-template-columns: 220px 1fr;
  gap:12px;
  padding:10px;
  background:#f7fbff;
}

.vt-poster img{
  width:220px; height:320px;
  object-fit:cover;
  border:1px solid #93b1cb;
  background:#fff;
}

.vt-table{
  width:100%; border-collapse:collapse;
  font-size:12px; line-height:1.35;
  background:#fff; border:1px solid #c4dbef;
}
.vt-table th, .vt-table td{
  padding:5px 6px;
  border-top:1px solid #e0effc;
  text-align:left; vertical-align:top;
}
.vt-table th{
  width:130px; white-space:nowrap; color:#0c4f88;
}

.vt-info a{ color:#0c4f88; font-weight:600; text-decoration:none; }
.vt-info a:hover{ text-decoration:underline; }
.vt-links a{ color:#0c4f88; font-weight:700; margin-right:10px; text-decoration:none; }
.vt-links a:hover{ text-decoration:underline; }

@media (max-width: 860px){
  .vt-body{ grid-template-columns:1fr; }
  .vt-poster img{ width:180px; height:260px; margin:0 auto; display:block; }
}
/* ===== MOVIE BLOCK (Default.aspx style -> SevenTorrents style) ===== */
.movie-card {
  border: 1px solid #93b1cb;
  background: #fff;
  margin: 12px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  max-width: 100%;           /* ✅ δεν ξεφεύγει από το container */
  box-sizing: border-box;
}
.center {
  max-width: 860px;        /* ✅ κρατάει τα blocks μέσα */
  overflow-x: hidden;      /* ✅ δεν αφήνει να σέρνεται προς τα δεξιά */
}
.movie-card {
  max-width: 100%;         /* ✅ ποτέ έξω από το κέντρο */
  box-sizing: border-box;
}

.movie-title {
  padding: 6px 8px;
  font-weight: 700;
  color: #0c4f88;
  background: linear-gradient(#f7fbff,#e3efff);
  border-bottom: 1px solid #93b1cb;
  text-shadow: 0 1px 0 rgba(255,255,255,.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-body {
  display: grid;
  grid-template-columns: 180px 1fr;   /* ✅ poster λίγο μικρότερο */
  gap: 10px;
  padding: 10px;
  background: #f7fbff;
  align-items: start;
}

.movie-poster img {
  width: 190px;
  height: 281px;
  object-fit: cover;
  border: 1px solid #93b1cb;
  background: #fff;
}

/* ===== INFO TABLE ===== */
.movie-info table {
  width: 100%;
  table-layout: fixed;       /* ✅ αποτρέπει το άνοιγμα προς τα δεξιά */
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.35;
  background: #fff;
  border: 1px solid #c4dbef;
  word-wrap: break-word;     /* ✅ μεγάλα κείμενα σπάνε σε πολλές γραμμές */
  overflow-wrap: break-word;
}

.movie-info th, .movie-info td {
  padding: 2px 5px;
  border-top: 1px solid #e0effc;
  text-align: left;
  vertical-align: top;
}

.movie-info th {
  width: 100px;              /* ✅ πιο στενή στήλη labels */
  white-space: nowrap;
  color: #0c4f88;
}

.movie-info td {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ===== LINKS ===== */
.movie-info a {
  color: #0c4f88;
  font-weight: 600;
  text-decoration: none;
}
.movie-info a:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .movie-body { grid-template-columns: 1fr; }
  .movie-poster img {
    width: 160px;
    height: 230px;
    margin: 0 auto;
    display: block;
  }
}
.pagination {
  margin: 20px 0;
  text-align: center;
}

.pagination a,
.pagination span {
  display: inline-block;
  margin: 0 3px;
  padding: 6px 10px;
  border: 1px solid #93b1cb;
  background: #fff;
  color: #0c4f88;
  font-size: 13px;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.pagination a:hover {
  background: #e6f2fb;
  border-color: #5aa1e1;
}

.pagination .active {
  background: #5aa1e1;
  color: #fff;
  font-weight: bold;
  border-color: #2c66a4;
  cursor: default;
}

.pagination .dots {
  border: none;
  background: transparent;
  color: #6b8aa6;
  cursor: default;
  padding: 6px 4px;
}
/* Plot με clamp */
.plot {
  display: -webkit-box;
  -webkit-line-clamp: 3;        /* μόνο 3 γραμμές */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 4.5em;            /* ύψος περίπου 3 γραμμών */
  transition: max-height 0.3s ease;
}

.plot.expanded {
  -webkit-line-clamp: unset;
  max-height: none;             /* δείχνει όλο το κείμενο */
}

.plot-toggle {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  color: #0c4f88;
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline;
}

.vt-head {
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border: 1px solid #93b1cb;
  border-top: 2px solid #2e72b9;
  background: linear-gradient(#f7fbff,#e3efff);
  margin: 15px 0;
}

.vt-head h2 {
  margin: 0;
  font-size: 14px;
  font-weight: bold;
  color: #0c4f88;
  text-transform: uppercase;
}

.vt-filters {
  display: flex;
  gap: 6px;
}

.vt-filters .chip {
  padding: 3px 8px;
  border: 1px solid #93b1cb;
  border-radius: 10px;
  background: #fff;
  color: #0c4f88;
  font-size: 11px;
  cursor: pointer;
  transition: background 0.2s;
}

.vt-filters .chip:hover {
  background: #eaf4fd;
}

.vt-filters .chip.active {
  background: #dff0ff;
  font-weight: bold;
}

.vt-pager {
  margin-left: auto;
  font-size: 12px;
  color: #0c4f88;
}

.vt-pager a {
  color: #0c4f88;
  text-decoration: none;
  margin: 0 3px;
}

.vt-pager a.active {
  font-weight: bold;
  color: #2e72b9;
}
/* === AUTH FORMS (Login/Register/Forgot) === */
.auth-box {
  max-width: 380px;
  margin: 30px auto;
  padding: 20px 25px;
  border: 1px solid #93b1cb;
  border-radius: 10px;
  background: linear-gradient(#f7fbff, #e3efff);
  box-shadow: 0 3px 8px rgba(0,0,0,.15);
}

.auth-box h2 {
  margin: 0 0 15px;
  font-size: 20px;
  font-weight: 700;
  color: #0c4f88;
  text-align: center;
  text-shadow: 0 1px 0 #fff;
}

.auth-box .form-group {
  margin-bottom: 14px;
}

.auth-box label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #0c4f88;
  margin-bottom: 4px;
}

.auth-box input[type="text"],
.auth-box input[type="email"],
.auth-box input[type="password"] {
  width: 100%;
  padding: 8px 10px;
  font-size: 13px;
  border: 1px solid #93b1cb;
  border-radius: 6px;
  box-sizing: border-box;
  background: #fff;
  color: #333;
}

.auth-box input:focus {
  outline: none;
  border-color: #2e72b9;
  box-shadow: 0 0 4px rgba(46,114,185,.5);
}

/* === BUTTONS === */
.auth-box .btn-primary {
  display: block;
  width: 100%;
  padding: 9px 12px;
  background: linear-gradient(#5aa1e1, #2e72b9);
  border: 1px solid #2c66a4;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.auth-box .btn-primary:hover {
  background: linear-gradient(#6bb3f0, #357de0);
}

/* === LINKS κάτω από τα κουμπιά === */
.auth-box .auth-links {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
}

.auth-box .auth-links a {
  color: #0c4f88;
  font-weight: 600;
  text-decoration: none;
  margin: 0 5px;
}

.auth-box .auth-links a:hover {
  text-decoration: underline;
}



/* === MOVIE DETAILS === */
.imdb-details {
  border: 1px solid #93b1cb;
  background: #f7fbff;
  padding: 15px;
  margin: 15px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,.1);
}

.imdb-details h1 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: #0c4f88;
}

.imdb-details p {
  margin: 4px 0;
  font-size: 13px;
  color: #163f66;
}

.imdb-details img {
  border: 1px solid #93b1cb;
  background: #fff;
  padding: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}

/* === TORRENT FILTERS === */
.torrent-filters {
  margin: 15px 0;
}
.flagCategory {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.flagCategory .btn {
  padding: 5px 10px;
  font-size: 12px;
  border: 1px solid #93b1cb;
  border-radius: 6px;
  background: #fff;
  color: #0c4f88;
  cursor: pointer;
  transition: background .2s;
}
.flagCategory .btn:hover {
  background: #eaf4fd;
}
.flagCategory .btn.selected {
  background: #5aa1e1;
  color: #fff;
  font-weight: bold;
}

/* === TORRENT LIST === */
.torrent-list {
  border: 1px solid #93b1cb;
  background: #fff;
  margin: 15px 0;
  padding: 10px;
}
.torrent-list h2 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: bold;
  color: #0c4f88;
  border-bottom: 1px solid #c4dbef;
  padding-bottom: 4px;
}
.torrent-item {
  border: 1px solid #c4dbef;
  border-radius: 4px;
  padding: 6px 8px;
  margin-bottom: 8px;
  background: #f7fbff;
  font-size: 13px;
  transition: background .2s;
}
.torrent-item:hover {
  background: #eaf4fd;
}
.torrent-item a {
  color: #0c4f88;
  font-weight: 600;
  text-decoration: none;
}
.torrent-item span {
  font-size: 12px;
  color: #6b8aa6;
}

/* === SERIES (SEASON BLOCK) === */
.season-block {
  border: 1px solid #93b1cb;
  margin: 10px 0;
  background: #fff;
}
.season-title {
  margin: 0;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(#5aa1e1, #2e72b9);
  cursor: pointer;
}
.season-episodes {
  display: none;
  padding: 8px 10px;
  background: #f7fbff;
}
.episode {
  border-bottom: 1px solid #c4dbef;
  padding: 4px 0;
}
.episode:last-child {
  border-bottom: none;
}
.ep-meta {
  font-size: 12px;
  color: #6b8aa6;
}


.blog-box {
  max-width: 800px;
  margin: 30px auto;
  padding: 20px 25px;
  border: 1px solid #93b1cb;
  border-radius: 10px;
  background: linear-gradient(#f7fbff, #e3efff);
  box-shadow: 0 3px 8px rgba(0,0,0,.15);
  font-family: Arial, sans-serif;
  color: #163f66;
}

.blog-box h1 {
  margin-top: 0;
  font-size: 24px;
  color: #0c4f88;
  text-align: center;
}

.blog-box .intro {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
}

.blog-box .highlight {
  color: #d9534f;
  font-weight: bold;
}

.blog-post {
  margin-bottom: 25px;
}

.blog-post h2 {
  font-size: 18px;
  color: #0c4f88;
  margin-bottom: 8px;
  border-bottom: 1px solid #c4dbef;
  padding-bottom: 4px;
}

.blog-post p,
.blog-post ul {
  font-size: 14px;
  line-height: 1.6;
}

.blog-post ul {
  margin: 0;
  padding-left: 20px;
}


.movie-rating {
  margin: 10px 0;
  padding: 8px;
  border: 1px solid #93b1cb;
  background: #f7fbff;
  border-radius: 6px;
  font-size: 13px;
}
.movie-rating .stars a {
  text-decoration: none;
  font-size: 18px;
  margin-right: 4px;
}
.movie-stats {
  margin-top: 10px;
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
.movie-stats th {
  text-align: left;
  padding: 4px 6px;
  color: #0c4f88;
}
.movie-stats td {
  padding: 4px 6px;
}
.quality-block {
  margin: 6px 0;
  font-size: 13px;
  color: #163f66;
}
.quality-block b {
  color: #0c4f88;
}
.star-link {
  font-size: 18px;
  text-decoration: none;
  margin: 0 2px;
}
.star-link:hover {
  text-shadow: 0 0 4px gold;
}
.q-meta {
  font-size: 12px;
  color: #6b8aa6;
  margin-left: 5px;
}
/* === PROFILE PAGE === */
.profile-wrapper {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.profile-box {
  width: 100%;
  max-width: 500px;
  padding: 25px;
  border: 1px solid #93b1cb;
  border-radius: 10px;
  background: linear-gradient(#f7fbff, #e3efff);
  box-shadow: 0 3px 8px rgba(0,0,0,.15);
  font-family: Arial, sans-serif;
  color: #163f66;
}

.profile-box h2 {
  margin-top: 0;
  font-size: 22px;
  font-weight: bold;
  color: #0c4f88;
  text-align: center;
}

.profile-box h3 {
  margin-top: 20px;
  font-size: 16px;
  font-weight: bold;
  color: #0c4f88;
}

.profile-box p {
  margin: 6px 0;
  font-size: 14px;
}

.profile-box b {
  color: #0c4f88;
}

/* Avatar */
.profile-box img {
  display: block;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 3px solid #5aa1e1;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

/* Inputs */
.profile-box .form-control {
  width: 100%;
  padding: 8px 10px;
  margin: 5px 0 10px;
  border: 1px solid #93b1cb;
  border-radius: 6px;
  font-size: 13px;
  box-sizing: border-box;
}

.profile-box .form-control:focus {
  outline: none;
  border-color: #2e72b9;
  box-shadow: 0 0 5px rgba(46,114,185,.5);
}

/* Buttons */
.profile-box .btn {
  display: inline-block;
  padding: 8px 14px;
  margin-top: 5px;
  background: linear-gradient(#5aa1e1, #2e72b9);
  border: 1px solid #2c66a4;
  border-radius: 6px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background .2s;
}

.profile-box .btn:hover {
  background: linear-gradient(#6bb3f0, #357de0);
}
.search-results {
  margin: 20px 0;
}

.search-item {
  display: inline-block;
  width: 150px;
  margin: 10px;
  text-align: center;
  vertical-align: top;
}

.search-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border: 1px solid #93b1cb;
  border-radius: 6px;
}

.search-item .title {
  margin-top: 5px;
  font-size: 13px;
  font-weight: bold;
  color: #0c4f88;
}
/* === SEARCH HEADER (όπως στο screenshot) === */
/* ===== HEADER (όπως SevenTorrents) ===== */
.topbar {
  background: linear-gradient(to bottom, #4a8cd8, #1f64b2);
  display: grid;
  grid-template-columns: 220px 1fr auto; /* logo - search - menu */
  align-items: center;
  padding: 10px 15px;
  border-bottom: 3px solid #124e86;
  gap: 15px;
}

/* --- Logo αριστερά --- */
.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.logo .brand {
  font-size: 26px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  text-shadow: 1px 1px 2px #124e86;
}
.logo .beta {
  font-size: 12px;
  color: #ffde59;
  margin-left: 5px;
}
.logo .slogan {
  font-size: 11px;
  color: #fff;
  margin-top: 2px;
  text-shadow: 0 1px 1px #000;
}

/* --- Search στη μέση --- */
.search {
  display: flex;
  justify-content: center;
}
.search-input {
  flex: 1;
  max-width: 500px;
  padding: 8px 12px;
  border: 1px solid #93b1cb;
  border-radius: 20px 0 0 20px;
  font-size: 13px;
  outline: none;
}
.search-btn {
  background: linear-gradient(to bottom, #ffb347, #ff8430);
  border: 1px solid #c46b1e;
  border-radius: 0 20px 20px 0;
  padding: 0 14px;
  font-size: 14px;
  cursor: pointer;
  color: #fff;
  transition: background .2s;
}
.search-btn:hover {
  background: linear-gradient(to bottom, #ffcf70, #ff9a3d);
}

/* --- Menu δεξιά --- */
.topnav {
  display: flex;
  gap: 6px;
}
.topnav .pill {
  padding: 6px 12px;
  background: #fff;
  border-radius: 14px;
  color: #1e5aa8;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 1px 2px rgba(0,0,0,.15);
  transition: background .2s;
}
.topnav .pill:hover {
  background: #ffde59;
  color: #000;
}


.comments-wrapper {
  margin-top: 20px;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 6px;
}
.comment {
  border-bottom: 1px solid #ddd;
  padding: 8px 0;
}
.comment-meta {
  font-size: 12px;
  color: #555;
  margin-bottom: 4px;
}
.comment-text {
  font-size: 14px;
  color: #222;
}
.comment-box {
  width: 100%;
  padding: 6px;
  margin: 6px 0;
  border: 1px solid #aaa;
  border-radius: 4px;
}
.comment-btn {
  background: #1e5aa8;
  color: #fff;
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.comment-btn:hover {
  background: #357de0;
}



/* Left sidebar block */
#LeftContent h3 {
  margin: 10px 0;
  font-size: 16px;
  color: #1e5aa8;
  border-bottom: 2px solid #357de0;
  padding-bottom: 4px;
}

.cat-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cat-menu li {
  margin: 6px 0;
}

.cat-menu li a {
  display: block;
  padding: 6px 10px;
  background: #f4f4f4;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.cat-menu li a:hover {
  background: #e0ebf9;
  color: #1e5aa8;
}

.cat-menu li a.active {
  background: #1e5aa8;
  color: #fff;
  font-weight: bold;
}
.dashboard {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.card {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  width: 250px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card h3 {
  margin-top: 0;
  color: #1e5aa8;
}

.card a {
  display: inline-block;
  margin-top: 10px;
  color: #357de0;
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}
.admin-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: #222;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.stat-card {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f9f9f9, #f1f1f1);
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.stat-icon {
  font-size: 40px;
  margin-right: 15px;
}

.stat-info h3 {
  margin: 0;
  font-size: 18px;
  color: #1e5aa8;
}

.stat-info p {
  margin: 4px 0;
  font-size: 14px;
  color: #333;
}

.stat-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  color: #357de0;
  text-decoration: none;
  font-weight: bold;
}

.stat-link:hover {
  text-decoration: underline;
}

/* Χρωματιστές παραλλαγές */
.stat-card.users { border-left: 5px solid #4caf50; }
.stat-card.comments { border-left: 5px solid #ff9800; }
.stat-card.torrents { border-left: 5px solid #2196f3; }


.site-stats {
  display: flex;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.stat-box {
  flex: 1;
  min-width: 200px;
  background: linear-gradient(135deg, #1e5aa8, #357de0);
  color: #fff;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}

.stat-box:hover {
  transform: scale(1.05);
}

.stat-box h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: normal;
  opacity: 0.9;
}

.stat-box p {
  margin: 0;
  font-size: 22px;
  font-weight: bold;
}


/* ====== Σχόλια ====== */
.comments-wrapper {
  margin-top: 25px;
}

.comment {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 12px 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comment:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.comment-meta {
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}

.comment-meta::before {
  content: "💭 ";
  color: #1e5aa8;
}

.comment-text {
  font-size: 14px;
  line-height: 1.6;
  color: #222;
  white-space: pre-line; /* κρατάει τα line breaks */
}
/* Card style για Last Downloads */
.stat-card.downloads {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-top: 20px;
  flex-direction: row;
}

.stat-card.downloads .stat-icon {
  font-size: 32px;
  margin-right: 15px;
}

.stat-card.downloads h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 18px;
  color: #333;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th, .admin-table td {
  padding: 8px 10px;
  border: 1px solid #eee;
}

.admin-table th {
  background: #f9f9f9;
  text-align: left;
  font-weight: bold;
}

.admin-table tr:nth-child(even) {
  background: #fcfcfc;
}

.admin-table tr:hover {
  background: #f1f7ff;
}

