
.brand-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;   /* 🔥 centers horizontally */
    gap: 12px;
    max-width: 900px;          /* optional: keeps it tighter */
    margin: 0 auto;            /* 🔥 centers container itself */
}
.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 100px;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
    transition: 0.2s;
}

.brand-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.brand-logo {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-name {
    font-size: 12px;
    text-align: center;
    margin-top: 5px;
}
.brand-admin-panel {
    margin-bottom: 40px;
}
.brand-admin-panel.two-col {
    display: grid;
    grid-template-columns: 2fr 1fr; /* 🔥 left bigger than right */
    gap: 20px;
    align-items: start;
}

/* Mobile fallback */
@media (max-width: 768px) {
    .brand-admin-panel.two-col {
        grid-template-columns: 1fr;
    }
}
/* CARD */
.card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.card-title {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 700;
    color: #111;
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
}

/* GRID */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: span 2;
}

/* INPUTS */
input[type="text"],
textarea {
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

textarea {
    min-height: 80px;
}

/* PREVIEW */
.preview-img {
    margin-top: 8px;
    max-height: 50px;
}

.preview-banner {
    margin-top: 8px;
    width: 100%;
    max-height: 120px;
    object-fit: cover;
    border-radius: 6px;
}

/* BUTTONS */
.btn-primary {
    margin-top: 15px;
    background: #222;
    color: #fff;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn-secondary {
    background: #eee;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* MEDIA FORM */
.media-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.media-form input[type="file"] {
    grid-column: span 2;
}
