﻿
body {
    background: #f3f3f3;
    margin: 0;
}

/* ===== 上方黑bar ===== */
.topbar {
    background: #0c0c0c;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
}

    .topbar span {
        color: orange;
        margin-left: 10px;
    }

/* ===== 主區塊 ===== */
.wrapper {
    max-width: 1000px;
    margin: 40px auto;
}

.title {
    border-left: 4px solid orange;
    padding-left: 10px;
    font-weight: bold;
    font-size: 22px;
}

.desc {
    color: #888;
    font-size: 14px;
    margin-top: 10px;
}

.card-box {
    margin-top: 25px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.track-input {
    height: 45px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.input-row {
    display: flex;
    align-items: center;
}

.num {
    width: 30px;
    color: #bbb;
}

.btn-orange {
    background: #ff6a00;
    color: white;
    border-radius: 10px;
    padding: 10px 25px;
}

    .btn-orange:hover {
        background: #e65c00;
    }

.btn-light {
    border-radius: 10px;
}

/* ===== footer ===== */
.footer {
    background: #0c0c0c;
    color: white;
    padding: 30px;
    margin-top: 80px;
}



/* 左邊 */
.left-panel {
    width: 280px !important;
    flex-shrink: 0;
}

.channel-box {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.status-card {
    background: #ff6a00;
    color: #fff;
    padding: 20px;
    border-radius: 15px;
}

.status-title {
    font-size: 12px;
    opacity: 0.8;
}

.status-text {
    font-size: 20px;
    font-weight: bold;
}

/* 右邊 */
.right-panel {
    flex: 1;
    height: 100%; /* ⭐ 跟著 modal-body 撐滿 */
    overflow-y: auto;
}

/* timeline */
.timeline {
    position: relative;
    padding-left: 25px;
    width: 100%;
}

    .timeline::before {
        content: "";
        position: absolute;
        left: 10px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: #ddd;
    }

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-dot {
    position: absolute;
    left: -17px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
}

.timeline-item.active .timeline-dot {
    background: #ff6a00;
}

.timeline-title {
    font-weight: bold;
}

.timeline-time {
    font-size: 12px;
    color: #999;
}

.modal-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /*加深一點 */

    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    backdrop-filter: blur(3px); /*模糊背景*/
}

.modal-box {
    width: 700px;
    min-height: 60vh;
    max-height: 85vh;
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    overflow: hidden;
    display: flex !important;
    flex-direction: column;
    gap: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.modal-body {
    display: flex;
    gap: 40px;
    flex: 1;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center; /*垂直置中 */

    font-size: 18px;
    font-weight: bold;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.close-btn {
    cursor: pointer;
    font-size: 20px;
    color: #999;
    line-height: 1; /* 防止跑位 */
}

.btn-close-custom {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
}

.modal-footer {
    text-align: right;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.col-md-3 img:hover {
    transform: scale(1.05);
    transition: 0.2s;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    padding: 10px 15px;
    font-weight: bold;
}

.store-links {
    display: flex;
    gap: 10px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: white;
    color: #333;
    padding: 5px 10px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    transition: 0.2s;
}

    .store-btn img {
        width: 20px;
        height: 20px;
        object-fit: contain;
    }

.logo-mask {
    width: 24px;
    height: 24px;
    background-color: #fff;
    -webkit-mask: url('/images/7-11.png') no-repeat center;
    mask: url('/images/7-11.png') no-repeat center;
    mask-size: contain;
}
.modal-body {
    display: flex;
    gap: 16px;
    max-height: 70vh;
    overflow: hidden;
}

.left-panel {
    width: 30%;
}

.right-panel {
    width: 70%;
    max-height: 70vh;
    overflow-y: auto;
}
