
.sales-report-for-store-page,
.sales-report-for-therapist-page {
    width: 100%;
    max-width: 600px;
    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;
}

.sales-report-for-store-page, 
.sales-report-for-store-page * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.sales-report-for-therapist-page, 
.sales-report-for-therapist-page * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.csr-title {
    font-size: 24px;
    font-weight: 500;
    color: #E9528E;
    text-align: center;
    margin-top: 40px;
}

.sales-report-for-store-page-header,
.sales-report-for-therapist-page-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-direction: row;
    width: 100%;
    margin-top: 40px;
}

.sales-report-for-store-page-month-picker-container,
.sales-report-for-store-page-therapist-picker-container,
.sales-report-for-therapist-page-month-picker-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: auto;
    position: relative;
}

.sales-report-for-store-page-month-picker-container label,
.sales-report-for-store-page-therapist-picker-container label,
.sales-report-for-therapist-page-month-picker-container label {
    font-size: 16px;
    color: #535353;
}

.month-picker-for-store,
.therapist-picker,
.month-picker-for-therapist {
    width: 100%;
    background-color: #F5F5F5;
    border: none;
    border-radius: 1.5625rem;
    color: #535353;
    font-size: 14px;
    margin-bottom: 0;
    margin-top: 10px;
    padding: 13px;
}

.month-picker-for-store option,
.therapist-picker option,
.month-picker-for-therapist option {
    text-align: center;
}

.sales-report-for-store-page-month-picker-container::before,
.sales-report-for-store-page-therapist-picker-container::before,
.sales-report-for-therapist-page-month-picker-container::before {
    border-left: 1px solid #6F6F6F;
    border-top: 1px solid #6F6F6F;
    content: "";
    display: block;
    height: 7px;
    position: absolute;
    right: 20px;
    top: 68%;
    transform: translatey(-50%) rotate(-135deg);
    width: 7px;
}

#sales-report-content {
    margin-top: 40px;
    width: 100%;
}

.sales-report-for-store-page-sales-ledger-summary-title {
    font-size: 18px;
    background: #E9528E;
    color: #FFFFFF;
    text-align: center;
    width: 100%;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.sales-report-for-store-page-sales-ledger-summary {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid #E9528E;
    align-items: center;
    background: #fff;
    height: 100%;
    justify-content: center;
}

.sales-report-for-store-page-sales-ledger-summary-sales-info {
    display: grid;
    align-items: center;
    justify-content: center;
    gap: 5px;
    position: relative;
    min-width: 250px
}

.sales-report-for-store-page-sales-ledger-summary .total-sales {
    font-size: 45px;
    color: #E9528E;
}

.sales-report-for-store-page-sales-ledger-summary .total-sales-unit {
    font-size: 25px;
    color: #E9528E;
}

.sales-report-for-store-page-sales-ledger-summary .total-sales-message {
    font-size: 10px;
    color: #AAAAAC;
    bottom: 15px;
    right: 0px;
    position: absolute;
    white-space: nowrap;
    overflow: hidden;
}

.sales-report-for-store-page-sales-ledger-summary .total-reservations {
    font-size: 16px;
    color: #535353;
    justify-self: center;
    margin-top: -10px;
}


.sales-report-for-store-page-sales-ledger-summary-breakdown-content {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 35px;
    margin-bottom: 20px;
}

.sales-report-for-store-page-sales-ledger-summary-breakdown {
    position: relative;
    width: 100%;
    height: 60px;
    border: 1px solid #AAAAAC;
    border-radius: 8px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    background-color: #fff;
    padding-top: 10px;
    color: #535353;
}

.sales-report-for-store-page-sales-ledger-summary-breakdown::before {
    content: attr(data-label);
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 5px 0px;
    font-size: 12px;
    color: #7D40A0;
    font-weight: 500;
    border: 1px solid #AAAAAC;
    border-radius: 12px;
    width: 70px;
}

/* ------------------------------------------------------------------------------ */

.sales-report-for-store-page-section-title {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 16px;
    color: #535353;
    display: flex;
    gap: 10px;
    align-items: center;
}

.sales-report-for-store-page-section-title img {
    height: 20px;
    width: auto;
}

.sales-report-search-and-sort-section {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
}

.sales-report-search-input {
    font-size: 14px;
    padding: 13px;
    border: none;
    border-radius: 25px;
    background-color: #F5F5F5;
    width: 100%;
    color: #535353;
}

.sales-report-sort-section {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.sales-report-sort-radio-group {
    display: flex;
    flex-direction: column;
    width: 100px;
}

.sales-report-sort-radio-group input[type="radio"] {
    display: none;
}

.sales-report-sort-radio-group .radio-label {
    border: 1px solid #AAAAAC;
    background-color: #ffffff;
    padding: 5px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
    color: #AAAAAC;
    display: inline-block;
    text-align: center;
}

.sales-report-sort-radio-group input[type="radio"]:checked + .radio-label {
    background-color: #7D40A0;
    color: #ffffff;
}

.sales-report-for-store-statement-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.csr-no-records-message {
    color: #AAAAAC;
    font-size: 16px;
    text-align: center;
    padding-top: 20px;
}

.sales-report-for-store-settle-with-therapist-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

select.sales-report-for-store-settle-with-therapist {
    padding: 6px 10px;
    border-radius: 100px;
    font-size: 12px;
    border: none;
    background-color: #F5F5F5;
    color: #535353;
    background-size: 14px 10px;
    cursor: pointer;
    width: 100px;
}

.sales-report-for-store-settle-with-therapist option {
    text-align: center;
}

.sales-report-for-store-settle-with-therapist-wrapper::before {
    border-left: 1px solid #6F6F6F;
    border-top: 1px solid #6F6F6F;
    content: "";
    display: block;
    height: 5px;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translatey(-50%) rotate(-135deg);
    width: 5px;
}

.sales-report-for-store-statement-card {
    border: 1px solid #AAAAAC;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 300px;
    max-width: 600px;
    width: 100%;
}

.csr-statement-card-toggle-content.accordion-toggle {
    padding: 10px;
}

.csr-statement-card-toggle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #535353;
    margin-bottom: 10px;
    border-bottom: 1px solid #AAAAAC;
    padding-bottom: 10px;
}

.csr-reservation-card-reservation-id-and-category {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.csr-statement-card-reservation-id {
    color: #E9528E;
    font-size: 16px;
}

.csr-reservation-card-reservation-category {
    font-size: 16px;
    color: #E9528E;
}

.csr-statement-card-reservation-date {
    font-size: 14px;
    color: #535353;
}

.csr-statement-card-toggle-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.csr-statement-card-user-info{
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.csr-statement-card-user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.csr-statement-card-user-name {
    font-size: 16px;
    color: #535353;
    white-space: nowrap;
    overflow: hidden;
}

.csr-statement-card-accordion-message-wrapper {
    position: relative;
    width: 120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.csr-statement-card-accordion-message {
    font-size: 14px;
    color: #535353;
    text-align: center;
}

.csr-statement-card-accordion-message-wrapper::before {
    border-left: 1px solid #535353;
    border-top: 1px solid #535353;
    content: "";
    display: block;
    height: 7px;
    position: absolute;
    left: 5px;
    top: 47%;
    transform: translatey(-50%) rotate(-135deg);
    width: 7px;
}

.csr-statement-card-accordion-content.accordion-content {
    padding: 10px;
    background: #F5F5F5;
    margin-top: 10px;
}

.csr-statement-card-sales-total-wrapper {
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
    margin-top: 10px;
}
  
.csr-sales-total-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
  
.csr-sales-total-label {
    font-size: 14px;
    color: #7D40A0;
}
  
.csr-sales-total-amount {
    font-size: 16px;
    color: #535353;
}
  
.csr-sales-payment-breakdown {
    display: flex;
    gap: 10px;
}
  
.csr-sales-payment-item {
    flex: 1;
    background: #F7F7F7;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}

.csr-sales-payment-label {
    font-size: 12px;
    color: #AAAAAC;
    margin-bottom: 5px;
}

.csr-sales-payment-value {
    font-size: 14px;
    color: #535353;
}

.csr-sales-payment-method {
    font-size: 14px;
    color: #535353;
}

.csr-statement-card-therapist-meta-back-rate-wrapper {
    display: flex;
    gap: 10px;
    flex-direction: row;
    width: 100%;
    margin-top: 10px;
}
  
.csr-statement-card-therapist-meta-back-rate-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    border-radius: 10px;
    width: 100%;
}
  
.csr-statement-card-therapist-meta-back-rate-label {
    font-size: 12px;
    color: #7D40A0;
    margin-bottom: 10px;
    margin-top: 10px;
}
  
.csr-statement-card-therapist-meta-back-rate-value {
    color: #535353;
    font-size: 14px;
    margin-bottom: 10px;
}

.csr-statement-card-therapist-meta-back-message {
    color: #535353;
    font-size: 14px;
    text-align: center;
    margin-top: 20px;
}

.csr-statement-card-sales-breakdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
}

.csr-sales-breakdown-row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0px;
    border-bottom: 1px solid #E1E1E1;
}

.csr-sales-breakdown-label-header {
    flex: 1;
    font-size: 14px;
    color: #535353;
    white-space: nowrap;
    overflow: hidden;
}

.csr-sales-breakdown-rate-header {
    width: 70px;
    text-align: right;
    font-size: 14px;
    color: #7D40A0;
    display: flex;
    align-items: center;
    gap: 3px;
}

.csr-sales-breakdown-amount-header {
    width: 70px;
    text-align: right;
    font-size: 14px;
    color: #535353;
}

.csr-sales-breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0px;
    border-bottom: 1px solid #E1E1E1;
}
  
.csr-sales-breakdown-row:last-child {
    border-bottom: none;
}

.csr-sales-breakdown-label {
    flex: 1;
    font-size: 14px;
    color: #535353;
    white-space: nowrap;
    overflow: hidden;
}

.csr-sales-breakdown-rate {
    width: 70px;
    text-align: right;
    font-size: 14px;
    color: #7D40A0;
    display: flex;
    align-items: center;
    gap: 3px;
}

.csr-back-rate-input {
    text-align: center;
    font-size: 14px;
    color: #7D40A0;
    border: solid 1px #7D40A0;
    border-radius: 50px;
    width: 50px;
}

.csr-back-rate-input.readonly {
    border: none;
}

.csr-sales-breakdown-amount {
    width: 70px;
    text-align: right;
    font-size: 14px;
    color: #535353;
}

.csr-sales-breakdown-back-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0px;
}

.csr-sales-back-total-label {
    flex: 1;
    font-size: 14px;
    color: #535353;
    white-space: nowrap;
    overflow: hidden;
}

.csr-sales-back-total-amount {
    width: 70px;
    text-align: right;
    font-size: 14px;
    color: #535353;
}

.csr-sales-back-total-amount-for-store {
    width: 70px;
    text-align: right;
    font-size: 14px;
    color: #535353;
}

.csr-sales-save-button-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.csr-sales-save-button {
    border: solid 1px #7D40A0;
    color: #7D40A0;
    width: 100px;
    height: 30px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.csr-card-pdf-button-wrapper {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.csr-card-reservation-detail-button {
    color: #9E6CBB;
    background: #fff;
    border: solid 1px #9E6CBB;
    width: 100px;
    height: 30px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.csr-card-pdf-button {
    color: #9E6CBB;
    background: #fff;
    border: solid 1px #9E6CBB;
    width: 100px;
    height: 30px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.csr-statement-status-message {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #E9528E;
    font-size: 14px;
    gap: 5px;
    justify-content: flex-end;
}

.csr-dot-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
  }
  
.csr-dot-loader div {
    width: 4px;
    height: 4px;
    background-color: #E9528E;
    border-radius: 50%;
    animation: wave 1.2s infinite ease-in-out;
}

.csr-dot-loader div:nth-child(1) {
    animation-delay: -0.4s;
}

.csr-dot-loader div:nth-child(2) {
    animation-delay: -0.2s;
}

.csr-dot-loader div:nth-child(3) {
    animation-delay: 0s;
}

@keyframes wave {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.5);
    }
}

.csr-reservation-card-reservation-status-and-reservation-route {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.csr-statement-card-reservation-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    border-radius: 10px;
    width: 100%;
    font-size: 14px;
    color: #535353;
    padding-bottom: 10px;
}

.csr-statement-card-reservation-status-label {
    font-size: 14px;
    color: #7D40A0;
    margin-bottom: 10px;
    margin-top: 10px;
}

.csr-statement-card-reservation-reservation-route {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    border-radius: 10px;
    width: 100%;
    font-size: 14px;
    color: #535353;
    padding-bottom: 10px;
}

.csr-statement-card-reservation-reservation-route-label {
    font-size: 14px;
    color: #7D40A0;
    margin-bottom: 10px;
    margin-top: 10px;
}