.cwt {
    --ink: #1f2d3d;
    --teal: #0da7ac;
    --teal-deep: #0a8fa4;
    --teal-darker: #074447;
    --foam: #eafcfb;
    --line: #e9ecef;
    --muted: #6c757d;
}

.cwt .page-head {
    margin-bottom: 24px;
}

.cwt .page-head h2 {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 700;
    margin-bottom: 4px;
}

.cwt .page-head h2 i {
    color: var(--teal);
    font-size: 22px;
}

.cwt .page-head p {
    color: var(--muted);
    margin: 0;
    font-size: 14px;
}

/* Panel */
.cwt .panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(10, 110, 116, 0.06);
    height: 100%;
}

.cwt .panel-head {
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--teal), var(--teal-deep));
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cwt .panel-head.alt {
    background: #fff;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}

.cwt .panel-head h5 {
    margin: 0;
    font-size: 15.5px;
    font-weight: 700;
}

.cwt .panel-body {
    padding: 20px;
}

/* Scan Input */
.cwt .scan-input {
    width: 100%;
    border: 1.5px solid #dde3e2;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 17px;
    margin-bottom: 8px;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.cwt .scan-input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(13, 167, 172, 0.12);
}

.cwt .scan-hint {
    font-size: 12.5px;
    color: var(--muted);
    display: block;
    margin-bottom: 16px;
}

/* Teal Button */
.cwt .btn-teal {
    width: 100%;
    background: linear-gradient(135deg, var(--teal), var(--teal-deep));
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 13px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.cwt .btn-teal:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(10, 143, 164, 0.28);
    color: #fff;
}

/* Drop-off List */
.cwt .dropoff-list {
    max-height: 320px;
    overflow-y: auto;
}

.cwt .dropoff-item {
    display: block;
    width: 100%;
    text-align: left;
    background: var(--foam);
    border: 1px solid #d8efee;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 8px;
    cursor: pointer;
    transition:
        background 0.15s ease,
        transform 0.15s ease;
}

.cwt .dropoff-item:hover {
    background: #dcf5f4;
    transform: translateX(2px);
}

.cwt .dropoff-item .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3px;
}

.cwt .dropoff-item .order-id {
    font-weight: 700;
    color: var(--teal-darker);
    font-size: 13.5px;
}

.cwt .dropoff-item .time {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
}

.cwt .dropoff-item .name {
    font-size: 13.3px;
    color: var(--ink);
}

.cwt .dropoff-item .weight-tag {
    display: inline-block;
    margin-top: 5px;
    font-size: 11px;
    font-weight: 700;
    color: var(--teal-deep);
    background: #fff;
    border: 1px solid #c9ecea;
    padding: 2px 8px;
    border-radius: 6px;
}

.cwt .empty-note {
    text-align: center;
    color: var(--muted);
    padding: 30px 10px;
    font-size: 13.5px;
}

/* Result Panel */
.cwt .result-panel {
    margin-top: 22px;
}

.cwt .result-head {
    padding: 18px 22px;
    background: linear-gradient(
        135deg,
        var(--teal-deep),
        var(--teal-darker)
    );
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.cwt .result-head h5 {
    margin: 0;
    font-size: 16.5px;
    font-weight: 700;
}

.cwt .walkin-tag {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 11.5px;
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 600;
}

/* Information Grid */
.cwt .info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 28px;
    margin-bottom: 22px;
}

.cwt .info-grid .item strong {
    display: block;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin-bottom: 4px;
    font-weight: 700;
}

.cwt .info-grid .item span {
    font-size: 14.5px;
    color: var(--ink);
    font-weight: 600;
}

/* Weight Comparison */
.cwt .weight-compare {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--foam);
    border: 1px solid #d8efee;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.cwt .weight-compare .stat {
    text-align: center;
}

.cwt .weight-compare .stat .label {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 700;
    margin-bottom: 3px;
}

.cwt .weight-compare .stat .value {
    font-size: 20px;
    font-weight: 800;
    color: var(--teal-darker);
}

.cwt .weight-compare .arrow {
    color: var(--teal);
    font-size: 18px;
}

.cwt .weight-compare .amount {
    margin-left: auto;
    text-align: right;
}

.cwt .weight-compare .amount .label {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    font-weight: 700;
}

.cwt .weight-compare .amount .value {
    font-size: 22px;
    font-weight: 800;
    color: var(--ink);
}

/* Weight Form */
.cwt .form-label-c {
    font-weight: 700;
    font-size: 13.5px;
    color: var(--ink);
    margin-bottom: 8px;
    display: block;
}

.cwt .weight-input-group {
    display: flex;
    gap: 10px;
}

.cwt .weight-input-group input {
    flex: 1;
    border: 1.5px solid #dde3e2;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 16px;
}

.cwt .weight-input-group input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(13, 167, 172, 0.12);
}

.cwt .weight-input-group button {
    background: linear-gradient(135deg, var(--teal), var(--teal-deep));
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0 22px;
    font-weight: 700;
    font-size: 14.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.cwt .weight-input-group button:hover {
    transform: translateY(-2px);
}

.cwt .form-note {
    font-size: 12.3px;
    color: var(--muted);
    margin-top: 9px;
    display: block;
}

/* Alerts */
.cwt .alert-c {
    border-radius: 10px;
    padding: 13px 16px;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
}

.cwt .alert-c.err {
    background: #fdeeee;
    color: #9c2b2b;
}

.cwt .alert-c.ok {
    background: var(--foam);
    color: var(--teal-darker);
}

.cwt .alert-c i {
    margin-top: 2px;
}

/* ---------- Confirmation modal (not covered by the original
   stylesheet — added to match the same teal/foam/panel language) ---------- */
.cwt-modal-content {
    border-radius: 14px;
    border: none;
    overflow: hidden;
}

.cwt-modal-header {
    background: linear-gradient(135deg, var(--teal-deep), var(--teal-darker));
    color: #fff;
    border-bottom: none;
    padding: 18px 22px;
}

.cwt-modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.cwt-modal-body {
    padding: 24px 22px;
}

.cwt-modal-weight {
    font-size: 26px;
    font-weight: 800;
    color: var(--ink);
}

.cwt-modal-amount {
    font-size: 26px;
    font-weight: 800;
    color: var(--teal-darker);
}

.cwt-modal-note {
    font-size: 12.5px;
    color: var(--muted);
}

.cwt-modal-footer {
    border-top: 1px solid var(--line);
    padding: 16px 22px;
}

.cwt-btn-confirm {
    background: linear-gradient(135deg, var(--teal), var(--teal-deep));
    border: none;
    font-weight: 700;
}

.cwt-btn-confirm:hover {
    background: linear-gradient(135deg, var(--teal-deep), var(--teal-darker));
}

.weight-tag.confirmed {
    background: #e8f8f1;
    color: #16845b;
}
