/*    WP style    */
td { margin: 1px;}
table th, table td  {
  padding: 5px 0;
 text-align: left;
 vertical-align: middle; 
border-bottom: 1px solid #e9e9e9;}

/*   End WP Style   */


#tickets-app {
  font-family: "Segoe UI";
  box-sizing: border-box;
}

#tickets-app *,
#tickets-app *::before,
#tickets-app *::after {
  box-sizing: border-box;
}


body {
    font-family: "Segoe UI", Arial, sans-serif;
    background:#d6dadf; 
    margin:0px;
}
.bilete-new {display:none;}

.page-title {font-size:28px; font-family: Bookman Old Style, serif; font-weight:500;}

html, body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
table { width:70%; max-width:1100px; min-width:320px; margin:0px auto; margin-top:20px;  border-spacing:0px 2px; margin-bottom:120px;}

thead {
    display:none;
}

tr {
    background:#fafafa;
    box-shadow:0 2px 6px rgba(0,0,0,.08);}
tbody{}

tbody tr:hover {border-bottom: 1px solid #cda45f;
    background-color:#fff;
    box-shadow:0 3px 10px rgba(0,0,0,.15);
    transform:translateY(-1px)translateX(2px);
    outline:1px solid #eee;
    outline-offset:-1px; 
}

td {
    padding:4px 0;
    vertical-align:middle;
    border:none;  }
 
/* =========================
   FILTRER
   =========================*/
.filters-bar {display: flex;
    justify-content:space-between;
    align-items: flex-end;
    margin:10px auto;
    width:70%;
    max-width:1100px;
    min-width:400px;
    gap:20px;
}

.filters-left {width:70%;
    display:flex;
    gap:10px;
    align-items: flex-end;
}

.filters-left label,
.filters-left select {
    font-size:13px;
}
.filters-right { flex: 0 0 auto;}
.filters-right input{
    display: flex;
    font-size:13px;
    align-items: flex-end;
}

#filter-search {width: 200px;}

.filters-bar input, .filters-bar select {
    height: 30px;
    width: 130px;
    padding: 0 8px;
    font-size: 14px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button#reset-filters {height: 30px; line-height: 0.9; padding: 2px 8px; border: 1px solid #aaa;}
#reset-filters:hover {background: #ddd;}

#reset-genre { margin-left: 10px; height: 30px;
    border: none;
    background: #eee;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    border-radius: 5px;
}
#filter-promo {   width: 90px;}

input:focus,select:focus,textarea:focus { outline: none; border: 2px solid #ccc; box-shadow: 0 2px 6px rgba(74,144,226,.3);}
select option:hover, select option:checked {    background-color: #cda45f; color: #fff;}

/* =========================
   DATA – STIL VERTICAL
   ========================= */

.td-data {
    width:100px;
}

.data-box {
    display:flex;
    height:100%;
}

/* ziua săptămânii vertical */
.zi-verticala { font-family: sans-serif;
    writing-mode:vertical-rl;
    transform:rotate(180deg);
    padding:2px 15px;
    font-size:12px;
    font-weight:500;
    color:#333;
    text-align:center;
}

/* data */
.data-main {line-height:1; font-family: sans-serif;
    fflex:1;
    text-align:right;
    padding:0px 6px;
}

.data-zi {font-family: sans-serif;
    margin-top:0px;letter-spacing: 1px;
    font-size:30px;
    font-weight:300;
    color:#222;
}

.data-luna {font-family: sans-serif;
    letter-spacing: 2px;
    margin-top:-2px;
    font-size:12px;
    color:#555;
    font-weight:400;

}

.data-ora {font-family: sans-serif;
    margin-top:0px;
    font-size:18px;
    font-weight:400;
}

/* =========================
   SPECTACOL
   ========================= */

.spectacol-wrap {
    display:flex;
    gap:15px;
    padding:0px;
}

.spectacol-img img {
    width:80px;
    height:110px;
    object-fit:cover;
}
.spectacol-title,.badge.premiera {
    font-family: sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    line-height:0.9;
    margin:0 px;
    font-size:22px;
    font-weight:700;
    color:#5a6982;
}

.title-badges {display: flex; align-items: center; gap: 8px;}

.spectacol-author { font-size:17px; color:#7A7A7A; margin-top:-5px; font-style: italic; font-family: sans-serif;}
.spectacol-info { font-size:13px; line-height:0.9;font-weight:400;margin-top:-3px; font-family: sans-serif;}
.spectacol-restrict { color:red; font-weight:500;padding-left:8px;font-family: sans-serif;}


/* =========================
   SALA
   ========================= */
.data-hall {text-align:center; font-family: sans-serif; font-weight:400;
        font-size:16px;
    color:#333;
    white-space:nowrap;
    padding:14px;}


/* =========================
   BUTON Bilete/Detalii
   ========================= */
td:last-child {font-family: sans-serif;
    width:120px;
    text-align:center;
    padding:14px;
}

button.bilete, button.promo-btn {font-family: sans-serif;
    background:#cda45f;
    border:none;
    padding:4px 20px;
    font-size:13px;
    font-weight:600;
    color:#fff;
    cursor:pointer;
    border-radius:2px;
}

button.bilete:hover {
    background:#f5a623;
}

/* =========================
   PROMO
   ========================= */

.spectacol-wrap.promo {}
.spectacol-title.promo-title {color: #699161;font-family: sans-serif;}
.spectacol-author.promo-subtitle {color: #699161;}
.spectacol-info.promo-gen {font-family: sans-serif;}
.badge.promo-badge {background-color: #699161;color: #fff;}
button.promo-btn {background-color: #699161; color: #fff;font-family: sans-serif;}
button.promo-btn:hover {background-color: #507149;}


/* =========================
   BADGES
   ========================= */

.badge,.badge.promo-badge {letter-spacing: 1px;
    display:inline-block;
    font-size:10px;
    padding:4px 7px;
    margin-left:10px;
    padding-top:5px;
    font-family: sans-serif;
}

.badge.premiera {margin-bottom:0px;
    font-size:14px;
    font-weight:400;
    background:#c62828;
    color:#fff;
    font-family: sans-serif;
}
.badge.promo-badge {background-color: #699161; color: #fff; font-size: 14px; height:22px; padding-bottom: 0px;line-height:0.8; font-family: sans-serif;}

.badge.free {
    background:#2e7d32;
    color:#fff;
}

@media (max-width: 1160px) {    #filter-genre,
    #filter-hall{  display: none;}    }
/*///////////////////////////////////////////////////////////////////////////*/
 /* mobil */
@media (max-width: 767px) {
    body { padding:0px;}
    
    
    /* ascunse pe mobil */
    #filter-promo, .data-hall, .badge.premiera, .badge.promo-badge{
        display: none;
    }

    table {margin:0 10px; margin-bottom:30px;
        width: 95%;
    }
    td:last-child { padding:0px;}
    button.promo-btn {padding: 4px 8px;}
    
    /* container principal */
    .filters-bar {
        width: 100%;
        display: flex;
        flex-direction: column;   /* rânduri */
        gap: 10px;
    }
.data-ora {line-height:1;}

    /* RÂNDUL 1 */
    .filters-left {
        display: flex;
        width: 100%;
        gap: 8px;
        align-items: flex-end;
    }
    .filters-left {padding:0 10px;}
    #filter-from,
    #filter-to {
        flex: 1 1 0;
        min-width: 0;
        height: 30px;
    }

    #reset-filters {
        flex: 0 0 60px;
        height: 30px;
    }

    /* RÂNDUL 2 */
    .filters-right { width: 100%;  }

    #filter-search {margin:0 10px;
        width: 95%;
        height: 30px;
    }
    
td:last-child { width:15%; min-width: 40px; padding:5px;}
button.bilete {
    padding: 4px 10px;  font-size:12px;
    cursor:pointer;
    border-radius:3px;}
    
    /* =========================
   DATA – STIL VERTICAL
   ========================= */
.td-data {width: 13%; min-width: 55px;}
.data-main {padding: 0px; width:40px;}
.data-box {    text-align:center;}
.zi-verticala {letter-spacing: 1px;
    padding:2px; font-size:9px;}
.data-zi {font-size:25px;line-height:0.8;}
.data-luna {margin-top:1px;font-size:10px;}
.data-ora {margin-top:-1px; font-size:16px;}

/*  SPECTACOL  */
.spectacol-wrap {gap:5px;}
.spectacol-img img {width:80px;  height:110px;}
.spectacol-title {font-size:18px; line-height:0.9;}
.spectacol-author { font-size:15px; margin-top:2px; line-height:1;}
.spectacol-info { font-size:13px;  margin-top:2px;}
.spectacol-restrict {padding-left:5px;}
    
}
