/* ===== CARTES ACCUEIL & PLANNING ===== */

.card-base {
    position: relative;
    width: 9.5rem;
    height: auto;
    margin: 1rem 0.75rem;
    display: flex;
    flex-direction: column;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease;
    }
    
    @media (min-width: 768px) {
    .card-base {
        width: 13rem;
        margin: 0.5rem 1rem;
    }
    }
    
    .card-base a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    height: 100%;
    position: relative;
    }
    
    .card-base:hover {
        transform: translateY(-1px);
    }
    
    /* ===== IMAGE CONTAINER (PARTAGÉ) ===== */
    
    .card-image-container {
    position: relative;
    overflow: hidden;
    height: 5.5rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    flex-shrink: 0;
    }
    
    @media (min-width: 768px) {
    .card-image-container {
        height: 7.5rem;
    }
    }
    
    .card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
    will-change: transform;
    }
    
    .card-base a:hover .card-image {
        transform: scale(1.02);
    }
    
    /* Overlay gradient */
    .image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.15) 50%,
        rgba(20, 40, 60, 0.4) 100%
    );
    pointer-events: none;
    }
    
    /* Shine effect */
    .image-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0) 50%
    );
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    }
    
    .card-base a:hover .image-shine {
    opacity: 1;
    }
    
    /* ===== BADGES (PARTAGÉ) ===== */
    
    .badge {
    position: absolute;
    background: linear-gradient(135deg, rgba(80, 90, 110, 0.5), rgba(60, 70, 90, 0.5));
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    border: 1px solid rgba(150, 160, 180, 0.3);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    }
    
    @media (min-width: 768px) {
    .badge {
        padding: 0.25rem 0.55rem;
    }
    }
    
    .badge-text {
    color: #e5e7eb;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    display: block;
    margin: 0;
    }
    
    @media (min-width: 768px) {
    .badge-text {
        font-size: 0.6rem;
    }
    }
    
    .badge-glow {
    position: absolute;
    inset: -4px;
    border-radius: 4px;
    background: radial-gradient(circle, rgba(100, 120, 150, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    }
    
    .card-base a:hover .badge-glow {
    opacity: 0.3;
    }
    
    /* Badge SCAN (gris) */
    .scan-badge {
    top: 0.3rem;
    left: 0.3rem;
    }
    
    /* Badge ANIME (bleu foncé) */
    .anime-badge {
    top: 0.3rem;
    left: 0.3rem;
    background: linear-gradient(135deg, rgba(29, 78, 137, 0.8), rgba(15, 40, 71, 0.8));
    border-color: rgba(30, 58, 95, 0.5);
    }
    
    .anime-card-premium a:hover .anime-badge .badge-glow {
    background: radial-gradient(circle, rgba(29, 78, 137, 0.4), transparent);
    }
    
    /* Badge langue (haut droit - avec drapeau) */
    .language-badge-top {
    top: 0.3rem;
    right: 0.3rem;
    padding: 0.2rem 0.45rem;
    }
    
    @media (min-width: 768px) {
    .language-badge-top {
        padding: 0.4rem 0.55rem;
    }
    }
    
    /* Flag icon dans le badge langue */
    .flag-icon {
    width: 22px;
    height: 15px;
    object-fit: contain;
    display: block;
    border-radius: 2px;
    margin: 0;
    flex-shrink: 0;
    }
    
    /* ===== CARD CONTENT (PARTAGÉ) ===== */
    
    .card-content {
    padding: 0.75rem 0.6rem;
    position: relative;
    overflow: hidden;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(100, 110, 130, 0.25);
    border-top: none;
    }
    
    /* Content SCAN (gris) */
    .scan-card-premium .card-content {
    background: linear-gradient(180deg,rgb(22, 22, 22) 0%, #1f2127 100%);
    }
    
    /* Content ANIME (bleu foncé) */
    .anime-card-premium .card-content {
    background: linear-gradient(180deg,rgb(12, 19, 32) 0%, #081628 100%);
    border-color: rgba(29, 78, 137, 0.2);
    }
    
    .card-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(150, 160, 180, 0.4), transparent);
    }
    
    .anime-card-premium .card-content::before {
    background: linear-gradient(90deg, transparent, rgba(30, 58, 95, 0.4), transparent);
    }
    
    /* ===== TITRE (PARTAGÉ) ===== */
    
    .card-title {
    color: #f3f4f6;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.15;
    letter-spacing: 0.05em;
    margin: 0;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    transition: color 0.3s ease;
    }
    
    @media (min-width: 768px) {
    .card-title {
        font-size: 0.9rem;
        font-weight: 600;
        -webkit-line-clamp: 3;
    }
    }
    
    .card-base a:hover .card-title {
    color: #f9fafb;
    }
    
    /* ===== DIVIDER (PARTAGÉ) ===== */
    
    .content-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(120, 130, 160, 0.4), transparent);
    margin: 0.35rem 0 0.5rem 0;
    flex-shrink: 0;
    }
    
    .anime-card-premium .content-divider {
    background: linear-gradient(90deg, transparent, rgba(30, 58, 95, 0.4), transparent);
    }
    
    /* ===== INFO ITEMS (PARTAGÉ) ===== */
    
    .card-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex-grow: 1;
    justify-content: flex-end;
    text-align: center;
    }
    
    .info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 600;
    color: #d1d5db;
    padding: 0.3rem 0.4rem;
    border-radius: 5px;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    }
    
    @media (min-width: 768px) {
    .info-item {
        font-size: 0.75rem;
    }
    }
    
    /* Info Item CHAPTER (SCANS - gris) */
    .info-item.chapter {
    background: linear-gradient(135deg, rgba(100, 110, 140, 0.4), rgba(80, 90, 120, 0.3));
    border: 1px solid rgba(120, 130, 160, 0.3);
    }
    
    .scan-card-premium a:hover .info-item.chapter {
    background: linear-gradient(135deg, rgba(156, 157, 160, 0.42), rgba(157, 159, 165, 0.32));
    border-color: rgba(143, 148, 165, 0.35);
    color: #e5e7eb;
    }
    
    /* Info Item EPISODE (ANIME - bleu foncé) */
    .info-item.episode {
    background: linear-gradient(135deg, rgba(29, 78, 137, 0.4), rgba(15, 40, 71, 0.3));
    border: 1px solid rgba(30, 58, 95, 0.35);
    }
    
    .anime-card-premium a:hover .info-item.episode {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.45), rgba(29, 78, 137, 0.4));
    border-color: rgba(59, 130, 246, 0.5);
    color: #e5e7eb;
    }
    
    /* Release Time (PARTAGÉ) */
    .info-item.release-time {
    background: linear-gradient(135deg, rgba(80, 100, 120, 0.35), rgba(60, 80, 100, 0.3));
    border: 1px solid rgba(100, 120, 140, 0.3);
    }
    
    .scan-card-premium a:hover .info-item.release-time {
    background: linear-gradient(135deg, rgba(90, 110, 130, 0.37), rgba(70, 90, 110, 0.32));
    border-color: rgba(100, 120, 140, 0.35);
    color: #e5e7eb;
    }
    
    .anime-card-premium a:hover .info-item.release-time {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.45), rgba(15, 40, 71, 0.35));
    border-color: rgba(30, 58, 95, 0.5);
    color: #e5e7eb;
    }
    
    /* ===== ICÔNES SVG HEROICONS ===== */
    
    .info-icon-svg {
    width: 12px;
    height: 12px;
    margin-right: 0.3rem;
    flex-shrink: 0;
    stroke: #cbd5e1;
    fill: none;
    transition: stroke 0.3s ease;
    }
    
    @media (min-width: 768px) {
    .info-icon-svg {
        width: 14px;
        height: 14px;
    }
    }
    
    .anime-card-premium .info-icon-svg {
    stroke: #60a5fa;
    }
    
    .scan-card-premium .info-icon-svg {
    stroke: #cbd5e1;
    }
    
    .time-icon-svg {
    width: 12px;
    height: 12px;
    margin-right: 0.3rem;
    flex-shrink: 0;
    stroke: #94a3b8;
    fill: none;
    transition: stroke 0.3s ease;
    }
    
    @media (min-width: 768px) {
    .time-icon-svg {
        width: 14px;
        height: 14px;
    }
    }
    
    .anime-card-premium .time-icon-svg {
    stroke: #60a5fa;
    }
    
    .scan-card-premium .time-icon-svg {
    stroke: #94a3b8;
    }
    
    /* Hover effects */
    .anime-card-premium a:hover .info-icon-svg,
    .anime-card-premium a:hover .time-icon-svg {
    stroke: #93c5fd;
    }
    
    .scan-card-premium a:hover .info-icon-svg,
    .scan-card-premium a:hover .time-icon-svg {
    stroke: #e5e7eb;
    }
    
    /* ===== CATALOGUE CARD (HÉRITE DE CARD-BASE) ===== */
    
    .catalog-card {
    position: relative;
    width: 9.5rem;
    height: auto;
    margin: 0.5rem 0.5rem;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: visible;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.06);
    }
    
    @media (min-width: 768px) {
    .catalog-card {
        width: 13rem;
        margin: 0.5rem 0.75rem;
    }
    }
    
    .catalog-card a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    height: 100%;
    position: relative;
    }
    
    .catalog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.12);
    }
    
    /* ===== IMAGE CONTAINER ===== */
    
    .catalog-card .card-image-container {
    position: relative;
    overflow: hidden;
    height: 5.5rem;
    background: linear-gradient(135deg, #111318 0%, #0c0d10 100%);
    flex-shrink: 0;
    border-radius: 8px 8px 0 0;
    }
    
    @media (min-width: 768px) {
    .catalog-card .card-image-container {
        height: 7.5rem;
    }
    }
    
    .catalog-card .card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease, filter 0.35s ease;
    }
    
    .catalog-card a:hover .card-image {
    transform: scale(1.03);
    filter: brightness(1.05);
    }
    
    .catalog-card .image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.08) 50%,
        rgba(17, 19, 24, 0.6) 100%
    );
    pointer-events: none;
    }
    
    .catalog-card .image-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0) 50%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    }
    
    .catalog-card a:hover .image-shine {
    opacity: 1;
    }
    
    /* ===== CARD CONTENT ===== */
    
    .catalog-card .card-content {
    background: linear-gradient(180deg, #111318 0%, #0c0d10 100%);
    padding: 0.7rem 0.55rem;
    position: relative;
    overflow: visible;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-top: none;
    border-radius: 0 0 8px 8px;
    }
    
    .catalog-card .card-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    }
    
    /* ===== TITRE ===== */
    
    .catalog-card .card-title {
    color: #e8eaed;
    font-size: 0.88rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.04em;
    margin: 0;
    margin-bottom: 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    transition: color 0.2s ease;
    text-transform: uppercase;
    }
    
    @media (min-width: 768px) {
    .catalog-card .card-title {
        font-size: 0.95rem;
        -webkit-line-clamp: 2;
    }
    }
    
    .catalog-card a:hover .card-title {
    color: #ffffff;
    }
    
    /* ===== TITRES ALTERNATIFS ===== */
    
    .alternate-titles {
    color: #4b5563;
    font-size: 0.65rem;
    font-style: normal;
    line-height: 1.1;
    margin: 0;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    transition: color 0.2s ease;
    text-align: center;
    }
    
    @media (min-width: 768px) {
    .alternate-titles {
        font-size: 0.68rem;
    }
    }
    
    .catalog-card a:hover .alternate-titles {
    color: #6b7280;
    }
    
    /* ===== DIVIDER ===== */
    
    .catalog-card .content-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 0.25rem 0 0.45rem 0;
    flex-shrink: 0;
    }
    
    /* ===== CATALOG INFO ===== */
    
    .catalog-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex-grow: 1;
    justify-content: flex-start;
    }
    
    .info-row {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    }
    
    .info-label {
    color: #4b5563;
    font-weight: 600;
    letter-spacing: 0.06em;
    font-size: 0.55rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    }
    
    @media (min-width: 768px) {
    .info-label {
        font-size: 0.58rem;
    }
    }
    
    .info-label-icon {
    width: 11px;
    height: 11px;
    stroke: #4b5563;
    fill: none;
    stroke-width: 1.5;
    flex-shrink: 0;
    transition: stroke 0.2s ease;
    }
    
    @media (min-width: 768px) {
    .info-label-icon {
        width: 12px;
        height: 12px;
    }
    }
    
    .catalog-card a:hover .info-label-icon {
    stroke: #9ca3af;
    }
    
    .info-value {
    color: #d1d5db;
    font-size: 0.68rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    transition: color 0.2s ease;
    }
    
    @media (min-width: 768px) {
    .info-value {
        font-size: 0.7rem;
    }
    }
    
    .catalog-card a:hover .info-value {
    color: #e5e7eb;
    }
    
    /* ===== GENRE TAGS (PILLS RECTANGULAIRES) ===== */
    
    .genre-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    max-height: 2.6rem;
    overflow: hidden;
    }
    
    @media (min-width: 768px) {
    .genre-tags {
        max-height: 4rem;
    }
    }
    
    .genre-tag {
    display: inline-block;
    padding: 0.15rem 0.4rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    color: #c4c9d2;
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.3;
    transition: background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    }
    
    @media (min-width: 768px) {
    .genre-tag {
        font-size: 0.62rem;
        padding: 0.18rem 0.45rem;
    }
    }
    
    .catalog-card a:hover .genre-tag {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.14);
    }
    
    /* ===== LANGUAGE FLAGS ===== */
    
    .lang-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    align-items: center;
    }
    
    .lang-flag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 14px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    opacity: 0.85;
    transition: opacity 0.2s ease;
    }
    
    @media (min-width: 768px) {
    .lang-flag {
        width: 22px;
        height: 15px;
    }
    }
    
    .lang-flag svg {
    width: 100%;
    height: 100%;
    display: block;
    }
    
    .catalog-card a:hover .lang-flag {
    opacity: 1;
    }
    
    /* ===== TYPE ROW AVEC ICÔNE ===== */
    
    .type-row {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    }
    
    .type-icon {
    width: 12px;
    height: 12px;
    stroke: #9ca3af;
    fill: none;
    stroke-width: 1.5;
    flex-shrink: 0;
    transition: stroke 0.2s ease;
    }
    
    @media (min-width: 768px) {
    .type-icon {
        width: 13px;
        height: 13px;
    }
    }
    
    .catalog-card a:hover .type-icon {
    stroke: #d1d5db;
    }
    
    /* ===== SYNOPSIS TOOLTIP ===== */
    
    .synopsis-tooltip {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(17, 19, 24, 0.97), rgba(12, 13, 16, 0.97));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px 8px 0 0;
    padding: 0.7rem 0.55rem;
    margin-bottom: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
    z-index: 50;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    }
    
    @media (max-width: 767px) {
    .synopsis-tooltip {
        display: none;
    }
    }
    
    .catalog-card:hover .synopsis-tooltip {
    opacity: 1;
    visibility: visible;
    }
    
    .synopsis-label {
    display: block;
    color: #4b5563;
    font-weight: 600;
    letter-spacing: 0.06em;
    font-size: 0.55rem;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    }
    
    .synopsis-content {
    color: #c4c9d2;
    font-size: 0.68rem;
    font-style: normal;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    }
    
    @media (min-width: 768px) {
    .synopsis-content {
        font-size: 0.65rem;
    }
    }
    
    
    /* ===== ICÔNES SVG HEROICONS ===== */
    
    .info-icon-svg {
    width: 14px;
    height: 14px;
    margin-right: 0.3rem;
    flex-shrink: 0;
    stroke: #cbd5e1;
    fill: none;
    transition: stroke 0.3s ease;
    }
    
    .anime-card-premium .info-icon-svg {
    stroke: #60a5fa;
    }
    
    .scan-card-premium .info-icon-svg {
    stroke: #cbd5e1;
    }
    
    .time-icon-svg {
    width: 14px;
    height: 14px;
    margin-right: 0.3rem;
    flex-shrink: 0;
    stroke: #94a3b8;
    fill: none;
    transition: stroke 0.3s ease;
    }
    
    .anime-card-premium .time-icon-svg {
    stroke: #60a5fa;
    }
    
    .scan-card-premium .time-icon-svg {
    stroke: #94a3b8;
    }
    
    /* Hover effects */
    .anime-card-premium a:hover .info-icon-svg,
    .anime-card-premium a:hover .time-icon-svg {
    stroke: #93c5fd;
    }
    
    .scan-card-premium a:hover .info-icon-svg,
    .scan-card-premium a:hover .time-icon-svg {
    stroke: #e5e7eb;
    }
    
    .logout-button {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
        border: 1px solid rgba(100, 120, 150, 0.3);
        background: linear-gradient(135deg, rgba(110, 12, 12, 0.6), rgba(133, 7, 7, 0.5));
        color: #e0f2fe;
        font-weight: 600;
        font-size: 0.875rem;
        text-transform: uppercase;
        cursor: pointer;
        transition: all 0.3s ease;
        white-space: nowrap;
    }
    
    
    .logout-button:hover {
        background: linear-gradient(135deg, rgba(144, 14, 14, 0.8), rgba(178, 8, 8, 0.7));
        border-color: rgba(248, 56, 56, 0.6);
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(233, 14, 14, 0.4);
    }
    
    .login-button {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
        border: 1px solid rgba(100, 120, 150, 0.3);
        background: linear-gradient(135deg, rgba(12, 74, 110, 0.6), rgba(7, 89, 133, 0.5));
        color: #e0f2fe;
        font-weight: 600;
        font-size: 0.875rem;
        text-transform: uppercase;
        cursor: pointer;
        transition: all 0.3s ease;
        white-space: nowrap;
    }
    
    .login-button:hover {
        background: linear-gradient(135deg, rgba(14, 116, 144, 0.8), rgba(8, 145, 178, 0.7));
        border-color: rgba(56, 189, 248, 0.6);
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
    }
    
    /* ===== DELETE BUTTON FOR CARD-BASE (carteHistorique) ===== */
    
    .card-delete-btn {
        position: absolute;
        top: 0.3rem;
        right: 0.3rem;
        z-index: 20;
        background: rgba(0, 0, 0, 0.7);
        border: 2px solid rgba(120, 130, 160, 0.5);
        border-radius: 4px;
        padding: 0.3rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .card-delete-btn:hover {
        background: rgba(0, 0, 0, 0.9);
        border-color: rgba(239, 68, 68, 0.8);
    }
    
    .card-delete-btn:hover .delete-icon {
        color: #ef4444;
    }
    
    .delete-icon {
        width: 1rem;
        height: 1rem;
        color: #f3f4f6;
        transition: color 0.3s ease;
        flex-shrink: 0;
    }
    
    
    /* ===== BADGES POSITIONING FOR carteHistorique ===== */
    
    .card-base .card-image-container .badge {
        position: absolute;
        z-index: 15;
    }
    
    .card-base .card-image-container .scan-badge,
    .card-base .card-image-container .anime-badge {
        top: 0.3rem;
        left: 0.3rem;
    }
    
    /* ===== DELETE BUTTON FOR CATALOG-CARD (carteVus, carteFavoris, carteWatchlist) ===== */
    
    .card-delete-btn-catalog {
        position: absolute;
        top: 0.3rem;
        right: 0.3rem;
        z-index: 20;
        background: rgba(0, 0, 0, 0.7);
        border: 2px solid rgba(150, 150, 150, 0.4);
        border-radius: 4px;
        padding: 0.3rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .card-delete-btn-catalog:hover {
        background: rgba(0, 0, 0, 0.9);
        border-color: rgba(239, 68, 68, 0.8);
    }
    
    .card-delete-btn-catalog:hover .delete-icon {
        color: #ef4444;
    }
    
    
    /* Badge langue (haut droit - avec drapeau) */
    .language-badge-middle {
        top: 0.3rem;
        padding: 0.2rem 0.45rem;
        left: 50%;
        transform: translateX(-50%);
    }