@font-face {
  font-family: 'Yekan';
  src: local('Yekan'), url('../fonts/YekanBakhFaNum-Light.woff') format('woff');
  /* Add other font formats (e.g., woff2, ttf) if needed */
}

body {
  font-family: 'Yekan';
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #f1f1f1;
}

.center-container {
  display: flex;
  justify-content: center;
}

table {
  width: 50%;
  margin-top: 20px;
  border-collapse: collapse;
  align-items: center;
  justify-content: center;
  text-align: center;
}

th,
td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

th {
  background-color: #f1f1f1;
}

.tabs {
  display: flex;
  list-style: none;
  padding: 0;
}

.disabled-tab {
  opacity: 0.5; /* Adjust the opacity to visually indicate a disabled state */
  pointer-events: none; /* Disable pointer events on the tab */
}

#currentRunningData span {
    font-weight: bold;
}

.disabled-radio {
    color: red;
}


.tab {
  cursor: pointer;
  padding: 10px;
  margin: 0 10px;
  border: 1px solid #ddd;
  border-radius: 5px 5px 0 0;
}

.tab:hover {
  background-color: #34AC81;
}

.tab-content {
  display: none;
}

.active-tab {
  display: block;
}

ul {
  align-items: center;
  justify-content: center;
  text-align: center;
}

footer {
  margin-top: 20px;
  padding: 10px;
  background-color: #f1f1f1;
}

/* Added styles for the spinner */
.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  display: none;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

th {
    color: #eaecee ;
    background-color: #212f3c;
}

h2 {
    color: #fffff ;
    text-align: center;
    margin-top: 20px;
}

td.editable {
    cursor: pointer;
}

#saveButton {
    font-family: 'Yekan', sans-serif;
    display: block;
    margin: 20px auto;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
}

.download-button {
    font-family: 'Yekan', sans-serif;
    color: white;
    position: fixed;
    bottom: 20px;
    right: 20px;
    border-radius: 5px;
    background-color: #212f3c;
}

.buttonbot {
    font-family: 'Yekan', sans-serif;
    color: white;
    position: fixed;
    bottom: 20px;
    right: 20px;
    border-radius: 5px;
    background-color: #212f3c;
}

button {
  font-family: 'Yekan';
  background-color: #04AA6D; /* Green */
  border-radius: 5px;
  border: none;
  color: white;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 12px;
  margin: 4px 2px;
  cursor: pointer;
}

ul {
  font-family: 'Yekan';
}

li {
  font-family: 'Yekan';
  background-color: #347D63; /* Green */
  border-radius: 5px;
  border: none;
  color: white;
  padding: 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

#enableSwitch, #speedSelector {
    margin-top: 10px;
}

/* Responsive Styles */
@media only screen and (max-width: 600px) {
    table {
        width: 90%;
    }
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
