/* =========================
   RESET & BASE
========================= */

*,
*:before,
*:after {
    box-sizing: border-box;
}

body {
    height: 100vh;
    display: block;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, "Helvetica Neue", Arial,
        "Noto Sans", sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol", "Noto Color Emoji";
    background-color: #eee;
}

img {
    display: block;
    max-width: 100%;
}

/* =========================
   FLEX UTILITAIRE
========================= */

.flex {
    display: flex;
    flex-direction: column;
}

/* =========================
   CARTES
========================= */

.card1 {
    width: 250px;
    border: solid 1px rgba(37, 53, 202, 1);
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card1:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card2 {
    width: 250px;
    border: solid 1px rgba(37, 53, 202, 1);
    margin: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    background-color: #fff;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}

/* =========================
   CONTENU DES CARTES
========================= */

.card * {
    margin: 0;
}

.card__content {
    padding: 1rem;
    padding-top: 2.5rem;
}

.card__label {
    position: absolute;
    left: 0;
    transform: translateY(-1.7rem);
    background-color: tomato;
    padding: 0.25rem 0.75rem 0.25rem 1rem;
    color: #fff;
    border-radius: 0 4px 4px 0;
}

.card__link {
    color: inherit;
    text-decoration: none;
}

.card__cta-container {
    padding-top: 1rem;
    border-top: 1px solid #bebebe;
    margin-top: 1rem;
}

.card__cta {
    position: relative;
    width: 100%;
    padding: 0.5rem;
}

/* =========================
   TITRES AVEC ICÔNES (EMOJIS)
========================= */

.card-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ✅ Agrandit légèrement l’emoji (ampoule 💡 incluse) */
.card-title::first-letter {
    font-size: 1.4em;
}

/* =========================
   BOUTONS
========================= */

.buttonUS {
    background-color: #3e7af7;
    color: white;
    border-radius: 29px;
    padding: 8px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.demandeLivarison {
    background-color: #3e7af7;
    border: none;
    color: white;
    padding: 15px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}

/* =========================
   GRILLE CSS GRID (2 x 4)
========================= */

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 250px);
    gap: 20px;
    justify-content: center;
    margin: 60px auto;
}

/* =========================
   ELEMENTS DIVERS
========================= */

#new_ticket_btn {
    display: none;
}

.ImageIcon {
    display: inline;
}

/* =========================
   HEADER / PORTAL CLEANUP
========================= */

.BreadCrumbs__breadcrumbsView {
    display: none;
}

.Header__welcomeTitle {
    display: none;
}
