body {
    background: #000000;
    color: #999999;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.table {
    color: #999999 !important;
}

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

main {
    flex: 1;
}

footer {
    text-align: center;
    line-height: 3em;
    font-weight: bolder;
    user-select: none;
}

.bg-steel {
    background-color: yellow;
}

.content-section {
    background: #ffffff;
    padding: 10px 20px;
    border: 1px solid #dddddd;
    border-radius: 3px;
    margin-bottom: 20px;
}

a.nav-link {
    box-sizing: border-box;
    color: white;
    font-weight: bold;
    margin-left: 2px;
    margin-right: 2px;
}

a.nav-link:hover {
    color: black;
    font-weight: bolder;
    outline: dashed black;
}

.nav-current-directory {
    background-color: #556ff6;
    border-radius: 3px;
    color: white !important;
    font-weight: bolder;
}

.cateseleted {
    color: orange;
}

.taskbtn {
    text-align: left;
    overflow: hidden;
    height: 30px;
}

.btnA {
    font-size: 12px !important;
    background-color: #242424 !important;
    border-color: #000000 !important;
    color: grey;
    padding: 0px;
}

.btnA:hover {
    z-index: 999 !important;
    background-color: #333333 !important;
    overflow: visible !important;
}

.packka {
    display: inline-block !important;
    width: 100px;
    height: 175px;
    background-color: white;
    border-radius: 5px 5px 5px 5px;
    overflow: hidden;
}

.packka-right-img {
    width: 20px;
    height: 20px;
    border-radius: 3px 3px 3px 3px;
}

.packka-title {
    font-family: Impact, Charcoal, sans-serif;
    width: 100px;
    height: 100px;
    text-align: center;
    display: inline-block;
    font-size: 21px;
}

.packka-mpn {
    background-color: yellow;
    color: black;
    line-height: 25px;
}

.packka-mpn-blue {
    background-color: #007bff;
    color: white;
    line-height: 25px;
}

.packka-quan {
    background-color: white;
    font-size: 20px;
    color: black !important;
}

.packka-quan-orange {
    background-color: white;
    font-size: 20px;
    color: #ec731a !important;
}

.packka-image {
    width: 100px;
    height: 100px;
    display: inline-block;
}

.packka-image-img {
    width: 100px;
    height: 100px;
}

.packkabound {
    text-align: center;
}

.packkaWindow {
    display: inline-block !important;
    width: 300px;
    height: 560px;
    background-color: white;
    border-radius: 10px 10px 10px 10px;
    overflow: hidden;
}

.packkaWindow-task {
    display: inline-block;
    width: 300px;
    height: 50px;
    font-size: 24px;
}

.packkaWindow-header {
    font-size: 24px;
    padding-left: 5px;
    color: black;
}

.packkaWindow-right {
    padding-right: 0px;
    color: grey;
}

.packkaWindow-right-img {
    width: 50px;
    height: 50px;
    border-radius: 10px 10px 10px 10px;
}

.packkaWindow-title {
    font-family: Impact, Charcoal, sans-serif;
    width: 300px;
    height: 100px;
    text-align: center;
    display: inline-block;
    font-size: 21px;
}

.packkaWindow-mpn {
    font-size: 50px;
    background-color: yellow;
    color: black;
}

.packkaWindow-quan {
    background-color: white;
    font-size: 50px;
    color: black !important;
}

.packkaWindow-quan-orange {
    background-color: white;
    font-size: 50px;
    color: #ec731a !important;
}

.packkaWindow-image {
    width: 300px;
    height: 300px;
    display: inline-block;
}

.packkaWindow-image-img {
    width: 300px;
    height: 300px;
}

.packka-task-title {
    padding-top: 10px;
    padding-bottom: 20px;
    text-align: center;
}

.btn-group-sm > .btn,
.btn-xs {
    padding: 0.1rem 0.55rem;
    font-size: 0.8rem;
    line-height: 1.9;
    border-radius: 0.2rem;
}

.swindow {
    width: 300px;
}

.mwindow {
    width: 500px;
}

.packka2-font {
    font-family: Impact, Charcoal, sans-serif;
    text-align: center;
    overflow: hidden;
    display: inline-block;
    height: 60px;
    line-height: 60px;
    font-size: 18px;
}

.packka2-width1 {
    width: 60px;
}

.packka2-sea {
    color: #007bff;
}

.packka2-air {
    color: #ec731a;
}

.packka2-quantity {
    color: #ec731a;
}

.packka2-mpn {
    font-weight: 600;
    width: 100px;
    height: 60px;
    line-height: 60px;
}

.packka2-note {
    font-weight: 200;
    overflow: hidden;
    max-width: 800px;
    height: 60px;
    line-height: 60px;
    font-size: 20px;
}

.packka2-priority {
    overflow: hidden;
    background-color: red;
    width: 30px;
    height: 60px;
    line-height: 60px;
    font-size: 20px;
}

.packkaWindow-mpn-blue-small {
    font-size: 30px;
    background-color: #8fc4fd !important;
    color: white;
}

.svg-btn {
    padding: 0 0.2rem;
}

.elps-text {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

/* ========== 新卡片样式 (pack-card) ========== */

.pack-card {
    width: 150px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s ease;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.pack-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.pack-card.priority {
    border: 3px solid #d32f2f;
    background: #fff8f8;
    box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.15), 0 2px 8px rgba(211, 47, 47, 0.1);
}

.pack-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border-bottom: 1px solid #eee;
    font-size: 12px;
    color: #888;
}

.pack-card-img {
    display: block;
    width: 100%;
    height: 90px;
    object-fit: contain;
    padding: 6px;
    background: #fafafa;
}

.pack-card-body {
    padding: 8px 10px 10px;
}

.pack-card-mpn {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
    transition: background 0.15s;
}

.pack-card-mpn:hover {
    filter: brightness(1.05);
}

.pack-card-mpn.air {
    background: #e3f2fd;
    color: #1565c0;
}

.pack-card-mpn.sea {
    background: #fff3e0;
    color: #e65100;
}

.pack-card.priority .pack-card-mpn {
    background: #d32f2f;
    color: #ffeb3b;
}

.pack-card-qty {
    display: flex;
    align-items: center;
    margin-top: 8px;
    padding: 4px 4px;
    background: #f5f5f5;
    border-radius: 6px;
    border: 1px solid #e8e8e8;
}

.pack-card-qty span {
    flex: 1;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
}

.pack-card-qty .btn {
    padding: 5px 7px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    flex-shrink: 0;
    min-width: 28px;
    border-radius: 4px;
    transition: all 0.15s;
}

.pack-card-qty .btn:hover {
    transform: scale(1.05);
}

.pack-card-icons {
    display: flex;
    gap: 4px;
}

.pack-card-icons img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}
