/* ============================
   STYLE SOBRE PREMIUM - EvenCiel
   ============================ */

body {
    margin: 0;
    padding: 20px;
    background: #f5f5f7;
    font-family: Arial, sans-serif;
    color: #333;
}

/* NAV BAR */
.navbar {
    display: flex;
    gap: 20px;
    padding: 12px 20px;
    background: #ffffff;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.navbar a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}
.navbar a:hover {
    color: #0077cc;
}

/* LISTE DES EVENTS */
.even-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* CARD */
.even-card {
    background: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    width: 320px;
    overflow: hidden;
    transition: 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.even-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

/* IMAGE */
.even-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* BODY */
.even-body {
    padding: 15px;
}

/* TITRES */
.even-title {
    margin: 0;
    font-size: 20px;
    color: #222;
}
.even-sub {
    margin: 5px 0 10px;
    font-size: 14px;
    color: #666;
}
.even-date {
    font-size: 13px;
    color: #0077cc;
    margin-bottom: 10px;
}

/* PRIX */
.even-price {
    margin-bottom: 15px;
}
.price-normal {
    text-decoration: line-through;
    color: #999;
    margin-right: 8px;
}
.price-promo {
    color: #cc0000;
    font-weight: bold;
    margin-right: 8px;
}
.price-reduc {
    color: #009688;
    font-weight: bold;
    margin-right: 8px;
}
.price-code {
    display: block;
    margin-top: 5px;
    color: #444;
}

/* BOUTON CTA */
.even-cta {
    display: inline-block;
    padding: 10px 15px;
    background: #0077cc;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.2s;
}
.even-cta:hover {
    background: #005fa3;
}

/* FORMULAIRES */
form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: auto;
    background: #ffffff;
    padding: 20px;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
label {
    margin-top: 10px;
    color: #333;
}
input, textarea, select {
    
    padding: 10px;
    margin: 8px 0;
    background: #fafafa;
    border: 1px solid #ccc;
    border-radius: 6px;
    color: #333;
}
button {
    padding: 10px 15px;
    background: #0077cc;
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    font-weight: 600;
    margin-top: 15px;
}
button:hover {
    background: #005fa3;
}

/* CONFIRMATION CARD */
.confirm-card {
    max-width: 420px;
    margin: 80px auto;
    background: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.confirm-card h2 {
    color: #cc0000;
    margin-bottom: 10px;
    font-size: 22px;
}
.confirm-card p {
    color: #444;
    font-size: 15px;
    margin-bottom: 15px;
}
.confirm-card img {
    max-width: 260px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}
.confirm-btn {
    display: inline-block;
    padding: 12px 20px;
    background: #cc0000;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.2s;
    margin-bottom: 15px;
}
.confirm-btn:hover {
    background: #a30000;
}
.cancel-btn {
    display: inline-block;
    padding: 10px 18px;
    background: #fafafa;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid #ccc;
}
.cancel-btn:hover {
    background: #e6e6e6;
}
/* ============================
   EVENCIEL — CARD ARTICLE STYLE
   ============================ */

.article-card {
    display: flex;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 25px;
    max-width: 600px;
    margin: 40px auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* COLONNE GAUCHE */
.article-left {
    width: 25%;
    padding-right: 20px;
    border-right: 1px solid #f0f0f0;
}

/* DATE */
.date-box {
    text-align: center;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 41%);
    padding: 5px;
}
.date-box .day {
    font-size: 48px;
    font-weight: 700;
    color: #6a2bc7;
    display: block;
    line-height: 40px;
}
.date-box .month {
    font-size: 14px;
    text-transform: uppercase;
    color: #555;
    letter-spacing: 1px;
}
.date-box .hour {
    font-size: 16px;
    font-weight: 600;
    color: #6a2bc7;
    margin-top: 8px;
    display: block;
}

/* META */
.meta-box {
    font-size: 14px;
    color: #555;
    text-align: center;
}
.meta-item {
    display: block;
    margin-bottom: 10px;
   
    padding: 5px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 41%);
}
.meta-item i {
    margin-right: 6px;
    color: #6a2bc7;
}
.meta-item a {
    color: #6a2bc7;
    font-weight: 600;
}
.meta-item a:hover {
    color: #4f1ea0;
}

/* COLONNE DROITE */
.article-right {
    width: 75%;
    padding-left: 25px;
}

/* TITRE */
.article-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #2a2a2a;
    margin-bottom: 20px;
    text-align: center;
    background-color: #e7e7e7;
}

/* IMAGE */
.article-image img {
    width: 100%;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* TEXTE */
.article-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 12px;
}

/* CTA */
.article-cta a {
    display: inline-block;
    padding: 12px 20px;
    background: #6a2bc7;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 20px;
    transition: 0.2s;
}
.article-cta a:hover {
    background: #4f1ea0;
}

/* RESPONSIVE */
@media(max-width: 900px) {
    .article-card {
        flex-direction: column;
    }
    .article-left {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    .article-right {
        width: 100%;
        padding-left: 0;
    }
}
/* CTA — Bouton violet premium */
.article-cta {
    margin-top: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-content: space-between;
    justify-content: center;
    align-items: stretch;
}

.article-cta a {
    display: inline-block;
    padding: 12px 22px;
    background: #6a2bc7;          /* Violet premium */
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.10);
    transition: 0.25s ease;
}

.article-cta a:hover {
    background: #4f1ea0;          /* Violet foncé */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}
/* Prestataire */
.prestataire-box {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-direction: column;
    box-shadow: 0 2px 8px rgb(0 0 0 / 41%);
    padding: 5px;
}
.prestataire-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
/* Sous-titre */

.event-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #6a2bc7;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Description complète */

.event-description {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ececec;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
    font-family: Georgia, "Times New Roman", serif;
    box-shadow: 0 10px 10px 2px rgba(0, 0, 0, 0.3);
    padding: 10px;
}
.event-description::first-letter {
    float: left;
    font-size: 42px;
    line-height: 34px;
    padding-right: 6px;

    color: #6a2bc7;
    font-weight: bold;
}

.event-description strong {
    color: #222;
    font-weight: 700;
}
/* Description raccourcie dans preview_list */

.event-description-preview {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ececec;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
    font-family: Georgia, "Times New Roman", serif;
    box-shadow: 0 10px 10px 2px rgba(0, 0, 0, 0.3);
    padding: 10px;
}

.event-description-preview::first-letter {
    float: left;
    font-size: 42px;
    line-height: 34px;
    padding-right: 6px;

    color: #6a2bc7;
    font-weight: bold;
}

.event-description-preview strong {
    color: #222;
    font-weight: 700;
}
/* Paragraphes */

.event-description p,
.event-description-preview p {
    margin-bottom: 12px;
}
.event-gratuit {
    display: inline-block;
    background: #2ecc71;
    color: #fff;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.filter-bar {
    display: flex;
    gap: 10px;
    align-items: baseline;
    flex-wrap: wrap;
    background: #ffffff61;
    padding: 5px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 1100px;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
    flex-direction: row;
    align-content: center;
    justify-content: space-around;
    position: sticky;
    top: 2px;
}

.filter-bar input,
.filter-bar select {
    padding:10px;
    border:1px solid #ddd;
    border-radius:6px;
}

.filter-bar button {
    background:#6a2bc7;
    color:#fff;
    border:none;
    padding:10px 15px;
    border-radius:6px;
    cursor:pointer;
}

.filter-bar button:hover {
    background:#4f1ea0;
}
.prestataire-infos {
    display:flex;
    flex-direction:column;
}

.prestataire-clientid {
    font-size:12px;
    color:#6a2bc7;
    font-weight:600;
}
.prestataire-clientid{
    font-size:12px;
    color:#6a2bc7;
    font-weight:600;
}

.prestataire-role{
    margin-top:3px;
    display:inline-block;

    background:#f3eaff;
    color:#6a2bc7;

    padding:2px 8px;
    border-radius:15px;

    font-size:11px;
    font-weight:700;
}
.results-count {
    max-width: 1100px;
    margin: 15px auto;
    color: #098f14;
    font-weight: 600;
    text-align: center;
}