/* Custom styles for the top bar */

body {
  font-family: roboto, sans-serif;
  font-size: 15px;
  color: #000;
}

h1,h2,h3,h4,h5,h6 {}
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(243, 50, 50);
  padding: 10px 20px;
}

.top-bar .email,
.top-bar .phone {
  font-size: 0.9rem;
  color: #333;
}

.top-bar .email i,
.top-bar .phone i {
  margin-right: 8px;
  color: #007bff;
}

.top-bar .social-icons {
  display: flex;
  gap: 10px;
}

.top-bar .social-icons a {
  color: #fffafa;
  font-size: 1.2rem;
  text-decoration: none;
}

.top-bar .social-icons a:hover {
  color: #007bff;
}

/* Media Query for Mobile Screens */
@media (max-width: 576px) {
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-bar .email,
  .top-bar .phone {
    margin-bottom: 5px;
  }

  .top-bar .social-icons {
    margin-top: 10px;
  }
}

.top-bar {
  background-color: #72c0f5;
  padding: 5px 15px;
  font-size: 0.9em;
}

.social-icons {
  float: right;
}

.social-icons a {
  margin-left: 10px;
}
/* .navbar-brand img{
    height: 100px;
    width: 100px;
  } */
.navbar {
  background-color: #72c0f5;
  padding: 10px 15px;
}

.logo {
  height: 100px;
  width: 100px;
  cursor: pointer;
}
.navbar-nav .nav-link {
  color: #000;
  font-weight: bold;

}

.promo-banner {
  background-color: #121111;
  color: white;
  padding: 15px 0;
  text-align: center;
  font-size: 20px;
}
.d-flex a {
  margin: 10px;
  font-size: 15px;
}

/* Base styles for dropdown and submenu */
.dropdown-menu,
.submenu {
  display: none;
  position: absolute;
  background: #f8f9fa;
  min-width: 160px;
  z-index: 1000;
  margin-left: 5px;
}

.dropdown-menu.show,
.submenu.show {
  display: block;
  margin-left: 5px;
}

.dropdown-menu .submenu {
  top: 0;
  left: 100%;
  margin-top: -6px;
}

/* Show dropdown menu on hover for larger screens */
.nav-item:hover .dropdown-menu {
  display: block;
}

.dropdown-menu:hover .submenu {
  display: block;
}

.nav-item,
.dropdown-menu {
  position: relative;
}

/* Media query for mobile screens */
@media (max-width: 767.98px) {
  .dropdown-menu,
  .submenu {
    position: static;
    margin: 0;
  }

  .dropdown-menu {
    display: none; /* Hide dropdown by default on mobile */
  }

  .dropdown-menu.show {
    display: block;
    position: relative; /* Ensure dropdown displays correctly in flow */
  }

  .dropdown-menu .submenu {
    display: none; /* Hide submenus by default on mobile */
  }

  .dropdown-menu.show .submenu {
    display: block; /* Show submenu when dropdown is active */
  }

  /* Toggle dropdown on click for mobile screens */
  .nav-item > a {
    cursor: pointer; /* Indicate that links are clickable */
  }

  .nav-item.active .dropdown-menu {
    display: block;
  }

  .nav-item.active .dropdown-menu .submenu {
    display: block;
  }
}
@media (max-width: 768px) {
  .top-bar,
  .social-icons {
    text-align: center;
    float: none;
  }

  .navbar-brand,
  .navbar-nav,
  .navbar-nav .nav-item {
    text-align: center;
    width: 100%;
  }

  .btn-success {
    width: 100%;
    margin-top: 10px;
  }
  .navbar-nav .nav-link {
    color: #000;
    font-weight: bold;
    border-bottom: 1px solid rgb(89, 89, 89);
    text-align: left;
  }
}
@media (max-width: 320px) {
  .top-bar,
  .social-icons {
    text-align: center;
    float: none;
    padding: 10px; /* Add some padding for better spacing */
  }

  .navbar-brand {
    font-size: 1.2rem; /* Adjust font size to fit small screens */
    padding: 5px; /* Reduce padding for smaller screens */
  }

  .navbar-nav,
  .navbar-nav .nav-item {
    text-align: center;
    width: 100%;
    padding: 5px 0; /* Adjust padding to fit items better */

  }
  .navbar-nav .nav-link {
    color: #000;
    font-weight: bold;
    border-bottom: 1px solid rgb(89, 89, 89);
    text-align: left;
  }

  .btn-success {
    width: 100%;
    margin-top: 10px;
    font-size: 0.9rem; /* Adjust button font size */
    padding: 10px; /* Adjust padding for the button */
  }
  /* Typing Test Section */
 /* General styles for cards */
 .card {
  margin-bottom: 10px; /* Reduce bottom margin for cards */
  padding: 5px; /* Add padding to card content */
  transition: transform 0.2s; /* Smooth transition for hover effect */
  
}

.card-img-top {
  height: 150px; /* Set a specific height for images */
  object-fit: cover; /* Ensure images cover the card without distortion */
}

.card-title {
  font-size: 1rem; /* Adjust card title font size */
}

.card-text {
  font-size: 0.8rem; /* Adjust card text font size */
}

.card:hover {
  transform: scale(1.02); /* Slightly enlarge card on hover */
}

@media (max-width: 768px) {
  .card-img-top {
      height: 120px; /* Reduce image height for medium screens */
  }

  .card-title {
      font-size: 0.9rem; /* Adjust card title font size */
  }

  .card-text {
      font-size: 0.7rem; /* Adjust card text font size */
  }

  .card {
      padding: 10px; /* Increase padding for better readability */
  }
}

@media (max-width: 576px) {
  .card-img-top {
      height: 100px; /* Further reduce image height for smaller screens */
  }

  .card-title {
      font-size: 0.8rem; /* Further adjust card title font size */
  }

  .card-text {
      font-size: 0.6rem;
  }

  .card {
      padding: 15px;
  }
}}
/* Banner-slider */

.carousel-item img {
  width: 100%;
  height: auto;
}
.carousel-caption {
  background-color: #72c0f5;
  padding: 10px;
  border-radius: 5px;
}

/* Typing Result */
.table-container {
  display: flex;
  flex-wrap: nowrap; /* Prevent wrapping to the next line */
  overflow-x: auto; /* Add horizontal scroll */
  gap: 20px; /* Space between cards */
}

.table-card {
  flex: 1; /* Allow cards to grow equally */
  min-width: 300px; /* Minimum width of each card */
  margin-bottom: 20px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
  max-height: 400px;
}

.table-card h4 {
  margin-top: 0;
  padding: 10px;
  background-color: #72c0f5;
  color: #f6f4f4;
}

.table-responsive {
  height: 100%;
  overflow-y: auto;
  padding: 0 10px;
}

.table-responsive table {
  width: 100%;
  border-collapse: collapse;
}

.table-responsive th,
.table-responsive td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.table-responsive th {
  background-color: #f7f9f9;
}

.table-card a {
  display: block;
  padding: 10px;
  color: #007bff;
  text-decoration: none;
}

.table-card a:hover {
  text-decoration: underline;
}
@media (max-width: 576px) {
  .table-container {
    flex-direction: column; /* Stack cards vertically on small screens */
    overflow-x: visible; /* Remove horizontal scroll on mobile */
    gap: 10px; /* Reduce gap between cards */
  }

  .table-card {
    min-width: auto; /* Remove minimum width constraint */
    margin: 0; /* Remove margin to fit cards properly */
    max-height: none; /* Remove fixed height for better fit */
  }

  .table-card h4 {
    font-size: 1rem; /* Adjust font size for smaller screens */
    padding: 8px; /* Reduce padding */
  }

  .table-responsive {
    height: auto; /* Remove fixed height */
    overflow-y: visible; /* Remove vertical scroll */
    padding: 0; /* Remove padding */
  }

  .table-responsive table {
    width: 100%; /* Ensure table takes full width */
  }

  .table-responsive th,
  .table-responsive td {
    font-size: 0.9rem; /* Reduce font size for smaller screens */
  }

  .table-card a {
    padding: 8px; /* Reduce padding for better fit */
  }
}

/* End */

/* Typing test */
.card-container {
  margin-top: 50px;
}

.card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s;
}

.card-img-top {
  height: 160px;
  width: 150px;
  object-fit: cover;
  border-radius: 50%;
    border: solid 8px #ebebeb;
    
}

.card-body {
  padding: 20px;
}

.card-title {
  font-size: 1.2rem;
  font-weight: bold;
}

.card-text {
  font-size: 0.9rem;
  color: #666;
}

@media (max-width: 576px) {
  .card-container {
    margin-top: 10px; /* Reduce top margin for better fit */
  }

  .card {
    border-radius: 5px; /* Reduce border radius for smaller screens */
    overflow: hidden; /* Ensure content does not overflow */
    transition: none; /* Remove scale effect for small screens */
  }

  .card-img-top {
    height: 150px; /* Adjust image height for smaller screens */
  }

  .card-body {
    padding: 15px; /* Reduce padding inside the card */
  }

  .card-title {
    font-size: 1rem; /* Adjust font size for titles */
  }

  .card-text {
    font-size: 0.8rem; /* Adjust font size for text */
  }
}

/*  End */
/*  Live typing test */
.card {
  background-color: #faf8f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.card-header {
background-color: #72c0f5;
  color: #080808;
  text-align: center;
  padding: 0px 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.card-header h4 {
/* background-color: #72c0f5; */
  color: #121111;
  margin-top: 40px;

}
.card-body {
  padding: 2px;
  text-align: center;
}

.table {
  margin-bottom: 20px;
}

.btn-primary {
  background-color: #72c0f5;
  border: none;
  margin-bottom: 6px;
}

.btn-success {
  background-color: #28a745;
  border: none;
}

.btn-warning {
  background-color: #72c0f5;
  border: none;
}
.btn-danger {
  background-color: #72c0f5;
  border: none;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.05);
}

.table-bordered td,
.table-bordered th {
  border: 1px solid #ddd;
}

.table-hover tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.075);
}

.table-condensed td,
.table-condensed th {
  padding: 5px;
}

.table-responsive {
  overflow-x: auto;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}
.nav-tabs .nav-link.active {
  background-color: #3498db; /* Change background color */
  color: #fff; /* Change text color */
}
/* content */
/* Base Styles */
.Container {
  padding: 20px;
  background-color: #f8f9fa; /* Light background for better readability */
}

.Container h3 {
  font-size: 2rem; /* Default font size for large screens */
  margin-bottom: 20px;
  color: #333; /* Dark color for contrast */
}

.Container p {
  font-size: 1rem; /* Default font size for large screens */
  line-height: 1.6; /* Improve readability with increased line-height */
  color: #555; /* Slightly lighter color for the text */
}

/* Responsive Styles */
@media (max-width: 768px) {
  .Container {
    padding: 15px; /* Reduce padding for medium screens */
  }

  .Container h3 {
    font-size: 1.5rem; /* Adjust font size for smaller screens */
    margin-bottom: 15px; /* Adjust margin */
  }

  .Container p {
    font-size: 0.9rem; /* Adjust font size for smaller screens */
    line-height: 1.5; /* Adjust line-height for readability */
  }
}

@media (max-width: 576px) {
  .Container {
    padding: 10px; /* Further reduce padding for very small screens */
  }

  .Container h3 {
    font-size: 1.2rem; /* Adjust font size further for very small screens */
    margin-bottom: 10px; /* Adjust margin */
  }

  .Container p {
    font-size: 0.85rem; /* Further adjust font size */
    line-height: 1.4; /* Adjust line-height for small screens */
  }
}
/* footer */

.footer {
  background-color: #1f5173;
  padding: 20px 0;
  margin-top: 50px;
  color: #fff;
}

.footer .container {
  display: flex;
  flex-direction: column;
/*   align-items: center; */ 
  justify-content: center;
  /* gap: 10px; */
}

.footer .container .row {
  display: flex;
  flex-wrap: wrap;
  /* justify-content: space-between; */
  align-items: center;
}

.footer .container .row .col-md-3 {
  flex-basis: 100%;
  margin-bottom: 20px;
}

.footer .container .row .col-md-3 h5 {
  font-weight: bold;
  margin-bottom: 10px;
}

.footer .container .row .col-md-3 ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.footer .container .row .col-md-3 ul li {
  margin-bottom: 5px;

}

.footer .container .row .col-md-3 ul li a {
  color: #fff;
  text-decoration: none;
  text-align: left;
}

.footer .container .row .col-md-3 ul li a:hover {
  text-decoration: underline;
}

.footer .container .row .col-md-3 .social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer .container .row .col-md-3 .social-icons a {
  color: #ada9a9;
  text-decoration: none;
}

.footer .container .row .col-md-3 .social-icons a:hover {
  color: #007bff;
}

.footer .container .row .col-md-3 .social-icons i {
  font-size: 1.5em;
}

.footer .container .copyright {
  font-size: 14px;
  color: #101010;
  text-align: center;
}

.footer ul li a {
    color: #fff;
}

@media (max-width: 768px) {
  .footer .container .row {
    flex-direction: column;
  }

  .footer .container .row .col-md-3 {
    margin-bottom: 10px;
  }
}

.login_tab a {
  font-size: 15px;
  background: #00afef;
  padding: 10px 15px;
  color: #fff;
  border-radius: 5px;
  margin: 0 5px;
}
.h_heading {
  font-size: 16px;
}

/* result */
.exam-name {
  background-color: #363636;
  color: #f7f64e;
  height: 5%;
  justify-content: space-between;
  display: flex;
  padding: 10px;
}
/* General page styling */
.result table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.result th {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
  background:#cee3f8;
}
.result td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
}
.fixed_notification{
  position: fixed;
  bottom: 0%;
  width: 100%;
}
.select-options {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.select-option {
  margin: 0 10px;
}
.select {
  text-align: center;
  padding: 20px;
  border: 2px solid #ccc;
  justify-content: end;
}

.result-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex; /* Use flexbox to align children */
    justify-content: flex-end; /* Align children (button) to the right */
    align-items: center; /* Vertically center the button */
    padding: 10px;
    border-top: 1px solid gray;

  }

  .result-button {
    background-color: #38aae9; /* Blue button */
    color: rgb(0, 0, 0);
    border-color: #38aae9;
    padding: 10px 15px;
    cursor: pointer;
    display: inline-block;
    margin-right: 20px;

  }


/* new_typingtest and instruction  */
/* ###########################  */
.exam-name{
    background-color: #363636;
    color: #f7f64e;
    justify-content: space-between;
    display: flex;padding: 10px;
  }
  .header-bar{
    background-color: #2d70b6;
    color: #2d70b6;
    height: 40px;
  }
  .result-bar{
    text-align: center;
    font-weight: bold;
    padding: 5px;
  }
  .nav-tabs .nav-link {
    color: #007bff;
    font-weight: bold;
    padding: 10px;
  }

  .nav-tabs .nav-link.active {
    background-color: #0056b3;
    color: #ffffff;
  }
  .time-left {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    color: #333;
  }
  .time-left span {
    font-size: 18px;
    font-weight: bold;
    color: #d9534f;
  }

  .border {
    border: 1px solid #ddd;
  }
  .img-1 {
    text-align: center;
    border: 1px solid #949494;
  }
  .user-icon {
    margin: 10px;
  }

  .col-sm-10 {
    padding-right: 15px;
  }

  .container-fluid {
    padding: 0 1rem;
  }

  .row.align-items-center {
    border-bottom: 1px solid #ddd;
  }

  .time-left {
    font-size: 1rem;
    color: #333;
  }

  .nav-tabs {
    border-bottom: 1px solid #ddd;
  }

  .nav-link {
    border: 1px solid transparent;
    border-radius: 0.25rem;
    padding: 0.5rem 1rem;
  }

  .p-2 {
    padding: 0.5rem;
  }

  .blue-bar {
    height: 5px;
    background-color: #0056b3;
    margin-top: 1rem;
  }

  .sample-text {
    border: 1px solid rgb(195, 193, 193);
    border-radius: 5px;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    line-height: 1.5;
    color: #333;
    margin-top: 10px;
    padding: 10px;
  }

  /* Profile container with image and name in the same row */
  .profile-container {
    display: flex;
    align-items: right;
    justify-content: right;
  }

  /* Styling for the image */
  .user-icon {
    margin-right: 10px;
    object-fit: cover;
  }

  /* Styling for the name */
  .user-name h6 {
    font-size: 16px;
  }

  .result-head{text-align: center;}
  textarea.form-control {
    resize: vertical;
    border-radius: 0.25rem;
    border: 1px solid #ddd;
    padding: 10px;
    font-size: 1rem;
  }

  textarea.form-control:focus {
    border-color: #0056b3;
    box-shadow: 0 0 5px rgba(0, 91, 179, 0.5);
  }

  @media (max-width: 576px) {
    .row.align-items-center {
        flex-direction: column;
        text-align: center;
    }

    .time-left {
        margin-top: 0.5rem;
    }

    .user-icon {
        margin: 0 auto 0.5rem;
        width: 50px;
        height: 50px;
    }

    .nav-tabs .nav-item {
        width: 100%;
        text-align: center;
    }

    .border {
        padding: 10px;
    }

    .sample-text {
        font-size: 0.875rem;
    }
  }

  @media (max-width: 768px) {
    .sample-text {
        font-size: 0.875rem;
    }

    textarea.form-control {
        font-size: 0.875rem;
    }
  }


  /* instruction */
  .header-bar {
    background-color: #2d70b6;
    color: #2d70b6;
    height: 40px;
  }
  .instructions-section {
    display: flex;
  }
  .instructions-content {
    flex: 9; /* 9 parts of the flex container */
    border-right: 2px solid black;
  }
  .instructions-image {
    flex: 2; /* 3 parts of the flex container */
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .instructions-image img {
    max-width: 100%; /* Responsive image */
    height: auto;
    border-radius: 10px;
  }
  .instructions-content h2 {
    color: #333; /* Darker text color */
    background-color: #bce8f5;
    margin: 0%;
    padding: 10px;
  }
  .instructions-content ul {
    list-style-type: decimal;
  }
  .instructions-content li {
    margin-bottom: 10px; /* Space between list items */
  }
  .instructions-checkbox {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgb(163, 163, 163);
  }


  .result-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
  }

  /* Center the button horizontally and vertically */
  .button-container {
    display: flex;
    justify-content: center; /* Horizontally center the button */
    align-items: center;
  }
  /* Mobile Styling */
  @media (max-width: 767px) {
    /* Instructions Section */
    .instructions-section {
      flex-direction: column; /* Stack elements vertically */
    }

    .instructions-content {
      flex: 1; /* Take up full width */
      padding: 15px;
      border-right: none;
      margin-bottom: 20px;
    }

    .instructions-image {
      flex: 1;
      background-color: #f8f9fa;
    }

    .instructions-image img {
      max-width: 90%;
      height: auto;
      margin: 0 auto;
      display: block;
    }

    /* Heading Style */
    .instructions-content h2 {
      font-size: 20px;
      padding: 10px;
      margin-bottom: 15px;
      background-color: #bce8f5;
      text-align: center;
    }

    /* List Style */
    .instructions-content ul {
      padding-left: 20px;
      margin-bottom: 15px;
    }

    .instructions-content li {
      font-size: 14px; /* Smaller font size for mobile */
      margin-bottom: 8px;
    }

    /* Checkbox Section */
    .instructions-checkbox {
      margin-top: 10px;
      text-align: center; /* Center the checkbox section */
    }
  }

  /* login */
  .header-bar{
    background-color: #2d70b6;
    color: #2d70b6;
  }
  /* Header styling */
  .header {
    color: #fff;
    display: flex;
    justify-content: space-between;
    top: 0;
    left: 0;
  }
  .header img{
    border: 1px solid black;
    padding: 2%;
  }
  .header-content {
    background-color:#666;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 10px;
  }
  .header-left {
    font-size: 20px;
    color: rgb(255, 255, 255);
  }
  .header-left h1{
    color: yellow;
  }
  .header-right p {
    margin: 5px;
    font-size: 20px;
    color: yellow;
  }
  .header-top img {
    height: 30px;
    width: 30px;
  }
  /* Login box styling */
  .login-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
    margin: 50px auto;
    text-align: center;
    border: 2px solid #007bff;
  }
  .login-box h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #005792;
  }
  .input-container {
    position: relative;
    width: 100%;
    margin: 10px 0;
  }
  .login-box input {
    padding: 10px 40px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    width: 80%; /* Responsive input width */
  }
  .input-icon {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #555;
    font-size: 18px;
  }
  .keyboard-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: #555;
    font-size: 18px;
    cursor: pointer;
  }
  .login-box button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
  }
  .login-box button:hover {
    background-color: #0056b3;
  }
  /* Keyboard styling */
  .keyboard {
    display: none;
    position: absolute;
    top: 500px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 340px;
    padding: 15px;
    background-color: #e3f2fd;
    border: 2px solid #0288d1;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    margin-top: 50px;
  }
  .keyboard-row {
    display: flex;
    justify-content: center;
    margin: 5px 0;
  }
  .key {
    width: 35px;
    height: 35px;
    margin: 3px;
    background-color: #0288d1;
    text-align: center;
    line-height: 35px;
    font-size: 18px;
    color: #ffffff;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
  }
  .key:hover {
    background-color: #0277bd;
  }
  .key:active {
    background-color: #01579b;
    transform: scale(0.95);
  }
  .key.special {
    width: 70px;
    background-color: #004ba0;
    color: #ffffff;
    font-weight: bold;
  }
  /* Mobile Styling */
  @media (max-width: 767px) {
  /* Header */
  .header {
  padding: 10px;
  flex-direction: column;
  text-align: center;
  }

  .header-content {
  flex-direction: column;
  justify-content: center;
  }

  .header-left {
  font-size: 18px;
  }

  .header-left h1 {
  font-size: 22px; /* Larger heading */
  }

  .header-right p {
  font-size: 16px;
  }

  /* Header Icon */
  .header-top img {
  height: 20px;
  width: 20px;
  }

  /* Login Box */
  .login-box {
  width: 90%;
  margin: 20px auto;
  padding: 20px;
  }

  .login-box h2 {
  font-size: 20px; /* Adjust heading size */
  margin-bottom: 15px;
  }

  .login-box input {
  width: 100%; /* Full width on smaller screens */
  padding: 12px 20px;
  font-size: 14px; /* Smaller font size */
  }

  .input-icon,
  .keyboard-icon {
  font-size: 16px; /* Smaller icon size */
  }

  .login-box button {
  padding: 12px;
  font-size: 14px;
  }

  /* Keyboard */
  .keyboard {
  top: 400px; /* Adjust position for mobile screens */
  width: 100%;
  max-width: 320px;
  }

  .keyboard-row .key {
  width: 30px; /* Smaller key size */
  height: 30px;
  font-size: 16px; /* Smaller text inside keys */
  }

  .keyboard-row .key.special {
  width: 60px; /* Adjust width of special keys */
  }

  /* Ensure the buttons and keys are evenly spaced on smaller screens */
  .keyboard-row {
  justify-content: space-around;
  }
  }
