/* ====== DESCRIPTION EXTRACTOR RESULT ====== */

.desc-result-box {
    width: 900px;
    max-width: 95%;
    margin: 20px auto;
    padding: 25px;
    border-radius: 12px;
    background: #f3f3f3;
    border: 1px solid #ccc;
    text-align: left;
}

.desc-result-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #000;
    text-align: center;
}

/* Individual field box */
.desc-field-box {
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 14px;
    position: relative;
}

.desc-field-box:last-child {
    margin-bottom: 0;
}

.desc-field-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.desc-field-label {
    font-size: 13px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Copy button */
.copy-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 12px;
    color: #555;
    font-weight: 500;
    transition: all 0.2s ease;
    font-family: "Inter", sans-serif;
}

.copy-btn:hover {
    background: #f5f5f5;
    border-color: #bbb;
    color: #000;
}

.copy-btn.copied {
    background: #e8f5e9;
    border-color: #4caf50;
    color: #2e7d32;
}

.copy-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.copy-btn .icon-clipboard,
.copy-btn.copied .icon-check {
    display: inline;
}

.copy-btn .icon-check,
.copy-btn.copied .icon-clipboard {
    display: none;
}

/* Field content */
.desc-field-content {
    font-size: 14px;
    line-height: 1.7;
    color: #222;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 12px;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.desc-field-content:hover {
    scrollbar-color: #ccc transparent;
}

.desc-field-content::-webkit-scrollbar {
    width: 4px;
}

.desc-field-content::-webkit-scrollbar-track {
    background: transparent;
}

.desc-field-content::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 4px;
}

.desc-field-content:hover::-webkit-scrollbar-thumb {
    background: #ccc;
}

.desc-field-content.title-content {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    white-space: normal;
    max-height: none;
}

/* Stats row */
.desc-stats-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.desc-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 100px;
    padding: 12px 8px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
}

.desc-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 3px;
}

.desc-stat-label {
    font-size: 11px;
    font-weight: 500;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* Links list */
.desc-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.desc-links-list li {
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}

.desc-links-list li:last-child {
    border-bottom: none;
}

.desc-links-list a {
    color: #0000EE;
    text-decoration: none;
    word-break: break-all;
}

.desc-links-list a:hover {
    text-decoration: underline;
}

/* Hashtags */
.desc-hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.desc-hashtag {
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

/* Channel info row */
.desc-channel-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.desc-channel-name {
    font-size: 15px;
    font-weight: 600;
    color: #000;
}

.desc-channel-meta {
    font-size: 13px;
    color: #666;
}

/* Thumbnail preview in result */
.desc-thumb-preview {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    margin: 0 auto 15px;
    display: block;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .desc-result-box {
        width: 95%;
        padding: 15px;
    }

    .desc-field-box {
        padding: 12px 14px;
    }

    .desc-stats-row {
        gap: 10px;
    }

    .desc-stat-item {
        min-width: 80px;
        padding: 10px 6px;
    }

    .desc-stat-value {
        font-size: 16px;
    }

    .desc-field-content {
        max-height: 200px;
    }
}
