:root {
    --help: #5b84c4;
    --help-light: #eef4fc;

    --info: #2f9e6f;
    --info-light: #edf8f2;

    --error: #d64545;
    --error-light: #fdf0f0;

    --warning: #e6a700;
    --warning-light: #fff8e6;

    --notice: #8bc34a;
    --notice-light: #f4fbe8;

    --required: #c2410c;
    --required-light: #fff7ed;
}

* {
    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;
}

.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;
}

.loading {
    animation: spin 1s linear infinite;
}

:disabled, :disabled * {
    pointer-events: none;
    cursor: not-allowed;
}
.disabled, .disabled * {
    position: relative;
    cursor: not-allowed;
    pointer-events: none;
}

.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);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width : 640px) {

  body::-webkit-scrollbar {
      width: 3px;
      height: 3px;
  }
  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;
  }

}
