#maincon{
    margin: 0 auto;
    width: 380px;

}
#grid{
 width: 280px;
    margin: 0 auto;
}
table , td, th {
	
	  border-collapse: separate;
  border-spacing: 3px 5px; 
}
td, th {
    border: 2px solid #595959;
	padding: 3px;
	width: 30px;
	height: 30px;
    text-align: center;
    font-size: 20px;  font-weight: bold;
}
th {
	background: #f0e6cc;
}
#keyboard-wrapper {
    width: 350px;
    background: #f0f0f0;
    padding: 5px; 
    border-radius: 8px;
    box-sizing: border-box;
    margin: 0 auto;
}

.kb-container {
    display: flex;
    flex-direction: row-reverse; 
    justify-content: space-between;
    width: 100%;
}

.kb-column {
    display: flex;
    flex-direction: column; 
    gap: 2px;
}

.kb-column button {
   
    width: 30px; 
    height: 38px;
    font-size: 20px; 
    font-weight: bold;
    cursor: pointer;
    background: #ffffff;
    border: 1px solid #bbb;
 
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kb-column button:active {
    background: #ccc;
}

.kb-footer {
    display: flex;
    gap: 4px;
    margin-top: 6px;
}

.kb-footer button {
    flex: 1;
    height: 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    background: #e0e0e0;
    border: 1px solid #bbb;
    border-radius: 4px;
}

.btn-delete {
    background: #ffcccc !important;
}

#title{
    background-color: #bbb;
    text-align:center ;
    width: 380px;
}