:root {
    --help: #5b84c4;
    --help-light: #eef4fc;

    --info: #2f9e6f;
    --info-light: #edf8f2;

    --success: #2f9e6f;
    --success-light: #edf8f2;

    --error: #d64545;
    --error-light: #fdf0f0;

    --warning: #e6a700;
    --warning-light: #fff8e6;

    --notice: #8bc34a;
    --notice-light: #f4fbe8;

    --required: #c2410c;
    --required-light: #fff7ed;

    --like: #f97316;
    --like-light: #fff4ed;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}


a, a:visited {
    outline: 0;
    color: #000;
    text-decoration: none;
}

.help {
    color: var(--help) !important;
}

.info {
    color: var(--info) !important;
}

.error {
    color: var(--error) !important;
}

.warning {
    color: var(--warning) !important;
}

.notice {
    color: var(--notice) !important;
}

.like {
    color: var(--like) !important;
}

.icon {
    font-size: inherit;
    line-height: inherit;
    vertical-align: middle;
}
.clear-both {
    clear: both;
}

.nowrap {
    white-space: nowrap;
}

.sound_only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* 말줄임 */
.shorten {
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}


.mobile-only {
    display: none !important;
}

main input[type="file"] {
    display: none;
}

main fieldset {
    display: block;
    border: 0;
}

.icon-light {
    font-variation-settings: 'wght' 200;
}

.icon-normal {
    font-variation-settings: 'wght' 400;
}

.icon-bold {
    font-variation-settings: 'wght' 600;
}

.icon-filled {
    font-variation-settings:
        'FILL' 1,
        'wght' 400,
        'GRAD' 0,
        'opsz' 48
}

:disabled, :disabled * {
    pointer-events: none;
    cursor: not-allowed;
}
.disabled, .disabled * {
    position: relative;
    cursor: not-allowed;
    pointer-events: none;
}

input[type="submit"].disabled,
button.disabled,
input[type="submit"]:disabled,
button:disabled {
    filter: grayscale(50%);
}

.disabled::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.35);
    border-radius: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

label.required::after {
    content: "필수";
    display: inline-block;
    font-size: 0.75em;
    font-weight: 400;
    padding: 0.1em 0.3em;
    margin-left: 0.5em;
    border-radius: 4px;
    color: var(--required);
    background: var(--required-light);
    border: 1px solid var(--required);
    white-space: nowrap;
    position: relative;
    top: -2px;
}

.material-symbols-outlined,
.material-symbols-rounded,
.material-symbols-sharp {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.no-record {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    aspect-ratio: 3/1;
    height: auto;
    padding: 0 1rem;
    color: var(--text-04);
}


.loading {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.number-changed {
    display: inline-block;
     animation: numberPop .45s cubic-bezier(.4, 0, .2, 1);
}

@keyframes numberPop {
    0% {
        transform: scale(.9);
        opacity: .5;
    }
    35% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.icon-pop {
    display: inline-block;
    animation: iconPop .35s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes iconPop {
    0% {
        transform: scale(1);
    }
    35% {
        transform: scale(1.45);
    }
    55% {
        transform: scale(.88);
    }
    75% {
        transform: scale(1.12);
    }
    100% {
        transform: scale(1);
    }
}
@media (max-width : 640px) {

  body::-webkit-scrollbar {
      width: 8px;
      height: 8px;
  }
  body::-webkit-scrollbar-track {
      background: rgba(0,0,0,0.1);
  }
  body::-webkit-scrollbar-thumb{
      background: rgba(0,0,0,0.2);
  }
  body::-webkit-scrollbar-thumb:hover{
      background: rgba(0,0,0,0.4);
  }
  body::-webkit-scrollbar-thumb:active{
      background: rgba(0,0,0,.9);
  }

  .mobile-only {
    display: initial !important;
  }

  .wide-only {
    display: none !important;
  }

}
