html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

.bg-custom {
    /* background-color: rgb(192,0,0) !important;  */
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%) !important;
}

.bg-custom-footer {
    /* background-color: rgb(192,0,0) !important;  */
    background-color:#3a0647 !important;
}

.order-total {
    /* background-color: rgb(191, 52, 52); */
    background-color: rgb(5, 39, 103);
    /* background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%) !important; */
    /*    height: 4rem;*/
    height: 3.5rem;
    width:100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    padding: 0 1.5rem;
}

    .order-total.hidden {
        transform: translate3d(0, 4rem, 0);
    }

    .order-total .total-price {
        font-weight: 700;
        font-size: 1.5rem;
    }

        .order-total .total-price::before {
            content: '¥';
            font-weight: 300;
            margin: 0 0.1rem 0 0.4rem;
        }

    .order-total .btn {
        margin-left: auto;
        font-weight: 700;
        border-radius: 20px;
        padding: 0.4rem 1.2rem;
        font-size: 1.3rem;
        background-color: rgba(255, 255, 0, 0.929);
    }

.logo {
    display: inline;
}

    .logo > img {
        margin-right: 1rem;
        width: 6rem;
    }

.topleftbutton {
    text-align: left;
    color: white;
    text-decoration: none;
    margin-right: 1rem;
}

.shoptitle {
    margin-right: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color:white;
}

.popupwithnotborder {
    display: inline;
    border: none;
    box-shadow: none;
}

.require {
    color: red;
    font-size: xx-small;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.popup p {
    margin: 0 0 10px 0;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.blazored-modal {
    z-index: 1050;
}

.table {
    display: table;
    width: 100%;
}

    .table dt {
        display: table-cell;
        width: 30%;
        font-weight: bold;
    }

    .table dd {
        display: table-cell;
        width: 70%;
    }

        .table dt:last-of-type, .table dd:last-of-type {
            border-bottom: 1px solid #dee2e6;
        }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* 追加のスタイル */
.thinbottomline {
    border-bottom: 1px solid #dee2e6;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #3a0647;
    color: white;
    z-index: 1000;
}

/* 注文履歴画面用のスタイル */
.order-history-item {
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 0;
}

.order-history-item:last-child {
    border-bottom: none;
}

.order-status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.25rem;
    text-transform: uppercase;
}

.order-status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.order-status-confirmed {
    background-color: #d1ecf1;
    color: #0c5460;
}

.order-status-completed {
    background-color: #d4edda;
    color: #155724;
}

/* カート表示用のスタイル */
.cart-summary {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgb(5, 39, 103);
    color: white;
    padding: 1rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cart-summary.hidden {
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cart-total {
    font-size: 1.2rem;
    font-weight: 600;
}

.cart-button {
    background-color: rgba(255, 255, 0, 0.929);
    color: #000;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cart-button:hover {
    background-color: rgba(255, 255, 0, 1);
}

/* 注文確認画面用のスタイル */
.order-confirm-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.order-confirm-item:last-child {
    border-bottom: none;
}

.order-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1rem;
}

.order-item-details {
    flex: 1;
}

.order-item-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.order-item-options {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.order-item-price {
    font-weight: 600;
    color: #dc3545;
}

.order-item-remove {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.order-item-remove:hover {
    background-color: #f8f9fa;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .cart-summary {
        padding: 0.75rem;
    }
    
    .cart-total {
        font-size: 1rem;
    }
    
    .cart-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .order-confirm-item {
        padding: 0.75rem;
    }
    
    .order-item-image {
        width: 60px;
        height: 60px;
    }
}

/* 参加情報バナー用のスタイル */
.join-info-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.join-info-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.join-info-icon {
    font-size: 1.5rem;
}

.join-info-text {
    font-size: 1rem;
    font-weight: 500;
}

.join-time {
    opacity: 0.8;
    margin-left: 0.5rem;
}

.join-info-actions {
    display: flex;
    gap: 0.5rem;
}

.join-info-actions .btn {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .join-info-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .join-info-content {
        justify-content: center;
    }
    
    .join-info-actions {
        justify-content: center;
    }
}

/* 注文履歴画面用の追加スタイル */
.order-item-status {
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.order-item-status .oi {
    margin-right: 0.25rem;
}

.table {
    display: grid;
    grid-template-columns: 1fr;
}

    .table dt {
        padding: 24px 0;
        padding-bottom: 0;
        border-bottom: none;
        font-weight: 800 !important;
    }

    .table dd {
        margin: 0 !important;
        padding: 24px 0;
        border-bottom: 1px solid #346B89;
    }

        .table dt:last-of-type, .table dd:last-of-type {
            border-bottom: none;
        }

.smallfontforfooter{
    font-size: 14px !important;
}
