*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body{
    min-height: 100%;
    background: linear-gradient(
        135deg,
        #f4f7ff 0%,
        #e2eaff 25%,
        #e7dfff 50%,
        #c6e1ff 75%,
        #c1d6ff 100%
    );
}

body{
    font-family: "Work Sans", sans-serif;
    min-height: 100vh;
    padding: 10px;
    display: flex;
    flex-direction: column;
    background: transparent;
}

.title{
    font-size: 2.5rem;
    font-weight: 600;
    
    background: linear-gradient(
        105deg,
        #3b82f6,
        #6e70f7,
        #a855f7,
        #ec4899,
        #ff4855
    );    
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
}

.title-row{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.info-btn{
    height: 20px;
    width: 20px;
    color: pink;
    opacity: 0.7;
    cursor: pointer;
}

.info-card {
    position: absolute;
    top: 50px;
    max-width: 500px;
    padding: 16px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transform: scale(0.96) translateY(-6px);
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease;
    z-index: 100;
}

.info-card.show{
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.info-card h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.info-card p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: #555e6c;
}

.info-card strong {
    color: #111827;
    font-weight: 600;
}


.info-btn:hover {
    opacity: 1;
}

#tableHolder table{
    margin: 10px 0;
    border-collapse: collapse;
}

.btns{
    font-family: "Work Sans", sans-serif;
}

#tableHolder td{
    border: 1px solid #949494;
    padding: 10px;
}

#tableHolder td:not(:first-child){
    height: 50px;
    width: 50px;
    text-align: center;
}

.current{
    background-color: rgb(28, 191, 255, 0.5);
}

.exclude{
    background-color: rgb(255, 117, 117);
}

.include{
    background-color: greenyellow;
}

.hidden{
    display: none;
}

.main-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.inputHolder{
    display: flex;
    /* flex-direction: column; */
    gap: 10px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    margin-top: 16px;
    padding: 14px 16px;
    color: #1f2733;
}

.inputHolder input{
    font-family: "Work Sans", sans-serif;
    width: 20vw;
    padding: 8px;
    font-size: 1rem;
    border-radius: 5px;
    border: none;
    box-shadow: 1px 2px 0 1px rgba(0,0,0, 0.2);
    background-color: none;
}

.input-group{
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.btns {
    appearance: none;
    border: none;
    border-radius: 12px;
    padding: 10px 15px;
    
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    
    color: #000;
    cursor: pointer;  
    
    box-shadow:
    0 1px 1px rgba(99, 102, 241, 0.35),
    0 2px 1px rgba(0, 0, 0, 0.15);
    
    transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    filter 0.15s ease;
}

.btns:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow:
    0 1px 5px rgba(99, 102, 241, 0.45),
    0 2px 5px rgba(0, 0, 0, 0.18);
}

.btns:active {
    transform: translateY(0);
    filter: brightness(0.85);
    box-shadow:
    0 2px 5px rgba(99, 102, 241, 0.35),
    0 1px 3px rgba(0, 0, 0, 0.25);
}

#generateTable{
    background: radial-gradient(circle at top left, #2418ff59, transparent 90%);
}

#generateTable:disabled{
    background: radial-gradient(circle at top left, #2418ff59, transparent 90%);
    color: rgba(42, 42, 42, 0.141);
    cursor: not-allowed;
}

#inputError{
    margin: 5px;
}

#fillCurrent{
    background: linear-gradient(
    100deg,
    #9697e7 0%,
    #c9b5ed 30%,
    #dfc0fc 100%
  );
}

#clearTable{
    background: linear-gradient(
    100deg,
    #ee5e76 0%,
    #e17878 40%,
    #f29a9a 100%
  );
}

#pauseBtn{
    background: linear-gradient(
    100deg,
    #31dea5 0%,
    #8be2d8 60%,
    #b0fccc 100%
  );
  width:75px;
}

#description {
    margin-top: 16px;
    padding: 14px 16px;
    width: 100%;
    max-width: 350px;
    
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#description p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #374151;
}

#status {
  font-weight: 600;
  color: #1f2937;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

#donttake {
  color: #b91c1c;
}

#take {
  color: #15803d;
}

#speedSlider{
    appearance: none;
    -webkit-appearance: none;

    width: 100px;
    height: 5px;

    background: linear-gradient(
    to right,
    #6366f1 0%,
    #6366f1 50%,
    #d1d5db 50%,
    #d1d5db 100%
  );

  border-radius: 100px;
    outline: none;
    cursor: pointer;
}

#speedSlider::-webkit-slider-thumb{
    appearance: none;
    -webkit-appearance: none;

    width: 16px;
    height: 16px;
    border-radius: 6px;

    background: #6366f1;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

#speedSlider::-webkit-slider-thumb:hover{
    transform: scale(1.1);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

#footer{
    margin-top: auto;
    padding: 12px 0;
    text-align: center;
    color: #494949d5;
    letter-spacing: -.5px;
}