/* YTB-0099 CSS Minifier — scoped styles, layered on top of shared ytb-calc.css */

.ytb-cssmin-wrap {
    max-width: 1000px;
}

.ytb-cssmin-header {
    background: #1976D2;
    color: #fff;
    padding: 18px 24px;
    border-radius: 8px 8px 0 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.ytb-cssmin-card {
    border: 1px solid #e0e0e0;
    border-radius: 0 0 8px 8px;
    padding: 20px 24px 24px;
    background: #fff;
}

.ytb-cssmin-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 760px) {
    .ytb-cssmin-columns {
        grid-template-columns: 1fr;
    }
}

.ytb-cssmin-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.ytb-cssmin-textarea {
    width: 100%;
    min-height: 320px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    resize: vertical;
    box-sizing: border-box;
}

.ytb-cssmin-options {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 16px 0;
    font-size: 0.92rem;
}

.ytb-cssmin-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0;
}

.ytb-cssmin-btn {
    background: #4CAF50;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.ytb-cssmin-btn:hover {
    background: #43a047;
}

.ytb-cssmin-btn.secondary {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ccc;
}

.ytb-cssmin-btn.secondary:hover {
    background: #eaeaea;
}

.ytb-cssmin-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 14px;
    padding: 12px 16px;
    background: #e8f5e9;
    border: 1px solid #2196F3;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #1b5e20;
    display: none;
}

@media (max-width: 640px) {
    .ytb-cssmin-toolbar {
        flex-direction: column;
    }
    .ytb-cssmin-btn {
        width: 100%;
    }
}
