/* 予約管理画面 */

.custom-store-reservation-management-container {
    background: #fff;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;  
    min-height: 100dvh;
}

.custom-store-reservation-management-container,
.custom-store-reservation-management-container * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.custom-store-reservation-management-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    background-color: #fff;
    display: flex;
    align-items: center;
    z-index: 10;
    width: 100%;
    flex-direction: column;
    height: 93px;
    z-index: 100;
}

.csrm-date-navigation {
    display: flex;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

#csrm-prev-day,
#csrm-next-day {
    position: relative;
    margin: 0 10px;
    height: 29px;
    border: solid 1px #7D40A0;
    width: 30px;
    border-radius: 5px;
}

#csrm-prev-day::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    left: 55%;
    width: 7px;
    height: 7px;
    border-bottom: 1px solid #7D40A0;
    border-left: 1px solid #7D40A0;
    transform: translate(-50%, -50%) rotate(45deg);
}

#csrm-next-day::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    left: 55%;
    width: 7px;
    height: 7px;
    border-bottom: 1px solid #7D40A0;
    border-left: 1px solid #7D40A0;
    transform: translate(-50%, -50%) rotate(-135deg);
}

#formatted-date-display-for-store {
    width: 150px;
    padding: 5px;
    text-align: center;
    border: 1px solid #7D40A0;
    border-radius: 4px;
    font-size: 0.825rem;
    color: #535353;
}


#csrm-therapist-search-input {
    font-size: 0.825rem;
    padding: 5px;
    border: none;
    border-radius: 25px;
    background-color: #F5F5F5;
    width: 100%;
    color: #535353;
    width: 170px;
}

#csrm-user-search-input {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
}

.csrm-reservation-status-navigation {
    position: fixed;
    top: 153px;
    right: 0;
    display: flex;
    flex-direction: column;
    z-index: 20;
    gap: 20px;
}

.csrm-status-button {
    height: 90px;
    width: 40px;
    font-size: 0.75rem;
    background: #fff;
    color: #7D40A0;
    text-align: center;
    border: solid 1px #7D40A0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    position: relative;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.csrm-count-badge {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    position: absolute;
    top: -10px;
    left: -13px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

#pending-reservations-count {
    background-color: #FFA000;
}

#confirmed-reservations-count {
    background-color: #1976D2;
}

.custom-store-reservation-management-board {
    margin-top: 93px;
}


.csrm-body {
    display: flex;
}

.csrm-timeslot-table-container {
    overflow-x: auto;
    overflow-y: hidden;
    max-height: 100%;
    position: relative;
    flex: 1;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.csrm-timeslot-table-container.dragging {
    cursor: grabbing;
}

.csrm-timeslot-table-container::-webkit-scrollbar {
    display: none;
}

.csrm-timeslot-table {
    border-collapse: collapse;
    width: max-content;
    table-layout: fixed;
    min-width: 100%;
}

.csrm-timeslot-table th {
    background-color: #F5F5F5;
    color: #535353;
    font-size: 0.825rem;
    height: 40px;
    width: 80px;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    text-align: left;
    overflow: hidden;
    padding-left: 5px;
    box-sizing: border-box;
}

.csrm-timeslot-table td {
    border: 1px solid #ddd;
    width: 80px;
    position: relative;
    overflow: hidden;
    height: 70px;
    text-align: center;
    box-sizing: border-box;
}

.csrm-timeslot-table td:nth-child(odd) {
    border-right: 1px dotted #ddd;
}

.csrm-timeslot-table td:nth-child(even) {
    border-left: 1px dotted #ddd;
}

.csrm-timeslot-table th:nth-child(even) {
    color: transparent;
    border-left: none;
}

.csrm-timeslot-table th:nth-child(odd) {
    border-right: none;
}

.csrm-timeslot-table tbody tr {
    position: relative !important;
}

.csrm-therapist-table-container {
    flex: 0 0 150px;
    height: 100%;
    position: relative;
    margin-right: 0px;
    overflow: auto;
    border-right: 1px solid #ddd;
}

.csrm-therapist-table-container::-webkit-scrollbar {
    display: none;
}

.csrm-therapist-table-container {
    scrollbar-width: none;
}

.csrm-therapist-table {
    border-collapse: collapse;
    width: 100%;
}

.csrm-therapist-table th {
    background-color: #F5F5F5;
    border-top: 1px solid #ddd;
    color: #535353;
    font-size: 0.825rem;
    text-align: center;
    height: 39px;
    box-sizing: border-box;
}

.csrm-therapist-table td {
    background-color: #fff;
    border-top: 1px solid #ddd;
    color: #535353;
    font-size: 0.825rem;
    text-align: center;
    height: 70px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-sizing: border-box;
}

.csrm-therapist-table tr:last-child td {
    border-bottom: 1px solid #ddd;
}

.csrm-therapist-name {
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    width: 108px;
}

.csrm-reservation-block.pending {
    background-color: #FFA000;
}

.csrm-reservation-block.confirmed {
    background-color: #1976D2;
}

.csrm-reservation-block.store_confirmed {
    background-color: #4CAF50;
}

.csrm-current-time-line {
    position: absolute;
    width: 1px;
    background-color: #E9528E;
    top: 40px;
    bottom: 0;
    z-index: 10;
}

.csrm-current-time-line-icon {
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    color: #E9528E;
    font-size: 0.875rem;
    line-height: 1;
    pointer-events: none;
}

.csrm-reservation-block {
    cursor: pointer;
}

.csrm-body {
    display: flex;
}

.csrm-reservation-block {
    position: absolute;
    top: 0;
}

#custom-store-reservation-management-therapist-reservation-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: #E9528E;
    font-size: 0.875rem;
    border: solid 1px #E9528E;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    margin-left: 5px;
}

#custom-store-reservation-management-therapist-reservation-button img {
    height: 15px;
    width: auto;
}

.custom-store-reservation-management-search-and-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    justify-content: flex-start;
}

.custom-store-reservation-management-radio-group {
    display: flex;
    flex-direction: column;
    width: 120px;
}

.custom-store-reservation-management-radio-group.cancelled {
    width: 190px;
}

.custom-store-reservation-management-radio-group input[type="radio"] {
    display: none;
}

.custom-store-reservation-management-radio-group .radio-label {
    border: 1px solid #AAAAAC;
    background-color: #ffffff;
    padding: 5px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.825rem;
    transition: all 0.2s ease;
    color: #AAAAAC;
    display: inline-block;
    text-align: center;
}


.custom-store-reservation-management-radio-group input[type="radio"]:checked + .radio-label {
    background-color: #7D40A0;
    color: #ffffff;
}


/* ------------------------------------------------------------------------------------------------------------------ */
/* 予約詳細モーダル */

#custom-store-reservation-management-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#custom-store-reservation-management-modal, 
#custom-store-reservation-management-modal * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.custom-store-reservation-management-modal-content {
    width: 100%;
    max-width: 600px;
    height: 100dvh;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    font-weight: 500;
    background: #fff;
}

.csrm-reservation-details-content {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.csrm-reservation-details-content::-webkit-scrollbar {
    display: none;
}

.csrm-reservation-details-content-top {
    background: #fff;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 40px;
}


.csrm-reservation-details-content-bottom {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 40px;
    background: #F5F5F5;
    margin-top: -108px;
    padding-top: 108px;
}

.csrm-status-message {
    color: #535353;
    font-size: 0.875rem;
    margin-top: 10px;
}

.csrm-user-info-wrapper {
    padding-right: 20px;
    padding-left: 20px;
}

.csrm-user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    border: solid 1px #AAAAAC;
    background: #fff;
    border-radius: 10px;
    margin-top: 40px;
    padding: 20px;
    height: 216px;
    position: relative;
}

.csrm-therapist-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    border: solid 1px #AAAAAC;
    background: #fff;
    border-radius: 10px;
    margin-top: 40px;
    padding: 20px;
    position: relative;
}

.csrm-user-img-and-name {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 10px;
    padding-bottom: 20px;
    border-bottom: solid 1px #AAAAAC;
    margin-bottom: 20px;
}

.csrm-user-img-and-name img {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    object-fit: cover;

}

.csrm-user-name {
    font-size: 1rem;
    color: #535353;
}

.csrm-reservation-details-page-external-user-name-and-phone {
    color: #535353;
}

.csrm-reservation-details-page-user-name {
    font-size: 1rem;
}

.csrm-reservation-details-page-external-user-phone {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.csrm-reservation-details-page-external-user-phone img {
    width: 25px;
    height: auto;
}

.csrm-reservation-details-page-user-phone-number {
    font-size: 0.875rem;
}

.csrm-user-btn-content {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
}


.csrm-user-info-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.875rem;
    color: #7D40A0;
    width: 70px;
}

.csrm-user-info-button img {    
    height: 30px;
    width: auto;
}

.csrm-therapist-info-button,
.csrm-talk-to-therapist-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.875rem;
    color: #7D40A0;
    width: 100px;
}

.csrm-therapist-info-button img,
.csrm-talk-to-therapist-button img {    
    height: 30px;
    width: auto;
}

.csrm-sharing-matter-info {
    margin-bottom: 20px;
    border-radius: 10px;
    padding: 10px;
    width: 100%;
    background: #F5F5F5;
    display: none;
}

.csrm-sharing-matter-title {
    font-size: 0.875rem;
    color: #7D40A0;
}

.csrm-sharing-matter {
    box-sizing: border-box;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow: hidden;
    font-size: 0.875rem;
    color: #535353;
}

.csrm-datetime-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    gap: 20px;
    align-items: stretch;
}

.csrm-start-datetime-info,
.csrm-end-datetime-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.875rem;
    border-radius: 10px;
    padding: 10px 10px;
    background: #fff;
    width: 100%;
}

.csrm-start-datetime-info-title,
.csrm-end-datetime-info-title {
    background: #7D40A0;
    color: #fff;
    font-size: 1rem;
    width: 90%;
    max-width: 155px;
    height: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.csrm-start-datetime,
.csrm-end-datetime {
    font-size: 1rem;
    color: #535353;
    text-align: center;
}

.csrm-reservation-details-datetime-change-button {
    font-size: 0.875rem;
    color: #E9528D;
    background: #fff;
    width: 70px;
    height: 30px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: solid 1px #E9528E;
    border-radius: 25px;
    margin-top: 5px;
    display: none;
}

.csrm-reservation-details-datetime-change-button img  {
    height: 20px;
    width: auto;
    margin-top: 2px;
}

.csrm-meeting-place-info,
.csrm-outfit-description-info,
.csrm-schedule-adjusted-info,
.csrm-question-info {
    border-radius: 10px;
    padding: 10px;
    background: #fff;
    width: 100%;
    margin-top: 20px;
}

.csrm-meeting-place-title,
.csrm-outfit-description-title,
.csrm-schedule-adjusted-title,
.csrm-question-title {
    font-size: 1rem;
    color: #7D40A0;
}

.csrm-question,
.csrm-outfit-description,
.csrm-meeting-place,
.csrm-schedule-adjusted {
    box-sizing: border-box;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow: hidden;
    font-size: 1rem;
    color: #535353;
}

.csrm-receipt {
    padding: 10px;
    border-radius: 10px;
    background-color: #fff;
    margin-top: 20px;
    color: #535353;
}

.csrm-receipt-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.csrm-receipt-item-title {
    width: 50%;
    text-align: left;
    font-size: 1rem;
    color: #7D40A0;
    white-space: nowrap;
    overflow: hidden;
}

.csrm-receipt-item-price-and-reason {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.csrm-receipt-item-price {
    color: #535353;
    text-align: right;
    font-size: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.csrm-receipt-item-reason {
    font-size: 0.875rem;
    color: #535353;
}

.csrm-receipt-total {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid #E1E1E1;
}

.csrm-receipt-total-title-with-btn {
    display: flex;
    flex-direction: column;
    width: 30%;
}

.csrm-receipt-total-title {
    font-size: 1rem;
    color: #7D40A0;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
}

.csrm-receipt-total-price-and-explanation {
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.csrm-receipt-total-price {
    color: #E9528E;
    text-align: right;
    font-size: 1.5rem;
}

.csrm-receipt-total-explanation {    
    font-size: 0.875rem;
    color: #535353;
    text-align: left;
}

.csrm-receipt-payment-method {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid #E1E1E1;
}

.csrm-receipt-payment-method-title {
    font-size: 1rem;
    color: #7D40A0;
    text-align: left;
    width: 30%;
    white-space: nowrap;
    overflow: hidden;
}

.csrm-receipt-payment-method-detail-with-btn {
    display: flex;
    flex-direction: column;
    width: 70%;
    align-items: flex-end;
}

.csrm-receipt-payment-method-detail {
    color: #535353;
    text-align: right;
    font-size: 1rem;
}

.csrm-course-change-button img,
.csrm-transport-change-button img,
.csrm-designation-change-button img,
.csrm-option-change-button img,
.csrm-add-price-change-button img,
.csrm-payment-method-change-button img,
.csrm-add-price-after-start-change-button img,
.csrm-payment-method-after-start-change-button img {
    height: 20px;
    width: auto;
    display: none;
}

.csrm-add-course-footer {
    position: relative;
    height: 40px;
    display: none;
}

.csrm-add-course-footer::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    border-top: 1px dashed #CCCCCC;
    transform: translateY(-50%);
    z-index: 0;
}

.csrm-add-course-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    color: #E9528E;
    font-size: 0.875rem;
    border: solid 1px #E9528E;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    flex-direction: row;
    width: 120px;
    height: 30px;
    gap: 5px;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.csrm-add-course-button img {
    height: 15px;
    width: auto;
}

.csrm-add-price-footer {
    position: relative;
    height: 40px;
    display: none;
}

.csrm-add-price-footer::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    border-top: 1px dashed #CCCCCC;
    transform: translateY(-50%);
    z-index: 0;
}

.csrm-add-price-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    color: #E9528E;
    font-size: 0.875rem;
    border: solid 1px #E9528E;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    flex-direction: row;
    width: 120px;
    height: 30px;
    gap: 5px;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.csrm-add-price-button img {
    height: 15px;
    width: auto;
}

.csrm-add-price-after-start-footer {
    position: relative;
    height: 40px;
    display: none;
}

.csrm-add-price-after-start-footer::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    border-top: 1px dashed #CCCCCC;
    transform: translateY(-50%);
    z-index: 0;
}

.csrm-add-price-after-start-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    color: #E9528E;
    font-size: 0.875rem;
    border: solid 1px #E9528E;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    flex-direction: row;
    width: 120px;
    height: 30px;
    gap: 5px;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.csrm-add-price-after-start-button img {
    height: 15px;
    width: auto;
}

.csrm-reservation-details-irregular-btn-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.csrm-reservation-details-cancelled-button {
    width: 200px;
    font-size: 1rem;
    background: #AAAAAC;
    color: #fff;
    height: 40px;
    border-radius: 40px;
    display: none;
}

.csrm-reservation-details-pending-button {
    width: 200px;
    font-size: 1rem;
    background: #FFA000;
    color: #fff;
    height: 40px;
    border-radius: 40px;
    margin-top: 20px;
    display: none;
}

.csrm-reservation-details-confirm-button {
    width: 200px;
    font-size: 1rem;
    background: #1976D2;
    color: #fff;
    height: 40px;
    border-radius: 40px;
    margin-top: 20px;
    display: none;
}

.csrm-reservation-details-btn-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

.csrm-reservation-details-back-button {
    width: 150px;
    height: 40px;
    background-color: #AAAAAC;
    border: none;
    border-radius: 40px;
    color: #fff;
    font-size: 0.875rem;
    cursor: pointer;
    position: relative;
}

.csrm-reservation-details-status-update-button {
    width: 150px;
    height: 40px;
    background-color: #E9528E;
    border: none;
    border-radius: 40px;
    color: #fff;
    font-size: 0.875rem;
    cursor: pointer;
    position: relative;
    display: none;
}



/* ------------------------------------------------------------------------------------------------------------------ */
/* 各ステータス予約一覧画面 */


.store-pending-reservations-page,
.store-confirmed-reservations-page,
.store-cancelled-reservations-page,
.store-store-confirmed-reservations-page {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    background: #fff;
}

.store-pending-reservations-page, 
.store-pending-reservations-page *,
.store-confirmed-reservations-page, 
.store-confirmed-reservations-page *,
.store-cancelled-reservations-page, 
.store-cancelled-reservations-page *,
.store-store-confirmed-reservations-page, 
.store-store-confirmed-reservations-page * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.store-pending-reservations-page-content,
.store-confirmed-reservations-page-content,
.store-cancelled-reservations-page-content,
.store-store-confirmed-reservations-page-content {
    height: 100%;
    overflow-y: auto;
}

.store-reservations-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 10;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
}

@media screen and (min-width: 1024px) {
    
    .store-reservations-page-header {
        left: unset;
        right: 13.0208333333%;
        width: min(100%, 26.875rem);
    }
        
}

.store-reservations-page-header-btn {
    width: 50px;
    font-size: 0.875rem;
    color: #535353;
    cursor: pointer;
    border: none;
}

.store-pending-reservations-table-content,
.store-confirmed-reservations-table-content,
.store-cancelled-reservations-table-content {
    flex: 1;
    overflow-y: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.store-store-confirmed-reservations-table-content {
    flex: 1;
    overflow-y: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.csrm-no-reservations{
    text-align: center;
    font-size: 1rem;
    color: #AAAAAC;
    margin: 40px 0;
}

.csrm-no-upcoming-reservations,
.csrm-no-past-reservations {
    text-align: center;
    font-size: 1rem;
    color: #AAAAAC;
}

.csrm-store-reservation-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.csrm-reservation-card {
    border-radius: 16px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 300px;
    max-width: 500px;
    width: 100%;
    border-top: 1px solid #AAAAAC;
    border-right: 1px solid #AAAAAC;
    border-bottom: 1px solid #AAAAAC;
    margin-bottom: 20px;
}

.csrm-pending-reservation-card {
    border-left: 8px solid #FFA000;
}

.csrm-confirmed-reservation-card {
    border-left: 8px solid #1976D2;
}

.csrm-store-confirmed-reservation-card {
    border-left: 8px solid #4CAF50;
}

.csrm-cancelled-reservation-card {
    border-left: 8px solid #AAAAAC;
}

.csrm-reservation-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #535353;
    margin-bottom: 10px;
    border-bottom: 1px solid #AAAAAC;
    padding-bottom: 10px;
}

.csrm-reservation-card-reservation-id {
    color: #E9528E;
    font-size: 1.125rem;
}

.csrm-reservation-card-header-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.csrm-reservation-card-reservation-date {
    font-size: 1rem;
    color: #535353;
}

.csrm-reservation-card-reservation-route {
    font-size: 0.75rem;
    color: #535353;
}

.csrm-reservation-card-cancelled-reason {
    font-size: 0.75rem;
    color: #E9528E;
}

.csrm-reservation-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.csrm-reservation-card-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.csrm-reservation-card-user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.csrm-reservation-card-user-name {
    font-size: 1rem;
    color: #535353;
    white-space: nowrap;
    overflow: hidden;
}

.csrm-reservation-upcoming-label,
.csrm-reservation-history-label {
    display: inline-block;
    font-size: 1rem;
    color: #7D40A0;
    text-align: center;
    border-bottom: solid 1px #7D40A0;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* ------------------------------------------------------------------------------------------------------------------ */
/* リスケジュールモーダル */

.reservation-reschedule-for-store-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1010;
}

.reservation-reschedule-for-store-modal, 
.reservation-reschedule-for-store-modal * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.reservation-reschedule-for-store-content {
    background: #fff;
    width: 100%;
    max-width: 600px;
    height: 100dvh;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
}


.csrm-reservation-details-datetime-change-button {
    font-size: 0.875rem;
    color: #E9528D;
    background: #fff;
    width: 70px;
    height: 30px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: solid 1px #E9528E;
    border-radius: 25px;
    margin-top: 5px;
    display: none;
}

.csrm-reservation-details-datetime-change-button img  {
    height: 20px;
    width: auto;
    margin-top: 2px;
}

.csrm-reservation-details-back-reschedule-button {
    width: 150px;
    height: 40px;
    background-color: #AAAAAC;
    border: none;
    border-radius: 40px;
    color: #fff;
    font-size: 0.875rem;
    cursor: pointer;
    position: relative;
}

.csrm-reservation-details-reschedule-button {
    width: 150px;
    height: 40px;
    background-color: #E9528E;
    border: none;
    border-radius: 40px;
    color: #fff;
    font-size: 0.875rem;
    cursor: pointer;
    position: relative;
}