* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
}

#menu{
    width: 100%;
    max-width: 700px;
    margin: 20px auto;
}

.settings-panel {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

    display: flex;
    flex-direction: column;
    gap: 18px;
}

.setting-group {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.setting-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.setting-qrcode {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.qrcodeTextOptions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    border: 1px solid black;
}
.qrcodeTextOption{
    cursor: pointer;
    padding: 3px 5%;
    border: 1px solid black;
    border-radius: 20px;
    line-height: 40px;
    margin: 2%;
    display: flex;
    justify-content: space-between;
}

.setting-label {
    min-width: 100px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}



input[type="file"] {
    flex: 1;
    padding: 8px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    cursor: pointer;
}

select {
    flex: 1;
    height: 36px;
    padding: 0 10px;

    border: 1px solid #d1d5db;
    border-radius: 8px;

    background: white;
    color: #374151;

    font-size: 14px;
    cursor: pointer;

    transition: border-color .2s, box-shadow .2s;
}

select:hover,
select:focus {
    border-color: #6366f1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}

input[type="text"] {
    flex: 1;
    height: 36px;

    padding: 0 12px;

    border: 1px solid #d1d5db;
    border-radius: 8px;

    font-size: 14px;

    transition: border-color .2s, box-shadow .2s;
}

input[type="text"]:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}

input[type="file"]::file-selector-button {
    margin-right: 10px;

    padding: 6px 12px;

    border: none;
    border-radius: 6px;

    background: #6366f1;
    color: white;

    cursor: pointer;

    transition: background .2s;
}

input[type="file"]::file-selector-button:hover {
    background: #4f46e5;
}

@page {
    size: A4 landscape;
    margin: 8mm;
}

.page {
    width: 281mm;
    height: 194mm;

    display: grid;

    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);

    column-gap: 5mm;
    row-gap: 5mm;

    page-break-after: always;
    break-after: page;
}

.page:last-child {
    page-break-after: auto;
    break-after: auto;
}

.aTable {
    width: 80%;
    height: 80%;

    overflow: hidden;
}

table {
    width: 100%;
    height: 100%;

    border-collapse: collapse;

    font-size: 12px;
}

th, td {
    border: 1px solid #dddddd;

    text-align: center;

    font-weight: bold;
}

th {
    background: #f2f2f2;
}

img {
    width: 60px;
    height: 60px;
}

@media print {
    #menu {
        display: none;
    }
}
