.tg-front-form small { color: #6a737b; }
.tg-front-form .button { cursor: pointer; }
.tg-front-form input[type="file"] { padding: .55rem; border: 1px dashed #cbd5da; border-radius: 10px; background: #fbfcfd; }
.placeholder-media { display: grid; place-items: center; color: #17469b; background: linear-gradient(135deg, #fff8e7, #e7efff); font-size: 3rem; font-weight: 900; }
.placeholder-media span { opacity: .45; }
.tg-upload-preview { display: block; max-width: 100%; width: 360px; max-height: 220px; margin-top: .5rem; border-radius: 12px; object-fit: cover; }
.tg-category-picker { display: grid; gap: .45rem; padding: 1rem; border: 1px solid #dbe4ea; border-radius: 12px; background: #f8fbfd; }
.tg-category-picker label:not(:first-child) { margin-top: .35rem; }
.tg-category-picker select { width: 100%; }
.tg-category-picker select:disabled { opacity: .6; cursor: not-allowed; }
.product-category-group { margin: 2rem 0; }
.product-category-group > h2, .product-category-group > h3 { margin-bottom: 1rem; }
.product-category-group-child { margin: 1.25rem 0; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.video-card { overflow: hidden; border: 1px solid #e1e7ec; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(21, 42, 65, .08); }
.video-card-body { padding: 1rem; }
.video-card-body h3 { margin: 0 0 .5rem; }
.video-card-body p { margin: 0; color: #5f6f7c; }
.tg-video-player { overflow: hidden; width: 100%; border-radius: 12px; background: #101820; }
.tg-video-player video { display: block; width: 100%; max-height: 520px; background: #101820; }
.video-card .tg-video-player { border-radius: 0; }
.tg-video-embed iframe { display: block; width: 100%; min-height: 260px; border: 0; }
.tg-category-manager { margin-bottom: 1.5rem; }
.tg-category-form { max-width: 720px; }
.tg-category-list { display: grid; gap: .85rem; margin-top: 1.25rem; }
.tg-category-item { padding: 1rem; border: 1px solid #dbe4ea; border-radius: 12px; background: #fff; }
.tg-category-item h3 { margin: 0 0 .6rem; }
.tg-category-item ul { margin: 0; padding-left: 1.2rem; }
.tg-category-item li { margin: .35rem 0; }
.tg-category-item li span { color: #6a737b; font-size: .9em; }
.tg-category-row { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.tg-category-delete-form { display: inline-flex; margin: 0; }
.category-delete-button { padding: .22rem .6rem; border: 1px solid #c83d3d; border-radius: 999px; background: #fff3f3; color: #b32929; font: inherit; font-size: .82rem; font-weight: 800; cursor: pointer; }
.category-delete-button:hover { background: #c83d3d; color: #fff; }
