/* ================= BASE ================= */

.detail-page .comment-section {
    margin-top: 40px;
}

.detail-page .comment-form textarea {
    width: 100%;
    padding: 10px;
    resize: none;
}

.detail-page .comment-form button {
    margin-top: 8px;
    padding: 8px 16px;
}

.detail-page .comment-item {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.detail-page .comment-item .time {
    font-size: 12px;
    color: #888;
    margin-left: 10px;
}

/* ===== ACTION BUTTONS ===== */
.detail-page .action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
    align-items: center;
}

.detail-page .action-buttons .btn {
    width: 100%;
}

/* ===== BUTTON ===== */
.detail-page .btn {
    height: 44px;
    padding: 0 18px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;

    border: none;
    cursor: pointer;
    box-sizing: border-box;
    vertical-align: middle;
}

.detail-page .btn i {
    font-size: 14px;
    line-height: 1;
}

/* ===== COLORS ===== */
.detail-page .btn-read {
    background: linear-gradient(135deg, #ff7a18, #ff9f1a);
    color: #fff;
}

.detail-page .btn-read:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 122, 24, 0.35);
}

.detail-page .btn-fav {
    background: #f2f2f2;
    color: #333;
}

.detail-page .btn-fav i {
    color: #ff4d6d;
}

.detail-page .btn-fav:hover {
    background: #ffe6ec;
}

.detail-page .btn-fav.active {
    background: linear-gradient(135deg, #ff4d6d, #ff758f);
    color: #fff;
}

.detail-page .btn-fav.active i {
    color: #fff;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .detail-page {
        padding: 12px;
    }

    /* INFO */
    .detail-page .manga-info-wrapper {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .detail-page .manga-cover {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .detail-page .manga-cover img {
        width: 70%;
        max-width: 240px;
        border-radius: 12px;
    }

    .detail-page .manga-info-text h1 {
        font-size: 20px;
        text-align: center;
    }

    .detail-page .manga-info-text p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* BUTTONS */
    .detail-page .action-buttons {
        width: 100%;
        align-items: stretch;
    }

    .detail-page .action-buttons .btn {
        width: 100%;
        font-size: 15px;
    }

    /* CHAPTER */
    .detail-page .chapters-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .detail-page .chapter-item {
        padding: 12px;
        border-radius: 10px;
        font-size: 14px;
    }

    .detail-page .chapter-item .time {
        display: block;
        margin-top: 6px;
        font-size: 12px;
        color: #999;
    }

    /* COMMENT */
    .detail-page .comment-section h3 {
        font-size: 18px;
    }

    .detail-page .comment-form textarea {
        font-size: 14px;
    }

    .detail-page .comment-form button {
        width: 100%;
        height: 42px;
        font-size: 15px;
        border-radius: 8px;
    }
}


/* mobile dropdown */
.dropdown-menu.show {
    display: block;
}

/* desktop hover */
@media (min-width: 769px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }
}
