body {
    font-size: 1rem;
    font-family: 'Noto Sans TC', sans-serif;
    min-width: 100%;
    margin: 0;
    overflow-x: auto;
    background-color: #1B308B;
    color: #fff;
}
.body-orange {
    background-color: #DF652D;
    color: #fff;
}
h2 {
    
    margin-top: .5rem; /* 增加標題上方距離 */
}

.container-homepage {
    /* padding-top: 1rem; 增加內容區域上方內邊距 */
    min-height: calc(100% - 70px); /* 減去footer的高度，確保內容區域足夠高 */
}
.navbar-brand{
    color: #0b7285!important; /* 設置導航欄標題顏色 */
}
.nav-bar-vkang{
    background-color: #fff; /* 設置導航欄背景色 */
    color: #0b7285; /* 設置導航欄文字顏色 */
}
.nav-bar-vkang nav-bar-tollger{
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: var(--bs-navbar-toggler-icon-bg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}
footer {
    background: none;
    color: #fff;
    min-width: 100%;
    font-size: 0.6rem;
}

html, body {
    height: 100%; /* 確保html和body高度佔滿整個視窗高度 */
    margin: 0; /* 移除預設的邊距 */
}
.footer {
    height: 70px; /* 設置footer的高度，與min-height計算保持一致 */
}

.alert-info-orange {
    background-color: #DF652D;
    color: #fff;
    font-size: 1rem;
    max-width: 600px;
}

.alert-info-blue {
    background-color: #1B308B;
    color: #fff;
    font-size: 1rem;
    max-width: 600px;
}

.alert-info-whiteorange {
    background-color: #fff;
    color: #DF652D;
    font-size: 1rem;
    border-color:#DF652D;

}

.alert-info-whiteblue {
    background-color: #fff;
    color: #1B308B;
    font-size: 1rem;
    border-color:#1B308B;

}

.banner-img-homepage {
    height: auto;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.banner02 {
    height: auto;
    /* max-width: 100%; */
    margin-left: auto;
    margin-right: auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.btn-custom {
    background-color: #0b7285; /* 設置按鈕的背景色 */
    border-color: #0b7285; /* 設置按鈕的邊框顏色 */
    color: #ffffff;
}
.btn-custom:hover {
    background-color: #0a6574;
    border-color: #0a6574;
    color: #ffffff;
}

/* Homepage buttons */
.btn-primary, .btn-success {
    background-color: #fff !important;
    border-color: #fff !important;
    color: #1B308B !important;
    border-radius: 1rem !important;
    height: 48px;
}

.btn-secondary {
    background-color: #DF652D !important;
    border-color: #DF652D !important;
    color: #fff !important;
    border-radius: 1rem !important;
    height: 48px;
}

.btn-orange {
    background-color: #DF652D !important;
    border-color: #DF652D !important;
    color: white !important;
    border-radius: 1rem !important;
}

.btn-blue {
    background-color: #1B308B !important;
    border-color: #1B308B !important;
    color: #fff !important;
    border-radius: 1rem !important;
}

.btn-white09 {
    background-color: white !important;
    border-color: white !important;
    color: #DF652D !important;
    border-radius: 1rem !important;
    opacity: 0.9 !important;
}

.btn-white {
    background-color: white !important;
    border-color: white !important;
    color: #DF652D !important;
    border-radius: 1rem !important;
}

.no-border, .no-border th, .no-border td {
    border: none !important;
}

.banner-img {
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.container {
    /* padding-top: 1rem; 增加內容區域上方內邊距 */
    min-height: calc(100% - 126px); /* 減去footer的高度，確保內容區域足夠高 */
}

.image-wrapper {
    position: relative;
    display: inline-block;
}

.icon-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: white;
    font-size: 20px;
    border-radius: 50%;
    padding: 5px;
    pointer-events: none;
}

.logo {
    margin-bottom: 1rem; /* 縮小Logo與標題之間的距離 */
}


.my-form-control {
    position: relative;
    margin-bottom: 15px;
    /*border-color: #666;*/
}

.my-form-control input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
}

.my-form-control label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px;
    font-size: 16px;
    color: #999;
    transition: all 0.3s ease;
}

.my-form-control input:focus + label,
.my-form-control input:not(:placeholder-shown) + label {
    top: -20px;
    background: white;
    font-size: 12px;
    color: #666;
}
.participant-form{
    background-color: #fff;
    padding: 1rem;
    border-radius: 1rem;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    color: black;
    font-size: 1rem;
    border-color: #fff;
}

.participant-card-orange{
    background-color: #fff;
    padding: 1rem;
    border-radius: 1rem;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    color: black;
    font-size: 1rem;
    border-color: #fff;
}

.participant-card-blue{
    background-color: #fff;
    padding: 1rem;
    border-radius: 1rem;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    color: black;
    font-size: 1rem;
    border-color: #fff;
    max-width: 600px;
}

@media (max-width: 768px) {
    html,body{
        min-height: 100%;
    }
    h2 {
        margin-top: 1rem; /* 針對小螢幕裝置，進一步增加標題上方距離 */
        font-size: 1.5rem; /* 針對小螢幕裝置，增大標題字體大小 */
        font-weight: 700;
    }
    .form-control, .btn {
        font-size: 1.25rem; /* 針對小螢幕裝置，增大輸入框和按鈕的字體大小 */
    }

    .logo {
        margin-bottom: 0.5rem; /* 針對小螢幕裝置，進一步縮小距離 */
    }
    .banner-img{
        max-width: 360px;
        max-height: 360px;
        margin-left: auto;
        margin-right: auto;
    }
    .btn {
        font-size: 1rem;
    }
    .seat-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    .row-label {
        width: 40px;
        font-size: 12px;
    }
    .seat-area {
        /* width: 80px; */
        height: 80px;
    }

    .seat-grid {
        grid-template-columns: repeat(12, 1fr);
    }
    /* 示例样式，您可以根据需要自定义 */
    .available-seat {
        background-color: green;
    }

    .unavailable-seat {
        background-color: gray;
    }

    .selected-seat {
        background-color: yellow;
    }

}

@media (max-width: 480px) {
    .info-img {
        width: 100%;
        height: auto;
    }
}

/* Bouncing ball animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) scale(1);
    }
    40% {
        transform: translateY(-30px) scale(0.8);
    }
    60% {
        transform: translateY(-15px) scale(0.9);
    }
}

.spinner {
    width: 30px;
    height: 30px;
    background-color: #1B308B;
    border-radius: 50%;
    animation: bounce 1s infinite;
    margin: 20px auto;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: relative;
}

.spinner:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

.spinner.orange {
    background-color: #DF652D;
}
