* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 28px;
    color: #667eea;
}

nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #667eea;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: #f0f0f0;
    color: #764ba2;
}

.nav-link.logout {
    background: #ff6b6b;
    color: white;
}

.nav-link.logout:hover {
    background: #ff5252;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.oidc-warning {
    background: #ff6b6b;
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #cc5555;
}

.oidc-warning p {
    margin: 0;
    font-weight: 500;
}

.container {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tier Selection */
.select-header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.select-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 16px;
    opacity: 0.9;
}

.lists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.list-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.list-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.list-card h3 {
    color: #667eea;
    font-size: 20px;
    margin-bottom: 8px;
}

.list-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.list-stats {
    font-size: 12px;
    color: #999;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

/* Player View */
.player-header {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.player-header-main {
    flex: 1;
}

.player-actions {
    margin-left: auto;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.back-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.back-btn:hover {
    background: #764ba2;
    transform: translateX(-4px);
}

.player-header h2 {
    color: #667eea;
    font-size: 24px;
    margin: 0;
}

.description {
    color: #666;
    font-size: 14px;
    margin: 4px 0 0 0;
}

/* Tierlist Grid */
.tierlist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.tier-column, .items-column {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tiers-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tier {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 12px;
    min-height: 80px;
    background: linear-gradient(to right, #f9f9f9, #ffffff);
    transition: all 0.3s ease;
}

.tier.drag-over {
    border-color: #667eea;
    background: linear-gradient(to right, #f0f4ff, #f9f9f9);
}

.tier-label {
    font-weight: bold;
    font-size: 18px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: white;
}

.tier-s .tier-label { background: linear-gradient(135deg, #ff6b6b, #ff5252); }
.tier-a .tier-label { background: linear-gradient(135deg, #ffa94d, #ff922b); }
.tier-b .tier-label { background: linear-gradient(135deg, #ffd43b, #ffb700); }
.tier-c .tier-label { background: linear-gradient(135deg, #74c0fc, #4dabf7); }
.tier-d .tier-label { background: linear-gradient(135deg, #b197fc, #9775fa); }
.tier-e .tier-label { background: linear-gradient(135deg, #a8e6cf, #56cc9d); }
.tier-f .tier-label { background: linear-gradient(135deg, #dcedc1, #90ee90); }

.tier-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
    align-content: flex-start;
}

.items-header {
    font-weight: bold;
    color: #667eea;
    margin-bottom: 12px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.items-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 300px;
}

.item-group-heading {
    font-size: 11px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 2px 2px;
    border-bottom: 1px solid #2a2a2a;
    margin-top: 6px;
}

.item-group-heading:first-child {
    margin-top: 0;
}

.item-group-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.item {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: move;
    background: #eee;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transform: scale(1.05);
}

.item.selected {
    border-color: #ff922b;
    box-shadow: 0 0 0 3px rgba(255, 146, 43, 0.45);
    transform: scale(1.08);
}

.item.dragging {
    opacity: 0.5;
}

.selection-hint {
    font-size: 12px;
    color: #ff922b;
    font-weight: 600;
    background: rgba(255, 146, 43, 0.1);
    border: 1px solid rgba(255, 146, 43, 0.35);
    border-radius: 6px;
    padding: 6px 10px;
    margin-bottom: 8px;
}

/* clicking cursor on tiers when an item is pending */
.tier.click-ready {
    cursor: pointer;
    border-color: #ff922b;
    background: linear-gradient(to right, #fff7f0, #ffffff);
}

/* Actions */
.actions {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: #eef1ff;
    color: #3e4db8;
    border: 1px solid #cdd5ff;
    padding: 11px 18px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover:not(:disabled),
.btn-secondary:focus-visible:not(:disabled) {
    background: #e3e9ff;
    border-color: #b8c4ff;
    outline: none;
}

.btn-secondary:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.status-msg {
    font-size: 14px;
    color: white;
    font-weight: 500;
    min-height: 20px;
}

.status-msg.success {
    color: #90ee90;
}

.status-msg.error {
    color: #ff6b6b;
}

/* Stats */
.stats-section {
    background: white;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 1040px;
    margin: 0 auto;
}

.stats-section h3 {
    color: #667eea;
    margin: 0;
}

.stats-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.stats-subtitle {
    color: #616a8b;
    font-size: 13px;
    margin-top: 4px;
}

.stats-close-btn {
    border: 1px solid #d5dbef;
    background: #f9fbff;
    color: #44507f;
    border-radius: 8px;
    padding: 7px 12px;
    cursor: pointer;
    font-weight: 600;
}

.stats-close-btn:hover,
.stats-close-btn:focus-visible {
    background: #eff4ff;
    outline: none;
}

.stats-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.stat-item {
    background: #f9fbff;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #e9edf8;
    margin-bottom: 0;
}

.stat-summary {
    grid-column: 1 / -1;
}

.stat-item h4 {
    color: #667eea;
    margin: 0 0 8px 0;
}

.stat-item p {
    color: #444;
    font-size: 13px;
}

.stats-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
}

.stats-kpi {
    background: white;
    border: 1px solid #e6eaf9;
    border-radius: 8px;
    padding: 10px;
    min-height: 74px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stats-kpi .label {
    font-size: 12px;
    color: #6a739a;
    margin-bottom: 4px;
}

.stats-kpi strong {
    font-size: 17px;
    line-height: 1.2;
    color: #2a356e;
    word-break: break-word;
}

/* Tables for stats should take full width and be compact */
.stat-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}

.stat-table th, .stat-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #e6e9ef;
}

.stat-table th {
    text-align: left;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    background: transparent;
}

.stat-table td {
    font-size: 13px;
    color: #333;
}

.table-wrap {
    overflow-x: auto;
    border-radius: 8px;
}

.stat-table td.numeric {
    text-align: center;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, 'Roboto Mono', 'Courier New', monospace;
}

.pair-section {
    margin-bottom: 8px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e8ecf8;
    padding: 8px;
}

.pair-section summary {
    cursor: pointer;
    font-weight: 600;
    color: #44507f;
    margin-bottom: 8px;
}

.community-controls {
    margin-bottom: 10px;
}

.community-controls label {
    display: block;
    font-size: 12px;
    color: #57608d;
    margin-bottom: 6px;
}

.community-user-picker {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    align-items: center;
}

.community-user-picker select {
    min-height: 40px;
    border: 1px solid #cad2f5;
    border-radius: 8px;
    padding: 8px 10px;
    background: #fff;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border: 1px solid #cad2f5;
    border-radius: 8px;
    background: #f5f7ff;
    color: #364289;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.btn-icon:hover,
.btn-icon:focus-visible {
    background: #e8edff;
    outline: none;
}

.community-meta {
    margin-bottom: 8px;
    color: #4d5680;
}

.community-tierlist {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.community-tier-row {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 8px;
    align-items: stretch;
}

.community-tier-label {
    color: white;
    border-radius: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.community-tier-label.tier-s { background: linear-gradient(135deg, #ff6b6b, #ff5252); }
.community-tier-label.tier-a { background: linear-gradient(135deg, #ffa94d, #ff922b); }
.community-tier-label.tier-b { background: linear-gradient(135deg, #ffd43b, #ffb700); }
.community-tier-label.tier-c { background: linear-gradient(135deg, #74c0fc, #4dabf7); }
.community-tier-label.tier-d { background: linear-gradient(135deg, #b197fc, #9775fa); }
.community-tier-label.tier-e { background: linear-gradient(135deg, #a8e6cf, #56cc9d); }
.community-tier-label.tier-f { background: linear-gradient(135deg, #dcedc1, #90ee90); color: #2f5d2f; }

.community-tier-items {
    background: white;
    border: 1px solid #e6eaf6;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 44px;
}

.community-chip {
    background: #e9eeff;
    color: #2d3c7d;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    border: 1px solid #d8e1ff;
}

.community-chip.soft {
    background: #f3f5fc;
    color: #5f688f;
    border-color: #e4e8f5;
}

.community-empty {
    color: #7b84ab;
    font-size: 12px;
}

.community-detail {
    margin-top: 10px;
    background: #fff;
    border: 1px solid #e8ecf8;
    border-radius: 8px;
    padding: 8px;
}

.community-detail summary {
    cursor: pointer;
    color: #475183;
    font-weight: 600;
}

.community-detail h5 {
    margin: 10px 0 8px;
    color: #4a5689;
    font-size: 13px;
}

.community-unranked {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* Admin Panel */
.admin-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-section h2 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 22px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #eee;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-section button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-section button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.tierlists-list {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tierlists-list h2 {
    color: #667eea;
    margin-bottom: 15px;
}

.tierlist-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s ease;
}

.tierlist-item:hover {
    background: #f9f9f9;
}

.tierlist-item:last-child {
    border-bottom: none;
}

.tierlist-info h3 {
    color: #333;
    margin-bottom: 4px;
}

.tierlist-info p {
    color: #999;
    font-size: 12px;
}

.tierlist-actions {
    display: flex;
    gap: 8px;
}

.btn-delete, .btn-edit {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-delete {
    background: #ff6b6b;
    color: white;
}

.btn-delete:hover {
    background: #ff5252;
}

.btn-edit {
    background: #667eea;
    color: white;
}

.btn-edit:hover {
    background: #764ba2;
}

/* Responsive */
@media (max-width: 768px) {
    .tierlist-grid {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .player-header {
        flex-direction: column;
        text-align: center;
    }

    .player-actions {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }

    .lists-grid {
        grid-template-columns: 1fr;
    }

    .item {
        width: 60px;
        height: 60px;
    }

    /* On mobile tiers come first (easier to tap after selecting) */
    .tierlist-grid {
        display: flex;
        flex-direction: column-reverse;
    }

    .tier {
        min-height: 60px;
    }

    .tier-label {
        font-size: 15px;
        width: 34px;
        height: 34px;
    }

    .actions {
        flex-wrap: wrap;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .stats-content {
        grid-template-columns: 1fr;
    }

    .stats-header-row {
        flex-direction: column;
        align-items: stretch;
    }

    .stats-close-btn {
        width: 100%;
    }

    .community-tier-row {
        grid-template-columns: 36px 1fr;
    }
}

/* zoom button on item thumbnails */
.item-zoom-btn {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: none;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;          /* hidden by default on desktop */
    transition: opacity 0.15s ease;
    padding: 0;
    z-index: 2;
}

.item-delete-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: none;
    background: rgba(220, 53, 69, 0.92);
    color: #fff;
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
    padding: 0;
    z-index: 3;
}

.item:hover .item-zoom-btn {
    opacity: 1;
}

.item:hover .item-delete-btn,
.item:focus-within .item-delete-btn {
    opacity: 1;
}

.item-delete-btn:hover {
    transform: scale(1.05);
}

.mobile-delete-btn {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff6b6b, #c92a2a);
    color: white;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(201, 42, 42, 0.28);
}

.mobile-delete-btn span {
    font-size: 18px;
    line-height: 1;
}

/* always visible on touch devices */
@media (hover: none) {
    .item-zoom-btn {
        opacity: 0.8;
        width: 20px;
        height: 20px;
        font-size: 12px;
    }

    .item-delete-btn {
        display: none;
    }
}

/* lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 16px;
    cursor: zoom-out;
}

.lightbox-fig {
    position: relative;
    margin: 0;
    max-width: min(90vw, 700px);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: default;
}

.lightbox-img {
    max-width: 100%;
    max-height: calc(90vh - 48px);
    border-radius: 8px;
    object-fit: contain;
    display: block;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

.lightbox-cap {
    margin-top: 10px;
    color: #ddd;
    font-size: 14px;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.15s;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.3);
}

/* Modal styles for Add Item */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}
.modal {
    background: white;
    padding: 18px;
    border-radius: 10px;
    width: 420px;
    max-width: calc(100% - 40px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.modal-lg {
    width: 760px;
    max-width: calc(100% - 24px);
    max-height: calc(100vh - 24px);
    overflow-y: auto;
}
.modal h3 { margin: 0 0 10px 0; color: #333; }
.modal label { display: block; margin-bottom: 8px; font-size: 13px; color: #333; }
.modal input[type="text"], .modal input[type="file"], .modal input[type="number"], .modal textarea, .modal select {
    width: 100%; padding: 8px 10px; border: 1px solid #ddd; border-radius: 6px; margin-top: 6px;
}
.modal .modal-actions { display:flex; gap:8px; justify-content:flex-end; margin-top:12px; }
.modal .btn { padding:8px 12px; border-radius:6px; cursor:pointer; border: none; }
.modal .btn-primary { background: linear-gradient(135deg,#667eea,#764ba2); color:white }
.modal .btn-cancel { background:#eee }
.modal .status-msg { margin-top:8px; font-size:13px; color:#b00020 }

.attribute-admin-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.attribute-admin-empty {
    font-size: 13px;
    color: #6f7693;
    background: #f5f7ff;
    border: 1px dashed #cfd6f1;
    border-radius: 8px;
    padding: 10px;
}

.attribute-admin-row {
    display: grid;
    grid-template-columns: minmax(170px, 2fr) minmax(130px, 1.1fr) auto minmax(95px, 0.8fr) minmax(95px, 0.8fr) auto;
    gap: 8px;
    align-items: center;
    border: 1px solid #e6e9f8;
    background: #f9fbff;
    border-radius: 10px;
    padding: 8px;
}

.attr-required-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    white-space: nowrap;
    font-size: 12px;
}

.attr-required-wrap input[type="checkbox"] {
    margin: 0;
    width: auto;
}

.attribute-inputs {
    margin-top: 10px;
}

.attribute-inputs-title {
    margin: 0 0 8px;
    color: #4f5a89;
    font-size: 13px;
}

.attribute-field {
    margin-bottom: 8px;
}

.attribute-label {
    display: block;
    font-size: 12px;
    color: #59618a;
    margin-bottom: 4px;
}

@media (max-width: 768px) {
    .attribute-admin-row {
        grid-template-columns: 1fr;
    }

    .modal .modal-actions {
        flex-direction: column;
    }

    .modal .modal-actions .btn {
        width: 100%;
    }
}
