/* sidebar */
.sidebar {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
    width: 240px;
    background-color: #f6f8f9;
    border-right: 1px solid #f0f0f0;
    overflow: hidden;
}

.sidebar__scroll {
    flex: 1;
    display: flex;
    position: relative;
    flex-direction: column;
    padding: 16px;
    gap: 20px;
    overflow-y: auto;
}

.sidebar__logo-link {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 36px;
}

.sidebar__logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.sidebar__logo-link:hover::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    background: url("./img/sidebar/btn_more.svg") center center / contain no-repeat;
    filter: drop-shadow(1px 1px 2px #00000033);
    transition: transform 0.2s ease;
}

.sidebar__organization {
    width: 100%;
    margin-top: 20px;
}

.sidebar__organization > .dropdown {
    width: 100%;
}

.sidebar__group-label {
    margin-bottom: 12px;
    font-size: 11px;
    color: #d1d1d1;
}

.sidebar__item {
    font-size: 14px;
    color: #4b4b4b;
}

.sidebar__item.open {}

.sidebar__item > button,
.sidebar__item > a {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 4px;
    text-align: left;
    gap: 12px;
}

.sidebar__item-icon {
    width: 20px;
    height: 20px;
}

.sidebar__item-txt {
    flex: 1;
    line-height: 20px;
}

.sidebar__toggle {
    width: 100%;
}

.sidebar__item > a.active {
    color: #0099ff;
    font-weight: 600;
}

.sidebar__item > a.active > .sidebar__item-icon {
    filter: brightness(0) saturate(100%) invert(35%) sepia(90%) saturate(1200%) hue-rotate(185deg) brightness(98%) contrast(105%);
}

.sidebar__item .sidebar__arrow {
    transition: transform 0.2s ease;
}

.sidebar__item.open .sidebar__arrow {
    transform: rotate(180deg);
}

.sidebar__item--util {
    color: #8a8a8a;
}

.sidebar__sub-list {
    padding: 0 0 8px 12px;
}

.sidebar__sub-item > a {
    display: inline-block;
    padding: 8px 24px;
    border-left: 2px solid #d1d1d1;
    color: #4b4b4b;
    font-weight: 400;
}

.sidebar__sub-item > a.active {
    border-left: 2px solid #0099ff;
    color: #0099ff;
    font-weight: 600;
}

.sidebar__group--utill {
    padding: 16px;
    flex-shrink: 0;
}

/* Layout Utilities */
.none {
    display: none;
}

.row-wrapper {
    display: flex;
    position: relative;
    align-items: center;
    gap: 10px;
}

.gap-double {
    gap: 20px;
}

.gap-half{
    gap: 5px;
}

.row-double {
    grid-row: span 2;
    height: 100%;
}

.space-between {
    justify-content: space-between;
}

.btn-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-group--s {
    gap: 4px;
}

.form-btn-group {
    display: flex;
    justify-content: right;
    gap: 12px;
}

.form-text {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 5px;
    font-style: italic;
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border-radius: 4px;
    background-color: #0099ff;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.btn.disabled{
    background-color: #eee;
    pointer-events: none;
}

.btn--border {
    background-color: #fff;
    border: 1px solid #d0d5dd;
    color: #344054;
}

.btn--border.disabled{
    border: 1px solid #eee;
    color: #eee;
    pointer-events: none;
}

.action-btn {
    display: flex;
    align-items: center;
    width: auto;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: #eeeeee;
    font-size: 14px;
    font-weight: 600;
    color: #8a8a8a;
    gap: 6px;
}

.action-btn.blue {
    background-color: #d9f0ff;
    color: #0099ff;
}

.icon-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.icon-btn__icon {
    width: 20px;
    height: 20px;
}

.icon-btn--border {
    border: 1px solid #d3d3d3;
    border-radius: 4px;
}

/* Header */
.main__header {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 24px;
}

.main__title {
    font-size: 20px;
    font-weight: 700;
}

.main__guide {
    justify-content: end;
    font-size: 14px;
}

/* Input Elements */
.input-wrapper {
    position: relative;
}

.input-box {
    position: relative;
    display: flex;
    align-items: center;
    height: 44px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
    text-align: left;
}

.input-box.input-box--s {
    display: inline-flex;
    align-items: center;
    width: 120px;
    height: 28px;
    padding: 5px 8px;
}

.table__cell .input-box.input-box--s{
    width: 100%;
}

.input-box.read-only {
    padding: 0;
    border: none;
    background-color: transparent;
}

.input-box--area {
    align-items: flex-start;
    flex: 1;
    height: 100%;
    align-self: stretch;
    resize: none;
}

input:focus,
input:focus-visible {
    outline: none;
    border: 1px solid #8a8a8a;
}

.input-box--search {
    width: 240px;
    height: 44px;
    padding: 12px 14px 12px 42px;
}

.input-wrapper__icon {
    position: absolute;
    top: 50%;
    left: 12px;
    z-index: 1;
    transform: translateY(-50%);
}

.input-box__clear {
    position: absolute;
    width: 20px;
    height: 20px;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.input-box--s .input-box__clear {
    transform: scale(90%) translateY(-56%);
    right: 4px;
}

.input-file {
    flex: 1;
    position: relative;
    padding: 0;
    height: auto;
}

.input-file__btn {
    cursor: pointer;
}

.input-file__list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
}

.input-file__item {
    position: relative;
    background-color: #f5f5f5;
    border-radius: 4px;
    padding: 6px 32px 6px 12px;
}

.input-file__file-name {
    font-size: 14px;
    text-decoration: underline;
}

.input-file__clear {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
}

.input-file__guide {
    font-size: 12px;
    color: #8a8a8a;
    text-align: right;
    margin-top: 4px;
}

.contract-file{
    flex: 1;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.contract-file__date{
    width: 144px;
    padding: 6px 12px;
    flex-shrink: 0;
}

.contract-file__file-item{
    flex: 1;
    padding: 4px 12px;
}

.contract-file__note{
    flex: 1;
    padding: 4px 12px;
}

input::placeholder,
textarea::placeholder,
.placeholder {
    color: #8a8a8a;
}

.guide-txt {
    position: absolute;
    left: 110px;
    bottom: -16px;
    font-size: 12px;
    color: #8a8a8a;
}

/* Dropdown */
.dropdown {
    width: 160px;
    position: relative;
    color: #3a3a3a;
}

.dropdown-selected {
    display: flex;
    align-items: center;
    width: 100%;
}

.dropdown-txt {
    flex: 1;
    pointer-events: none;
}

.dropdown-arrow {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    transform: rotate(180deg);
}

.dropdown.open .dropdown-arrow {
    transform: rotate(0deg);
}

.dropdown.read-only .dropdown-arrow {
    display: none;
}

.dropdown-list {
    display: none;
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    height: auto;
    max-height: 240px;
    padding: 8px;
    overflow-y: auto;
    z-index: 10;
}

.dropdown.open .dropdown-list {
    display: block;
}

.input-box--s .dropdown-list {
    width: auto;
    top: 34px;
}

.dropdown-item {
    cursor: default;
    padding: 4px 6px;
    border-radius: 4px;
}

.dropdown-item:not(:last-child) {
    margin-bottom: 8px;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

.dropdown-item.disabled {
    color: #8a8a8a;
    font-size: 12px;
    margin-bottom: 6px;
    pointer-events: none;
}

.dropdown-item.selected {
    background-color: #f5f5f5;
    font-weight: 600;
}

/* checkbox, radio */
.check-group {
    height: 44px;
    align-items: center;
}

.input-check {
    display: flex;
    align-items: center;
    gap: 4px;
}

.input-checkbox-wrapper {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #ffffff;
  cursor: pointer;
}

 input[type="checkbox"]:checked {
  background-color: #0099ff;
  border-color: #0099ff;
}

 input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Table */
.table{
    position: relative;
}

.table--border{
    border: 1px solid #eee;
}

.table__item {
    display: flex;
    align-items: center;
}

.table__item{
    border-bottom: 1px solid #eee;
}

/* 퇴사자 행 스타일 */
.table__item.inactive-employee {
    background-color: #f9f9f9;
    opacity: 0.7;
}

/* 퇴사자 텍스트 스타일 */
.text-inactive {
    color: #999 !important;
}

/* .table__item:hover {
    background-color: #F2FAFF;
    transition: background 0.2s;
} */

/* .table__item.no-hover:hover {
    background-color: inherit;
} */

.table__header {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.table__cell {
    display: flex;
    align-items: center;
    width: 144px;
    min-width: 48px;
    height: 48px;
    padding: 12px;
    font-size: 14px;
    background-color: #fff;
}

.table__header .table__cell{
    background-color: #f7f7f7;
}

.cell-grow {
    flex: 1;
    width: auto;
    min-width: 48px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cell-grow > .input-box{
    width: 100%;
}

.cell-48 {
    width: 48px;
    justify-content: center;
}

.cell-96{
    width: 96px;
}

.cell-112{
    width: 112px;
}

.cell-224{
    width: 224px;
}

.cell-dropdown{
    overflow: visible;
}

.table__cell .dropdown{
    width: auto;
}

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

.cell-right{
    justify-content: flex-end;
}

.table--border .table__item:last-child{
    border-bottom: none;
}

.table--border .table__cell:not(:last-child){
    border-right: 1px solid #eee;
}

.table__expand-btn{
  position: relative;
  top: -1px;
  margin-left: 6px;
  font-size: 11px;
  font-weight: 600;
}

.table__item--expanded:not(:last-child){
    border-bottom: 1px solid #d9f0ff;
    
}

.table--split {
    display: flex;
    overflow: visible; 
}

/* Pagination */
.page-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.page-list__arrow, .page-arrow {
    width: 24px;
    height: 24px;
}

.page__item.selected {
    color: #0099ff;
    font-weight: 700;
}

/* Role Badge */
.role {
    padding: 6px 12px;
    background-color: #d9f0ff;
    color: #0099ff;
    font-weight: 700;
    border-radius: 4px;
}

.role.admin {
    background-color: #ffdede;
    color: #ff6d6d;
}

.role.concierge {
    background-color: #cdffc7;
    color: #63b91d;
}

/* Detail Form */
.detail__title {
    font-size: 16px;
    font-weight: 500;
}

.detail__form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    margin-top: 12px;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    gap: 24px 40px;
}

.detail__form--single {
    grid-template-columns: 1fr;
    gap: 24px;
}

.detail__form--gap-half {
    gap: 12px;
}

.detail__form > .row-wrapper {
    align-items: flex-start;
}

.detail__form--single > .row-wrapper {
    align-items: center;
}

.detail__form--triple {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.detail__label {
    display: flex;
    align-items: center;
    width: 100px;
    height: 44px;
    flex-shrink: 0;
    color: #8a8a8a;
    font-size: 14px;
}

.detail__input {
    flex: 1;
}

.detail__input-edit {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    width: auto;
    height: 28px;
    padding: 0 12px;
    background-color: #eeeeee;
    color: #8a8a8a;
    font-size: 14px;
    line-height: 28px;
    font-weight: 600;
    border-radius: 4px;
}

.detail__guide {
    position: absolute;
    top: 50px;
    left: 110px;
    font-size: 12px;
    color: #8a8a8a;
}

.detail__border {
    border-bottom: 1px solid #eee;
}

.detail__org-wrapper {
    position: relative;
}

.detail__logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
}

.detail__org-name {
    font-size: 16px;
    font-weight: 600;
    margin: 12px 0;
}

.detail__org-btn {
    position: absolute;
    top: 0;
    right: 0;
}

.detail__org-guide {
    top: inherit;
    bottom: 0;
    left: inherit;
    right: 0;
    font-size: 14px;
}

/* 업무 요청 */
.request__title {
    display: flex;
    align-items: center;
    height: 48px;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    background-color: #f7f7f7;
}

.request__item {
    display: flex;
    flex-direction: column;
    border-top: 1.5px solid #e8e8e8;}

.request__item:first-child {
    border-top: none;
}

.request__row{
    cursor: pointer;
}

.request__cell {
    min-width: 120px;
}

.request__label {
    font-size: 13px;
    color: #8a8a8a;
    font-weight: 500;
    margin-bottom: 6px;
}

.request__con {
    display: flex;
    align-items: center;
    font-size: 14px;
    min-height: 28px;
}

.request__btn-group {
    gap: 20px;
}

.input-box.input-box--s.request__dropdown{
    width: 100%;
}

.request__detail{
    padding: 24px 12px 12px;
    border-bottom: 48px solid #f7f7f7;
    font-size: 14px;
    line-height: 1.4;
}

.request__detail-con{
    padding-bottom: 12px;
}

.request__done-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin: 24px -12px 0;
    border-top: 1px solid #eee;
}

.request__done-label{
    display: inline-block;
    background-color: #d9f0ff;
    color: #0099ff;
    padding: 4px 12px;
    margin-bottom: 4px;
    font-weight: 600;
}

.request__done-input {
    color: #8a8a8a;
}

.request__done-item {
    display: flex;
    align-items: flex-start;
}

.request__done-item:not(:last-child){
    border-bottom: 1px dashed #eee;
}

.request__done-cell{
    padding: 12px;
    text-overflow: initial;
    white-space: normal;
}

.request__done-name{
    font-weight: 500;
}

.request__done-date{
    font-size: 12px;
    color: #8a8a8a;
}

.request__input-wrapper{
    margin-top: 12px;
}

.request__cell--con {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.file-item {
    display: flex;
    max-width: 100%;
    height: 20px;
    align-items: center;
    font-size: 14px;
    color: #8a8a8a;
    text-decoration: underline;
    gap: 2px;
}

.file-item__icon{
    flex-shrink: 0;
}

.file-item__name{
    width: 100%;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    display: inline;
    white-space: nowrap;
}

.label-toggle {
    position: relative;
    width: 100%;
    height: 20px;
    text-align: left;
}

.label-toggle__arrow {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
    transform: rotate(0deg);
}

.label-toggle.open .label-toggle__arrow {
    transition: transform 0.2s ease;
    transform: rotate(180deg);
}

/* 고객사 관리 */
.org-item{
    position: relative;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #d3d3d3;
    background-color: #fff;
    overflow: hidden;
}

.org-item__logo{
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.org-item__name{
    flex-grow: 1;
    font-size: 16px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.org-item__tag-group{
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    margin-top: 12px;
    height: 24px;
    gap: 8px;
}

.org-item__tag{
    display: inline-flex;
    align-items: center;
    width: auto;
    height: 24px;
    padding: 0 4px;
    border-radius: 4px;
    background-color: #d9f0ff;
    font-weight: 600;
    font-size: 14px;
    color: #0099ff;
}

.org-item__wrapper{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.org-item__btn{
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}


/* Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    width: auto;
    height: 28px;
    margin: 0 -8px;
    padding: 0 12px;
    background-color: #f3f5f7;
    color: #b0bec5;
    font-size: 14px;
    line-height: 28px;
    font-weight: 700;
    border-radius: 99px;
    gap: 6px;
}

.status-badge.blue {
    background-color: #d9f0ff;
    color: #0099ff;
}

.status-badge.red {
    background-color: #ffdede;
    color: #ff6d6d;
}

.status-badge.green {
    background-color: #dcf3d9;
    color: #11ae00;
}

.status-badge.gray {
    background-color: #d5d5d5;
    color: #7e7e7e;
}

.status-badge.bidding_main {
    background-color: #6a0dad25;
    color: #6a0dad;
    border-radius: 4px;
    font-size: 12px;
}

.status-badge.bidding_sub {
    background-color: #00906525;
    color: #009065;
    border-radius: 4px;
    font-size: 12px;
}

/* 기본 팝업 */
.popup {
    display: flex;
    flex-direction: column;
    width: 460px;
    padding: 40px;
    border-radius: 16px;
    background-color: #fff;
    text-align: center;
    overflow: hidden;
    gap: 40px;
}

.popup__title {
    font-size: 18px;
    font-weight: 700;
}

.popup__btn-group {
    display: flex;
    gap: 16px;
}

.popup__btn {
    flex: 1;
}

@media only screen and (max-width: 420px) {
    .popup {
        width: 100%;
        padding: 30px;
        gap: 30px;
    }

    .popup__btn-group {
        gap: 10px;
    }
}

/* 탭 */
.main__tab-group {
    display: flex;
    align-items: end;
    gap: 20px;
    border-bottom: 1px solid #d1d1d1;
}

.main__tab {
    padding: 8px 16px;
    font-size: 16px;
}

.main__tab.active {
    border-bottom: solid;
    border-bottom-color: #0099ff;
    font-weight: 500;
}

.main-loading {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.main-loading__title {
    display: flex;
    font-size: 20px;
    font-weight: 700;
}

.main-loading__title {
    display: flex;
    gap: 4px;
}

.main-loading__title-dot::after {
    content: "";
    animation: dots 4s infinite;
}

@keyframes dots {
    0% {
        content: "";
    }

    25% {
        content: ".";
    }

    50% {
        content: ". .";
    }

    75% {
        content: ". . .";
    }

    100% {
        content: "";
    }
}

/* 급여 관리 */
.pay-detail{
    display: flex;
    flex-direction: column;
    font-size: 14px;
    gap: 20px;
}

.pay-detail__header{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    border-bottom: 1px solid #eee;
    background-color: #f7f7f7;
    font-weight: 600;
}

.pay-detail__body{
    display: flex;
}

.pay-detail__section{
    width: 50%;
}

.pay-detail__section:first-child{
    border-right: 1px solid #eee;
}

.pay-detail__section-label{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 36px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

.pay-detail__section .table__cell{
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pay-detail__section .table__cell.pay-detail__label {
    text-align: left;
    justify-content: flex-start;
}

.pay-detail__input {
    text-align: right;
}

.pay-detail__input > span{
    text-align: right;
    display: block;
    width: 100%;
}

.pay-detail__footer{
    display: flex;
    border-top: 1px solid #eee;
}

.pay-detail__footer .table__cell{
    height: 48px;
    font-size: 16px;
    font-weight: 600;
    color: #0099ff;
}

.pay-detail__section.empty{
    background-color: #f7f7f7;
}

.pay-detail__sum, .pay-detail__total{
    font-weight: 600;
    justify-content: flex-end;
}

/* 현금 흐름표 */
.cash-flow{
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.cash-flow__section > div{
    margin-top: -2px;
}

.split-label{
    display: flex;
    flex-direction: column;
}

.split-label__cell{
    flex-shrink: 0;
}

.split-label__cell--grow{
    flex: 1;
}

.table__fixed {
    flex-shrink: 0;
    width: 600px;
    border-right: 2px solid #eee;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.table__cell.empty{
    background-color: #f7f7f7;
    border-right: 1px solid #f7f7f7;
}

.table__cell.cell-stacked{
    height: 72px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
}

.cell-right .input-box{
    text-align: right;
}

.table__scroll-x {
    position: relative;
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    margin-bottom: 0px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.table__scroll-x::-webkit-scrollbar {
    display: none;
}

.table__scroll-x > .table__item {
    display: inline-flex;
    width: max-content;
}

.table__scroll-x > .table__list {
    display: inline-block;
    width: max-content;
}

.table__scroll-x::-webkit-scrollbar {
    height: 0.1px;
    z-index: 99;
}
/*
.table__scroll-x::-webkit-scrollbar-track {
    background-color: none;
}

.table__scroll-x::-webkit-scrollbar-thumb {
    background: #ccc;
}

.table__scroll-x::-webkit-scrollbar-button {
    display: none;
} */

/* 오버레이 스크롤바*/
.table__scrollbar-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    pointer-events: auto;
    z-index: 10;
    background: transparent;
}

.table__scrollbar-thumb {
    height: 8px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    position: absolute;
    left: 0;
    z-index: 10;
    pointer-events: auto;
    transition: left 0.1s ease;
}

.table__scroll-x .table__cell{
    position: relative;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Utility */
.txt-red {
    color: #ff6d6d;
}

.txt-blue{
    color: #0099ff;
}

.txt-gray {
    color: #8a8a8a;
}

.read-only {
    pointer-events: none;
}

.custom-link {
    color: #0099ff;
    /* 원하는 색상 */
    text-decoration: underline;
    /* 언더라인 */
    font-weight: 500;
    /* 옵션: 굵기 */
}

.bg-gray{
    background-color: #f7f7f7;
}

.bg-blue{
    background-color: #F2FAFF;
}

.txt-wrapper{
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline;
    white-space: nowrap;
    line-height: 1.2;
}

.txt-wrapper br{
    display: none;
}

.txt-wrapper a{
    pointer-events: none;
    color: inherit;
}

.hidden{
    display: none;
}

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

.info-value{
    font-size: 14px;
    color: #333;
    font-weight: 400;
    line-height: 1.3;
    white-space: nowrap;
}

.info-divider{
    color: #e1e5e9;
    font-weight: 300;
    font-size: 14px;
    margin: 0 4px;
    line-height: 1;
    align-self: center;
}

/* Announcement Detail Styles */
.announcement-detail {
  padding: 16px;
  background: #fff;
}

.announcement-detail__meta {
  margin-top: 10px;
  margin-bottom: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.announcement-detail__type {
  display: inline-block;
  padding: 4px 12px;
  background-color: #e0f2fe;
  color: #0099ff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 12px;
  margin-right: 8px;
}

.announcement-detail__date {
  font-size: 14px;
  color: #999;
}

.announcement-detail__image {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.announcement-detail__image img {
  width: 100%;
  height: auto;
  display: block;
}

.announcement-detail__content {
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  white-space: pre-wrap;
}

/* Announcement List Styles */
.list-item {
  padding: 12px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  background-color: #fff;
  transition: background-color 0.2s;
}
.list-item--unread {
  background-color: #f0f9ff !important;
  border-color: #bae6fd !important;
}

.list-item__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.list-item__info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.list-item__pin {
  font-size: 16px;
  flex-shrink: 0;
}

.list-item__title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-item__date {
  font-size: 13px;
  color: #999;
  flex-shrink: 0;
  white-space: nowrap;
}

.list-item__content {
  font-size: 14px;
  color: #666;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.5;
}

.badge--new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: #ff4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}
