/* Titre sections */
h3 {
    font-weight: 600;
    border-left: 4px solid #0d6efd;
    padding-left: 10px;
}

/* Cards uniformes (comme index) */
#user-bd-collection .col {
    display: flex;
    justify-content: center;
}

/* Réutilisation cartes BD */
.comic-card {
    width: 100%;
    max-width: 320px;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Image */
.card-img-top {
    height: 400px;
    object-fit: contain;
    background-color: #1e1e1e;
    padding: 10px;
}

/* Sections suivies (series / auteurs) */
#followed-series .card,
#followed-authors .card {
    border-radius: 10px;
    padding: 15px;
    transition: 0.2s;
}

#followed-series .card:hover,
#followed-authors .card:hover {
    background-color: #1e1e1e;
}

/* QR code */
#generated-QR-code-image {
    border-radius: 8px;
    border: 1px solid #333;
    padding: 5px;
}

/* Boutons */
.btn {
    transition: 0.2s;
}

.btn:hover {
    transform: scale(1.03);
}

.loan-section {
    margin-bottom: 10px;
}

.section-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #0d6efd; /* bleu Bootstrap */
}

/* 🔥 séparation stylée */
.loan-separator {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #444, transparent);
    margin: 20px 0;
}

.loan-card {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 10px;
    transition: 0.2s;
    border: 1px solid #2a2a2a;
}

.loan-card:hover {
    background-color: #252525;
    transform: translateY(-2px);
}

/* Texte */
.loan-card p {
    margin: 0;
}

/* Bouton */
.loan-card .btn {
    margin-top: 8px;
}

.followed-item {
    display: flex;
    justify-content: space-between;
    align-items: center;

    background-color: #1e1e1e;
    border: 1px solid #2a2a2a;

    padding: 12px 15px;
    border-radius: 10px;

    margin-bottom: 10px;

    transition: 0.2s;
}

.followed-item:hover {
    background-color: #252525;
    transform: translateY(-2px);
}

/* Nom série */
.followed-item p {
    font-size: 0.95rem;
}

/* Bouton */
.followed-item .btn {
    opacity: 0.8;
}

.followed-item:hover .btn {
    opacity: 1;
}

/* Avatar auteur */
.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;

    background: linear-gradient(135deg, #0d6efd, #6610f2);

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: bold;
    color: white;
    font-size: 1rem;
}

/* Petit texte secondaire */
.followed-item span {
    display: block;
}