@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;600&display=swap');

body {
  font-family: "Vazirmatn";
  margin: 0;
  background: #f6f8fa;
  color: #1e293b;
  direction: rtl;
  text-align: right;
}

.site-header {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 1rem 0;
}

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

.logo {
  height: 40px;
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: 2rem auto;
}
input[type="search"] {
    font-family: "Vazirmatn";
    font-size:15px;
}

input[type="search"]::placeholder {

    font-size:15px;
}

#searchInput {
  padding: 15px .9rem;
  border: 1px solid #54bd8a;
  border-radius: 30px;
  width: 330px;
  
}
.filters {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  max-width: 100%;
  margin: 20px auto;
  text-align: center;
  padding: 1px 0px 20px 0px;
}

.filters-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 25px;
  color: #333;
}

.filter-group {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom:30px;
}

.filter-option {
    position: relative;
    cursor: pointer;
}

.filter-option input {
  display: none; /* مخفی کردن چک‌باکس اصلی */
}

.filter-option span {
  display: inline-flex;
  align-items: center;
  gap: 8px; /* فاصله بین تیک و متن */
  padding: 8px 16px;
  border-radius: 7px;
  background: #dddcee;
  color: #1e3a8a;
  font-weight: 500;
  transition: all 0.4s ease;
  box-shadow: 0 3px 6px rgba(35, 30, 125, 0.35);
}

.filter-option input {
  display: none;
}
.filter-option .tick{
  width: 23px;
  height: 23px;
  opacity: 0.2; /* پیش‌فرض مخفی */
  transition: opacity 0.5s ease;
}

/* وقتی چک‌باکس فعال باشد */
.filter-option input:checked + span {
  background: #25108c;
  color: #fff;
  box-shadow: 0 3px 8px rgba(79,70,229,0.4);
}

.filter-option input:checked + span .tick {
  opacity: 1;
}

.table-section {
  margin-top: 2rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 1rem;
}

.table-wrapper {
  overflow-x: auto;
  border-radius:7px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: auto;
}

thead {
  background: #d2d2d2;
}

th, td {
  padding: .8rem 1rem;
  text-align: right;
  border-bottom: 1px solid #e5e7eb;
}

tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

tbody tr:nth-child(even) {
  background-color: #f3f4f6;
}

tbody tr:hover {
  background: #cacaca;
}
.table-wrapper {
  overflow-x: auto;
}

#domainsTable {
  width: 100%;
  border-collapse: collapse;
}

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

@media (max-width: 768px) {
  #domainsTable th, #domainsTable td {
    font-size: 11px;
    padding: 6px;
  }
}
h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.contact-btn {
    display: inline-flex;  
    align-items: center;
    flex-direction: row-reverse;
    gap: 12px;      
    padding: 6px;       
    white-space: nowrap;        
    width: auto !important;    
    background: #0d6efd;
    border-radius: 10px;
    color: #fff;
    font-size:14px;
    text-decoration:none;
}

.contact-btn:hover {
  background: #0b5ed7;
}

.icon {
    width: 25px;
    height: 25px;
    object-fit: contain;
}
@media (max-width: 768px){
.contact-btn {
    align-items: right;
    gap: 3px;      
    padding: 4px;       
    white-space: nowrap;        
    width: auto !important;    
    border-radius: 5px;
    font-size:10px;
}
}
@media (max-width: 768px){
.icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}}
.site-footer {
    width: 100%;
    padding: 30px 0px 10px 0;
    background: #222;
    display: inline-block;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}
.support-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
}

.support-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #444;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
    transition: 0.2s;
}

.support-btn:hover {
    background: #666;
}

.support-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

footer {
  text-align: center;
  padding: 5rem;
  color: #cacaca;
  margin-top: 20px;
  font-size:14px;
}
footer a {
    color:#54bd8a;
    text-decoration:none;
}
footer a:hover {
    color:#fff;
    text-decoration:underline;
}
/* موبایل: سایز فونت 12px */
@media (max-width: 768px) {
footer {
    font-size: 12px;
  }}