/* style.css */
@import url(fontiran.css);
body {
 font-family: 'Lato', IRANSansX;
 background: #4e54c8;  /* fallback for old browsers */
 background: -webkit-linear-gradient(to right, #8f94fb, #4e54c8);  /* Chrome 10-25, Safari 5.1-6 */
 background: linear-gradient(to right, #ffdbdb, #a3c3ff); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  margin: 0;
  padding: 20px;
  text-align: center;
}
.cont6ainer {
  display: flex;
  justify-content: center;
  align-items: center;
}
.capclass{
             display: flex; 
  justify-content: center;
  align-items: center;
}
.buttonso {
  display: flex;
  justify-content: center;  
}
.setpassclass{
    
}

.btno {
 font-family: 'Lato', sans-serif;  
  font-size: 20px;  
  padding: 10px 15px;
  background: #7D3C98; 
  border: none;
  border-radius: 5px;
  margin-right: 0px 10px;
}

.btnof {
 font-family: 'Lato', sans-serif;  
  font-size: 20px;  
  padding: 10px 15px;
  background: #7D3C98; 
  border: none;
  border-radius: 5px;
  margin-right: 50px;
}

.btnos {
 font-family: 'Lato', sans-serif;  
  font-size: 20px;  
  padding: 10px 15px;
  background: #7D3C98; 
  border: none;
  border-radius: 5px;
  margin-left: 50px;
}

.btno a {
  
  color: #fff;
  text-decoration: none;
}

.btnof a {
  
  color: #fff;
  text-decoration: none;
}

.btnos a {
  
  color: #fff;
  text-decoration: none;
}

#eyeIcon {
    margin-bottom: 20px;
    font-size: larger;
}

i#eyeIcon {
    display: block;
    text-align: center;
    margin-bottom: 15px;
    margin-top:10px;
}

#password {
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  margin-bottom: 20px;
  padding: 8px;
  border-radius: 5px;
  border: 3px dashed #ccc;
  width: 96%;
  font-size: large;
  font-weight: 500;
}
h1 {
  font-family: 'Lato', sans-serif;  
  color: #333;
  text-align: center;
  font-size:20px;
}
h2 {
  font-family: 'Lato', sans-serif;  
  color: #333;
  text-align: center;
  font-size:15px;
}

form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 5px 20px 3px rgb(0 0 0 / 75%);
}
textarea.cent {
  font-family: IRANSansX;
  display: block;
  margin-left: auto;
  margin-right: auto;  
  font-size: 16px;
  width: 95%;
  padding: 10px;
  border: 3px dashed #ccc;
  border-radius: 5px;
  height: 200px;
  resize: vertical;
  overflow: auto;
  min-height: 200px;
}
.rtl {
  font-family: IRANSansX;
  direction: rtl;
  text-align: right;
  padding-left: 5px;
  padding-top: 15px;
  padding-bottom: 15px;
  max-width: 98%;
  overflow-y: auto;
  overflow-wrap: break-word;
  margin-top: auto;
  top: 0px;
}
pre {
  white-space: pre-wrap;
  overflow-x: auto;
  max-width: 100%;
}
.ltr {
  font-family: 'Lato', sans-serif;
  direction: ltr;
  text-align: left;
  padding-right: 20px;
  padding-left: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
  max-width: 98%;
  margin-top: auto;
  top: 0px;
  
}
.linkok {
  font-family: 'Lato', sans-serif;
  background-color: #fff;
  border: 2px solid #3f51b5;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
  color: #3f51b5;
  font-size: 18px;
  font-weight: bold;
  padding: 10px 15px;
  text-align: center;
  width: fit-content;
  margin: 20px auto; /* تغییر اعمال شده است */
}
.reverse-text{
   font-size: 800px;  
}
.linkok a {
  color: #3f51b5;
  text-decoration: none;
  transition: all 0.3s;
}

.linkok a::after {
  content: ">>";
  opacity: 0;
  right: -20px;
  top: 3px;
  transition: .3s;  
}

.linkok a:hover {
  padding-right: 20px;
}

.linkok a:hover::after {
  opacity: 1;
  right: 0;
}
.banner {
width: 580px;
display: inline-flex;
align-items: center; 
justify-content:center;
height:200px;
}
.link{
    display: flex;
    justify-content:space-between;
}
.setorg {
  justify-content: normal;
  align-items: center;
  height: 100px;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  box-shadow: 0 5px 20px 3px rgb(0 0 0 / 75%);
  border-radius: 5px;
  overflow: auto;
  resize: vertical;
  padding: 30px;
  min-height: 300px;
}

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 45px; /* افزودن فاصله بالا 50px */
}

.button {
  display: block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  width: fit-content;
  height: 20px; /* افزودن ارتفاع برای تناسب بهتر */
  text-decoration: none;
  background-color: #508dff;
  color: #fff;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.button2 {
  display: block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  width: 200px;
  height: 44px; /* افزودن ارتفاع برای تناسب بهتر */
  text-decoration: none;
  background-color: #508dff;
  color: #fff;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  cursor:pointer;
}
.button:hover {
  background-color: #45a049;
}

.button2:hover {
    background-color: #45a049;
}

button[type="submit"]:hover {
    background-color: #45a049;
    transform: scale(0.9);
}

.button:active {
  background-color: #3e8e41;
}
.empty-row {
  height: 20px; /* ارتفاع دلخواه را تعیین کنید */
}
.createlink{
    flex-direction: column;
    align-items: center;
}

button[type="submit"] {
  font-family: 'Lato', sans-serif;  
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  background-color: #508dff;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.3s ease;
}
.container2 {
    width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f2f2f2;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

textarea {
    width: 100%;
    height: 200px;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    resize: none;
}
.link-container {
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-around;
}

.link-container a {
  font-weight: bold;
  color: #7D3C98;
  text-decoration: none;
  margin-right: 15px; /* Adjust or remove to suit the design */
}

.link-container a:last-child {
  margin-right: 0; /* Remove margin for the last item */
}

.footer {
  text-align: center;
  color:darkgrey;
  padding-top: 5px;
  font-family: 'Lato', sans-serif;
}

.contact-us-header {
    font-size: 30px;
    font-weight: 900;
    color: #7D3C98;
    margin-bottom: 40px;
}

 h1 .contact-us-header {
    font-size: 30px;
    font-weight: 900;
    color: #7D3C98;
    margin-bottom: 40px;
}

 .contact02-us-header {
    font-family: 'Lato', sans-serif;
    color: #333;
    text-align: center;
    font-size: 20px;
    line-height: 35px;
    font-weight: 700;
}

h2 .contact02-us-header {
    font-family: 'Lato', sans-serif;
    color: #333;
    text-align: center;
    font-size: 20px;
    line-height: 35px;
}

 .contact03-us-header {
    font-family: 'Lato', sans-serif;
    color: #333;
    text-align: center;
    font-size: 16px;
    line-height: 25px;
    font-weight: 700;
}

.title-container {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;

}

#blog-title,
#bot-title {
    transition: transform 0.3s ease-in-out; /* Add a transition effect for the transform property */
}

#blog-title:hover {
    transform: scale(1.2); /* Zoom in effect on hover for Blog link */
}

#bot-title:hover {
    transform: scale(1.2); /* Zoom in effect on hover for Telegram Bot link */
}

#blog-link, #bot-link {
        text-decoration: none;
        color: #7D3C98;
        transition: color 0.3s ease; /* Adding a smooth color transition on hover */
}

#blog-link:hover, #bot-link:hover {
        color:#007bff; /* New hover color */;
}

.heading-title{
    
    font-size: 30px;
}

.submit-butt{
    
  transition: transform 0.3s ease-in-out;   
}

.submit-butt:hover{
    
  transform: scale(0.89);
    
}

/* Responsive styles */
/* Styles for mobile devices */
@media only screen and (max-width: 767px) {
  form, .banner, textarea.cent {
    width: 100%;
    padding: 10px;
    box-sizing: border-box; /* Ensures padding doesn't add to the width */
  }

  textarea.cent {
    width: 100%; /* Overrides the previous max-width on smaller screens */
    margin: 0 auto; /* Keeps the margin auto for centering */
  }

  .link, .link-container, .title-container, .button-container, .createlink, .buttonso {
    flex-direction: column;
    align-items: normal;
  }

  .link a, .link-container a, .button, .button2 {
    width: 100%; /* Full width buttons and links on small screens */
    margin-bottom: 20px; /* Adds space between stacked items */
    text-align: center !important;
    height: fit-content;
  }

  h1, h2 {
    font-size: x-large; /* Adjust font size for smaller screens */
    line-height: 30px;
  }

  .setorg, .container2 {
    width: 100%;
    height: auto !important;
    box-sizing:border-box;
    margin-left: 0px;
    margin-right: 0px;
    justify-content: normal;
  }

  .button, .button2 {
    padding: 12px;
    width: auto; /* Let buttons grow as wide as their text + padding */
    box-sizing: border-box; /* Ensures padding is included in width */
  }
  
  .footer {
  text-align: center;
  padding-bottom: 10px;
  }
  
  .contact-us-header {
      
   padding-top: 40px;
  }
  
  button.btnof {
    margin-bottom: 20px;
    margin-right: auto;
    margin-left: auto;
}

  button.btnos {
    margin-right: auto;
    margin-left: auto;
}

  #setorgdiv{
    
    width:80% !important;
}

}

@media (max-width: 600px) {
  #myTextbox {
    width: 95% !important; /* Adjust for smaller screens */
  }
  
  #password {
    width: 91% !important; /* Adjust for smaller screens */
  }
    
  #myTextboxUrl {
    width: 90% !important; /* Adjust for smaller screens */
  }
  
  #password::placeholder {
    font-size: 10px;
    }
    
  #setorgdiv{
    
    width:80% !important;
}

}

/* Tablet and small desktops */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  textarea.cent, .linkok, .setorg {
    width: 90%; /* Slightly smaller width for tablets */
  }
  
  #setorgdiv{
    
  width:80% !important;
}

  #password::placeholder {
      font-size: 10px;
    }

}

@media (min-width: 601px) and (max-width: 900px) {
    #password::placeholder {
      font-size: 10px;
    }
    
#setorgdiv{
    
  width:80% !important;
}
  }

@media (min-width: 901px) {
    #password::placeholder {
      font-size: 18px;
    }

  }

/* Add global responsive image settings */
img {
  max-width: 100%;
  height: auto;
}

/* Ensure button text doesn't wrap */
.button, .button2 {
  white-space: nowrap; /* Prevents text from wrapping in buttons */
}

.button24 {
  display: block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  width: 200px;
  height: 44px; /* افزودن ارتفاع برای تناسب بهتر */
  text-decoration: none;
  background-color: #508dff;
  color: #fff;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  cursor:pointer;
}
.button24:hover {
  background-color: #45a049;
}

.button24:hover {
    background-color: #45a049;
}
    