.keyboard {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1rem;
    max-width: 100%;
    width: 60rem;
    background: #072f75;
    background-image: url(../media/icons/bg-footer.png);
    background-repeat: repeat;
    border: 1px solid rgba(250,250,250,.5);
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.2);
    user-select: none;
    transition: bottom 0.4s;
    z-index: 999;
    border-radius: .2rem;
    direction: rtl;
}

.keyboard--hidden {
    bottom: -100%;
}

.keyboard__keys {
    text-align: center;
    background: rgb(238,238,238);
    /* background: linear-gradient(0deg, rgba(238,238,238,0) 30%, rgba(7,47,117,1) 100%); */
    background: linear-gradient(0deg, rgba(238,238,238,.1) 0%, rgba(255, 255, 255,0.9) 90%);
    padding: 1.2rem;
}

.keyboard__key {
    height: 2.5rem;
    width: 5.8%;
    max-width: 4rem;
    margin: 3px;
    border-radius: 4px;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    color: #072F75;
    font-size: 1rem;
    outline: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: top;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.keyboard__key:active {
    background: rgba(255, 255, 255, 0.12);
}

.keyboard__key--wide {
    width: 12%;
}

.keyboard__key--extra-wide {
    width: 36%;
    max-width: 500px;
}

.keyboard__key--activatable::after {
    content: '';
    top: 10px;
    right: 10px;
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
}

.keyboard__key--active::after {
    background: #08ff00;
}

.keyboard__key--dark {
    background: rgba(0, 0, 0, 0.25);
    color: white;
    border: 1px solid rgba(250,250,250,0.5);
    position: absolute;
    left: 0;
    top: 0;
}

.fa-solid.fa-turn-down-left {
    width: 24px;
    height: 24px;
    background: url(../media/icons/down-right.png) no-repeat center;
    background-size: 1.2rem;
}
.fa-solid.fa-delete-left {
    transform: scaleX(-1);
}

@media (max-width: 767px) {
    .keyboard {
        display: none;
    }
}


/* field register Carte identite */
.grouped-fields .d-flex .form-control:first-of-type {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.grouped-fields .d-flex .form-control:last-of-type {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.grouped-fields .d-flex label.error {
    color: var(--red-color-1);
  position: absolute;
  bottom: -1.275rem;
  white-space: nowrap;
}