body {
    font-family: consolas;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
}

.container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px #0000001a;
}

.input {
    margin-top: 10px;
    margin: 3px;
    border: none;
    outline: none;
    border-radius: 15px;
    padding: 1em;
    text-align: center;
    background-color: #ccc;
    box-shadow: inset 2px 5px 10px rgba(0, 0, 0, 0.3);
    transition: 300ms ease-in-out;
    flex-grow: 1;
}

.input:focus {
    background-color: white;
    transform: scale(1.05);
    box-shadow: 13px 13px 100px #969696, -13px -13px 100px #ffffff;
}

.Bin {
    margin: 3px;
    padding: 15px 17px;
    border: none;
    outline: none;
    border-radius: 15px;
    transition: all 0.6s ease;
}

.Bin:hover {
    background-color: #36b5ff;
    cursor: pointer;
}

.Binario {
    display: flex;
    justify-content: center;
    align-items: center;
}

.row {
    margin-top: 20px;
    display: flex;
    align-items: center;
}
.bookmarkBtn {
    width: 100px;
    height: 40px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.349);
    background-color: rgb(12, 12, 12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition-duration: 0.3s;
    overflow: hidden;
    margin-left: 10px;
  }
  .IconContainer {
    width: 30px;
    height: 30px;
    background: linear-gradient(to bottom, #04a0a5, #78f6ff);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
    transition-duration: 0.3s;
  }
  .icon {
    border-radius: 1px;
  }
  .text {
    height: 100%;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 1;
    transition-duration: 0.3s;
    font-size: 1.04em;
  }
  .bookmarkBtn:hover .IconContainer {
    width: 90px;
    transition-duration: 0.3s;
  }
  .bookmarkBtn:hover .text {
    transform: none;
    width: 0;
    font-size: 0;
    transition-duration: 0.3s;
  }
  .bookmarkBtn:active {
    transform: scale(0.95);
    transition-duration: 0.3s;
  }
.back-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;             /* per allineare icona + testo */
    align-items: center;
    gap: 8px;                  /* spazio tra freccia e testo */
    background: linear-gradient(to right, #3498db, #007acc);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.95em;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-button:hover {
    background: linear-gradient(to right, #2980b9, #005fa3);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
    text-decoration: none;
    color: white;
}

.back-button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;   /* prende il colore del testo */
}
