.form-group select,
.admin-field select,
.admin-status-box select,
.inline-category-form input {
    width: 100%;
    background: rgba(10, 22, 38, 0.82);
    border: 1px solid rgba(0,157,255,0.25);
    color: white;
    border-radius: 14px;
    padding: 15px;
    outline: none;
}

.terms-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 18px;
    color: #dfefff;
}

.terms-check input {
    margin-top: 4px;
}

.brand-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: cover;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: var(--shadow-blue), var(--shadow-orange);
}

.media-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-image img,
.catalog-image img,
.big-product-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.trend-img img,
.cart-img img,
.mini-order-item img,
.order-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-image,
.catalog-image,
.big-product-icon,
.trend-img,
.cart-img,
.mini-order-item span,
.order-item span {
    overflow: hidden;
}

.admin-image-zone {
    display: grid;
    grid-template-columns: 1fr 120px 1fr;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(0,157,255,0.18);
    margin-bottom: 22px;
}

.admin-image-zone h3 {
    margin-bottom: 6px;
}

.admin-image-zone p {
    color: var(--muted);
    font-size: 14px;
}

.admin-preview-box {
    width: 120px;
    height: 120px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(0,157,255,0.08);
    border: 1px solid rgba(0,157,255,0.25);
    overflow: hidden;
    font-size: 42px;
}

.admin-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-form {
    margin-bottom: 20px;
}

.inline-category-form {
    display: grid;
    grid-template-columns: 1fr 90px 80px;
    gap: 8px;
    align-items: center;
}

.inline-category-form input {
    margin-bottom: 0;
    padding: 11px;
}

.inline-category-form button,
.danger-mini-btn {
    border: 0;
    border-radius: 12px;
    padding: 11px 12px;
    color: white;
    font-weight: 800;
    cursor: pointer;
    background: linear-gradient(135deg, var(--orange), #ffb000);
}

.danger-mini-btn {
    background: rgba(255,56,56,0.25);
    border: 1px solid rgba(255,56,56,0.35);
    color: #ffb0b0;
}

.order-view-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 22px;
}

.admin-order-summary {
    height: max-content;
}

.admin-status-box {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.admin-status-box label {
    color: #dfefff;
    font-weight: 800;
}

.admin-whatsapp-btn,
.admin-print-btn {
    display: flex;
    justify-content: center;
    margin-top: 12px;
    padding: 14px;
    border-radius: 14px;
    font-weight: 900;
    text-align: center;
}

.admin-whatsapp-btn {
    background: #18c45c;
    color: white;
}

.admin-print-btn {
    background: rgba(0,157,255,0.14);
    border: 1px solid rgba(0,157,255,0.3);
    color: #dff4ff;
}

.content-page {
    margin: 34px;
    padding: 32px;
    border-radius: 24px;
    background: rgba(7,17,31,0.84);
    border: 1px solid rgba(0,157,255,0.22);
}

.content-page h1 {
    font-size: clamp(34px, 5vw, 58px);
    margin-bottom: 14px;
}

.content-page h2 {
    margin-top: 28px;
    margin-bottom: 10px;
    color: #66c9ff;
}

.content-page p,
.content-page li {
    color: var(--muted);
    line-height: 1.8;
}

.content-page ul {
    margin-left: 20px;
    margin-top: 12px;
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 22px;
}

.contact-card {
    padding: 20px;
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 1000px) {
    .order-view-grid {
        grid-template-columns: 1fr;
    }

    .admin-image-zone {
        grid-template-columns: 1fr;
    }

    .contact-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .brand-logo-img {
        width: 42px;
        height: 42px;
    }

    .inline-category-form {
        grid-template-columns: 1fr;
    }

    .content-page {
        margin: 18px;
        padding: 22px;
    }
}