/* additions to the template styles.css for real forms / server messages */
.form-error, .notice { margin: 16px 0 0; padding: 12px 16px; border-radius: 6px; font-size: 15px; }
.form-error { background: #fdecec; color: var(--danger); border: 1px solid #f1c3c3; }
.notice { background: #e9f8f2; color: #0a6b4f; border: 1px solid #bfe8d8; }
.notice.warn { background: #fff7e0; color: #7a5a00; border-color: #f0dc9a; }
.field-error { display: block; margin: 6px 4px 0; color: var(--danger); font-size: 13px; }
.form-field select, .form-field input[type=date] { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; }
.menu-form { margin: 0; }
.menu-form button { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 12px; }
.menu-form button:hover { background: rgba(0,0,0,.04); }
.menu a.soon { opacity: .6; }
.link-btn { all: unset; cursor: pointer; text-decoration: underline; }
.narrow { max-width: 560px; margin: 40px auto; }
.page-note { color: var(--muted); }
.stat-card.muted { opacity: .65; }
.honey { position: absolute; left: -9999px; }
.login-form .primary-btn { width: 100%; border: 0; }
.login-links { display: flex; justify-content: space-between; margin-top: 18px; font-size: 14px; }
.login-links a { color: var(--teal); }
.form-field.locked { background: #f1f5f9; color: var(--muted); }
.form-field.locked input { color: var(--muted); cursor: not-allowed; background: transparent; }
.form-field .lock-ico { width: 16px; height: 16px; opacity: .55; flex: none; }
.gender-icon { display: inline-flex; }
.review-card.noimg { grid-template-columns: 1fr 92px; }
.review-card .comment { white-space: pre-line; overflow-wrap: anywhere; }
.pager { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.segmented a { min-width: 150px; height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #334155; font-weight: 700; background: #fff; }
.segmented a.active { color: #fff; background: var(--teal); }

/* ---- Club card mockup: the real card artwork (wwwroot/img/club-card.png) + number / holder / expiry printed on it ---- */
.club-card { position: relative; width: 100%; max-width: 520px; aspect-ratio: 960 / 567; color: #fff; container-type: inline-size;
  filter: drop-shadow(0 14px 22px rgba(10, 60, 140, .32)); }
.club-card::before { content: ""; position: absolute; inset: 0; background: url("/img/club-card.png") center / 100% 100% no-repeat; }
.club-card.is-expired { filter: drop-shadow(0 8px 14px rgba(30, 40, 50, .25)); }
.club-card.is-expired::before { filter: grayscale(1) brightness(.8); }
/* red "ΑΝΕΝΕΡΓΗ" rubber-stamp across an expired card */
.club-card .cc-stamp { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%) rotate(-11deg); z-index: 2;
  padding: .6cqw 3.2cqw; border: .9cqw solid #e0322f; border-radius: 1.6cqw; color: #e0322f; background: rgba(255, 255, 255, .78);
  font: 900 9.5cqw "Commissioner", sans-serif; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; text-shadow: none; opacity: .94;
  box-shadow: 0 0 0 .5cqw rgba(224, 50, 47, .18); }
.club-card .cc-info { position: absolute; z-index: 1; left: 7%; right: 7%; bottom: 5%; text-shadow: 0 1px 4px rgba(0, 20, 80, .8), 0 0 10px rgba(0, 20, 80, .45); }
.club-card .cc-number { font: 500 4cqw "Commissioner", sans-serif; letter-spacing: .1em; line-height: 1.2; margin-bottom: .8cqw; }
.club-card .cc-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-top: 1cqw; }
.club-card .cc-label { display: block; font-weight: 500; font-size: 2.4cqw; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.club-card .cc-holder { font-weight: 500; font-size: 4cqw; text-transform: uppercase; overflow-wrap: anywhere; }
.club-card .cc-exp { text-align: right; font-weight: 500; font-size: 4cqw; white-space: nowrap; }
.card-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 7px 14px; border-radius: 999px; font-weight: 800; font-size: 14px; }
.card-status.ok { background: #e3f6ee; color: #08694b; }
.card-status.soon { background: #fff3d6; color: #7a5200; }
.card-status.expired { background: #eceff3; color: #4a5565; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; margin-top: 18px; }
.cards-grid .card-item { display: flex; flex-direction: column; align-items: flex-start; }
.card-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.card-table th, .card-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.card-table th { color: var(--muted); font-weight: 700; font-size: 13px; }

/* ---- my reviews / replies ---- */
.review-card.noimg { grid-template-columns: 1fr 92px; }
.review-card { grid-template-columns: 130px 1fr 92px; }
.review-card img { width: 130px; height: 190px; }
.poster-ph { width: 130px; height: 190px; border-radius: 7px; background: #e9eff6; color: #8a9bb0; display: flex; align-items: center; justify-content: center; }
.poster-ph.sm { width: 74px; height: 106px; }
.poster-ph svg { width: 34px; height: 34px; }
.orig-title { color: var(--muted); font-style: italic; margin: -2px 0 6px; }
.my-review-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
.my-review-meta .when, .when { color: var(--muted); font-size: 14px; }
.review-card .reaction span { display: inline-flex; align-items: center; gap: 6px; }
.badge-pending { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; padding: 3px 10px; border-radius: 999px; background: #fff3d6; color: #7a5200; font-size: 12px; font-weight: 800; vertical-align: middle; }
.badge-pending svg { width: 14px; height: 14px; }
.subtabs { display: flex; gap: 8px; margin: 4px 0 14px; border-bottom: 1px solid var(--line); }
.subtabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; margin-bottom: -1px; border-bottom: 3px solid transparent; color: var(--muted); font-weight: 700; }
.subtabs a.active { color: var(--teal); border-bottom-color: var(--teal); }
.page-note.small { font-size: 14px; margin: 0 0 12px; }
.reply-card { display: grid; grid-template-columns: 74px 1fr; gap: 20px; padding: 18px; margin-top: 14px; box-shadow: none; }
.reply-card img { width: 74px; height: 106px; object-fit: cover; border-radius: 6px; }
.reply-card h3 { margin: 0 0 4px; }
.quote { margin: 10px 0 0; padding: 10px 14px; border-left: 4px solid #cfdbe6; background: #f5f9fc; border-radius: 0 8px 8px 0; }
.quote.muted { color: var(--muted); }
.quote-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.quote p { margin: 6px 0 0; white-space: pre-line; overflow-wrap: anywhere; color: #3b4a5c; }
.my-reply { margin: 12px 0 0 18px; padding-left: 14px; border-left: 4px solid var(--teal); }
.my-reply .comment { margin: 4px 0 0; }
.stars.sm { font-size: 13px; }
@media (max-width: 640px) { .review-card { grid-template-columns: 90px 1fr; } .review-card img, .poster-ph { width: 90px; height: 130px; } .review-card .score { display: none; } }

/* ---- stars in half-star steps ---- */
.stars .st { display: inline-block; font-size: inherit; line-height: 1; }
.stars .st.full { color: var(--teal); }
.stars .st.off { color: #c9d4de; }
.stars .st.half { background: linear-gradient(90deg, var(--teal) 50%, #c9d4de 50%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

.review-card .score { white-space: nowrap; }
.review-card .score span { color: var(--muted); font-size: 14px; display: block; }

/* the member only ever sees stars (never a number): two-column review card, bigger stars */
.review-card { grid-template-columns: 130px 1fr; }
.stars.lg { font-size: 22px; letter-spacing: 2px; }
@media (max-width: 640px) { .review-card { grid-template-columns: 90px 1fr; } }

/* ---- review card: critic stars under the film details, the member's own stars on the right (stars only, no numbers) ---- */
.review-card { grid-template-columns: 130px 1fr 190px; }
.editor-stars { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.editor-stars .lbl, .my-rating .lbl { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.editor-stars .stars { font-size: 17px; letter-spacing: 1px; }
.my-rating { align-self: start; justify-self: end; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 16px; min-width: 170px;
  border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(180deg, #ffffff, #f2f9f7); }
.stars.xl { font-size: 27px; letter-spacing: 3px; filter: drop-shadow(0 2px 3px rgba(0, 135, 101, .25)); white-space: nowrap; }
.my-rating .no-rating { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .review-card { grid-template-columns: 110px 1fr; } .my-rating { grid-column: 1 / -1; justify-self: stretch; flex-direction: row; justify-content: space-between; } }

/* a deliberate zero rating = one square drawn with its border only (same as athinorama.gr) */
.stars .zero-box { display: inline-block; width: .78em; height: .78em; border: 2px solid #1d2733; border-radius: 2px; background: transparent; vertical-align: -.08em; }
.stars.sm .zero-box { border-width: 1.5px; }

/* contests are hidden for now: three overview tiles */
.stats-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.stats-grid .stat-card { padding: 14px 12px; font-size: 13px; line-height: 1.3; }
.stats-grid .round-icon { width: 36px; height: 36px; }
.stats-grid .round-icon svg { width: 18px; height: 18px; }
.stats-grid .stat-card strong { margin: 10px 0 2px; font-size: 24px; }
.stats-grid .stat-card small { font-size: 11.5px; }
@media (max-width: 1000px) { .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- theatre awards history ---- */
.award-card { display: grid; grid-template-columns: 130px 1fr; gap: 26px; padding: 20px; margin-top: 14px; box-shadow: none; }
.award-card img { width: 130px; height: 190px; object-fit: cover; border-radius: 7px; }
.award-card h3 { margin: 0 0 6px; }
.award-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px 28px; margin-top: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(180deg, #ffffff, #f2f9f7); }
.award-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.award-row .lbl, .award-actors .lbl { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.award-row .who { font-weight: 700; }
.award-row .stars { font-size: 18px; letter-spacing: 2px; white-space: nowrap; }
.award-actors { margin-top: 10px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 8px; }
@media (max-width: 640px) { .award-card { grid-template-columns: 90px 1fr; } .award-card img, .award-card .poster-ph { width: 90px; height: 130px; } }
.segmented a { padding: 0 20px; white-space: nowrap; }

/* ---- narrow screens: nothing may widen the page (grid children shrink, season tabs scroll, award grid stacks) ---- */
.shell > * { min-width: 0; }
.reviews-toolbar { max-width: 100%; }
.segmented { max-width: 100%; overflow-x: auto; }
@media (max-width: 640px) {
  .segmented a { min-width: 0; height: 46px; padding: 0 14px; flex: none; }
  .award-grid { grid-template-columns: 1fr; padding: 12px; gap: 8px; }
  .award-card { gap: 14px; padding: 14px; }
  .award-row .stars { font-size: 16px; letter-spacing: 1px; }
  .award-actors { padding: 10px 12px; }
}
.shell { grid-template-columns: 300px minmax(0, 1fr); }
@media (max-width: 980px) { .shell { grid-template-columns: minmax(0, 1fr); } }
.segmented { display: flex; }
.content { grid-template-columns: minmax(0, 1fr); }
.content > * { min-width: 0; }
.segmented { min-width: 0; }
.award-card > div, .review-card > div { min-width: 0; }
.award-card h3 { overflow-wrap: anywhere; }
.award-grid, .award-actors { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.award-grid { grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); }
.award-row .who, .award-row .lbl { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) { .award-row { flex-wrap: wrap; gap: 4px 10px; } }

/* ---- subscription page ---- */
.sub-status { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 12px; border: 1px solid var(--line); }
.sub-status svg { width: 34px; height: 34px; flex: none; }
.sub-status.active { background: #e8f6f0; border-color: #b8e2d0; color: #0b5d46; }
.sub-status.expired { background: #fdf0e6; border-color: #f2d3b8; color: #8a4a12; }
.sub-status.none { background: #f2f9f7; color: #334155; }
.sub-order { padding: 14px 0; border-top: 1px solid var(--line); }
.sub-order:first-of-type { border-top: 0; }
.sub-order-meta { color: var(--muted); font-size: 14px; margin-top: 4px; overflow-wrap: anywhere; }
.sub-tag { display: inline-block; margin-left: 8px; padding: 3px 10px; border-radius: 999px; background: #eef2f6; color: #475569; font-size: 12px; font-weight: 800; vertical-align: middle; }
.sub-tag.ok { background: #d9f0e6; color: #0b5d46; }
.sub-tag.off { background: #eef0f3; color: #6b7686; }

/* ---- subscription checkout ---- */
.sub-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
@media (max-width: 760px) { .sub-form-grid { grid-template-columns: minmax(0, 1fr); } }
.check-row { display: flex; align-items: center; gap: 10px; margin: 8px 0 14px; font-weight: 700; }
.check-row input { width: 18px; height: 18px; }
.quote-box { margin: 14px 0 18px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(180deg, #ffffff, #f2f9f7); }
.quote-row { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; }
.quote-row.discount { color: #0b5d46; font-weight: 700; }
.quote-row.total { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 20px; font-weight: 800; }
.pay-methods { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.pay-methods legend { font-weight: 800; margin-bottom: 8px; padding: 0; }
.pay-option { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.pay-option[hidden] { display: none; }
.pay-option:has(input:checked) { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(7, 128, 96, .18); }
.pay-option input { width: 18px; height: 18px; flex: none; }
.pay-methods:disabled { opacity: .5; }

/* ---- favourites page ---- */
.form-ok { margin: 0 0 16px; padding: 12px 16px; border-radius: 10px; background: #e8f6f0; color: #0b5d46; font-weight: 700; }
.fav-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.fav-item:first-of-type { border-top: 0; }
.fav-item img, .fav-ph { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; background: #eef2f6; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.fav-main { min-width: 0; overflow-wrap: anywhere; }
.fav-remove { margin: 0; }
.fav-prefs .sub-tag { margin: 0 12px 0 0; }
@media (max-width: 640px) { .fav-item { grid-template-columns: 56px minmax(0, 1fr); } .fav-item img, .fav-ph { width: 56px; height: 56px; } .fav-remove { grid-column: 1 / -1; } }
.content { align-content: start; }

/* ---- avatar ---- */
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.avatar-box { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; }
.avatar-preview { display: grid; gap: 8px; justify-items: center; text-align: center; }
.avatar-preview img, .avatar-ph { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; background: #eef2f6; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.avatar-ph svg { width: 56px; height: 56px; }
.avatar-actions { flex: 1; min-width: 240px; }
.avatar-actions input[type=file] { display: block; margin: 0 0 12px; max-width: 100%; }

/* ---- avatar cropper ---- */
.crop-bg { position: fixed; inset: 0; z-index: 2000; background: rgba(15, 23, 42, .6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.crop-box { background: #fff; border-radius: 16px; padding: 22px; max-width: 380px; width: 100%; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.crop-box h3 { margin: 0 0 8px; }
.crop-box canvas { display: block; width: 100%; max-width: 300px; aspect-ratio: 1/1; margin: 0 auto; border-radius: 12px; background: #eef2f6; cursor: grab; touch-action: none; }
.crop-box canvas:active { cursor: grabbing; }
.crop-zoom { display: flex; align-items: center; gap: 10px; margin: 14px auto 0; max-width: 300px; }
.crop-zoom input { flex: 1; }
.crop-zoom svg { width: 18px; height: 18px; color: var(--muted); }
.crop-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }

/* logo in the top bar: white plate, because the dark-blue "my." disappears on the dark bar */
.brand--logo{display:flex;align-items:center;background:#fff;border-radius:12px;padding:9px 18px;letter-spacing:0}
.brand--logo img{display:block;height:42px;width:auto}
@media (max-width:640px){.brand--logo{padding:4px 10px}.brand--logo img{height:28px}}

/* favourites: category tabs in one row (scroll sideways on a narrow screen) */
.fav-tabs{display:flex;gap:6px;overflow-x:auto;overflow-y:hidden;border-bottom:1px solid var(--line);margin:0 0 6px;padding-bottom:0;scrollbar-width:thin}
.fav-tabs button{flex:0 0 auto;appearance:none;background:none;border:0;border-bottom:3px solid transparent;margin-bottom:-1px;padding:10px 14px;font:inherit;font-weight:600;color:var(--muted);cursor:pointer;white-space:nowrap}
.fav-tabs button[aria-selected=true]{color:inherit;border-bottom-color:var(--accent,#c4031a)}
.fav-tabs button:focus-visible{outline:2px solid var(--accent,#c4031a);outline-offset:-2px;border-radius:6px}
.fav-count{display:inline-block;min-width:22px;padding:1px 7px;margin-left:4px;border-radius:999px;background:#eef2f6;color:var(--muted);font-size:.8em;text-align:center}
.fav-panel[hidden]{display:none}

/* overview: the Club card is a small reminder under the stats, not the hero of the page */
.cards-grid--small .club-card{max-width:240px}
.cards-grid--small{gap:14px}
.card-compact .section-title{margin-bottom:10px}

/* quiet footer (replaces the marketing trust row) */
.site-foot{display:flex;flex-wrap:wrap;gap:6px 22px;justify-content:center;padding:28px 16px 36px;color:var(--muted);font-size:13px}
.site-foot a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.site-foot a:hover{color:var(--ink,#101820)}

/* caption above each profile input: says what the field is (placeholders vanish once typed) */
.field-cap{display:block;margin:0 0 6px 2px;font-size:13px;font-weight:600;color:var(--muted)}

.field-hint{display:block;margin:6px 2px 0;font-size:12.5px;color:var(--muted)}
.field-hint.ok{color:#0a7a55}

/* the logo already says MyAthinorama: the page heading is only the short title of the page */
.page-head{margin-bottom:18px}
.page-head h1.page-title{margin:0;font-size:clamp(20px,2.4vw,26px);letter-spacing:-.3px;font-weight:700}
.page:has(> .page-head){padding-top:30px}

/* selects: same look as the text fields (no browser-default arrow/border), one chevron, same focus ring */
select {
  -webkit-appearance: none; appearance: none; font: inherit; color: var(--ink); cursor: pointer; text-overflow: ellipsis;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23102033' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; background-size: 18px;
  padding-right: 30px;
}
select option { color: var(--ink); background: #fff; font: inherit; }
select:disabled { cursor: not-allowed; opacity: .6; }
.form-field select { height: 100%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23102033' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; background-size: 18px; padding-right: 30px; }
.form-field:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 135, 101, .15); }
/* a stand-alone select (e.g. the sort box on the reviews page) looks like a small field of its own */
:not(.form-field) > select {
  min-height: 44px; padding: 0 40px 0 14px; border: 1px solid #cdd8e2; border-radius: var(--radius); background-color: #fff; background-position: right 12px center;
}
:not(.form-field) > select:hover { border-color: #aebdca; }
select:focus-visible { outline: 0; }
:not(.form-field) > select:focus-visible { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 135, 101, .15); }
