/* Custom CSS for NoorMedWell */

/* General Styles */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1F2937;
  line-height: 1.5;
  background-color: #F9FAFB;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Header & Navigation */
.site-header {
  background-color: white;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Page Title Section */
.page-title {
  background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 80px 0;
  position: relative;
}

.page-title.bg-1 {
  background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
}

.page-title .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 58, 138, 0.1);
}

.page-title .block {
  position: relative;
  z-index: 10;
}

.page-title h1 {
  color: #fff;
  font-weight: 700;
}

.page-title span {
  color: rgba(255, 255, 255, 0.9);
}

/* Doctor Section Styles */
.section {
  padding: 80px 0;
}

/* Filter Styles */
.filter-section {
  margin: 40px 0 30px;
}

.filter-container {
  text-align: center;
}

.filter-title {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.specialization-select {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  font-size: 16px;
  color: #333;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px;
  transition: all 0.3s ease;
}

.specialization-select:focus {
  outline: none;
  border-color: #1E3A8A;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.2);
}

/* Doctor grid layout */
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

/* Doctor card styling */
.doctor-card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.doctor-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.doctor-img-container {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  overflow: hidden;
}

.doctor-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.doctor-img img, .doctor-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.doctor-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  color: #999;
  font-size: 3rem;
}

.doctor-content {
  padding: 20px;
  flex-grow: 1;
}

.doctor-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.doctor-specialization {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.doctor-info {
  margin-top: 15px;
}

.doctor-info p {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
  color: #555;
}

.doctor-info p i {
  margin-right: 8px;
  color: #1E3A8A;
}

.doctor-btn {
  padding: 0 20px 20px;
  margin-top: auto;
}

.btn-meet {
  display: block;
  width: 100%;
  padding: 12px 15px;
  background-color: #1E3A8A;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-meet:hover {
  background-color: #152a63;
  color: #fff;
}

/* Button Styles */
.btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  padding: 0.625rem 1.25rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}

.btn-meet {
  display: inline-block;
  text-decoration: none;
  color: #1E3A8A;
  font-weight: 500;
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
}

.btn-meet:hover {
  color: #10B981;
  text-decoration: none;
}

.btn-main-2:hover {
  background-color: #1E40AF;
  border-color: #1E40AF;
  color: #fff;
}

.btn-round-full {
  border-radius: 50px;
}

/* Pagination styling */
.pagination-container {
  margin-top: 30px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.page-number {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid #ddd;
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-number.active {
  background-color: #1E3A8A;
  color: white;
  border-color: #1E3A8A;
}

.page-number:hover:not(.active) {
  background-color: #f5f5f5;
}

.page-nav {
  color: #1E3A8A;
  text-decoration: none;
}

.page-nav:hover {
  text-decoration: underline;
}

/* Form Elements */
.form-control {
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Pagination */
.pagination {
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: 0.25rem;
}

.page-link {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #1E3A8A;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.page-link:hover {
  z-index: 2;
  color: #1E40AF;
  text-decoration: none;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #1E3A8A;
  border-color: #1E3A8A;
}

/* Alert Styles */
.alert {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

/* Additional Tailwind-like utility classes for doctor detail page */
.btn-accent {
  background-color: #F59E0B;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-accent:hover {
  background-color: #D97706;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.primary-light {
  color: rgba(255, 255, 255, 0.8);
}

.primary-dark {
  color: #1E40AF;
}

.bg-primary\/10 {
  background-color: rgba(30, 58, 138, 0.1);
}

.bg-primary\/20 {
  background-color: rgba(30, 58, 138, 0.2);
}

.text-primary\/50 {
  color: rgba(30, 58, 138, 0.5);
}

.text-primary\/60 {
  color: rgba(30, 58, 138, 0.6);
}

/* Gradient backgrounds */
.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-blue-50 {
  --tw-gradient-from: #eff6ff;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(239, 246, 255, 0));
}

.to-indigo-100 {
  --tw-gradient-to: #e0e7ff;
}

.from-primary {
  --tw-gradient-from: #1E3A8A;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(30, 58, 138, 0));
}

.to-primary-dark {
  --tw-gradient-to: #1E40AF;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .doctor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .doctor-card .content {
    padding: 15px;
  }
  
  .doctor-card h4 {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .page-title {
    padding: 60px 0;
  }
  
  .doctor-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .doctor-content {
    padding: 15px;
  }
  
  .doctor-name {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 40px 0;
  }
  
  .doctor-card {
    margin-bottom: 20px;
  }
}
