/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}*/

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/**html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}*/




/*Extra Add by Myself*/

/* Default styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* For tablets (screen width between 600px and 1024px) */
@media (min-width: 600px) and (max-width: 1024px) {

    html {
        position: relative;
        min-height: 100%;
        font-size: 16px; /* Base font size for tablets */
    }
    .form-inline {
        flex-direction: column;
        align-items: stretch;
    }
    .tableSale {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
        font-size: 14px; /* Optional: adjust text */
    }

    .table-container1 {
        width: 100%; /* Stack user list above or below */
        max-height: 40%;
        margin-left: 0;
    }
    #keyboard button {
        font-size: 18px;
        padding: 12px;
    }
}

/* For mobile devices (screen width less than 600px) */
@media (max-width: 599px) {
    html {
        position: relative;
        min-height: 100%;
        font-size: 14px; /* Base font size for mobile */      
    }  
}


.container {
    display: flex;
    flex-wrap: wrap;
}

.item {
    flex: 1 1 300px; /* Flex-grow, flex-shrink, and base size */
    margin: 10px;
    background-color: #f0f0f0;
    padding: 20px;
}
/* For Svg icon image color*/
img {
    filter: invert(100%) sepia() saturate(0%) hue-rotate(0);
}

/* Keyboard container */
/* Keyboard container */
.keyboard {
    display: grid;
    grid-template-columns: repeat(10, 40px); /* small keys */
    gap: 3px;
    padding: 5px;
    background: linear-gradient(145deg, #0d1b2a, #112240); /* dark blue nebula */
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.3), 0 0 25px rgba(0, 123, 255, 0.2);
    width: max-content;
    font-family: 'Courier New', monospace;
}

/* Each key */
.key {
    padding: 6px 0;
    text-align: center;
    background: linear-gradient(135deg, #6a1b9a, #4a148c, #232734);

    border-radius: 6px;
    border: 1px solid #007bff; /* neon blue border */
    color: white; /* cyan-blue text */
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 0 4px rgba(0, 191, 255, 0.3);
    font-size: 14px;
}

    .key:hover {
        background: #007bff; /* bright blue on hover */
        color: #112240; /* dark text on hover */
        box-shadow: 0 0 8px rgba(0, 123, 255, 0.7), 0 0 15px rgba(0, 123, 255, 0.5);
        transform: translateY(-1px);
    }

/* Special keys */
.key-space {
    grid-column: span 5; /* wide spacebar */
}

.key-back {
    background: #0056b3;
    color: #fff;
    border-color: #3399ff;
}

    .key-back:hover {
        background: #3399ff;
        color: #112240;
        box-shadow: 0 0 8px rgba(51, 153, 255, 0.7), 0 0 15px rgba(51, 153, 255, 0.5);
    }