/*
Theme Name:   Blocksy Child
Theme URI:    https://creativethemes.com/blocksy/
Description:  A custom child theme for the Blocksy WordPress theme.
Author:       Your Name
Author URI:   https://binadar.com/
Template:     blocksy
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/* يمكنك إضافة تنسيقات الـ CSS المخصصة الخاصة بك هنا */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;700&display=swap');

body, .register-container {
    font-family: 'Cairo', sans-serif !important;
}


/* جميع الحقول والأزرار بنفس الحجم */
.search-container form > * {
  flex: 1 1 200px;  /* مرن مع أساس 200px */
  max-width: 200px; /* أقصى عرض */
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.search-container input[type="text"],
.search-container select {
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  width: 100%;
  box-sizing: border-box;
}

.search-container button {
  background-color: #990000;
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.search-container button:hover {
  background-color: #cc664d;
}

/* نتائج البحث - صندوق العيادات */
.results {
  width: 100%;
  padding: 20px 20px;
  display: grid;
  grid-template-columns: 1fr; /* عمود واحد افتراضياً */
  gap: 25px;
  box-sizing: border-box;
}

/* شاشة الآيباد والتابلت: عمودين */
@media (min-width: 801px) and (max-width: 1024px) {
  .results {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* شاشة اللابتوب وما فوق: 3 أعمدة */
@media (min-width: 1025px) {
  .results {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* صناديق العيادات */
.clinic-box {
  background: #fff;
  padding: 20px 15px;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  text-align: center;
}

.clinic-box:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transform: translateY(-5px);
}

.clinic-box h3 {
  margin-bottom: 12px;
  color: #0073aa;
  font-size: 20px;
}

.clinic-box h3 a {
  color: #0073aa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.clinic-box h3 a:hover {
  color: #092377;
}

.clinic-box p {
  margin: 6px 0;
  font-size: 15px;
  color: #444;
}
/* تنسيق الفورم في صفحة البحث */
.search-container {
  width: 100%;
  max-width: 1200px;
  margin: 30px auto;
  padding: 20px 25px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
 top: 10px;
  z-index: 999;
  box-sizing: border-box;
}

.search-container form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  width: 100%;
  box-sizing: border-box;
}