/**
 * Product Labels Module CSS
 *
 * @package Karis_Labels
 */

/* ==== CSS VARIABLES ==== */
:root {
    --primary: #CB94B3;
    --primary-hover: #b8829f;
    --text: #1a1a2e;
    --text-muted: #6b7280;
    --bg: #f8fafc;
    --white: #ffffff;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --radius: 16px;
    --radius-sm: 10px;
}

/* ==== BAUFRA FONTS ==== */
@font-face {
    font-family: 'Baufra';
    src: url('../../../../assets/fonts/Baufra-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Baufra';
    src: url('../../../../assets/fonts/Baufra-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Baufra';
    src: url('../../../../assets/fonts/Baufra-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Baufra';
    src: url('../../../../assets/fonts/Baufra-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Baufra';
    src: url('../../../../assets/fonts/Baufra-DemiBold.ttf') format('truetype');
    font-weight: 650;
    font-style: normal;
}

@font-face {
    font-family: 'Baufra';
    src: url('../../../../assets/fonts/Baufra-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* ==== FORM STYLES - Modern Compact ==== */
.product-labels-form {
    max-width: 900px;
    margin: 40px auto;
    padding: 0;
    background: transparent;
}

.product-labels-form h2 {
    text-align: center;
    margin: 0 0 32px;
    font-size: 28px;
    font-weight: 700;
    color: var(--karis-text, #1a1a2e);
}

.product-labels-form h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--karis-primary, #CB94B3);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* Two-column layout */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.form-column {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.form-column-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.form-column-header .icon {
    font-size: 20px;
}

.form-column-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--karis-text, #1a1a2e);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-section {
    margin-bottom: 0;
}

.form-section h3 {
    display: none; /* Hidden, using column headers instead */
}

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

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
}

.form-group-checkbox {
    margin-bottom: 10px;
}

.form-group-checkbox label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--karis-text, #1a1a2e);
    cursor: pointer;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 8px;
    transition: background 0.2s;
}

.form-group-checkbox label:hover {
    background: #f0f4f8;
}

.form-group-checkbox input[type="checkbox"],
.product-labels-form .form-group-checkbox input[type="checkbox"] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    border: 2px solid #d1d5db !important;
    border-radius: 4px !important;
    background: #fff !important;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    flex-shrink: 0;
}

.form-group-checkbox input[type="checkbox"]:checked,
.product-labels-form .form-group-checkbox input[type="checkbox"]:checked {
    background: var(--karis-primary, #CB94B3) !important;
    border-color: var(--karis-primary, #CB94B3) !important;
}

.form-group-checkbox input[type="checkbox"]:checked::after,
.product-labels-form .form-group-checkbox input[type="checkbox"]:checked::after {
    content: '' !important;
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    background: #fff;
    transition: all 0.2s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--karis-primary, #CB94B3);
    outline: none;
    box-shadow: 0 0 0 3px rgba(203, 148, 179, 0.1);
}

/* Auto-selected template animation */
.form-group select.auto-selected {
    animation: autoSelectPulse 0.6s ease-out;
}

@keyframes autoSelectPulse {
    0% {
        background-color: rgba(203, 148, 179, 0.3);
        border-color: var(--karis-primary, #CB94B3);
    }
    100% {
        background-color: var(--white, #fff);
        border-color: #e5e7eb;
    }
}

.form-group .description {
    margin: 6px 0 0;
    font-size: 12px;
    color: #9ca3af;
}

/* ==== CALCULATION - Compact ==== */
.form-section-calculation {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    padding: 16px;
    border-radius: 12px;
    margin-top: 16px;
}

.form-section-calculation h3 {
    display: block !important;
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calculation-result {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.calc-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.calc-label {
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 4px;
}

.calc-value {
    font-weight: 700;
    font-size: 22px;
    color: var(--karis-primary, #CB94B3);
}

/* ==== BUTTONS - Full width row ==== */
.form-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
}

.btn {
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--karis-primary, #CB94B3) 0%, #b8829f 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(203, 148, 179, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(203, 148, 179, 0.45);
    color: #fff !important;
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

/* Options section - horizontal checkboxes */
.form-section-options {
    background: transparent;
    padding: 0;
    margin-top: 16px;
}

.form-section-options h3 {
    display: block !important;
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.options-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.options-row .form-group-checkbox {
    margin-bottom: 0;
    flex: 1;
    min-width: 140px;
}

/* ==== RESPONSIVE ==== */
@media screen and (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .product-labels-form {
        margin: 20px;
    }

    .calculation-result {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .calc-row {
        flex-direction: row;
        justify-content: space-between;
    }

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

    .btn {
        width: 100%;
    }
}

/* ==== OUTPUT WRAPPER ==== */
.product-labels-output {
    max-width: none !important;
    width: 100%;
}

.product-labels-output .print-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    gap: 16px;
    flex-wrap: wrap;
    margin: 0;
}

.print-header-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.print-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.generation-info {
    font-size: 14px;
    color: var(--text-muted);
}

.new-file-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
}

.new-file-link:hover {
    text-decoration: underline;
}

.print-tip {
    font-size: 13px;
    color: #9ca3af;
}

.print-info {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

.print-info strong {
    color: var(--text);
}

.print-info a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.print-info a:hover {
    text-decoration: underline;
}

.print-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.print-actions span {
    color: #9ca3af;
    font-size: 13px;
}

.print-button {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff !important;
    background: var(--primary) !important;
    border: none !important;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.print-button:hover {
    background: var(--primary-hover) !important;
    transform: translateY(-1px);
    color: #ffffff !important;
}

.print-button:focus {
    outline: none !important;
}

/* ==== EXPORT BUTTONS ==== */
.export-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 16px;
    padding-right: 16px;
    border-right: 1px solid #e5e7eb;
}

.export-select {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 13px;
    background: #fff;
    cursor: pointer;
    min-width: 120px;
}

.export-select:focus {
    outline: none;
    border-color: #CB94B3;
}

.export-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.export-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.export-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.export-button.loading {
    position: relative;
}

.export-button.loading::after {
    content: '';
    position: absolute;
    right: 10px;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: export-spin 0.8s linear infinite;
}

@keyframes export-spin {
    to { transform: rotate(360deg); }
}

.export-icon {
    font-size: 14px;
}

.export-status {
    font-size: 13px;
    margin-left: 8px;
    padding: 4px 8px;
    border-radius: 4px;
}

.export-status--loading {
    color: #6b7280;
}

.export-status--success {
    color: #059669;
    background: #d1fae5;
}

.export-status--success a {
    color: #059669;
    font-weight: 600;
    text-decoration: underline;
}

.export-status--error {
    color: #dc2626;
    background: #fee2e2;
}

.print-tip {
    color: #9ca3af;
    font-size: 13px;
}

/* ==== LABEL SHEET ==== */
.labels-container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.label-sheet {
    display: grid;
    /* Label gaps via CSS variabelen (horizontaal = column-gap, verticaal = row-gap) */
    column-gap: var(--label-gap-horizontal, 0);
    row-gap: var(--label-gap-vertical, 0);
    width: 210mm;
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    margin-bottom: 30px;
    /* Page margins via CSS variabelen */
    padding: var(--page-margin-top, 0) var(--page-margin-right, 0) var(--page-margin-bottom, 0) var(--page-margin-left, 0);
}

/* 8 per sheet (2x4) - standaard 105 x 74.25mm */
.label-sheet[data-format="8"] {
    grid-template-columns: repeat(2, 105mm);
    grid-template-rows: repeat(4, 74.25mm);
    height: 297mm;
}

/* 8 per sheet - scale mode: gebruik berekende dimensies */
.label-sheet[data-format="8"][data-margin-mode="scale"] {
    grid-template-columns: repeat(2, var(--label-width, 105mm));
    grid-template-rows: repeat(4, var(--label-height, 74.25mm));
}

/* 24 per sheet (3x8) - standaard 70 x 37mm */
.label-sheet[data-format="24"] {
    grid-template-columns: repeat(3, 70mm);
    grid-template-rows: repeat(8, 37mm);
    justify-content: center;
}

/* 24 per sheet - scale mode */
.label-sheet[data-format="24"][data-margin-mode="scale"] {
    grid-template-columns: repeat(3, var(--label-width, 70mm));
    grid-template-rows: repeat(8, var(--label-height, 37mm));
}

/* 21 per sheet (3x7) - standaard 63.5 x 38.1mm */
.label-sheet[data-format="21"] {
    grid-template-columns: repeat(3, 63.5mm);
    grid-template-rows: repeat(7, 38.1mm);
}

/* 21 per sheet - scale mode */
.label-sheet[data-format="21"][data-margin-mode="scale"] {
    grid-template-columns: repeat(3, var(--label-width, 63.5mm));
    grid-template-rows: repeat(7, var(--label-height, 38.1mm));
}

/* ==== SINGLE LABEL ==== */
/* Hybride positionering: container is relative, child elements use absolute positioning */
.product-label {
    position: relative;
    border: 1px solid #ddd;
    box-sizing: border-box;
    font-size: 6pt;
    overflow: hidden;
    background: #fff;
    font-family: 'Baufra', Arial, sans-serif;
    line-height: 1.3;
    /* Height is determined by label sheet grid */
}

.product-label-empty {
    border: 1px dashed #eee;
    background: #fafafa;
}

/* ==== LABEL HEADER (absolute positioned) ==== */
.label-header {
    /* Position set via inline styles */
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

/* KARI'S in header - font-size/weight via inline styles from Visual Editor */
.header-brand {
    font-family: 'Baufra', Arial, sans-serif;
    color: var(--font-color-bg, #fff);
    letter-spacing: 0.5px;
}

/* ==== MAIN CONTENT (absolute positioned) ==== */
.label-main {
    /* Position set via inline styles */
    box-sizing: border-box;
}

/* Left column - brand name */
.label-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: var(--left-col-width, 126pt);
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Brand text styling - stacked vertically */
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

/* Brand text - font-size/weight inherited from .brand-text via inline styles */
.brand-knekke {
    font-family: 'Baufra', Arial, sans-serif;
    color: var(--font-color-light, rgba(139, 115, 85, 0.5));
}

.brand-brod {
    font-family: 'Baufra', Arial, sans-serif;
    color: var(--font-color-light, rgba(139, 115, 85, 0.5));
}

/* Variant/flavor name - font-size/weight via inline styles from Visual Editor */
.product-variant {
    font-family: 'Baufra', Arial, sans-serif;
    font-style: normal;
    color: var(--font-color, #8B7355);
    margin-top: 1mm;
}

/* ==== INFO BLOCK (absolute positioned) ==== */
.label-info {
    /* Position set via inline styles */
    box-sizing: border-box;
}

/* Product details - font-size inherited from .label-info inline styles */
.product-details {
    line-height: 1.4;
}

.detail-row {
    margin-bottom: 0.2mm;
    color: #333;
}

/* MHD row - font-size/weight via inline styles from Visual Editor */
.detail-row.mhd-row {
    margin-top: 1mm;
}

/* ==== BIO LOGO (absolute positioned) ==== */
.bio-logo-container {
    /* Position set via inline styles */
    box-sizing: border-box;
}

/* EU Bio logo (both img and svg) */
.eu-bio-logo {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

svg.eu-bio-logo {
    width: 100%;
    height: auto;
}

/* ==== BARCODE SECTION (absolute positioned) ==== */
.label-barcode {
    /* Position set via inline styles */
    box-sizing: border-box;
    text-align: center;
}

.label-barcode .barcode-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

/* Barcode text - font-size via inline styles from Visual Editor */
.barcode-text {
    color: #333;
    margin-top: 0.5mm;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.3px;
}

/* EAN-only barcode (smaller, left-aligned) */
.barcode-ean-only {
    text-align: left;
}

.barcode-ean-only .barcode-img {
    width: 50%;
    height: 36pt;
}

.barcode-ean-only .barcode-text {
    text-align: left;
}

/* ==== LABEL FOOTER (absolute positioned) ==== */
/* Font-size via inline styles from Visual Editor */
.label-footer {
    /* Position set via inline styles */
    box-sizing: border-box;
    color: var(--font-color-bg, #fff);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left,
.footer-right {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 48%;
}

.footer-right {
    text-align: right;
}

/* Legacy support: .label-right for backwards compatibility */
.label-right {
    position: absolute;
    display: flex;
    flex-direction: column;
}

/* ==== QR CODE SECTION ==== */
.label-qrcode {
    position: absolute;
    z-index: 10;
    background: #fff;
    padding: 1mm;
    border-radius: 2px;
}

.label-qrcode .qrcode-img {
    display: block;
}

/* QR code positions */
.label-qrcode.qr-position-top-right {
    top: 2mm;
    right: 2mm;
}

.label-qrcode.qr-position-top-left {
    top: 2mm;
    left: 2mm;
}

.label-qrcode.qr-position-bottom-right {
    bottom: 10mm; /* boven de footer */
    right: 2mm;
}

.label-qrcode.qr-position-bottom-left {
    bottom: 10mm; /* boven de footer */
    left: 2mm;
}

/* ==== PRINT STYLES ==== */
@media print {
    @page {
        size: A4 portrait;
        margin: 0 !important;
    }

    html, body {
        margin: 0 !important;
        padding: 0 !important;
        width: 210mm !important;
        height: 297mm !important;
    }

    .print-header,
    #form-container,
    .form-container,
    .export-actions,
    .karis-back-link,
    .karis-form-header {
        display: none !important;
    }

    /* Alle parent containers op volle breedte */
    #page,
    #content,
    #primary,
    main,
    article,
    .entry-content,
    #result-container,
    .result-container,
    .product-labels-output,
    .labels-container {
        width: 210mm !important;
        max-width: 210mm !important;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
    }

    .label-sheet {
        width: 210mm !important;
        height: 297mm !important;
        margin: 0 !important;
        box-shadow: none !important;
        page-break-inside: avoid;
        page-break-after: auto;
        box-sizing: border-box !important;
        /* Page margins via CSS variabelen */
        padding: var(--page-margin-top, 0) var(--page-margin-right, 0) var(--page-margin-bottom, 0) var(--page-margin-left, 0) !important;
        /* Label gaps via CSS variabelen */
        column-gap: var(--label-gap-horizontal, 0) !important;
        row-gap: var(--label-gap-vertical, 0) !important;
    }

    /* Forceer page break alleen tussen sheets, niet na de laatste */
    .label-sheet:not(:last-child) {
        page-break-after: always;
    }

    /* 8 per sheet - standaard */
    .label-sheet[data-format="8"] {
        display: grid !important;
        grid-template-columns: repeat(2, 105mm);
        grid-template-rows: repeat(4, 74.25mm);
    }

    /* 8 per sheet - scale mode */
    .label-sheet[data-format="8"][data-margin-mode="scale"] {
        grid-template-columns: repeat(2, var(--label-width, 105mm));
        grid-template-rows: repeat(4, var(--label-height, 74.25mm));
    }

    /* 24 per sheet - standaard */
    .label-sheet[data-format="24"] {
        display: grid;
        grid-template-columns: repeat(3, 70mm);
        grid-template-rows: repeat(8, 37mm);
        justify-content: center;
    }

    /* 24 per sheet - scale mode */
    .label-sheet[data-format="24"][data-margin-mode="scale"] {
        grid-template-columns: repeat(3, var(--label-width, 70mm));
        grid-template-rows: repeat(8, var(--label-height, 37mm));
    }

    /* 21 per sheet - standaard */
    .label-sheet[data-format="21"] {
        display: grid;
        grid-template-columns: repeat(3, 63.5mm);
        grid-template-rows: repeat(7, 38.1mm);
    }

    /* 21 per sheet - scale mode */
    .label-sheet[data-format="21"][data-margin-mode="scale"] {
        grid-template-columns: repeat(3, var(--label-width, 63.5mm));
        grid-template-rows: repeat(7, var(--label-height, 38.1mm));
    }

    .product-label {
        position: relative !important;
        border: none !important;
        margin: 0;
        overflow: hidden;
        box-sizing: border-box !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .label-header {
        /* Position via inline styles */
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .label-main {
        /* Position via inline styles */
    }

    .label-info {
        /* Position via inline styles */
    }

    .bio-logo-container {
        /* Position via inline styles */
    }

    .label-barcode {
        /* Position via inline styles */
    }

    .label-footer {
        /* Position and font-size via inline styles */
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .product-label-empty {
        visibility: hidden;
    }

    .label-header,
    .label-footer {
        color: var(--font-color-bg, #fff) !important;
    }

    /* Typography via inline styles from Visual Editor */
    .header-brand {
        color: var(--font-color-bg, #fff) !important;
    }

    .label-barcode {
        margin-bottom: 2mm;
    }

    .label-barcode .barcode-img {
        height: 48pt;
    }

    /* Barcode text font-size via inline styles */

    /* EAN-only barcode print styles */
    .barcode-ean-only {
        text-align: left;
    }

    .barcode-ean-only .barcode-img {
        width: 50%;
        height: 36pt;
    }

    .barcode-ean-only .barcode-text {
        text-align: left;
    }

    /* Bio logo size is controlled via container width in inline styles */

    /* QR code print styles */
    .label-qrcode {
        position: absolute;
        background: #fff;
        padding: 0.5mm;
    }

    .label-qrcode .qrcode-img {
        display: block;
    }

    * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* ==== RESPONSIVE ==== */
@media screen and (max-width: 768px) {
    .product-labels-form {
        margin: 15px;
        padding: 20px;
    }

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

    .btn {
        width: 100%;
    }

    .label-sheet {
        width: 100%;
        overflow-x: auto;
    }
}
