/* style.css */
.text-area {
	padding: 5px;
	width: calc(100vw - 30px);
	height: calc(100vh - 295px);
}

.keyboard {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%); /* gorizontal markazlash */
    width: 66%;
    padding: 5px 0;
    background: #f3f4f6;
    box-shadow: 0 0 10px rgba(0,0,0,.5);
    transition: bottom .4s;
    z-index: 50; /* ustida tursin */
    /* iPhone notch uchun qulay: */
    padding-bottom: calc(5px + env(safe-area-inset-bottom));
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.keyboard--hidden {
	bottom: -100%;
}

.keyboard__keys {
	text-align: center;
}

.keyboard__key {
	height: 45px;
	width: 6%;
	max-width: 90px;
	margin: 3px;
	border-radius: 4px;
	border: none;
	background: rgba(84, 84, 84, 0.2);
	color: #383838;
	font-size: 1.25rem;
	outline: none;
	cursor: pointer;
	display: inline-flex;
	justify-content: center;
	align-items: 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: "";
	position: absolute;
	top: 10px;
	right: 10px;
	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);
}
