﻿.of_container {
    max-width: 768px;
    margin-left:auto;
    margin-right:auto
}

/* base.html */
.content {
    margin-left: 200px;
    margin-bottom: 60px;
    padding: 10px;
}

.sidebar {
    position: fixed;
    top: 0; /* Adjust this value based on the height of your navbar */
    bottom: 0;
    left: 0;
    width: 200px;
    padding-top: 20px;
    background-color: #343a40;
    color: white;
    display: flex;
    flex-direction: column;
}

.sidebar-spacer {
    flex: 1 1 auto;
}

.sidebar-auth {
    padding-bottom: 12px;
}
.sidebar a {
    color: white;
    padding: 10px 15px;
    display: block;
    text-decoration: none;
}
.sidebar a:hover {
    background-color: #495057;
}



.messages-overlay {
    position: fixed;
    top: 40px;
    right: 20px;
    z-index: 1900;
    width: auto;
    max-width: 300px;
}
.message {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    color: white;
}
.message-success {
    background-color: #28a745;
}
.message-error {
    background-color: #dc3545;
}

/* 繧ｹ繝槭・繧ｵ繧､繧ｺ・亥ｹ・68px莉･荳具ｼ峨〒繝翫ン繧ｲ繝ｼ繧ｷ繝ｧ繝ｳ繝舌・繧帝撼陦ｨ遉ｺ縺ｫ縺吶ｋ */
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
    .content {
        margin-left: 0;
        padding: 0;
        padding-bottom: calc(57px + env(safe-area-inset-bottom));
    }
    .timetable-page {
        padding-top: 42px;
        padding-bottom: calc(57px + env(safe-area-inset-bottom));
    }

    .mobile-footer {
        display: flex;
        min-height: 57px;
        padding-top: 0.25rem;
        padding-bottom: calc(0.25rem + env(safe-area-inset-bottom));
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.18);
        z-index: 2000;
    }

    .mobile-footer .d-flex {
        width: 100%;
    }

    .mobile-footer-link {
        color: #fff;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-width: 52px;
        font-size: 11px;
        line-height: 1.1;
        padding: 2px 4px;
    }

    .mobile-footer-link i {
        font-size: 20px;
        margin-bottom: 3px;
    }
}

@media (min-width: 769px) {
    .mobile-footer {
        display: none;
    }

    .content {
        margin-bottom: 0;
    }
    .timetable-page {
        padding-top: 0;
        padding-bottom: 0;
    }

}




.social-icon {
    width: 32px; /* 繧｢繧､繧ｳ繝ｳ縺ｮ蟷・*/
    height: 32px; /* 繧｢繧､繧ｳ繝ｳ縺ｮ鬮倥＆ */
    margin-right: 20px; /* 繝ｭ繧ｴ縺ｨ譁・ｭ励・髢馴囈繧貞ｺ・￡繧・*/
}

.btn-social-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0; /* 繝懊ち繝ｳ髢薙・繝槭・繧ｸ繝ｳ繧定ｿｽ蜉 */
    padding: 10px;
    background-color: #007bff; /* 繝懊ち繝ｳ縺ｮ閭梧勹繧帝搨縺上☆繧・*/
    color: #fff; /* 繝・く繧ｹ繝医・濶ｲ繧堤區縺ｫ縺吶ｋ */
    border: 1px solid #0056b3;
    border-radius: 5px;
    width: 280px;
    text-decoration: none; /* 繝・く繧ｹ繝医・陬・｣ｾ繧帝勁蜴ｻ */
    position: relative;
    white-space: nowrap; /* 繝・く繧ｹ繝医・謾ｹ陦後ｒ髦ｲ縺・*/
}

.btn-social-custom img {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.btn-social-custom span {
    flex: 1;
    text-align: center;
    margin-left: 40px; /* 譁・ｭ励→繧｢繧､繧ｳ繝ｳ縺ｮ髢馴囈繧定ｪｿ謨ｴ */
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.venue-logo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-right: 10px;
}

.venue-logo-placeholder {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    margin-right: 10px;
}

/* 繧ｹ繝槭・繧ｵ繧､繧ｺ縺ｧ譁・ｭ励ｒ蟾ｦ蟇・○縺ｫ縺吶ｋ */
@media (max-width: 768px) {

    .list-group-item {
        padding: 0.5rem 0.25rem;
    }

}

.time-table {
    position: relative;
    border: 1px solid #ccc;
    height: 1440px; /* 24 hours * 60 min */
    margin-bottom: 20px;
}

.time-table div {
    position: absolute;
    width: 100%;
    box-sizing: border-box;
}

.time-table .time-slot {
    border-top: 1px solid #ccc;
}

.time-table .half-hour-slot {
    border-top: 1px dashed #ccc;
}

.time-table .schedule-item {
    position: absolute;
    width: 100%;
    border: 1px solid #ccc;
    padding: 5px;
    box-sizing: border-box;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.time-table .schedule-item .schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.time-table .schedule-item .schedule-header .schedule-actions {
    display: flex;
    gap: 5px;
}

.time-table .schedule-item .schedule-performers {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.list-group-item {
    align-items: center;
}

/* Profile page */
.header-container {
    position: relative;
}

.header-preview {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 1;
    object-fit: cover;
    object-position: center;
    max-height: 200px;
    display: block;
}

.header-default-bg {
    width: 100%;
    min-height: 180px;
    background: linear-gradient(135deg, #b3e5fc 0%, #81d4fa 45%, #4fc3f7 100%);
}

.avatar-container {
    position: absolute;
    left: 5%;
    bottom: -30%;
    width: 25%;
    aspect-ratio: 1;
    transform: translateX(-10px);
}

.avatar-preview {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    display: block;
}

.avatar-default-bg {
    background: #fff;
}

.profile-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2000;
    padding: 1rem;
}

.profile-modal.show {
    display: flex;
}

.profile-modal-dialog {
    width: min(680px, 100%);
    max-height: 85vh;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.profile-modal-body {
    max-height: calc(85vh - 62px);
    overflow-y: auto;
}

.profile-sticky-name {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.profile-sticky-name-text {
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-sticky-tabs {
    position: sticky;
    top: var(--profile-sticky-name-height, 46px);
    z-index: 1029;
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.tab-navigation-container {
    position: relative;
}

.profile-sticky-tabs .nav-tabs {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.profile-sticky-tabs .nav-tabs::-webkit-scrollbar {
    display: none;
}

.profile-sticky-tabs .nav-item {
    flex: 0 0 auto;
    margin: 0;
}

#profileTab .nav-link {
    position: relative;
    color: #495057;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0.45rem 0.55rem;
    white-space: nowrap;
    font-size: 0.95rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}

#profileTab .nav-link:hover,
#profileTab .nav-link:focus {
    background: #f1f3f5;
    color: #212529;
}

#profileTab .nav-link.active {
    color: #0d6efd;
    background: #fff;
    font-weight: 600;
}

.profile-tab-indicator {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    border-radius: 999px;
    background: #0d6efd;
    transform: translateX(0);
    transition: transform 220ms ease, width 220ms ease;
    pointer-events: none;
}

#profileTabContent,
#profileTabContent .tab-pane {
    min-height: 58vh;
}

#profileTabContent.profile-tab-animating {
    position: relative;
    overflow: hidden;
}

#profileTabContent.profile-tab-animating .tab-pane {
    display: block !important;
    position: absolute;
    inset: 0;
    width: 100%;
    transition: transform 240ms ease, opacity 240ms ease;
    will-change: transform, opacity;
}

#profileTabContent.profile-tab-animating .tab-pane.profile-tab-current {
    z-index: 2;
}

#profileTabContent.profile-tab-animating .tab-pane.profile-tab-next {
    z-index: 3;
}

#profileTabContent.profile-tab-animating .tab-pane.profile-tab-slide-out-left {
    transform: translateX(-18%);
    opacity: 0;
}

#profileTabContent.profile-tab-animating .tab-pane.profile-tab-slide-out-right {
    transform: translateX(18%);
    opacity: 0;
}

#profileTabContent.profile-tab-animating .tab-pane.profile-tab-slide-in-left {
    transform: translateX(-18%);
    opacity: 0;
}

#profileTabContent.profile-tab-animating .tab-pane.profile-tab-slide-in-right {
    transform: translateX(18%);
    opacity: 0;
}

#profileTabContent.profile-tab-animating .tab-pane.profile-tab-slide-center {
    transform: translateX(0);
    opacity: 1;
}

.follow-summary {
    font-size: 0.85rem;
    line-height: 1.4;
}

.event-performer-list {
    font-size: 0.85rem;
    line-height: 1.4;
}

.event-follow-summary {
    font-size: 0.78rem;
    line-height: 1.35;
}

.event-row {
    padding: 0.75rem 0;
}

.event-row + .event-row {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.profile-event-row {
    padding: 0.5rem 0 0.75rem;
}

.profile-event-row + .profile-event-row {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.profile-event-row-past {
    background: rgba(0, 0, 0, 0.03);
}

.profile-event-divider {
    margin: 0.45rem 0 0.35rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.profile-event-title {
    font-size: 1.15rem;
    line-height: 1.25;
    font-weight: 700;
}

.profile-event-meta {
    font-size: 0.95rem;
    line-height: 1.35;
    margin-left: 0.7rem;
}

.profile-event-summary {
    font-size: 0.82rem;
    line-height: 1.35;
    margin-left: 0.7rem;
}

.profile-event-artist-list {
    font-size: 0.88rem;
    line-height: 1.35;
    margin-left: 0.7rem;
}

.profile-event-body {
    padding-left: 0.35rem;
}

.performer-pill {
    font-size: 0.78rem;
    border: 1px solid transparent;
    line-height: 1.2;
    padding: 0.35rem 0.5rem;
}

.performer-pill-normal {
    background: #eef1f5;
    color: #333;
    border-color: #e1e6eb;
}

.performer-pill-favorite {
    font-weight: 600;
}

.terms-card,
.terms-history-card {
    border-radius: 8px;
}

.terms-content .scroll-box {
    max-height: 420px;
    overflow-y: auto;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fafafa;
    border-radius: 8px;
}

.terms-content h4,
.terms-content h5,
.terms-content h6 {
    margin-top: 1rem;
}

.terms-content ul {
    padding-left: 1.25rem;
}

.terms-content li + li {
    margin-top: 0.4rem;
}

.terms-content p:last-child {
    margin-bottom: 0;
}

.favorite-color-red {
    --favorite-accent: #f4b7bc;
    --favorite-accent-text: #6b2d36;
}

.favorite-color-green {
    --favorite-accent: #c7e8cf;
    --favorite-accent-text: #2f5f43;
}

.favorite-color-blue {
    --favorite-accent: #c7dcf3;
    --favorite-accent-text: #35587a;
}

.favorite-color-yellow {
    --favorite-accent: #f7e7b5;
    --favorite-accent-text: #7a5a16;
}

.favorite-color-purple {
    --favorite-accent: #ded1f1;
    --favorite-accent-text: #5c467b;
}

.favorite-color-orange {
    --favorite-accent: #f8d2ad;
    --favorite-accent-text: #8a5a22;
}

.favorite-color-pink {
    --favorite-accent: #f7c8da;
    --favorite-accent-text: #7b405e;
}

.favorite-color-black {
    --favorite-accent: #d7ddea;
    --favorite-accent-text: #3f4957;
}

.favorite-color-white {
    --favorite-accent: #f7f8fb;
    --favorite-accent-text: #4a5561;
}

.favorite-color-gray {
    --favorite-accent: #dde4ec;
    --favorite-accent-text: #4a5568;
}

.favorite-list-star,
.favorite-label-star,
.favorite-swatch-icon {
    color: var(--favorite-accent) !important;
}

.favorite-list-star {
    font-size: 1.15rem;
    line-height: 1;
}

.favorite-color-swatch {
    width: 42px;
    height: 42px;
    border: 2px solid #d9dee7;
    border-radius: 14px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.favorite-color-swatch.is-selected {
    border-color: rgba(0, 0, 0, 0.65);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.favorite-color-swatch .favorite-swatch-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.favorite-filter-item[class*="favorite-color-"] .favorite-label-star {
    color: var(--favorite-accent) !important;
}

.performer-pill[class*="favorite-color-"] {
    background-color: var(--favorite-accent) !important;
    color: var(--favorite-accent-text) !important;
    border-color: var(--favorite-accent) !important;
}

.event-bookmark-action {
    width: 44px;
    min-height: 44px;
    line-height: 1.1;
    text-decoration: none !important;
    padding: 0;
}

.event-bookmark-action i {
    font-size: 1.35rem;
}

.follow-state-wrapper {
    max-width: 100%;
}

.follow-action-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1050;
    min-width: 240px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 0.35rem 0.5rem;
}

.follow-action-menu .follow-menu-action {
    white-space: normal;
    font-size: 0.92rem;
    color: #212529;
    text-decoration: none !important;
}

.follow-status-badge {
    font-size: inherit;
    font-weight: 500;
    line-height: 1.2;
    padding: 0.18rem 0.5rem;
    vertical-align: middle;
    border-radius: 999px;
}

.btn-link {
    font-size: 14px;
}

/* Monthly report */
.report-section {
    margin-bottom: 1rem;
    padding: 1rem 1rem 0.85rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.report-month-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.9rem;
}

.report-month-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0;
}

.report-date-list {
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
}

.report-date-block {
    padding: 0.45rem 0.15rem 0.6rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.report-date-block:last-child {
    border-bottom: 0;
    padding-bottom: 0.25rem;
}

.report-date-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2937;
}

.report-event-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.report-event-row {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    padding: 0.1rem 0 0.1rem 0.1rem;
}

.report-event-row::before {
    content: none;
}

.report-date-inline {
    flex: 0 0 auto;
    min-width: 6.4rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: #1f2937;
}

.report-date-spacer {
    flex: 0 0 auto;
    min-width: 6.4rem;
}

.report-event-name {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
    flex: 1 1 auto;
}

.report-section .event-link,
.report-section .performer-link {
    color: #0d6efd;
}

.report-performer-summary {
    margin-top: 0.9rem;
}

.report-subtitle {
    margin-bottom: 0.55rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #374151;
}

.report-performer-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.report-performer-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.38rem 0.7rem;
    border: 1px solid rgba(13, 110, 253, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    text-decoration: none;
}

.report-performer-name {
    font-weight: 600;
}

.report-performer-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.6rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.12);
    color: #0d6efd;
    font-size: 0.85rem;
    font-weight: 700;
}

.report-empty {
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
}

.of-report-style-01 { background: #f8fbff; border-color: #c9e4ff; }
.of-report-style-02 { background: #fffaf4; border-color: #ffe0b5; }
.of-report-style-03 { background: #f6fff9; border-color: #c9efd9; }
.of-report-style-04 { background: #fbf7ff; border-color: #d9c8ff; }
.of-report-style-05 { background: #f7faff; border-color: #d1ddff; }
.of-report-style-06 { background: #fff7fb; border-color: #f1c9e2; }
.of-report-style-07 { background: #f6fffe; border-color: #bfe9e4; }
.of-report-style-08 { background: #fffdf5; border-color: #f4e3ac; }
.of-report-style-09 { background: #f4faff; border-color: #b7ddf7; }
.of-report-style-10 { background: #fff8f5; border-color: #f1c0b4; }
.of-report-style-11 { background: #f9f7ff; border-color: #d7c9ff; }
.of-report-style-12 { background: #f5fbf8; border-color: #c8e7d8; }

.list-group-item i {
    font-size: 24px;
}

.list-group-item h5 {
    margin: 0;
}

.list-group-item p {
    margin: 0;
    color: #6c757d;
}

.navbar .nav-link {
    color: #fff;
}

/* 繧ｰ繝ｬ繝ｼ繧｢繧ｦ繝茨ｼ・桃菴應ｸ榊庄 */
.imported-row {
  background-color: #f5f5f5;
  opacity: 0.6;
}
.imported-row input,
.imported-row select,
.imported-row textarea,
.imported-row button {
  pointer-events: none;
  opacity: 0.6;
}

