.logo-class {
    width: 100px;
    /* 根據設計需求調整大小 */
    height: 100px;
    border-radius: 50%;
    /* 圓形 */
    border: 4px solid #f0f0f0;
    /* 淺灰色邊框（像相框） */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* 柔和陰影 */
    background-size: cover;
    /* 圖片滿版 */
    background-position: center;
    /* 圖片置中 */
}

.store-selector {
    background-color: #fff;
    color: #000;
    border: 2px solid #999;
    border-radius: 40px;
    padding: 10px 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    display: inline-block;
}

.store-select {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    /* 隱藏下拉選單但保留功能性 */
    cursor: pointer;
}

.nav-custom {
    max-height: calc(100vh - 60px);
}

.log-out-button {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
}

.dashboard-summary {
    background-color: #eee;
    padding: 24px;
    border-radius: 16px;
    font-family: "Helvetica Neue", sans-serif;
}

.summary-row {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
    border-radius: 10px;
}

.summary-card {
    flex: 1 1 45%;
    display: flex;
    align-items: center;
    padding: 16px;
    border-radius: 12px;
    position: relative;
    box-sizing: border-box;
    min-width: 280px;
}

.summary-card.white {
    background-color: #fff;
}

.summary-card.yellow {
    background-color: #ffc933;
}

.icon-wrap {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 20px;
}

.info-wrap {
    flex: 1;
}

.label {
    font-size: 14px;
    color: #333;
}

.value {
    font-size: 28px;
    font-weight: bold;
    color: #000;
}

.percent-change {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    font-size: 13px;
    border-radius: 999px;
    color: white;
    font-weight: 600;
}

.percent-change.positive {
    background-color: #3ecf8e;
}

.percent-change.negative {
    background-color: #e85454;
}

.custom-daterange-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 24px;
    padding: 10px 16px;
    background-color: #fff;
    height: 48px;
    box-sizing: border-box;
    width: 100%;
    cursor: pointer;
}

.daterange-icon {
    margin-right: 12px;
    font-size: 16px;
    color: #000;
}

.custom-daterange-input {
    border: none;
    outline: none;
    font-weight: bold;
    font-size: 16px;
    width: 100%;
    background: transparent;
}

.custom-daterange-input::placeholder {
    color: #aaa;
}

.store-setting-checker {
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    padding: 10px 20px;
    border-radius: 1.2rem;
    margin-bottom: 20px;
    justify-content: space-between;
    align-items: center;
}

.store-text-input {
    all: unset;
    /* 移除所有預設樣式（含 Bootstrap） */
    border-bottom: 1px solid white;
    color: white;
    background-color: transparent;
    width: 100%;
    font-size: 1rem;
    padding: 4px 0;
    box-sizing: border-box;
}

.input-rwd-width {
    max-width: 150px;
    width: 100%;
}

@media (max-width: 768px) {
    .input-rwd-width {
        max-width: 80px;
    }
}

.form-control {
    border-radius: 20px;
}

/* 卡片整體樣式 */
.holiday-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    max-width: 260px;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 12px;
}

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

/* 日期與星期文字 */
.holiday-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.holiday-date {
    font-weight: 600;
    font-size: 14px;
    color: #222;
}

.holiday-weekday {
    font-size: 12px;
    color: #666;
}

/* 刪除按鈕 */
.holiday-delete-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: transparent;
    color: #aaa;
    font-size: 14px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.holiday-delete-btn:hover {
    color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.1);
}

.meal-period-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 12px;
}

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

/* 左側資訊 */
.meal-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meal-period-name {
    font-weight: 600;
    font-size: 16px;
    color: #222;
}

.meal-weekdays {
    font-size: 14px;
    color: #555;
}

.meal-time {
    font-size: 13px;
    color: #888;
}

/* 右側按鈕 */
.meal-actions {
    display: flex;
    gap: 8px;
}

.meal-actions button {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 6px;
    background-color: #f0f0f0;
    color: #555;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.meal-actions button:hover {
    background-color: var(--primary);
    color: #fff;
}

.meal-actions .delete-btn:hover {
    background-color: #e74c3c;
    color: #fff;
}

.product-box {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.product-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.product-box:hover .product-image {
    transform: scale(1.03);
}

/* 商品名稱 */
.product-body h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

/* 價格 */
.product-body .price {
    font-size: 1rem;
    font-weight: bold;
    color: var(--primary);
}

/* 使用狀況 */
.badge-info {
    background: #e5f7ef;
    color: #2FBC55;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 20px;
}

/* 建立時間 */
.product-body .meta {
    font-size: 0.75rem;
    color: var(--deep-grey);
}

/* 按鈕組 */
.product-footer {
    /* background: var(--light-grey); */
    padding: 12px 16px;
}

.btn-action {
    flex: 1;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    padding: 6px 0;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-edit {
    background: var(--primary);
    color: var(--white);
    margin-right: 8px;
}

.btn-edit:hover {
    background: var(--primary-hover);
}

.btn-delete {
    background: #ff6b6b;
    color: var(--white);
}

.btn-delete:hover {
    background: #e85c5c;
}

.dropify-wrapper .dropify-preview {
    opacity: 1 !important;
    height: auto !important;
    transition: none !important;
}

/* Enable scrolling for store header nav menu when content overflows */
.nav-custom.scrollable-content {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 120px; /* Ensure content is not hidden behind log-out-button */
}