/* ------------------------------------------------------------------------------------------------------------------ */
/* 全ページ共通 */
.csim-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;
    background: #fff;
    font-weight: 500;
}

.csim-page-content {
    height: 100%;
    overflow-y: auto;
    padding-bottom: 40px;
}

.csim-page-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #E9528E;
    text-align: center;
    margin-top: 40px;
}

.csim-section {
    margin-top: 40px;
    width: 100%;
}

.csim-section label {
    font-size: 1rem;
    color: #535353;
    display: inline-block;
}

.csim-save-button {
    font-size: 0.875rem;
    background: #E9528E;
    color: #fff;
    border-radius: 100px;
    width: 120px;
    height: 30px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    margin-top: 10px;
    margin-left: auto;
    margin-right: 0;
    display: block;
    position: relative;
}

.csim-note {
    font-size: 0.875rem;
    color: #535353;
    text-align: center;
    margin-top: 40px;
}

.csim-table-note {
    font-size: 0.75rem;
    color: #AAAAAC;
    text-align: center;
    margin-top: 10px;
}

.csim-table-sort-note {
    display: flex;
    align-items: center;
    flex-direction: row;
    text-align: center;
    justify-content: center;
}

.csim-table-note-icon {
    width: 12px;
    height: auto;
}

/* ------------------------------------------------------------------------------------------------------------------ */
/*  支払い方法 */

#payment_info_report {
    font-size: 0.875rem;
    padding: 13px;
    border: none;
    border-radius: 25px;
    background-color: #F5F5F5;
    width: 100%;
    color: #535353;
    margin-top: 10px;
}

/* ------------------------------------------------------------------------------------------------------------------ */
/* 現金以外 */

.csim-credit-card-tags {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.csim-credit-card-tag {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.875rem;
    min-width: 90px;
    text-align: center;
    transition: all 0.2s ease;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.csim-credit-card-tag img {
    width: 40px;
    height: auto;
    margin-bottom: 5px;
}

.csim-credit-card-tag.selected {
    background-color: #9E6CBB;
    color: white;
    border-color: #9E6CBB;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* ------------------------------------------------------------------------------------------------------------------ */
/*  コース */


/* ハンドル列 */
.csim-courses-table th:nth-child(1),
.csim-courses-table td:nth-child(1) {
    width: 10%;
}

/* コース列 */
.csim-courses-table th:nth-child(2),
.csim-courses-table td:nth-child(2) {
    width: 40%;
}

/* 時間列 */
.csim-courses-table th:nth-child(3),
.csim-courses-table td:nth-child(3) {
    width: 25%;
}

/* 料金列 */
.csim-courses-table th:nth-child(4),
.csim-courses-table td:nth-child(4) {
    width: 25%;
}

.csim-courses-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    border-radius: 12px;
    overflow: hidden;
}

.csim-courses-table,
.csim-courses-table * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.csim-courses-table th {
    background-color: #9E6CBB;
    font-weight: 500;
    font-size: 0.875rem;
    color: #fff;
    text-align: left;
    padding: 10px 5px;
    border: 1px solid #AAAAAC;
}

.csim-courses-table td {
    padding: 10px 5px;
    text-align: left;
    font-size: 0.875rem;
    color: #535353;
    background-color: #fafafa;
    border: 1px solid #AAAAAC;
}

.csim-courses-table tr.csim-keep-space { 
    visibility: hidden; 
}

.csim-row-chosen { 
    background: #F3E7FD; 
}

.csim-row-ghost { 
    opacity: .6; 
}

.csim-courses-table td.csim-drag-handle {
    text-align: center;
    cursor: grab;
    user-select: none;
    padding: 0;
    color: #9E6CBB;
}

.csim-courses-table td.csim-drag-handle:active {
    cursor: grabbing;
}

.csim-courses-table td[colspan="5"] {
    text-align: center;
    font-size: 0.875rem;
    color: #535353;
}



/* ------------------------------------------------------------------------------------------------------------------ */
/* オプションテーブル */

/* ハンドル列 */
.csim-options-table th:nth-child(1),
.csim-options-table td:nth-child(1) {
    width: 10%;
}

.csim-options-table th:nth-child(2),
.csim-options-table td:nth-child(2) {
    width: 65%;
}

.csim-options-table th:nth-child(3),
.csim-options-table td:nth-child(3) {
    width: 25%;
}

.csim-options-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    border-radius: 12px;
    overflow: hidden;
}

.csim-options-table,
.csim-options-table * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.csim-options-table th {
    background-color: #9E6CBB;
    font-weight: 500;
    font-size: 0.875rem;
    color: #fff;
    text-align: left;
    padding: 10px 5px;
    border: 1px solid #AAAAAC;
}

.csim-options-table td {
    padding: 10px 5px;
    text-align: left;
    font-size: 0.875rem;
    color: #535353;
    background-color: #fafafa;
    border: 1px solid #AAAAAC;
}

.csim-options-table td.csim-drag-handle {
    text-align: center;
    cursor: grab;
    user-select: none;
    padding: 0;
    color: #9E6CBB;
}

.csim-options-table td.csim-drag-handle:active {
    cursor: grabbing;
}

.csim-options-table td[colspan="4"] {
    text-align: center;
    font-size: 0.875rem;
    color: #535353;
}



/* ------------------------------------------------------------------------------------------------------------------ */
/* 指名料テーブル */

/* ハンドル列 */
.csim-designations-table th:nth-child(1),
.csim-designations-table td:nth-child(1) {
    width: 10%;
}

.csim-designations-table th:nth-child(2),
.csim-designations-table td:nth-child(2) {
    width: 65%;
}

.csim-designations-table th:nth-child(3),
.csim-designations-table td:nth-child(3) {
    width: 25%;
}

.csim-designations-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    border-radius: 12px;
    overflow: hidden;
}

.csim-designations-tablee,
.csim-designations-table * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.csim-designations-table th {
    background-color: #9E6CBB;
    font-weight: 500;
    font-size: 0.875rem;
    color: #fff;
    text-align: left;
    padding: 10px 5px;
    border: 1px solid #AAAAAC;
}

.csim-designations-table td {
    padding: 10px 5px;
    text-align: left;
    font-size: 0.875rem;
    color: #535353;
    background-color: #fafafa;
    border: 1px solid #AAAAAC;
}

.csim-designations-table td.csim-drag-handle {
    text-align: center;
    cursor: grab;
    user-select: none;
    padding: 0;
    color: #9E6CBB;
}

.csim-designations-table td.csim-drag-handle:active {
    cursor: grabbing;
}

.csim-designations-table td[colspan="4"] {
    text-align: center;
    font-size: 0.875rem;
    color: #535353;
}


/* ------------------------------------------------------------------------------------------------------------------ */
/* 交通費テーブル */

.csim-transports-table th:nth-child(1),
.csim-transports-table td:nth-child(1) {
    width: 10%;
}

.csim-transports-table th:nth-child(2),
.csim-transports-table td:nth-child(2) {
    width: 65%;
}

.csim-transports-table th:nth-child(3),
.csim-transports-table td:nth-child(3) {
    width: 25%;
}

.csim-transports-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    border-radius: 12px;
    overflow: hidden;
}

.csim-transports-table,
.csim-transports-table * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.csim-transports-table th {
    background-color: #9E6CBB;
    font-weight: 500;
    font-size: 0.875rem;
    color: #fff;
    text-align: left;
    padding: 10px 5px;
    border: 1px solid #AAAAAC;
}

.csim-transports-table td {
    padding: 10px 5px;
    text-align: left;
    font-size: 0.875rem;
    color: #535353;
    background-color: #fafafa;
    border: 1px solid #AAAAAC;
}

.csim-transports-table td.csim-drag-handle {
    text-align: center;
    cursor: grab;
    user-select: none;
    padding: 0;
    color: #9E6CBB;
}

.csim-transports-table td.csim-drag-handle:active {
    cursor: grabbing;
}

.csim-transports-table td[colspan="4"] {
    text-align: center;
    font-size: 0.875rem;
    color: #535353;
}

/* ------------------------------------------------------------------------------------------------------------------ */
/* キャンセルポリシー */

#cancellation_policy {
    width: 100%;
    height: 150px;
    padding: 13px;
    font-size: 0.875rem;
    border: none;
    border-radius: 25px;
    box-sizing: border-box;
    background-color: #F5F5F5;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin-top: 5px;
    color: #535353;
    margin-top: 10px;
}

/* ------------------------------------------------------------------------------------------------------------------ */
/* お客様への確認事項 */

#customer_confirmation {
    width: 100%;
    height: 150px;
    padding: 13px;
    font-size: 0.875rem;
    border: none;
    border-radius: 25px;
    box-sizing: border-box;
    background-color: #F5F5F5;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin-top: 5px;
    color: #535353;
    margin-top: 10px;
}
