/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 35%;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  padding: 10px 20px;

  background-color: white;
  border-radius: 20px;
  width: 1000px;
  max-width: 90%;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-body {
  padding: 25px;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 34px;
  cursor: pointer;
  color: #777;
  font-weight: bold;
}

.close-btn:hover {
  color: #d9534f;
}

h2 {
  color: #000;
  text-align: start;
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0;
  font-weight: 800;
   
}

.warning-text p {
  margin: 0;
  color: #333;
  line-height: 1.5;
  font-weight: 600;
}

.official-mark {
  text-align: right;
  font-weight: bold;
  color: #555;
  font-style: italic;
  font-size: 1.1rem;
  margin-top: 20px;
}


















/* Tablet (768px va undan kichik) */
@media (max-width: 768px) {
  .modal-content {
 
    padding: 15px;
    width: 90%;
  }
  
  .modal-image {
    width: 80px;
    height: 80px;
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .modal-body {
    padding: 15px;
  }
  
  h2 {
    font-size: 14px;
    /* margin-bottom: 15px; */
  }
  
  .warning-text p {
    font-size: 10px;
    line-height: 1.1;
  }
  
  .close-btn {
    top: 10px;
    right: 10px;
    font-size: 30px;
  }
}

/* Mobil (576px va undan kichik) */
@media (max-width: 576px) {
  .modal-content {
    width: 95%;
    padding: 10px;
  }
  
  .modal-image {
    width: 60px;
    height: 60px;
  }
  
  h2 {
    font-size: 14px;
  }
  
  .warning-text p {
    font-size: 13px;
  }
  
  .official-mark {
    font-size: 0.9rem;
    margin-top: 15px;
  }
}