/* YouTube Title Generator CSS */
.generator-panel {
    background: var(--bg2, rgba(255, 255, 255, 0.03));
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    border-radius: 20px;
    padding: 30px;
    max-width: 800px;
    margin: 30px auto;
    text-align: left;
}

.input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .input-grid {
        grid-template-columns: 1fr;
    }
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--muted, #a0aab2);
    font-weight: 500;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s ease;
}

.input-group input:focus, .input-group select:focus {
    outline: none;
    border-color: var(--accent, #1D7C6E);
    box-shadow: 0 0 0 3px rgba(29, 124, 110, 0.2);
}

.generate-btn {
    width: 100%;
    padding: 16px;
    background: var(--accent, #1D7C6E);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.generate-btn:hover {
    background: var(--accent-hover, #145F55);
    transform: translateY(-2px);
}

/* Titles List */
.titles-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.title-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.2s ease;
}

.title-card:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.2);
}

.yt-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

@media (max-width: 600px) {
    .yt-title-row {
        flex-direction: column;
    }
}

.yt-title-text {
    font-size: 18px;
    font-weight: 600;
    color: white;
    line-height: 1.4;
    flex: 1;
}

.yt-title-copy {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.yt-title-copy:hover {
    background: rgba(255,255,255,0.2);
}

.yt-title-copy.copied {
    background: #55efc4;
    color: #000;
}

/* Scores Grid */
.scores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    background: rgba(0,0,0,0.2);
    padding: 12px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .scores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.score-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.score-label {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.score-val {
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.score-bar-bg {
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 2px;
}

.score-bar-fill {
    height: 100%;
    border-radius: 2px;
}

.color-high { color: #55efc4; }
.bg-high { background: #55efc4; }

.color-med { color: #fdcb6e; }
.bg-med { background: #fdcb6e; }

.color-low { color: #ff7675; }
.bg-low { background: #ff7675; }
