/* --- YouTube Subscribe Button Generator Styles --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

.ytsb-wrapper {
    font-family: 'Roboto', sans-serif;
    background-color: #f9f9f9;
    padding: 30px; border-radius: 12px;
    margin: 40px auto; max-width: 800px;
}
.ytsb-container {
    background-color: #fff; border: 1px solid #ddd;
    border-radius: 8px; padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.ytsb-header { text-align: center; margin-bottom: 30px; }
.ytsb-header .fa-youtube { font-size: 3rem; color: #FF0000; margin-bottom: 10px; }
.ytsb-header h2 { font-size: 1.8rem; color: #030303; margin: 0 0 5px; }
.ytsb-header p { color: #606060; margin: 0; }

.ytsb-input-group { margin-bottom: 25px; }
.ytsb-input-group label { display: block; margin-bottom: 8px; font-weight: 500; color: #606060; }
.ytsb-input-group label i { margin-right: 8px; color: #909090; }
.ytsb-input-group input[type="text"] {
    width: 100%; padding: 12px; border: 1px solid #ccc;
    border-radius: 4px; font-size: 1rem; box-sizing: border-box;
}
.ytsb-input-group input[type="text"]:focus { outline-color: #065fd4; }

.ytsb-options-grid { display: flex; gap: 20px; margin-bottom: 30px; }
.ytsb-option { flex: 1; }
.ytsb-option label { font-weight: 500; color: #606060; }
.ytsb-radio-group { margin-top: 8px; }
.ytsb-radio-group label { margin-right: 15px; font-weight: 400; }

.ytsb-output-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ytsb-panel-header {
    font-weight: 500; padding-bottom: 10px; margin-bottom: 15px;
    border-bottom: 1px solid #eee; color: #030303;
}
.ytsb-panel-header i { color: #606060; margin-right: 8px; }
.ytsb-panel-body { min-height: 80px; display: flex; align-items: center; justify-content: center; }

#ytsb-preview-area { padding: 20px; background-color: #f9f9f9; border-radius: 4px; }
.ytsb-code-wrapper { position: relative; width: 100%; }
#ytsb-output-code {
    width: 100%; height: 120px; box-sizing: border-box; resize: none;
    background-color: #282c34; color: #abb2bf; padding: 15px;
    border: none; border-radius: 4px; font-family: monospace; font-size: 0.85rem;
}
#ytsb-copy-btn {
    position: absolute; top: 10px; right: 10px; background: #606060; color: #fff;
    border: none; width: 32px; height: 32px; border-radius: 4px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
#ytsb-copy-btn:hover { background: #030303; }

@media (max-width: 768px) {
    .ytsb-output-grid { grid-template-columns: 1fr; }
    .ytsb-options-grid { flex-direction: column; }
}