/* ==========================================================================
   common.css
   외국인 포탈 공통 스타일 
   ========================================================================== */

/*-----------------------------*/
/*    [EVENT] content   */
/*-----------------------------*/
/* [ADD] 260515 : 더보기 영역 추가 */
.event-section .user-section {
    margin: 24px 20px;
}

.event-section .user-section h2 {
    color: #222832;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: -0.1px;
    margin: 16px 0;
}

.event-section .user-section a {
    display: inline-block;
    position: relative;
    width: 100%;
    padding: 20px 16px 20px 0;
    color: #5F646C;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.08px;
}

.event-section .user-section ul li a::after {
    content: '';
    display: inline-block;
    position: absolute;
    right: 0;
    margin-top: 2px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.81476 2.14802C6.10115 1.86163 6.56547 1.86163 6.85185 2.14802L11.7138 7.00994C12.2605 7.55668 12.2605 8.44311 11.7138 8.98984L6.85185 13.8518C6.56547 14.1382 6.10115 14.1382 5.81476 13.8518C5.52838 13.5654 5.52838 13.1011 5.81476 12.8147L10.6296 7.99989L5.81476 3.18511C5.52838 2.89872 5.52838 2.4344 5.81476 2.14802Z' fill='%23898D93'/%3E%3C/svg%3E%0A");
    background-size: contain;
    background-repeat: no-repeat;
}

.event-section .user-section ul li:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
/* //[ADD] 260515 : 더보기 영역 추가 */
/*-----------------------------*/
/*    [EVENT] Staff Guide    */
/*-----------------------------*/
.staff-guide {
  margin: 24px 20px 40px 20px;
  border: 1px solid rgba(251, 24, 34, 0.3);
  background: #ffffff;
  border-radius: 10px;
}
.staff-guide__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  cursor: pointer;
  user-select: none;
}
.staff-guide__title {
  font-size: var(--font-body-2-size);
  font-weight: var(--font-caption-4-sb-weight);
  color: var(--color-gray-950);
  letter-spacing: var(--font-caption-2-letter-spacing);
}
.staff-guide__arrow {
  transition: transform 0.2s;
}
.staff-guide__arrow.is-open {
  transform: rotate(180deg);
}
.staff-guide__body {
  border-top: 1px solid var(--border-weak);
  padding: 14px 20px 16px;
  display: none;
}
.staff-guide__body.is-open {
  display: block;
}
.staff-guide__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.staff-guide__list li {
  font-size: var(--font-caption-1-size);
  font-weight: var(--font-caption-3-r-weight);
  color: var(--color-gray-700);
  line-height: var(--font-caption-3-line-height);
  padding-left: 10px;
  padding-bottom: 4px;
  position: relative;
  letter-spacing: var(--font-caption-3-letter-spacing);
}
.staff-guide__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-gray-400);
  font-size: 10px;
  top: 2px;
}

/*-----------------------------*/
/*    [EVENT] Floating Button    */
/*-----------------------------*/
.floating-buttons {
  position: fixed;
  bottom: calc(var(--floating-button-bottom, 0px) + 12px);
  right: 10px;
  gap: 6px;
  z-index: 100;
  pointer-events: none;
}
@media screen and (min-width: 761px) {
  .floating-buttons {
    left: calc(50% + 380px - 40px - 10px);
    right: auto;
  }
}
.floating-buttons .hidden {
  display: none !important;
}
.floating-buttons .floating-buttons-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  max-width: 761px;
  margin: 0 auto;
}
.floating-buttons .floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--color-white, #ffffff);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border: 1px solid var(--color-border-neutral-line, rgba(0, 0, 0, 0.08));
  border-radius: 9999px;
  padding: 10px;
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.05);
  pointer-events: all;
}
.floating-buttons .floating-btn.img-wrap {
  position: relative;
  padding: 0;
}
.floating-buttons .floating-btn.img-wrap .floating-icon {
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  overflow: hidden;
}
.floating-buttons .floating-btn.img-wrap .floating-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.floating-buttons .floating-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--color-gray-950, #222832);
}
.floating-buttons .floating-icon svg,
.floating-buttons .floating-icon img {
  width: 100%;
  height: 100%;
}

/*-----------------------------*/
/*    [EVENT] Bottom Button    */
/*-----------------------------*/

.bottom-button.bottom-fixed--login {
  background: #ffffff;
}
@media screen and (max-width: 480px) {
  .bottom-fixed {
    padding: 24px 20px 20px;
    padding-bottom: calc(20px + var(--safe-bottom, 0px));
  }
}
.bottom-fixed__box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.bottom-fixed--login .txt-account {
  font-size: var(--font-title-3-size, 0.875rem);
  font-weight: var(--font-title-3-weight, 600);
  line-height: var(--font-title-3-line-height, 1.4);
  letter-spacing: var(--font-title-3-letter-spacing, -0.005em);
  text-align: center;
  margin-bottom: 12px;
}

/*-----------------------------*/
/*    [EVENT] Button    */
/*-----------------------------*/
/*  Button styles */
.btn {
  display: flex;
  justify-content: center;
  white-space: nowrap;
}
.btn[data-size="l"] {
  padding: 14px 32px;
  border-radius: 10px;
  font-size: var(--font-title-2-size, 1rem);
  font-weight: var(--font-title-2-sb-weight, 600);
  line-height: var(--font-title-2-line-height, 1.4);
  letter-spacing: var(--font-title-2-letter-spacing, -0.005em);
}
.btn[data-size="m"] {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: var(--font-title-3-size, 0.875rem);
  font-weight: var(--font-title-3-weight, 600);
  line-height: var(--font-title-3-line-height, 1.4);
  letter-spacing: var(--font-title-3-letter-spacing, -0.005em);
}
.btn[data-size="s"] {
  padding: 7px 12px;
  border-radius: 8px;
  font-size: var(--font-title-4-size, 0.8125rem);
  font-weight: var(--font-title-4-weight, 600);
  line-height: var(--font-title-4-line-height, 1.4);
  letter-spacing: var(--font-title-4-letter-spacing, -0.005em);
}
.btn[data-color="primary"] {
  background: var(--color-red-600, #fb1822);
  color: var(--color-white, #ffffff);
}
.btn[data-color="primary"] span {
  color: var(--color-white, #ffffff);
}
.btn[data-color="negative"] {
  background: var(--color-bg-button-gray, rgba(5, 55, 88, 0.06));
  color: var(--color-fg-neutral-solid, #222832);
}
.btn[data-type="fixed"] {
  width: 100%;
}

/*-----------------------------*/
/*   [EVENT] Bottom Sheet    */
/*-----------------------------*/
.dimmed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease-out;
}
.dimmed.active {
  opacity: 1;
}

.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0;
  background-color: #fff;
  z-index: 10000;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
  max-height: calc(100vh - 54px);
  max-height: calc(100dvh - 54px);
  will-change: max-height, transform, z-index;
  padding-bottom: var(--safe-bottom, 0px);
}
.bottom-sheet .expandable-bar__box {
  cursor: grab;
}

.bottom-sheet__container.active {
  visibility: visible;
}

.share__bottom-sheet .share__list {
  grid-template-columns: repeat(3, 1fr);
}