:root{
    --tn-sidebar: 305px; 
}

.token-notes-container {
    position: absolute;
    max-width: 20vw;
    min-width: 5vw;
    max-height: 30vh;
    min-height: 5vh;
}

.token-notes-header{
    height: 1rem;
    display: flex;
}

.token-notes-content{
    overflow: hidden;
}

.token-notes-container textarea{
    resize: none;
    width: 100%;
    height: 100%;
    border: none;
    font: var(--font-primary);
}

.token-notes-text-read{
    width: 100%;
    height: 100%;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 0.2rem;
    padding-bottom: 0.5rem;
}

.token-notes-header i{
    margin-left: auto;
}

.token-notes-container input, .token-notes-container textarea{
    color: var(--color-text-light-highlight);
}

.token-notes-container input:focus, .token-notes-container textarea:focus{
    border: none;
    outline: none;
    box-shadow: none;
}

.token-notes-text-read input[type=number]::-webkit-outer-spin-button,
.token-notes-text-read input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance:  textfield;
  margin: 0;
}

/* Firefox */
-token-notes-text-read input[type=number] {
  -moz-appearance: textfield;
}

.token-notes-text-read-word{
    margin-right: 0.3rem;
}

.token-notes-container hr{
    border-top: 1px solid var(--color-text-light-primary);
    border-bottom: 1px solid var(--color-text-light-primary);
    background-color: var(--color-text-light-primary);
}

.token-notes-container #edit:hover{
    text-shadow: 0 0 10px var(--color-shadow-primary);
    cursor: pointer;
}

.token-notes-bottom-left{
    bottom: 0;
    left: 0;
}

.token-notes-top-left{
    top: 0;
    left: 0;
}

.token-notes-top-right{
    top: 0;
    right: var(--tn-sidebar);
}

.token-notes-bottom-right{
    bottom: 0;
    right: var(--tn-sidebar);
}