/* Admin Panel - Additional Styles */
/* Базовые стили находятся в admin-dark.css и admin-light.css */

/* Utility classes */
.hidden {
    display: none !important;
}

/* Custom theme warning box */
.admin-warning-box {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 4px;
}

.admin-warning-box small {
    color: #92400e;
}

/* Custom theme info box */
.admin-info-box {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: var(--admin-bg-secondary, #f9fafb);
    border-radius: 4px;
    border: 1px solid var(--admin-border, #e5e7eb);
}

.admin-info-box-hidden {
    display: none;
}

.admin-info-box small {
    color: var(--admin-text-secondary, #6b7280);
}

.admin-info-box a {
    color: #6366f1;
    text-decoration: underline;
}

.admin-success-text {
    color: #10b981;
}

.admin-site-card-clickable {
    cursor: pointer;
}

/* Custom templates section */
.admin-custom-templates-group {
    margin-bottom: 1.5rem;
}

.admin-custom-templates-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.admin-custom-templates-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.admin-custom-template-badge {
    padding: 0.25rem 0.75rem;
    background: var(--admin-bg-secondary, #f3f4f6);
    border-radius: 4px;
    font-size: 0.875rem;
}

.admin-custom-templates-link {
    margin-top: 0.75rem;
    display: inline-block;
}

/* Custom CSS section */
.admin-custom-css-group {
    margin-bottom: 1.5rem;
}

.admin-custom-css-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.admin-custom-css-file {
    padding: 0.5rem;
    background: var(--admin-bg-secondary, #f3f4f6);
    border-radius: 4px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.admin-custom-css-link {
    display: inline-block;
}

/* Info box */
.admin-info-box-blue {
    padding: 0.75rem;
    background: #dbeafe;
    border: 1px solid #93c5fd;
    border-radius: 6px;
    margin-top: 1rem;
}

.admin-info-box-blue small {
    color: #1e40af;
}

/* Help text with margin */
.help-text-margin {
    margin-bottom: 1rem;
}

/* JSON validation styles */
.json-textarea-valid {
    border-color: #10b981 !important;
    background-color: #d1fae5 !important;
}

.json-textarea-invalid {
    border-color: #ef4444 !important;
    background-color: #fee2e2 !important;
}

/* Template editor info box - стили уже есть в темах, но добавляем для совместимости */
.template-editor-info .info-box {
    background: #dbeafe;
    border: 1px solid #93c5fd;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
    color: #1e40af;
}

.template-editor-info .info-box strong {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.template-editor-info .info-box p {
    margin: 0;
    font-size: 0.9rem;
}

