/*
 Theme Name: Flexora Child
 Theme URI: https://example.com
 Description: Child téma a flexora szülőhöz.
 Author: Saját Név
 Author URI: https://example.com
 Template: flexora
 Version: 1.0.0
 Text Domain: flexora-child
*/
/* ----------------------------------------------------
 * Rendezvény kártyák
 * --------------------------------------------------*/

.cs-event-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.cs-event-card {
    background: #f6f4f1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    min-height: 260px;
}

.cs-event-card-image {
    width: 100%;
    padding-top: 55%; /* arányos magasság */
    background-size: cover;
    background-position: center center;
}

.cs-event-card-body {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cs-event-card-label {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8f8c84;
    margin-bottom: 8px;
}

.cs-event-card-title {
    font-size: 22px;
    line-height: 1.3;
    margin: 0 0 12px;
    color: #22211f;
}

.cs-event-card-meta {
    font-size: 14px;
    color: #5e5b55;
    margin: 0 0 10px;
}

.cs-event-card-price {
    font-size: 15px;
    color: #33312e;
    margin: 0 0 18px;
}

.cs-event-card-link {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid #d0cabc;
    color: #30302c;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    background: #fff;
}

.cs-event-card-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    background: #f0ede7;
}

.cs-event-register-form {
    margin-top: 24px;
}

.cs-event-register-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    background: #22211f;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.cs-event-register-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.18);
    background: #3a3834;
}

.cs-event-register-message {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 10px;
    background: #f5f5f5;
}

.cs-event-register-message.cs-success {
    background: #e4f7ea;
    border: 1px solid #9ad0ac;
}

.cs-event-register-message.cs-error {
    background: #fdeaea;
    border: 1px solid #f29b9b;
}


.cs-event-register-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 8px;
}

.cs-event-register-row label {
    font-size: 14px;
}

.cs-event-register-row select {
    min-width: 220px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid #d0cabc;
    font-size: 14px;
    background: #fff;
    }
    
/* ===== WOO CHECKOUT – KÖZEPES DOBOZ, LEKEREKÍTETT MEZŐK ===== */
/* ===== TAGSÁG kártya status ===== */

/* Tagdíj státusz alap stílus */
.cs-membership-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    padding: 0.5rem 1.4rem;
    border-radius: 9999px;          /* szép „pill” forma */
    font-size: 16px;                /* kicsit nagyobb betű */
    font-weight: 600;
    letter-spacing: 0.03em;
    background: #f4f4f4;            /* finom háttér */
}

/* Fizetve – zöld badge */
.cs-membership-status-paid {
    color: #0a7a26;
    background: #e2f5e7;
}

/* Nincs rendezve – piros badge */
.cs-membership-status-unpaid {
    color: #b00020;
    background: #fde4e4;
}

/* Kis ikon a szöveg előtt – fizetve */
.cs-membership-status-paid::before {
    content: "✔";
    margin-right: 0.5rem;
    font-size: 18px;
}

/* Kis ikon a szöveg előtt – nincs rendezve */
.cs-membership-status-unpaid::after {
    content: "!";
    margin-right: 0.5rem;
    font-size: 18px;
}

/* =========================
   Tulajdonosi felület – közös UI
   ========================= */

.cs-owner-wrap {
  max-width: 1200px;
  margin: 0 auto 60px;
}

/* Címsorok */
.cs-owner-wrap h2,
.cs-owner-wrap h3 {
  margin: 40px 0 20px;
}

/* Szűrő sor (legördülők, kereső, gomb) */
.cs-owner-filter {
  margin: 20px 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cs-owner-filter select,
.cs-owner-filter input[type="text"],
.cs-owner-filter input[type="search"] {
  border-radius: 9999px;
  padding: 12px 20px;
  border: 1px solid #ddd;
  min-width: 220px;
  font-size: 0.95rem;
  outline: none;
}

/* Szűrő gomb */
.cs-owner-filter .button {
  border-radius: 9999px;
  padding: 12px 28px;
  font-weight: 600;
  border: none;
  background: #d7f0e2;
  cursor: pointer;
}

/* Táblák */
.cs-owner-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
}

.cs-owner-table th,
.cs-owner-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
}

.cs-owner-table th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #666;
  text-align: left;
}

.cs-owner-table tbody tr:nth-child(even) {
  background: #fafafa;
}

/* Elfelejtett jelszó űrlap – tágasabb térközök */
.cs-auth-form label{
  margin-top: 18px;
  margin-bottom: 10px;
}

.cs-auth-form input{
  margin-bottom: 18px; /* ez növeli a térközt a mező és a gomb között */
}

.cs-auth-form .cs-btn{
  margin-top: 10px;   /* extra levegő a gomb felett */
}

/* Elfelejtett jelszó – cím finomítása */
.cs-auth-box h2{
  font-size: 28px;      /* kisebb cím */
  line-height: 1.25;
  margin-bottom: 18px; /* nagyobb térköz alatta */
}

/* Mobilon még egy kicsit kisebb */
@media (max-width: 768px){
  .cs-auth-box h2{
    font-size: 24px;
    margin-bottom: 16px;
  }
}