:root {
  /* 進度條顏色 */
  --bs-progress-bar-color: #ffffff;
  
  /* 進度條背景色 */
  --bs-progress-bar-bg: #165dff;
  
  /* 進度條過渡動畫（例如寬度變化時） */
  --bs-progress-bar-transition: width 0.6s ease;

  --aimarker-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",'Arial';

  --aimarker-main-color:#3658D6;

  --aimarker-main-color-rgb: 13, 110, 252;

  --aimarker-secondary-color:#2c6cb9;

  --aimarker-light-red-color:#df1a1a;

  --aimarker-dark-red-color:#a71515;

  --aimarker-pale-orange-color:#FFA07A;

  --aimarker-yellow-color:#FAAD14;

  --aimarker-cream-peach-color:#ffedc8;

  --aimarker-deep-orange-color:#CC5500;

  --aimarker-green-color:#0aad3b;

  --aimarker-deep-green-color:#09812d;

  --aimarker-blue-color:#3658D6;

  --aimarker-dark-blue-color:#0b5ed7;

  --aimarker-turquoise-blue-color:#36CFC9;

  --aimarker-ice-blue-color:#c9fffd;

  --aimarker-purple-color:#945ddf;

  --aimarker-misty-purple-color:#ebddff;

  --aimarker-charcoal-blue-color: #2c3e50;

  --aimarker-grey-color: #6c757d;

  --aimarker-medium-grey-color: #666666;

  --aimarker-deep-grey-color: #5c636a;

  --aimarker-dark-link-color:#7d8099;

  --aimarker-light-grey-color: #f2f2f2;

  --aimarker-light-bg-color: #F4F4F5;

  --aimarker-dark-color: #131133;
  

  --aimarker-dark-link-active-bg: rgba(47, 58, 95, 0.4);

  --aimarker-btn-shadow: 0 2px 4px 1px #bdbdbd;

  --aimarker-box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.08);

  --aimarker-box-hover-shadow: rgba(0, 0, 0, 0.08) 0px 4px 20px;

  --aimarker-transition-transform: transform 150ms cubic-bezier(0.4, 0, 0.2, 1);

  --aimarker-width-transition: width 0.3s ease;

  --aimarker-glass-gradient-flow: gradientFlow 4s linear infinite;

  --aimarker-glass-background: linear-gradient(90deg, transparent, #ffffff38, transparent) 0% 0% / 200% 100%;

  --aimarker-normal-border-radius: 12px;

  --aimarker-tl-tr-border-radius: 12px 12px 0 0;

  --aimarker-scale-hover: scale(1.02);

  --aimarker-common-padding:15px;
}

.aimarker-button-normal {
    position: relative;
    overflow: hidden;
    background-color: var(--aimarker-main-color);
    background-repeat: no-repeat;
    background-position: 20px center;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: var(--aimarker-normal-border-radius);
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.aimarker-grading-result .aimarker-button-normal {
    margin-top: 15px;
}

.aimarker-button-normal:hover::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: var(--aimarker-glass-background);
    animation: var(--aimarker-glass-gradient-flow);
}

.aimarker-button-normal:hover::after {
    content: '';
    width: 5px;
    height: 5px;
    position: absolute;
    right: 5px;
    top: 5px;
    background: #ffffff;
    border-radius: 50%;
}

.outline-btn {
    border: 1px solid #ffffff;
}

.float-rb {
    position: fixed;
    right: 5px;
    bottom: 5px;
    z-index: 99999;
}

.aimarker-button-normal:disabled {
    background-color: #7099d6;
    opacity: .5;
    pointer-events: none;
}
.aimarker-button-normal:disabled:hover{
    background-color: #7099d6;
    transform: translateY(0px);
    box-shadow: none;
}

.grey-button-normal {
    display: inline-block;
    background-color: var(--aimarker-grey-color);
    background-repeat: no-repeat;
    background-position: 12px center;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--aimarker-normal-border-radius);
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.sm-btn {
    padding: 5px 13px;
}
.big-btn {
    font-size: 18px;
    padding: 10px 40px;
}
.btn-green,.btn-green:hover{
    background-color: #00c56a;
}

.full-btn {
    width: 100%;
    display: flex;
    justify-content: center;
}

.grey-button-normal:hover {
    background-color: var(--aimarker-deep-grey-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.orange-color {
    background-color: var(--aimarker-pale-orange-color);
}

.orange-color:hover {
    background-color: var(--aimarker-deep-orange-color);
}

.red-color {
    background-color: var(--aimarker-light-red-color);
}
.red-color:hover {
    background-color: var(--aimarker-dark-red-color);
}

.grey-color{
    background-color: var(--aimarker-grey-color);
}

.grey-color:hover{
    background-color: var(--aimarker-deep-grey-color);
}
/*提示類型*/
.hint-v1 {
    text-align: left;
    color: #000;
    font-size: 15px;
    margin: 10px 0;
    padding: 10px;
    background: #c6e6ff;
    border-radius: var(--aimarker-normal-border-radius);
    flex: 1 0 100%;
}
.aimarker-notice-color {
    border-color: var(--aimarker-deep-green-color);
}
.hint-v1 .aimarker-icon{
    width: 13px;
    height: 13px;
    margin-bottom: -1px;
    margin-right: 5px;
}

/*通用信息模塊*/
.aimarker-info-item-box {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) and (max-width:1023px) {
    .aimarker-info-item-box {
        grid-template-columns: repeat(2, minmax(0px, 1fr));
    }
}

@media (min-width: 1024px) {
    .aimarker-info-item-box {
        grid-template-columns: repeat(3, minmax(0px, 1fr));
    }
}

.aimarker-info-item {
    position: relative;
    overflow: hidden;
    box-shadow: var(--aimarker-box-shadow);
    transition: var(--aimarker-transition-transform);
    box-sizing: border-box;
    background: rgb(255, 255, 255);
    padding: 1rem;
    border-color: var(--aimarker-blue-color);
    border-radius: var(--aimarker-normal-border-radius);
    border-width: 0px 0px 0px 4px;
    border-style: solid;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.aimarker-info-item:hover {
    transform: var(--aimarker-scale-hover);
    box-shadow: var(--aimarker-box-hover-shadow);
}

.aimarker-info-text {
    width: 100%;
    display: flex;
    align-items: center;
}

.aimarker-info-icon svg {
    fill: var(--aimarker-blue-color);
    box-sizing: content-box;
    background: rgb(219, 234, 254);
    border-radius: 50%;
    padding: 10px;
}

.aimarker-info-inner-text  {
    display: inline-block;
    margin-bottom: 0px;
    color: initial;
    font-size: initial;
}

@media (min-width: 1024px) and (max-width: 1239px) {
    .aimarker-info-inner-text  {
        text-overflow: ellipsis;
        max-width: 120px;
        overflow: hidden;
        white-space: nowrap;
    }
}

.aimarker-purple {
    border-color: var(--aimarker-purple-color);
}
.aimarker-purple svg {
    fill: var(--aimarker-purple-color);
    background: rgb(243, 232, 255);
}


/* fade in and out */
.aimarker-fade-in {
  animation: aimarker-fadeIn 0.6s ease-in-out forwards;
}

.aimarker-fade-out {
  animation: aimarker-fadeOut 0.6s ease-in-out forwards;
}

@keyframes aimarker-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes aimarker-fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* slide up */
.aimarker-slide-up {
  animation: aimarker-slideUp 0.5s ease-out forwards;
  opacity: 0;
}

@keyframes aimarker-slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide down */
.aimarker-slide-down {
  animation: aimarker-slideDown 0.5s ease-out forwards;
  opacity: 0;
}

@keyframes aimarker-slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide in from the left */
.aimarker-slide-left {
  animation: aimarker-slideLeft 0.5s ease-out forwards;
  opacity: 0;
}

@keyframes aimarker-slideLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Slide in from the right */
.aimarker-slide-right {
  animation: aimarker-slideRight 0.5s ease-out forwards;
  opacity: 0;
}

@keyframes aimarker-slideRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Zoom and fade in */
.aimarker-scale-fade {
  animation: aimarker-scaleFade 0.4s ease-out forwards;
  opacity: 0;
}

@keyframes aimarker-scaleFade {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Slight bounce */
.aimarker-subtle-bounce {
  animation: aimarker-subtleBounce 0.6s ease-out forwards;
  opacity: 0;
}

@keyframes aimarker-subtleBounce {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  60% {
    opacity: 1;
    transform: translateY(-8px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Typewriter effect */
.aimarker-typewriter {
  animation: aimarker-typewriter 1s steps(20) forwards;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
}

@keyframes aimarker-typewriter {
  to {
    width: 100%;
  }
}

/* Blur fade in */
.aimarker-blur-fade {
  animation: aimarker-blurFade 0.8s ease-out forwards;
  opacity: 0;
}

@keyframes aimarker-blurFade {
  from {
    opacity: 0;
    filter: blur(10px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

/* Rotate to enter */
.aimarker-rotate-in {
  animation: aimarker-rotateIn 0.6s ease-out forwards;
  opacity: 0;
  transform-origin: center;
}

@keyframes aimarker-rotateIn {
  from {
    opacity: 0;
    transform: rotate(-15deg) scale(0.9);
  }
  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

/* Delay animation */
.aimarker-delay-1 { animation-delay: 0.1s; }
.aimarker-delay-2 { animation-delay: 0.2s; }
.aimarker-delay-3 { animation-delay: 0.3s; }
.aimarker-delay-4 { animation-delay: 0.4s; }
.aimarker-delay-5 { animation-delay: 0.5s; }

/* Duration variant */
.aimarker-duration-fast { animation-duration: 0.3s; }
.aimarker-duration-normal { animation-duration: 0.6s; }
.aimarker-duration-slow { animation-duration: 0.9s; }

/* Fill mode */
.aimarker-forwards { animation-fill-mode: forwards; }
.aimarker-backwards { animation-fill-mode: backwards; }
.aimarker-both { animation-fill-mode: both; }

/* Disable animation for users */
@media (prefers-reduced-motion: reduce) {
    .aimarker-fade-in,
    .aimarker-fade-out,
    .aimarker-slide-up,
    .aimarker-slide-down,
    .aimarker-slide-left,
    .aimarker-slide-right,
    .aimarker-scale-fade,
    .aimarker-subtle-bounce,
    .aimarker-typewriter,
    .aimarker-blur-fade,
    .aimarker-rotate-in,
    [class*="aimarker-delay"],
    [class*="aimarker-duration"] {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}