body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
  direction: rtl;
  text-align: right;
  overflow: hidden;
  width: 100vw;
  height: 100%;
}
h2 {
  font-family: 'Arial';
  text-align: center;
  font-size: 50px;
  white-space: nowrap;
  margin: 0px;
}
.tab {
  overflow: hidden;
  padding-left: 4vw;
  padding-right: 4vw;
}
.tab button {
  background-color: inherit;
  float: right;
  border: none;
  outline: none;
  font-size: 16px; /* اندازه متن */
  color: white; /* رنگ متن */
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  color: #fff;
}
.tab button:hover {
  transition: all 0.2s ease-in-out;
  background-color: #ddd;
  color: #333;
}
.tab button.active {
  background-color: #555;
  color: #fff;
}
.tabcontent {
  display: none;
  /*padding: 6px 12px;*/
  border-top: none;
  background-color: #fff;
  margin: 70px 20px;
  margin-bottom: 60px;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
}
.tabcontent h3 {
  margin-top: 0;
}
.fixed-header {
  width: 100%;
  background-color: #333;
  color: #fff;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
}
.fixed-footer {
  width: 100%;
  background-color: #333;
  color: #fff;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding: 10px 0;
  position: fixed;
  bottom: 0;
  left: 0;
}
.fixed-footer p {
  margin: 0;
  padding: 0 10px;
  font-size: 20px;
  white-space: nowrap;
}
/* لینک‌های معمولی */
a {
  color: white; 
  text-decoration: none; /* حذف خط زیر لینک */
}

/* لینک‌های بازدید شده */
a:visited {
  color: gray; /* رنگ بنفش */
}

/* لینک هنگام هاور (وقتی ماوس روی آن می‌رود) */
a:hover {
  color: orange; /* تغییر رنگ به قرمز */
  text-decoration: underline; /* نمایش خط زیر لینک */
}

/* لینک هنگام کلیک */
a:active {
  color: green; /* تغییر رنگ به سبز */
}
form {
  margin: 20px 0;
  width: 100%;
}
label {
  display: block;
}
.inputStyle {
  position: relative;
  margin-bottom: 20px;
  margin-left: 0;
  margin-right: 0;
}
.settingLabel,
.infoLabel {
  font-size: 16px;
  color: #ccc;
  position: absolute;
  pointer-events: none;
  top: 5px;
  right: 10px;
  padding: 0 5px;
  transition: all 0.2s ease-in-out;
}
input:focus ~ .settingLabel,
input:not(:placeholder-shown) ~ .settingLabel,
.infoLabel {
  top: -8px;
  right: 0px;
  font-size: 12px;
  color: #404040;
  background-color: white;
}
.infoLabel {
  top: -8px;
}
input[type='text'],
input[type='number'],
input[type='password'] {
  direction: ltr;
  padding: 8px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
  width: 100%;
  margin: 0 -2vw;
  height: 18px;
}
.paramBox {
  display: inline-block;
  position: relative;
  width: 100vw;
  direction: ltr;
  margin-bottom: 20px;
}
select {
  padding: 8px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
  width: calc(100% + 18px);
  margin: 0 -2vw;
  height: 36px;
}
.unitStyle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 5vw;
  padding-left: 5vw;
}
input[type='submit'],
button {
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.buttonCenter {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
}
input[type='submit']:hover,
button:hover,
.inputFile:hover {
  background-color: #555;
}
.checkbox-container {
  display: flex;
  flex-wrap: wrap;
}
.checkbox-column {
  flex: 1;
  padding: 10px;
}
.checkbox-column label {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.checkbox-column input[type='checkbox'] {
  margin-right: 10px;
  order: 1;
}
input[type='file'] {
  display: none;
}
.inputFile {
  display: inline-block;
  padding: 10px 20px;
  background-color: #333;
  color: #fff;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.file-name {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  color: #333;
  font-weight: bold;
}
#Console {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  padding-right: 5vw;
  padding-left: 5vw;
}
#console {
  border: 1px solid #ccc;
  overflow-y: auto;
  padding: 10px;
  position: relative;
  height: calc(100vh - 300px);
  display: flex;
  flex-direction: column; /* تغییر جهت فلکس به ستون */
  justify-content: flex-start; /* تنظیم جهت محتوا به بالا */
  background-color: #f4f4f4;
  box-shadow: inset 0px 0px 3px rgba(0, 0, 0, 0.3);
  text-align: left;
}
#controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 32px;
}
#inputBar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#inputBar input {
  margin-left: 0vw;
  margin-right: 5px;
  font-size: 16px;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
  padding: 10px 20px;
  border-radius: 4px;
}
#inputBar button {
  margin-left: 5px;
  margin-right: 0;
  font-size: 16px;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
#copyButton,
#clearButton {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  height: 40px;
}
.content {
  padding: 50px;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}
.card-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.card {
  background-color: white;
  box-shadow: 2px 2px 12px 1px rgba(140, 140, 140, 0.5);
}
.card-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
}
.reading {
  font-size: 1.2rem;
  color: #1282a2;
}
table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border: 1px solid black;
  padding: 8px;
  text-align: left;
}

thead {
  background-color: #f2f2f2;
}

tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

tbody tr:hover {
  background-color: #e9e9e9;
}


