/**
 * Kusonime Scraper - Frontend Content Styles
 * Digunakan untuk menampilkan Tabel Info Anime & Tombol Download di the_content()
 */

/* Container Info Box */
.kuso-info-wrapper {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.kuso-info-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #edf2f7;
}

.kuso-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px 20px;
}

.kuso-spec-row {
    display: flex;
    font-size: 14px;
    line-height: 1.5;
}

.kuso-spec-label {
    flex: 0 0 110px;
    font-weight: 600;
    color: #718096;
}

.kuso-spec-val {
    color: #2d3748;
    font-weight: 500;
}

.kuso-score {
    color: #d69e2e;
    font-weight: 700;
}

/* Container Download Box */
.kuso-download-container {
    background: #ffffff;
    border: 2px solid #3182ce;
    border-radius: 8px;
    margin: 30px 0;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(49, 130, 206, 0.1);
}

.kuso-dl-header {
    background: #3182ce;
    color: #ffffff;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kuso-dl-icon {
    font-size: 20px;
}

.kuso-dl-heading {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.kuso-dl-body {
    padding: 15px 18px;
}

.kuso-dl-group {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 14px;
    margin-bottom: 14px;
}

.kuso-dl-group:last-child {
    margin-bottom: 0;
}

.kuso-group-title {
    font-size: 14px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.kuso-resolutions-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kuso-res-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 6px;
    padding: 8px 12px;
}

.kuso-res-badge span {
    display: inline-block;
    background: #4a5568;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.kuso-res-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.kuso-dl-btn {
    display: inline-block;
    background: #ebf8ff;
    color: #2b6cb0 !important;
    border: 1px solid #bee3f8;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.kuso-dl-btn:hover {
    background: #3182ce;
    color: #ffffff !important;
    border-color: #3182ce;
    transform: translateY(-1px);
}

/* Responsiveness */
@media (max-width: 600px) {
    .kuso-specs-grid {
        grid-template-columns: 1fr;
    }

    .kuso-res-row {
        flex-direction: column;
        align-items: flex-start;
    }
}
