/* ==================== LABEL DESIGNER STYLES ==================== */
.label-tool-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 6px;
    border: 1px solid #475569;
    border-radius: 6px;
    background: #0f172a;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 11px;
}

.label-tool-btn:hover {
    background: #1e40af;
    border-color: #3b82f6;
    color: white;
}

.label-tool-btn i {
    font-size: 16px;
    margin-bottom: 4px;
}

.label-tool-btn span {
    font-size: 9px;
}

.label-action-btn {
    padding: 6px 10px;
    border: 1px solid #475569;
    border-radius: 4px;
    background: #1f2937;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.15s;
}

.label-action-btn:hover {
    background: #374151;
    color: white;
}

.label-field-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid #334155;
    border-radius: 6px;
    background: #0f172a;
    color: #cbd5e1;
    cursor: grab;
    transition: all 0.15s;
    font-size: 11px;
}

.label-field-item:hover {
    background: #1e3a5f;
    border-color: #3b82f6;
}

.label-field-item:active {
    cursor: grabbing;
}

.label-field-item i {
    color: #3b82f6;
    width: 16px;
    text-align: center;
}

.label-field-item .field-name {
    flex: 1;
    font-weight: 500;
}

.label-field-item .field-type {
    font-size: 9px;
    color: #64748b;
    background: #1e293b;
    padding: 2px 6px;
    border-radius: 3px;
}

.label-template-card {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
}

.label-template-card:hover {
    border-color: #8b5cf6;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

.label-template-card .template-name {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.label-template-card .template-size {
    font-size: 11px;
    color: #64748b;
}

.label-template-card .template-date {
    font-size: 10px;
    color: #94a3b8;
    margin-top: 8px;
}

.property-group {
    margin-bottom: 12px;
}

.property-group label {
    display: block;
    font-size: 10px;
    color: #64748b;
    margin-bottom: 4px;
}

.property-group input,
.property-group select {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #475569;
    border-radius: 4px;
    background: #0f172a;
    color: white;
    font-size: 11px;
}

.property-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

