:root {
    --primary-red: #e36666;
    --hover-bg: #99999933;
    --tooltip-bg: #383838;
    --border-radius-10: 10px;
}

#app {
    min-height: 100dvh;
}

.loading-position {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.position-relative {
    position: relative;
}

/** channel setting tab **/
.channel-setting {
    padding: 20px;
}

.channel-setting-tab {
    display: flex;
    justify-content: start;
    align-items: center;
    margin-bottom: 1rem;
}

.channel-setting-tab ul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.channel-setting-tab ul li:not(:last-child) {
    margin-right: 3px;
}

.btn-tab {
    cursor: pointer;
    padding: 10px 25px;
    background: #fff;
    border: 1px solid #fff;
    color: #000;
    font-weight: bold;
    border-radius: 3px;
}

.channel-setting-tab ul li.active .btn-tab {
    background: #000;
    border-color: #000;
    color: #fff;
}

.table-setting {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.table-setting th,
.table-setting td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.table-setting th {
    background-color: #f2f2f2;
}

.table-setting tr {
    transition: background-color 0.3s;
}

.table-setting tr:hover {
    background-color: #f5f5f5;
}

.heading-setting {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    align-items: center;
}

.heading-setting h1 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

.btn-custom {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    color: #fff;
    width: auto;
}

.btn-create,
.btn-create:disabled {
    background-color: #0d6efd;
    border-color: #0d6efd;
    cursor: pointer;
}

.channel-setting-main {
    background: #fff;
    padding: 15px;
    border-radius: 5px;
}

.btn-edit,
.btn-edit:disabled {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-cancel,
.btn-cancel:disabled {
    color: #fff;
    background-color: #3c3f41;
    border-color: #3c3f41;
}

.btn-delete,
.btn-delete:disabled {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

:disabled {
    pointer-events: none !important;
    opacity: 0.65 !important;
}

.mr-5 {
    margin-right: 5px;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mt-1 {
    margin-top: 0.5rem !important;
}

.form-label {
    margin-bottom: 0.5rem;
}

label:not(".px") {
    display: inline-block;
}

.form-label {
    margin-bottom: 0.5rem;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-setting {
    margin-bottom: 2rem;
}

.alert {
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.ql-editor {
    min-height: 150px !important;
}

/** invite-container **/
.invite-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

.invite-form {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

#invite-form-delete {
    margin-left: 15px;
}

.grayArrow {
    cursor: pointer !important;
}

.input-member-style {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.input-member-style div {
    flex: 1 1 auto;
    min-width: 100px;
    line-height: 100%;
}

.input-member-style-add {
    flex: 0 0 auto;
}

.w-100 {
    width: 100%;
}

.cursor-pointer {
    cursor: pointer !important;
}

.text-black {
    color: #1d1d1d !important;
}

.text-white {
    color: #fff !important;
}

.text-center {
    text-align: center !important;
}

.bg-transparent {
    background-color: transparent;
}

.bg-red {
    background-color: #dd4444;
}

.d-flex {
    display: flex;
}

.d-none {
    display: none;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.gap-10 {
    gap: 10px;
}

.m-0 {
    margin: 0 !important;
}

.mr-20 {
    margin-right: 20px;
}

.border-gray {
    border-color: #a6a6a6;
}

.border-1 {
    border-width: 1px;
    border-style: solid;
}

.weight-600 {
    font-weight: 600;
}

.close-confirm {
    top: 0;
    transform: unset;
}

.mb-40 {
    margin-bottom: 40px;
}

.m-10 {
    margin: 10px;
}

.upside-down {
    transform: rotate(180deg);
}

.tab-permission .remove {
    visibility: hidden;
    pointer-events: none;
}
.remove.show {
    visibility: visible;
    pointer-events: unset;
}

.invite-btns {
    display: inline-flex;
    gap: 5px;
}

.btn-invited.refuse:hover {
    border: 1px solid #e36666 !important;
    background: #e36666 !important;
}

.btn-invited.refuse {
    width: 150px !important;
}

.watch-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-top: 12px;
    margin-left: 9px;
}

.border-red::before {
    content: "";
    display: block;
    width: calc(100% + 5px);
    height: calc(100% - 4px);
    border: 3px solid var(--primary-red);
    position: absolute;
    top: 0px;
    left: -9px;
    border-radius: 0 10px 10px 0;
}

.ticketArea {
    width: 682px;
    overflow-y: auto;
    right: -682px;
}

.ticketArea .ticketArea-code {
    visibility: hidden;
}

.ticketArea-watchBtn span::before {
    content: "ウォッチOFF";
    display: inline-block;
    width: 73px;
    height: 17px;
    text-align: center;
    border-radius: 9px;
    line-height: 17px;
}

.ticketArea-watchBtn input:checked + span::before {
    content: "ウォッチON";
    background-color: #6e6e6e;
    color: #fff;
}

.ticketArea-watchBtn {
    padding: 1px;
}

.ticketArea-detail .custom-select {
    line-height: 25px;
    padding-left: 12px;
}

.my-select {
    min-width: 153px;
}

.my__control {
    min-height: 25px !important;
    border: 1px solid #d8d8d8;
    border-radius: 13px !important;
}

.my__option {
    border-bottom: 1px solid #e6e6e6 !important;
    font-size: 12px !important;
    line-height: 25px;
    height: 25px;
    padding: 0 12px !important;
}

.my__option:first-child {
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
}

.my__option:last-child {
    border-bottom: none !important;
    border-bottom-left-radius: 13px;
    border-bottom-right-radius: 13px;
}

.my__indicators {
    display: none !important;
}

.my__value-container {
    height: 23px;
}

.my__menu-list {
    padding: 0 !important;
}

.my__menu {
    margin-top: 0 !important;
    border: 1px solid #d8d8d8;
    border-radius: 13px !important;
}

.my__placeholder {
    font-size: 0.875rem;
}

.select-container::after {
    pointer-events: none !important;
}

.addMilestone-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.fixed-table {
    table-layout: fixed;
}

#requestShow {
    transition: right 0.4s ease;
}

#requestShow.slide-left {
    right: 682px;
}

.ticketArea.makeTicket.active {
    right: 0;
}

.schedule-table td:nth-child(3) {
    width: 25px;
}

.ticketArea-detail .schedule-table input {
    max-width: min(100%, 120px);
}

.ticketArea-detail .schedule-table .delete-row {
    display: none;
    cursor: pointer;
}

table.schedule-table tr {
    height: 20px;
}

table.schedule-table,
table.schedule-table * {
    font-feature-settings: "palt";
    letter-spacing: 0;
    font-size: 13px;
    line-height: 100%;
    vertical-align: middle;
}

.mainMenu {
    display: flex;
    flex-direction: column;
}

.mainMenu-ticketArea-wrap {
    flex: 1;
    overflow-x: auto;
}

.mainMenu-ticketArea {
    height: 100%;
}

.mainMenu-ticketArea-box-wrap {
    height: calc(100vh - 158px);
}

.select-container * {
    font-weight: 300;
    font-size: 12px;
}

.close-icon {
    content: "";
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 22px;
    border: 1px solid #d6d6d6;
    position: relative;
    overflow: hidden;
}

.close-icon::before,
.close-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1.5px;
    background-color: #868686;
}

.close-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.current-date-display,
.schedule-table .form-control {
    padding: 0.375rem 0.375rem;
}

.milestone:hover .delete-row {
    display: block;
}

.ticketArea-detail .schedule-table input.form-control {
    max-width: min(100%, 85px);
}

.side-channel-list {
    flex-basis: 100%;
}

.channelMenu-list li:first-child {
    flex-wrap: wrap;
}

.side-channel-profile {
    padding: 10px;
}

.side-channel-profile.active {
    background-color: #dfdfdf;
}

.side-channel-profile.active a {
    width: 100%;
    justify-content: space-between;
}

.side-channel-profile.active a::after {
    display: block;
    content: "";
    width: 14px;
    height: 14px;
    background-image: url("./lib/images/common/arrow-right.svg");
    flex-shrink: 0;
}

.channel-avatar {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    background-color: #b0b0b0;
    border-radius: 12px;
    color: #fff;
    font-size: 13px;
    text-align: center;
    margin-right: 6px;
    flex-shrink: 0;
    border: 1px solid #b0b0b0;
}

.side-channel-profile a div span:nth-child(2) {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.channel-header {
    gap: 20px;
}

.channel-header_title {
    width: 190px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 18px;
    flex-shrink: 0;
}

.channel-header-detail_btnArea {
    margin-left: 0;
}

.side-group {
    overflow-y: visible;
}

.add-space ul {
    display: none;
    position: absolute;
    left: 74px;
    top: 0;
    border-radius: 4px;
    background: var(--tooltip-bg);
    width: 240px;
    height: 88px;
    text-align: left;
}

.side-group-list_link-icon.plus::before {
    display: none;
    content: "";
    width: 17px;
    height: 17px;
    background-image: url("./lib/images/common/tooltip-arrow.svg");
    position: absolute;
    right: -4px;
    top: 14px;
}

.add-space ul li {
    padding: 10px 15px;
    margin: 0;
}

.add-space ul li:hover {
    background: var(--hover-bg);
}

.add-space ul * {
    color: #fff;
    font-size: 15px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.side-group-list_link-icon.plus {
    width: 48px;
    height: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    padding: 0;
}

.side-group-list_link-icon.plus:hover {
    background: var(--hover-bg);
}

.side-group-list_link-icon.plus:hover::before,
.side-group-list_link-icon.plus:hover ul {
    display: block;
}

.side-group-list li {
    margin-top: 10px;
}

.side-group-list_link {
    margin: auto;
}

.side-group-profile {
    margin-bottom: 0;
}

.ticket-detail {
    width: 682px;
    height: 100%;
}

.mb-19 {
    margin-bottom: 19px;
}

.ticketArea-addFile_btn {
    margin-bottom: 28px;
}

.saveBtnWrap {
    text-align: end;
}

.saveBtnWrap .ticketArea-detail_cancelBtn {
    color: #7e7e7e;
    background-color: #fff;
    border: solid 1px #d8d8d8;
}
.saveBtnWrap button {
    width: 87px;
    height: 25px;
    border-radius: 4px;
    cursor: pointer;
}

.saveBtnWrap .ticketArea-detail_saveBtn {
    color: #fff;
    background-color: #3c8ce2;
    border: solid 1px #3c8ce2;
    margin-left: 5px;
}

.ticketArea-detail .schedule-table {
    margin-bottom: 0;
}

.ticketArea-detail {
    padding: 18px 18px 15px 24px;
    border-radius: var(--border-radius-10);
}

.p-6 {
    padding: 6px;
}

.group-comment-container {
    background: #f4f5f5;
    padding: 10px 16px 6px;
    margin-top: 18px;
    border-radius: var(--border-radius-10);
}

.group-comment-container .quill {
    background: #fff;
}

.group-comment-container .ql-editor {
    min-height: 83px !important;
    max-height: 200px;
    overflow-y: auto;
}

.group-comment-container .ticketArea-detail_title {
    margin-bottom: 13px;
    display: flex;
    gap: 18px;
}

.avatar-chain {
    display: flex;
}

.user-avatar {
    position: relative;
    display: flex;
    border-radius: 50%;
    border: 1px solid #cbcbcb;
    box-sizing: content-box;
    width: 22px;
    height: 22px;
    justify-content: center;
    align-items: center;
    background: #FFFFFF;
    line-height: 100%;
    font-size: 12px;
    font-weight: 300;
}

.avatar-chain .user-avatar:not(:first-child) {
    margin-left: -4px;
    z-index: 1;
}

.ql-toolbar.ql-snow {
    border-radius: 10px 10px 0 0;
}

.ql-container.ql-snow {
    border-radius: 0 0 10px 10px;
}

.error {
    font-size: 14px;
}

.btn-outline {
    border: 1px solid #adadad;
    background-color: white;
    color: black;
    padding: 9px 14px;
    cursor: pointer;
    border-radius: 4px;
    font-family: Hiragino Kaku Gothic ProN;
    font-weight: 300;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.btn-outline:hover {
    background: #adadad;
    color: white;
}

.btn-outline:hover svg path {
    fill: white;
}

.preview-wrap {
    margin: 14px 0 13px 0;
}

.preview-wrap img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #ddd;
}
