.cscm-page {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
    display: flex;
    flex-direction: column;
    font-weight: 500;
}

.cscm-page-title {
    font-size: 24px;
    font-weight: 500;
    color: #E9528E;
    text-align: center;
    margin-top: 40px;
}

.cscm-search-bar {
    border-bottom: 1px solid #AAAAAC;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

#cscm-search-input {
    font-size: 14px;
    padding: 13px;
    border: none;
    border-radius: 25px;
    background-color: #F5F5F5;
    width: 100%;
    color: #535353;
    margin-top: 40px;
}

.cscm-date-wrapper {
    position: relative;
}

.cscm-page .form-control.input {
    font-size: 14px;
    padding: 13px;
    border: none;
    border-radius: 25px;
    background-color: #F5F5F5;
    width: 100%;
    color: #535353;
    margin-top: 20px;
}

.form-control:focus {
    border-color: #fff;
    outline: 0;
    box-shadow: none;
}

.cscm-clear-date {
    position: absolute;
    right: 20px;
    color: #AAAAAC;
    top: 32px;
}

#cscm-page-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: #fff;
    height: 100%;
}

.cscm-message {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #AAAAAC;
    position: relative;
}

.cscm-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cscm-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.cscm-name {
    font-size: 16px;
    color:#535353;
}

.cscm-time {
    font-size: 12px;
    color: #AAAAAC;
    margin-top: 2px;
}

.cscm-body {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #535353;
    width: calc(100% - 60px);
    margin-left: auto;
    margin-right: 0;
}

.cscm-body img.cscm-image {
    max-width: 300px;
    height: auto;
    border-radius: 6px;
    margin-top: 5px;
}

.cscm-badge-deleted {
    background-color: #7D40A0;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    width: 70px;
    text-align: center;
    position: absolute;
    top: 0px;
    right: 0px;
}

.cscm-empty {
    text-align: center;
    font-size: 16px;
    color: #AAAAAC;
    margin: 20px 0;    
}
