.onex-seo-template-help {
    background: #fff;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
    top: 32px;
    z-index: 100;
}

.template-tags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.template-tag {
    background: #f8f9fa;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.template-tag:hover {
    background: #f0f0f0;
}

.template-tag code {
    display: block;
    margin-bottom: 5px;
    color: #007bff;
}

/* Стили для табов */
.onex-seo-tabs {
    margin-top: 20px;
    background: #fff;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
}

.onex-seo-tabs-navigation {
    display: flex;
    overflow-x: auto;
    border-bottom: 1px solid #ccd0d4;
    background: #f8f9fa;
}

.onex-seo-tab-button {
    padding: 12px 20px;
    background: none;
    border: none;
    border-right: 1px solid #ccd0d4;
    cursor: pointer;
    font-weight: 500;
    color: #555;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.onex-seo-tab-button:hover {
    background: #f0f0f0;
    color: #23282d;
}

.onex-seo-tab-button.active {
    background: #fff;
    color: #2271b1;
    border-bottom: 2px solid #2271b1;
}

.onex-seo-tabs-content {
    padding: 20px;
}

.onex-seo-tab-content {
    display: none;
}

.onex-seo-tab-content.active {
    display: block;
}

.onex-seo-content-type {
    margin-bottom: 20px;
}

.language-section { 
    background: #fff; 
    padding: 20px; 
    margin-bottom: 20px; 
    border: 1px solid #ccd0d4;
    border-radius: 4px;
}

.language-section h4 { 
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.copy-notification {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, 10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* Дополнительные стили для progress bar в шаблонах */
.onex-seo-field-container {
	position: relative;
	margin: 5px 0 15px;
}

.onex-seo-progress {
	width: 99%;
	height: 8px;
	appearance: none;
	-webkit-appearance: none;
	border-radius: 4px;
	display: block;
	margin: 5px 0;
}

/* Стили для разных состояний прогресс-бара */
.onex-seo-progress.onex-seo-good::-webkit-progress-value {
	background-color: #7ad03a; /* зеленый */
}
.onex-seo-progress.onex-seo-ok::-webkit-progress-value {
	background-color: #ffba00; /* оранжевый */
}
.onex-seo-progress.onex-seo-bad::-webkit-progress-value {
	background-color: #dc3232; /* красный */
}

/* Firefox */
.onex-seo-progress.onex-seo-good::-moz-progress-bar {
	background-color: #7ad03a;
}
.onex-seo-progress.onex-seo-ok::-moz-progress-bar {
	background-color: #ffba00;
}
.onex-seo-progress.onex-seo-bad::-moz-progress-bar {
	background-color: #dc3232;
}

.onex-seo-counter-text {
	font-size: 12px;
	color: #666;
}