/* Favourites Page Specific Styles */

/* Common Header */
.cmn-header {
    font-size: 2.4rem;
    color: var(--text-color, #333);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* All Manga Container */
.all-manga-cont {
    margin: 40px 0;
}

/* Small Manga Container Styles (for component) */
.smanga-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
    gap: 30px;
    margin: 30px 0;
}

.smanga-box {
    width: 100%;
    max-width: 146px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
}

.smanga-box:hover {
    transform: translateY(-5px);
}

.smanga-img {
    width: 100%;
    max-width: 146px;
    height: 210px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.smanga-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.smanga-box:hover img {
    transform: scale(1.05);
}

.smanga-content {
    padding: 10px;
    background: rgba(255,255,255,0.04);
    border-radius: 0px 0px 10px 10px;
    border: 1px solid rgba(255,255,255,0.09);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.smanga-ttl {
    font-size: 1.4rem;
    color: var(--primarycolor);
    margin-bottom: 0;
    font-weight: 600;
}

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

.smanga-star .fa-star {
    width: 15px;
    height: 15px;
    color: var(--primarycolor, #ffc107);
}

.smanga-rating {
    font-size: 1.4rem;
    color: var(--text-black, #333);
    font-weight: 500;
}

/* Favourite Badge/Icon */
.favourite-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--favourite-bg, rgba(255, 0, 0, 0.8));
    color: var(--text-white, #fff);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    z-index: 2;
}

/* Empty State */
.empty-favourites {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary, #666);
}

.empty-favourites h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-color, #333);
}

.empty-favourites p {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.empty-favourites .btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primarycolor, #007bff);
    color: var(--text-white, #fff);
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.4rem;
    transition: background-color 0.3s ease;
}

.empty-favourites .btn:hover {
    background-color: var(--primarycolor-dark, #0056b3);
    color: var(--text-white, #fff);
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .cmn-header {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .smanga-boxes {
        gap: 20px;
        justify-content: center;
    }

    .smanga-box {
        max-width: 160px;
    }

    .smanga-img {
        max-width: 160px;
        height: 230px;
    }

    .starandrating {
        gap: 8px;
    }

    .smanga-ttl {
        font-size: 1.3rem;
    }

    .smanga-rating {
        font-size: 1.3rem;
    }

    .favourite-badge {
        width: 25px;
        height: 25px;
        font-size: 1rem;
    }

    .empty-favourites {
        padding: 40px 15px;
    }

    .empty-favourites h3 {
        font-size: 1.8rem;
    }

    .empty-favourites p {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 480px) {
    .cmn-header {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .smanga-boxes {
        gap: 15px;
    }

    .smanga-box {
        max-width: 140px;
    }

    .smanga-img {
        max-width: 140px;
        height: 200px;
    }

    .smanga-ttl {
        font-size: 1.2rem;
    }

    .smanga-rating {
        font-size: 1.2rem;
    }

    .favourite-badge {
        width: 22px;
        height: 22px;
        font-size: 0.9rem;
        top: 8px;
        right: 8px;
    }

    .empty-favourites h3 {
        font-size: 1.6rem;
    }

    .empty-favourites p {
        font-size: 1.2rem;
    }

    .empty-favourites .btn {
        padding: 10px 20px;
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 375px) {
    .smanga-boxes {
        gap: 10px;
    }

    .smanga-box {
        width: 100%;
        max-width: 135px;
    }

    .smanga-img {
        max-width: 135px;
        height: 190px;
    }
}