.admin-container {
    max-width: 900px;
    margin: 0 auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-header h1 {
    font-size: 20px;
    font-weight: 700;
    color: #1a365d;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-header h1 .material-icons {
    font-size: 28px;
    color: #3182ce;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    background: #edf2f7;
    color: #4a5568;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.15s;
}

.btn-back:hover {
    background: #e2e8f0;
}

.admin-section {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.section-header h2 {
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-header h2 .material-icons {
    font-size: 22px;
    color: #3182ce;
}

.section-desc {
    font-size: 13px;
    color: #718096;
    margin-bottom: 16px;
}

.btn-sync {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: #ebf8ff;
    color: #2b6cb0;
    border: 1px solid #bee3f8;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-sync:hover {
    background: #bee3f8;
}

.status-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.status-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f7fafc;
    border-radius: 10px;
    border: 1px solid #edf2f7;
    flex-wrap: wrap;
}

.status-cod {
    font-size: 13px;
    font-weight: 700;
    color: #718096;
    min-width: 50px;
    text-align: center;
    background: #edf2f7;
    padding: 4px 8px;
    border-radius: 6px;
}

.status-name {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    min-width: 180px;
    flex: 1;
}

.color-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.color-field {
    display: flex;
    align-items: center;
    gap: 6px;
}

.color-field label {
    font-size: 11px;
    color: #a0aec0;
    font-weight: 600;
    text-transform: uppercase;
}

.color-field input[type="color"] {
    width: 36px;
    height: 30px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    padding: 1px;
}

.color-field input[type="color"]:hover {
    border-color: #3182ce;
}

.status-preview {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    min-width: 60px;
    text-align: center;
    border: 2px solid;
}

.admin-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #edf2f7;
}

.btn-save {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: #3182ce;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-save:hover {
    background: #2b6cb0;
}

.save-msg {
    font-size: 13px;
    font-weight: 600;
}

.save-msg.success { color: #38a169; }
.save-msg.error { color: #e53e3e; }

.preview-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.preview-cell {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    border: 2px solid;
    min-width: 120px;
}

.preview-cell .preview-code {
    display: block;
    font-size: 13px;
    font-weight: 700;
}

.preview-cell .preview-label {
    display: block;
    font-size: 10px;
    margin-top: 2px;
    opacity: 0.8;
}
