@charset "utf-8";

/* universal reset ------------------------- */

pre {
    white-space: pre-wrap!important;
}

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

html {
    height: 100%;
    overflow: auto;
}

body {
    background: #fff;
    color: #3a3a3a;
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: "游ゴシック", "Yu Gothic", YuGothic, "YuGothic", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, sans-serif;
    ;
    position: relative;
    margin: 0;
    height: 100%;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
    box-sizing: border-box;
    line-height: normal;
    overflow: hidden;
}

button {
    color: #3a3a3a;
}

img {
    width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    text-decoration: none;
    color: #404040;
}

li {
    list-style: none;
}


/* login ------------------------- */

.login_wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.login-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    width: calc(100% - 20px);
    padding: 40px;
    border-radius: 10px;
}

.login_title {
    color: #00397f;
    line-height: normal;
}

.login_title h1 {
    font-size: 16px;
}

.login_title span {
    display: block;
    font-size: 32px;
    font-weight: 700;
}

.login_box {
    max-width: 480px;
    margin: 50px auto 0;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
    font-weight: 700;
}

input {
    width: 100%;
    padding: 15px;
    border: none;
    background-color: #f4f4f4;
    border-radius: 5px;
    font-size: 16px;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

input:focus {
    outline: none;
}

button {
    margin-top: 50px;
    width: 80%;
    padding: 15px;
    background-color: #00397f;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0057c2;
    color: #fff;
}


/* admin ------------------------- */

.cmnbar {
    width: 100%;
    height: 70px;
    border-bottom: 2px solid #00397f;
}

.cmnbar_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 40px;
}

.name {
    color: #00397f;
    text-align: left;
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
}

.name span {
    font-weight: 500;
    font-size: 16px;
}

.name p {
    margin-top: 5px;
}

.user {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.user img {
    width: 32px;
    margin-right: 10px;
}

.logout {
    margin-left: 20px;
}

.logout_btn {
    background-color: #eff3f9;
    color: #00397f;
    font-weight: 700;
    width: 120px;
    height: 40px;
    margin-top: 0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* new global header (match reference design) */
.headerbar {
    width: 100%;
    border-bottom: 2px solid #00397f;
    background: #fff;
}

.headerbar_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 32px;
}

.header_logo .logo_en {
    font-size: 14px;
    color: #00397f;
    letter-spacing: 0.04em;
}

.header_logo .logo_jp {
    font-size: 22px;
    font-weight: 700;
    color: #00397f;
    margin-top: 2px;
}

.header_user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-ico {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.user-ico img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #404040;
}

.logout-form {
    margin: 0;
}

.logout-btn {
    background-color: #eff3f9;
    color: #00397f;
    font-weight: 700;
    padding: 10px 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 0;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logout-btn:hover {
    background-color: #d8e2f0;
}

.cmnbar_block02 {
    display: flex;
    align-items: center;
}

.mainwrap {
    width: 100%;
    height: 100%;
    display: flex;
}

.menuwrap {
    width: 320px;
    background-color: #eff3f9;
    height: calc(100vh - 70px);
    /* padding-left: 40px; */
    padding-top: 50px;
    border-right: 2px solid #00397f;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 50px 0 20px;
}

.adminmenu {
    text-align: left;
    font-weight: 700;
}

.adminmenu li {
    width: calc(100% - 20px);
    margin-bottom: 20px;
    padding: 14px 0;
}

.adminmenu li a {
    padding-left: 40px;
}

.adminmenu li.active {
    background-color: #fff;
    border-radius: 0 9999px 9999px 0;
}

.adminmenu li.active a {
    color: #00397f;
}

.author {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.author p {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .1rem;
}

.author img {
    width: 120px;
}

.contentwrap {
    width: calc(100% - 320px);
    height: 100vh;
    overflow-y: scroll;
}


/* パンくずリスト ------------------------- */

.breadwrap {
    width: calc(100% - 40px);
    margin: 0 auto 40px;
}

.breadlist_wrap {
    margin-top: 20px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    font-size: 14px;
}

.breadcrumb li:not(:last-of-type)::after {
    content: "/";
    margin: 0 .6em;
    color: #777;
}

.onpage {
    color: #00397f;
    font-weight: 700;
}


/* 共通パーツ ------------------------- */

.container {
    margin: 10px auto 50px;
    padding: 10px 0;
    width: calc(100% - 40px);
    max-width: 1080px;
}

.content {
    width: 100%;
    border-radius: 5px;
    padding: 20px;
    background-color: #f8f8f8;
    margin-bottom: 50px;
}

.cmn_title {
    text-align: left;
}

.title_ja {
    font-weight: 700;
    font-size: 20px;
    color: #00397f;
}

.title_ex {
    font-size: 15px;
}

.inner {
    padding: 32px 0;
}

.accordion-toggle {
    background-color: #00397f;
    padding: 10px;
    cursor: pointer;
    border: none;
    font-size: 16px;
    text-align: left;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s ease;
    margin-top: 0;
}

.accordion-toggle:hover {
    background-color: #1668cc;
}

.accordion-toggle .icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.accordion-toggle.open .icon {
    transform: rotate(90deg);
}

.accordion-toggle .label {
    transition: opacity 0.3s ease;
}

.accordion-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease, padding 0.3s ease;
    padding: 0;
}

.accordion-content.open {
    padding: 20px 0;
}


/* お知らせ ------------------------- */

.news li {
    border-top: 1px solid #e6e6e6;
}

.news li:last-child {
    border-bottom: 1px solid #e6e6e6;
}

.news_item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 16px 4px;
}

.news_posttime {
    font-weight: 700;
    margin-right: 20px;
    color: #777;
}

.news_posttitle {
    font-weight: 700;
}


/* 検索フォーム ------------------------- */

.serchbox {
    margin-bottom: 50px;
}

.serchtitle {
    font-weight: 700;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.serchtitle::after {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #e6e6e6;
    margin-left: 10px;
}

#serchform {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    height: 50px;
}

#serchcontent {
    width: 100%;
    padding: 0 15px;
    border-radius: 4px 0 0 4px;
    background: #fff;
    border: none;
    outline: 0;
}

#serchbutton {
    width: 70px;
    border-radius: 0 4px 4px 0;
    background: #00397f;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

#serchbutton:hover {
    background: #92dbff;
}

#serchcontent,
#serchform select {
    width: 100%;
    padding: 0 15px;
    border-radius: 4px 0 0 4px;
    background: #fff;
    border: none;
    outline: 0;
    font-size: 14px;
    height: 50px;
}

#serchform select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg fill='gray' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}


/* オンタイム受注 ------------------------- */

.noworder-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.noworder-table th,
.noworder-table td {
    padding: 8px;
    word-break: break-word;
    white-space: normal;
    vertical-align: middle;
    text-align: left;
}

.noworder-table th {
    background-color: #f5f5f5;
    border-bottom: 2px solid #dadada;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.noworder-table tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.noworder-table tbody tr:nth-child(even) {
    background-color: #ffffff;
}

.noworder-status {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
}

.noworder-detail-link {
    display: inline-block;
    padding: 5px 10px;
    background-color: #00397f;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: background-color 0.2s ease;
}

.noworder-detail-link:hover {
    background-color: #0056b3;
}

.accept {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.accept th {
    background-color: #f5f7fa;
    color: #333;
    font-weight: 700;
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid #ccc;
    white-space: nowrap;
}

.accept td {
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    text-align: left;
}

.accept tbody tr:nth-child(odd) {
    background-color: #fafafa;
}

.accept tbody tr:nth-child(even) {
    background-color: #ffffff;
}

.accept-btn {
    padding: 5px 12px;
    font-size: 13px;
    color: #fff;
    background-color: #00397f;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color .2s ease;
    margin-top: 0;
}

.accept-btn:hover {
    background-color: #0056b3;
}


/* 受注詳細 ------------------------- */

.item-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-top: 40px;
    border: 1px solid #e0e0e0;
}

.item-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    padding-left: 10px;
    margin-bottom: 20px;
}

.item-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* ← 2列固定 */
    gap: 16px 24px;
}

.item-block label,
.item-block span {
    display: block;
    text-align: left;
    /* ← 左揃え */
}

.item-block label {
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
}

.item-block span {
    font-size: 15px;
    font-weight: 500;
    color: #222;
}

.badge {
    width: fit-content;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    line-height: 1.4;
}

.badge-ok {
    background-color: #e0f7e9;
    color: #1a7f37;
}

.badge-done {
    background-color: #96051d;
    color: #fff!important;
}

.palette-labelled-btn {
    width: 100%;
    display: inline-block;
    margin-bottom: 8px;
    padding: 8px 16px;
    background-color: #007bff;
    color: #fff;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color .2s ease;
}

.palette-labelled-btn:hover {
    background-color: #0056b3;
}

.palettebtn {
    width: 100%;
    background-color: #00397f;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.palettebtn:hover {
    background-color: #0056b3;
}

.palette-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0;
    background: #f9f9f9;
    margin-top: 10px;
    padding-left: 10px;
}

.palette-content.open {
    max-height: 500px;
}

.palette-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-top: 10px;
}

.palette-th,
.palette-td {
    border: 1px solid #ddd;
    padding: 10px 12px;
    text-align: left;
    vertical-align: middle;
}

.palette-th {
    background-color: #f7f7f7;
    color: #333;
    font-weight: 600;
}


/* ステータスバッジ */

.palette-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.4;
    white-space: nowrap;
}

.palette-done {
    background-color: #e5f0ff;
    color: #004bbd;
}

.inproduction-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.inproduction-table th,
.inproduction-table td {
    padding: 8px;
    word-break: break-word;
    white-space: normal;
    vertical-align: middle;
    text-align: left;
}

.inproduction-table th {
    background-color: #f5f5f5;
    border-bottom: 2px solid #dadada;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inproduction-table tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.inproduction-table tbody tr:nth-child(even) {
    background-color: #ffffff;
}

.inproduction-status {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
}

.inproduction-detail-link {
    display: inline-block;
    padding: 5px 10px;
    background-color: #00397f;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: background-color 0.2s ease;
}

.inproduction-detail-link:hover {
    background-color: #0056b3;
}

.order-input-form {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin: 0 auto;
}

#order-id[readonly] {
    background-color: #f5f5f5;
    color: #555;
    border: 1px solid #ccc;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #3a3a3a;
}

.form-actions {
    text-align: right;
}

.form-actions button {
    width: 100%;
    padding: 10px 20px;
    background: #00397f;
    color: #fff;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.form-actions button:hover {
    background: #0056b3;
}

input[readonly] {
    background-color: #f5f7fa;
    color: #666;
    cursor: not-allowed;
}

.order-summary-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 14px;
    background-color: #f7fbff;
    /* 淡い青背景 */
    border: 1px solid #c8ddee;
    border-radius: 6px;
    overflow: hidden;
}

.order-summary-table th {
    background-color: #e1effa;
    /* やや濃い青グレー */
    color: #00397f;
    font-weight: 600;
    text-align: left;
    padding: 10px;
    border-bottom: 1px solid #c8ddee;
}

.order-summary-table td {
    padding: 10px;
    border-bottom: 1px solid #e6f0f8;
}

.order-summary-table input[type="text"],
.order-summary-table input[type="number"] {
    width: 100%;
    padding: 6px 10px;
    font-size: 14px;
    border: 1px solid #b5cde0;
    border-radius: 4px;
    background-color: #ffffff;
    box-sizing: border-box;
}

.order-summary-table input[readonly] {
    background-color: #eef5fa;
    color: #555;
}


/* 
.onorder {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.onorder th {
    background-color: #f5f7fa;
    color: #333;
    font-weight: normal;
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid #ccc;
    white-space: nowrap;
    text-align: left;
}

.onorder td {
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    text-align: left;
}

.onorder tbody tr:nth-child(odd) {
    background-color: #fafafa;
}

.onorder tbody tr:nth-child(even) {
    background-color: #ffffff;
}

.onorder-detail-link {
    display: inline-block;
    padding: 4px 10px;
    background-color: #00397f;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.5;
    transition: background-color 0.2s ease;
}

.onorder-detail-link:hover {
    background-color: #2a5caa;
} */

.onorder-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2em;
    font-size: 0.95em;
    background-color: #fff;
    border: 1px solid #ccc;
}

.onorder-table th,
.onorder-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
}

.onorder-table thead {
    background-color: #f4f4f4;
    font-weight: bold;
}

.onorder-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.onorder-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.onorder-detail-link {
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.9em;
    background-color: #00397f;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}

.onorder-detail-link:hover {
    background-color: #005f99;
}

.ordersearch {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.ordersearch th {
    background-color: #f5f7fa;
    color: #333;
    text-align: left;
    font-weight: 700;
    padding: 8px 10px;
    border-bottom: 1px solid #ccc;
    white-space: nowrap;
}

.ordersearch td {
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    text-align: left;
}

.ordersearch tbody tr:nth-child(odd) {
    background-color: #fafafa;
}

.ordersearch tbody tr:nth-child(even) {
    background-color: #ffffff;
}

.ordersearch-detail-link {
    display: inline-block;
    padding: 5px 10px;
    background-color: #00397f;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: background-color 0.2s ease;
}

.ordersearch-detail-link:hover {
    background-color: #0056b3;
}

/* simple pager (client/admin共通で使用) */
.pager-simple {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.page-btn {
    display: inline-block;
    min-width: 34px;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    color: #1f2937;
    text-decoration: none;
    font-size: 13px;
    text-align: center;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}
.page-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}
.page-btn.current {
    background: #1f5fff;
    color: #fff;
    border-color: #1f5fff;
    font-weight: 700;
}
.page-btn.disabled {
    background: #f9fafb;
    color: #9ca3af;
    border-color: #e5e7eb;
    cursor: not-allowed;
}
.pager-meta {
    text-align: center;
    margin-top: 6px;
    color: #6b7280;
    font-size: 12px;
}
.pagination-nav {
    margin-top: 12px;
}


/* staff page ------------------------- */

.staffwrap {
    width: 100%;
    min-height: calc(100vh - 70px);
    padding: 48px 16px;
    background: #f6f8fb;
    display: flex;
    align-items: center;
}

.staffcontainer {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.profile-card {
    position: relative;
    background-color: #fff;
    width: 340px;
    border-radius: 16px;
    text-align: center;
    padding: 32px 24px 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.avatar {
    width: 140px;
    height: 140px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #f6f8fb;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0 0 0 10px #fff,
        0 8px 20px rgba(0, 0, 0, 0.08);
}

.avatar img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0;
}

.staffname {
    margin: 0;
    font-size: 22px;
    color: #222;
    text-align: center;
}

.furigana {
    color: #7a7a7a;
    margin: 4px 0 2px;
    font-size: 13px;
}

.description {
    color: #666;
    font-size: 13px;
    margin-bottom: 22px;
}

.message-btn {
    background-color: #00397f;
    border: none;
    color: white;
    padding: 10px 30px;
    border-radius: 24px;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 15px;
}

.message-btn:hover {
    background-color: #0056b3;
}

/* Worker QR box spacing */
.qr-box {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
.qr-live video {
    width: 100%;
    max-width: 420px;
    border-radius: 10px;
    background: #0f2a47;
}
.qr-btn-primary {
    margin: 0;
    width: 100%;
    max-width: 260px;
}
.qr-btn-secondary {
    margin: 0;
    width: 100%;
    max-width: 260px;
}
.qr-upload {
    width: 100%;
    display: flex;
    justify-content: center;
}
.qr-result-box {
    width: 100%;
    display: flex;
    justify-content: center;
}

.staff-status-box {
    background: #f1f5f9;
    border-radius: 8px;
    padding: 10px 15px;
    margin: 15px 0 50px;
    font-size: 14px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #e3e7eb;
}

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

.status-label {
    font-weight: bold;
    color: #333;
}

.status-value {
    font-size: 13px;
    padding: 3px 10px;
    border-radius: 12px;
    color: #fff;
}

.status-value.paint {
    background-color: #007bce;
}

.status-value.line {
    background-color: #60b157;
}

.qr-result {
    background: #f7fafd;
    border: 1px solid #cfe2f3;
    border-radius: 12px;
    padding: 20px;
    max-width: 400px;
    margin: 50px auto;
    text-align: center;
    font-family: sans-serif;
}

.status-update {
    color: #007bce;
    font-weight: bold;
}

.back-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 24px;
    background: #007bce;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}

.master-action-btn {
    width: 100%;
    display: inline-block;
    padding: 8px 16px;
    background-color: #00397f;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    font-weight: 700;
}

.master-action-btn:hover {
    background-color: #005fa3;
}

.company-master {
    max-width: 700px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: sans-serif;
}

.master-section {
    background: #f9fbfd;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #007bce;
    padding-bottom: 6px;
}

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

.master-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.master-form input,
.master-form textarea {
    width: 100%;
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    resize: vertical;
}

.form-actions {
    text-align: right;
    margin-top: 10px;
}

.form-actions button {
    padding: 8px 20px;
    font-size: 14px;
    background-color: #007bce;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.form-actions button:hover {
    background-color: #005fa3;
}

.result-section {
    background: #f9fbfd;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #007bce;
    padding-bottom: 6px;
}

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

.master-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.master-form input {
    width: 100%;
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-actions {
    text-align: right;
    margin-top: 10px;
}

.form-actions button {
    padding: 8px 20px;
    font-size: 14px;
    background-color: #007bce;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.form-actions button:hover {
    background-color: #005fa3;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-top: 10px;
}

.company-table th,
.company-table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
    vertical-align: middle;
    word-break: break-word;
}

.company-table th {
    background-color: #e6f2ff;
    color: #333;
}

.company-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.edit-btn {
    display: inline-block;
    padding: 6px 12px;
    background-color: #007bce;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: background-color 0.2s ease;
}

.edit-btn:hover {
    background-color: #005fa3;
}

.company-edit {
    max-width: 700px;
    margin: 40px auto;
    padding: 24px;
    background: #f9fbfd;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    font-family: sans-serif;
}

.section-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #007bce;
    padding-bottom: 6px;
}

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

.master-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.master-form input,
.master-form textarea {
    width: 100%;
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
}

.master-form input[readonly] {
    background-color: #eee;
    color: #666;
}

.form-actions {
    text-align: right;
    margin-top: 10px;
}

.form-actions button {
    padding: 8px 20px;
    font-size: 14px;
    background-color: #007bce;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.form-actions button:hover {
    background-color: #005fa3;
}

.product-master-page {
    max-width: 960px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: sans-serif;
}

.master-section {
    background: #f9fbfd;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #007bce;
    padding-bottom: 6px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 240px;
}

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-actions {
    text-align: right;
    margin-top: 20px;
}

.form-actions button {
    padding: 10px 20px;
    font-size: 14px;
    background-color: #007bce;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.form-actions button:hover {
    background-color: #005fa3;
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
}

.product-table th,
.product-table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}

.product-table th {
    background: #e6f2ff;
    color: #333;
}

.edit-btn {
    display: inline-block;
    padding: 6px 12px;
    background-color: #007bce;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: background-color 0.2s ease;
}

.edit-btn:hover {
    background-color: #005fa3;
}

.product-edit-page {
    max-width: 700px;
    margin: 40px auto;
    padding: 24px;
    background: #f9fbfd;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    font-family: sans-serif;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #007bce;
    padding-bottom: 6px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 240px;
}

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

.form-group input {
    width: 100%;
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
}

.form-group input[readonly] {
    background-color: #eee;
    color: #666;
}

.form-actions {
    text-align: right;
    margin-top: 20px;
}

.form-actions button {
    padding: 10px 20px;
    font-size: 14px;
    background-color: #007bce;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.form-actions .cancel-btn {
    margin-left: 10px;
    padding: 10px 16px;
    font-size: 14px;
    color: #007bce;
    background: transparent;
    border: none;
    text-decoration: underline;
    cursor: pointer;
}

.form-actions button:hover {
    background-color: #005fa3;
}

.cancel-btn:hover {
    text-decoration: none;
}

.staff-master-page {
    max-width: 960px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: sans-serif;
}

.master-section {
    background: #f9fbfd;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 40px;
}

.section-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #007bce;
    padding-bottom: 6px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 240px;
}

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-actions {
    text-align: right;
    margin-top: 20px;
}

.form-actions button {
    padding: 10px 20px;
    font-size: 14px;
    background-color: #007bce;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.form-actions button:hover {
    background-color: #005fa3;
}

.staff-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
}

.staff-table th,
.staff-table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}

.staff-table th {
    background: #e6f2ff;
    color: #333;
}

.edit-btn {
    display: inline-block;
    padding: 6px 12px;
    background-color: #007bce;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: background-color 0.2s ease;
}

.edit-btn:hover {
    background-color: #005fa3;
}

.staff-edit-page {
    max-width: 700px;
    margin: 40px auto;
    padding: 24px;
    background: #f9fbfd;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    font-family: sans-serif;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #007bce;
    padding-bottom: 6px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 240px;
}

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
}

.form-actions {
    text-align: right;
    margin-top: 20px;
}

.form-actions button {
    padding: 10px 20px;
    font-size: 14px;
    background-color: #007bce;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.form-actions button:hover {
    background-color: #005fa3;
}

.cancel-btn {
    margin-left: 10px;
    font-size: 14px;
    color: #007bce;
    text-decoration: underline;
    cursor: pointer;
}

.cancel-btn:hover {
    text-decoration: none;
}
