@charset "UTF-8";
.doctors-profile {
  background: #f8fafc;
  min-height: 100vh;
}

.profile-header-gradient {
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .profile-header-gradient {
    padding: 48px 0;
  }
}
@media (max-width: 576px) {
  .profile-header-gradient {
    padding: 40px 0;
  }
}
.profile-header-gradient::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}
.profile-header-gradient::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.profile-header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .profile-header-content {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
}

.profile-avatar-large {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  position: relative;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}
@media (max-width: 768px) {
  .profile-avatar-large {
    width: 120px;
    height: 120px;
  }
}
@media (max-width: 576px) {
  .profile-avatar-large {
    width: 100px;
    height: 100px;
  }
}
@media (max-width: 480px) {
  .profile-avatar-large {
    width: 80px;
    height: 80px;
  }
}
.profile-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-avatar-large .avatar-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
}
@media (max-width: 576px) {
  .profile-avatar-large .avatar-initials {
    font-size: 40px;
  }
}
@media (max-width: 480px) {
  .profile-avatar-large .avatar-initials {
    font-size: 32px;
  }
}
.profile-avatar-large {
  flex-shrink: 0;
  position: relative;
}
.profile-avatar-large .avatar-status {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  background: #6b7280;
}
@media (max-width: 576px) {
  .profile-avatar-large .avatar-status {
    width: 14px;
    height: 14px;
    border-width: 2px;
  }
}
.profile-avatar-large .avatar-status.online {
  background: #10b981;
}
.profile-avatar-large .avatar-status.offline {
  background: #6b7280;
}
.profile-avatar-large .avatar-status.away {
  background: #f59e0b;
}

.profile-info {
  flex: 1;
}
.profile-info h1 {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .profile-info h1 {
    font-size: 28px;
  }
}
@media (max-width: 576px) {
  .profile-info h1 {
    font-size: 24px;
  }
}
@media (max-width: 480px) {
  .profile-info h1 {
    font-size: 20px;
  }
}

.profile-badges {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .profile-badges {
    justify-content: center;
  }
}
.profile-badges .badge-doctor,
.profile-badges .badge-experience,
.profile-badges .badge-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(14, 41, 72, 0.1);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: #0E2948;
}
@media (max-width: 576px) {
  .profile-badges .badge-doctor,
  .profile-badges .badge-experience,
  .profile-badges .badge-category {
    padding: 4px 12px;
    font-size: 12px;
  }
}
.profile-badges .badge-doctor,
.profile-badges .badge-experience,
.profile-badges .badge-category {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
.profile-badges .badge-doctor svg,
.profile-badges .badge-experience svg,
.profile-badges .badge-category svg {
  stroke: #ffffff;
}

.profile-contacts {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .profile-contacts {
    justify-content: center;
  }
}
.profile-contacts .contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
@media (max-width: 576px) {
  .profile-contacts .contact-item {
    font-size: 12px;
  }
}

.profile-actions {
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .profile-actions {
    width: 100%;
  }
}

.btn-logout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-logout:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(14, 41, 72, 0.2);
}
@media (max-width: 576px) {
  .btn-logout {
    padding: 8px 20px;
    font-size: 12px;
  }
}
.btn-logout {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-logout:hover {
  background: rgba(255, 255, 255, 0.25);
}
@media (max-width: 768px) {
  .btn-logout {
    width: 100%;
    justify-content: center;
  }
}

.tabs-modern {
  display: flex;
  gap: 8px;
  background: #ffffff;
  padding: 8px;
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
@media (max-width: 576px) {
  .tabs-modern {
    gap: 4px;
    padding: 4px;
    border-radius: 16px;
  }
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: transparent;
  border: none;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.tab-btn svg {
  stroke: #6b7280;
  transition: all 0.3s ease;
  width: 20px;
  height: 20px;
}
.tab-btn:hover {
  background: #f3f4f6;
  color: #0E2948;
}
.tab-btn:hover svg {
  stroke: #0E2948;
}
.tab-btn.active {
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(14, 41, 72, 0.2);
}
.tab-btn.active svg {
  stroke: #ffffff;
}
@media (max-width: 768px) {
  .tab-btn {
    padding: 8px 24px;
    font-size: 12px;
  }
  .tab-btn svg {
    width: 18px;
    height: 18px;
  }
}
@media (max-width: 576px) {
  .tab-btn {
    padding: 8px 16px;
    flex-direction: column;
    gap: 4px;
  }
  .tab-btn svg {
    width: 16px;
    height: 16px;
  }
}
@media (max-width: 480px) {
  .tab-btn {
    padding: 4px 8px;
    font-size: 10px;
  }
  .tab-btn svg {
    width: 14px;
    height: 14px;
  }
}

.tab-content-modern {
  display: none;
  animation: dpFadeIn 0.3s ease;
}
.tab-content-modern.active {
  display: block;
}

@keyframes dpFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.tab-content-modern {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
@media (max-width: 768px) {
  .tab-content-modern {
    padding: 24px;
  }
}
@media (max-width: 576px) {
  .tab-content-modern {
    padding: 16px;
  }
}
@media (max-width: 480px) {
  .tab-content-modern {
    padding: 8px;
  }
}

.modern-table {
  width: 100%;
  border-collapse: collapse;
}
.modern-table th, .modern-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}
@media (max-width: 768px) {
  .modern-table th, .modern-table td {
    padding: 8px;
  }
}
.modern-table th {
  font-weight: 600;
  color: #1f2937;
  background: #f3f4f6;
  font-size: 14px;
}
@media (max-width: 576px) {
  .modern-table th {
    font-size: 12px;
  }
}
.modern-table td {
  color: #6b7280;
  font-size: 14px;
}
@media (max-width: 576px) {
  .modern-table td {
    font-size: 12px;
  }
}
.modern-table tr:hover td {
  background: rgba(14, 41, 72, 0.03);
}

.patient-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #f3f4f6;
  border-radius: 16px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}
.patient-card:hover {
  background: rgba(14, 41, 72, 0.05);
  transform: translateX(5px);
}
.patient-card .patient-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 600;
  font-size: 18px;
  flex-shrink: 0;
}
@media (max-width: 576px) {
  .patient-card .patient-avatar {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}
.patient-card .patient-info {
  flex: 1;
}
.patient-card .patient-info .patient-name {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
}
.patient-card .patient-info .patient-details {
  font-size: 12px;
  color: #6b7280;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.patient-card .patient-status {
  padding: 4px 8px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
}
.patient-card .patient-status.status-confirmed {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.patient-card .patient-status.status-pending {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}
.patient-card .patient-status.status-completed {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}
.patient-card .patient-status.status-cancelled {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

@media (max-width: 992px) {
  .profile-header-content {
    gap: 32px;
  }
}
@media (max-width: 768px) {
  .profile-header-gradient {
    padding: 48px 0;
  }
}
@media (max-width: 576px) {
  .profile-header-gradient {
    padding: 40px 0;
  }
  .profile-badges {
    gap: 8px;
  }
  .profile-contacts {
    gap: 16px;
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 480px) {
  .profile-header-gradient {
    padding: 32px 0;
  }
}
@keyframes dpFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes dpSlideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes dpSlideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes dpPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
@keyframes dpShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
.dp-animate-fade-up {
  animation: dpFadeInUp 0.5s ease forwards;
}
.dp-animate-slide-left {
  animation: dpSlideInLeft 0.5s ease forwards;
}
.dp-animate-slide-right {
  animation: dpSlideInRight 0.5s ease forwards;
}

.profile-header-gradient {
  animation: dpFadeInUp 0.5s ease forwards;
}

.profile-avatar-large {
  animation: dpSlideInLeft 0.5s ease forwards;
}

.profile-info {
  animation: dpSlideInRight 0.5s ease forwards;
}

.btn-logout:active {
  animation: dpPulse 0.2s ease;
}

.stats-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 8px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.stat-icon {
  font-size: 28px;
  margin-bottom: 4px;
}
@media (max-width: 576px) {
  .stat-icon {
    font-size: 24px;
  }
}

.stat-value {
  font-size: 22px;
  font-weight: 700;
  color: #0E2948;
  line-height: 1.2;
  margin-bottom: 2px;
}
@media (max-width: 768px) {
  .stat-value {
    font-size: 20px;
  }
}
@media (max-width: 576px) {
  .stat-value {
    font-size: 18px;
  }
}

.stat-label {
  font-size: 11px;
  color: #6b7280;
  font-weight: 500;
}
@media (max-width: 576px) {
  .stat-label {
    font-size: 10px;
  }
}

.patients-header {
  margin-bottom: 32px;
}
.patients-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
}
@media (max-width: 576px) {
  .patients-header h3 {
    font-size: 18px;
  }
}

.patients-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.patients-stats .stat-item {
  background: #f3f4f6;
  border-radius: 16px;
  padding: 16px 32px;
  text-align: center;
  flex: 1;
  min-width: 100px;
}
@media (max-width: 576px) {
  .patients-stats .stat-item {
    padding: 8px 16px;
    min-width: 80px;
  }
}
.patients-stats .stat-item .stat-number {
  font-size: 24px;
  font-weight: 800;
  color: #0E2948;
  line-height: 1.2;
}
@media (max-width: 576px) {
  .patients-stats .stat-item .stat-number {
    font-size: 20px;
  }
}
.patients-stats .stat-item .stat-label {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}

.patients-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.year-group h4 {
  font-size: 18px;
  font-weight: 700;
  color: #0E2948;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e5e7eb;
  display: inline-block;
}
@media (max-width: 576px) {
  .year-group h4 {
    font-size: 16px;
  }
}

.patient-card-modern {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px;
  background: #ffffff;
  border-radius: 16px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}
.patient-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}
@media (max-width: 768px) {
  .patient-card-modern {
    gap: 16px;
    padding: 16px;
  }
}
@media (max-width: 576px) {
  .patient-card-modern {
    flex-wrap: wrap;
    gap: 8px;
  }
}
@media (max-width: 480px) {
  .patient-card-modern {
    flex-direction: column;
    text-align: center;
  }
}

.patient-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
@media (max-width: 768px) {
  .patient-avatar {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }
}
@media (max-width: 576px) {
  .patient-avatar {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }
}

.patient-details {
  flex: 1;
}
.patient-details h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 4px;
}
@media (max-width: 576px) {
  .patient-details h4 {
    font-size: 14px;
  }
}
.patient-details p {
  font-size: 14px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 4px;
}
@media (max-width: 576px) {
  .patient-details p {
    font-size: 12px;
  }
}

.patient-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
@media (max-width: 576px) {
  .patient-actions {
    width: 100%;
    justify-content: flex-end;
  }
}
@media (max-width: 480px) {
  .patient-actions {
    justify-content: center;
  }
}

.btn-history-link,
.btn-chat-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  background: transparent;
}
@media (max-width: 576px) {
  .btn-history-link,
  .btn-chat-link {
    padding: 4px 8px;
    font-size: 12px;
  }
}

.btn-history-link {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}
.btn-history-link:hover {
  background: #3b82f6;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-chat-link {
  background: rgba(14, 41, 72, 0.1);
  color: #0E2948;
  font-size: 18px;
  padding: 8px 16px;
}
.btn-chat-link:hover {
  background: #0E2948;
  color: #ffffff;
  transform: translateY(-2px);
}
@media (max-width: 576px) {
  .btn-chat-link {
    font-size: 16px;
    padding: 4px 8px;
  }
}

.empty-state-modern {
  text-align: center;
  padding: 60px;
  background: #f3f4f6;
  border-radius: 20px;
}
.empty-state-modern .empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.5;
}
.empty-state-modern p {
  font-size: 16px;
  color: #6b7280;
  margin: 0;
}

.settings-modern h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 32px;
}
@media (max-width: 576px) {
  .settings-modern h3 {
    font-size: 18px;
    margin-bottom: 24px;
  }
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .schedule-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}
@media (max-width: 576px) {
  .schedule-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.schedule-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}
.schedule-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border-color: #0E2948;
}
@media (max-width: 768px) {
  .schedule-item {
    padding: 8px 16px;
  }
}
@media (max-width: 576px) {
  .schedule-item {
    padding: 16px;
  }
}
.schedule-item .day {
  font-weight: 600;
  color: #1f2937;
  font-size: 16px;
  min-width: 100px;
}
@media (max-width: 768px) {
  .schedule-item .day {
    font-size: 14px;
    min-width: 80px;
  }
}
@media (max-width: 576px) {
  .schedule-item .day {
    font-size: 14px;
    min-width: auto;
  }
}
.schedule-item .time {
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
}
@media (max-width: 768px) {
  .schedule-item .time {
    font-size: 12px;
  }
}
.schedule-item .status {
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}
.schedule-item .status.working {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.schedule-item .status.not-working {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}
@media (max-width: 768px) {
  .schedule-item .status {
    padding: 4px 8px;
    font-size: 10px;
  }
}

.edit-schedule-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.edit-schedule-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(14, 41, 72, 0.2);
}
@media (max-width: 576px) {
  .edit-schedule-btn {
    width: 100%;
    justify-content: center;
    padding: 8px 24px;
    font-size: 12px;
  }
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}
.schedule-table th, .schedule-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}
@media (max-width: 768px) {
  .schedule-table th, .schedule-table td {
    padding: 8px;
  }
}
.schedule-table th {
  font-weight: 600;
  color: #1f2937;
  background: #f3f4f6;
  font-size: 14px;
}
@media (max-width: 576px) {
  .schedule-table th {
    font-size: 12px;
  }
}
.schedule-table td {
  color: #6b7280;
  font-size: 14px;
}
@media (max-width: 576px) {
  .schedule-table td {
    font-size: 12px;
  }
}
.schedule-table .status-badge {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}
.schedule-table .status-badge.working {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.schedule-table .status-badge.not-working {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.week-days {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.week-days .day-card {
  flex: 1;
  min-width: 100px;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}
.week-days .day-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border-color: #0E2948;
}
.week-days .day-card .day-name {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
}
.week-days .day-card .day-time {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 8px;
}
.week-days .day-card .day-status {
  font-size: 12px;
  font-weight: 600;
}
.week-days .day-card .day-status.working {
  color: #10b981;
}
.week-days .day-card .day-status.not-working {
  color: #ef4444;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active {
  display: flex;
}

.modal-container {
  background: #ffffff;
  border-radius: 24px;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  animation: dpSlideUp 0.3s ease;
}
.modal-container .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
}
.modal-container .modal-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
}
.modal-container .modal-header .modal-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #6b7280;
  transition: all 0.3s ease;
}
.modal-container .modal-header .modal-close:hover {
  color: #ef4444;
}
.modal-container .modal-body {
  padding: 24px;
}
.modal-container .modal-body .form-group {
  margin-bottom: 24px;
}
.modal-container .modal-body .form-group label {
  display: block;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
  font-size: 14px;
}
.modal-container .modal-body .form-group select, .modal-container .modal-body .form-group input {
  width: 100%;
  padding: 8px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
}
.modal-container .modal-body .form-group select:focus, .modal-container .modal-body .form-group input:focus {
  outline: none;
  border-color: #0E2948;
}
.modal-container .modal-footer {
  padding: 24px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.modal-container .modal-footer .btn-save {
  padding: 8px 32px;
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
}
.modal-container .modal-footer .btn-save:hover {
  transform: translateY(-2px);
}
.modal-container .modal-footer .btn-cancel {
  padding: 8px 32px;
  background: #f3f4f6;
  color: #6b7280;
  border: none;
  border-radius: 50px;
  cursor: pointer;
}
.modal-container .modal-footer .btn-cancel:hover {
  background: #e5e7eb;
}

.appointments-group {
  margin-bottom: 48px;
}
.appointments-group:last-child {
  margin-bottom: 0;
}

.group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e5e7eb;
}
@media (max-width: 576px) {
  .group-title {
    font-size: 16px;
    margin-bottom: 16px;
  }
}
.group-title .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.group-title .dot.pending {
  background: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}
.group-title .dot.confirmed {
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}
.group-title .count {
  margin-left: auto;
  background: #f3f4f6;
  padding: 2px 8px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}

.appointment-card-modern {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
  background: #ffffff;
  border-radius: 16px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}
.appointment-card-modern:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border-color: #0E2948;
}
.appointment-card-modern.pending {
  border-left: 4px solid #f59e0b;
}
@media (max-width: 768px) {
  .appointment-card-modern {
    gap: 16px;
    padding: 16px;
  }
}
@media (max-width: 576px) {
  .appointment-card-modern {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}
@media (max-width: 480px) {
  .appointment-card-modern {
    padding: 8px;
  }
}

.card-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 80px;
  padding-right: 16px;
  border-right: 1px solid #e5e7eb;
}
@media (max-width: 576px) {
  .card-left {
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 8px;
    width: 100%;
  }
}
.card-left .time-badge {
  font-size: 20px;
  font-weight: 700;
  color: #0E2948;
  line-height: 1.2;
}
@media (max-width: 576px) {
  .card-left .time-badge {
    font-size: 18px;
  }
}
.card-left .date-badge {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
}

.card-center {
  flex: 1;
}
@media (max-width: 576px) {
  .card-center {
    width: 100%;
  }
}
.card-center .patient-name {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 4px;
}
@media (max-width: 576px) {
  .card-center .patient-name {
    font-size: 14px;
  }
}
.card-center .appointment-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.card-center .appointment-meta .service-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  color: #3b82f6;
}

.card-right {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
@media (max-width: 576px) {
  .card-right {
    width: 100%;
    justify-content: center;
  }
}
.card-right form {
  display: inline;
}

.btn-confirm-modern,
.btn-decline-modern,
.btn-complete-modern {
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
@media (max-width: 576px) {
  .btn-confirm-modern,
  .btn-decline-modern,
  .btn-complete-modern {
    padding: 4px 16px;
    font-size: 12px;
  }
}

.btn-confirm-modern {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.btn-confirm-modern:hover {
  background: #10b981;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-decline-modern {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}
.btn-decline-modern:hover {
  background: #ef4444;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-complete-modern {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}
.btn-complete-modern:hover {
  background: #3b82f6;
  color: #ffffff;
  transform: translateY(-2px);
}

.empty-state-modern {
  text-align: center;
  padding: 48px;
  background: #f3f4f6;
  border-radius: 20px;
}
.empty-state-modern .empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}
.empty-state-modern p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 48px;
}
.loading-spinner .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-top-color: #0E2948;
  border-radius: 50%;
  animation: dpSpin 1s linear infinite;
}

@keyframes dpSpin {
  to {
    transform: rotate(360deg);
  }
}
.settings-section {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}
@media (max-width: 768px) {
  .settings-section {
    padding: 24px;
  }
}
@media (max-width: 576px) {
  .settings-section {
    padding: 16px;
  }
}
.settings-section h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 576px) {
  .settings-section h4 {
    font-size: 16px;
    margin-bottom: 16px;
  }
}

.profile-form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .profile-form-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 576px) {
  .profile-form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.profile-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.profile-form-group label {
  font-weight: 600;
  color: #1f2937;
  font-size: 14px;
}
@media (max-width: 576px) {
  .profile-form-group label {
    font-size: 12px;
  }
}
.profile-form-group .form-control {
  padding: 8px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: inherit;
}
.profile-form-group .form-control:focus {
  outline: none;
  border-color: #0E2948;
  box-shadow: 0 0 0 3px rgba(14, 41, 72, 0.1);
}
.profile-form-group .form-control::placeholder {
  color: #9ca3af;
}
@media (max-width: 576px) {
  .profile-form-group .form-control {
    padding: 4px 8px;
    font-size: 12px;
  }
}
.profile-form-group select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}
.profile-form-group textarea.form-control {
  resize: vertical;
  min-height: 100px;
}
.profile-form-group .form-text {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}
.profile-form-group .form-text.text-muted {
  color: #9ca3af;
}

.email-display {
  padding: 8px 16px;
  background: #f3f4f6;
  border-radius: 12px;
  font-size: 14px;
  color: #1f2937;
  border: 1px solid #e5e7eb;
}
@media (max-width: 576px) {
  .email-display {
    padding: 4px 8px;
    font-size: 12px;
  }
}

.current-photo {
  margin-top: 8px;
}
.current-photo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
@media (max-width: 576px) {
  .current-photo img {
    width: 60px;
    height: 60px;
  }
}

.profile-btn {
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: inherit;
}
@media (max-width: 576px) {
  .profile-btn {
    padding: 8px 24px;
    font-size: 12px;
    width: 100%;
  }
}
.profile-btn-primary {
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  color: #ffffff;
}
.profile-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(14, 41, 72, 0.2);
}
.profile-btn-primary:active {
  transform: translateY(0);
}
.profile-btn-secondary {
  background: #f3f4f6;
  color: #6b7280;
}
.profile-btn-secondary:hover {
  background: #e5e7eb;
  transform: translateY(-2px);
}
.profile-btn-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}
.profile-btn-danger:hover {
  background: #ef4444;
  color: #ffffff;
}

.profile-form-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}
@media (max-width: 576px) {
  .profile-form-actions {
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
    padding-top: 16px;
  }
}

.profile-form-two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .profile-form-two-columns {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.social-input-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.social-input-group .social-icon {
  width: 40px;
  height: 40px;
  background: #f3f4f6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
@media (max-width: 576px) {
  .social-input-group .social-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}
.social-input-group .form-control {
  flex: 1;
}

@media (max-width: 768px) {
  .profile-form-row {
    gap: 16px;
  }
}
@media (max-width: 576px) {
  .profile-form-row {
    gap: 8px;
  }
  .settings-section {
    padding: 16px;
  }
}
.schedule-edit-page {
  padding: 60px 0;
  background: #f8fafc;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .schedule-edit-page {
    padding: 48px 0;
  }
}
@media (max-width: 576px) {
  .schedule-edit-page {
    padding: 40px 0;
  }
}

.page-header {
  text-align: center;
  margin-bottom: 48px;
}
.page-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}
@media (max-width: 576px) {
  .page-header h1 {
    font-size: 24px;
  }
}
.page-header p {
  font-size: 16px;
  color: #6b7280;
}
@media (max-width: 576px) {
  .page-header p {
    font-size: 14px;
  }
}

.schedule-edit-form {
  max-width: 1000px;
  margin: 0 auto;
}

.schedule-grid-edit {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .schedule-grid-edit {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
  }
}
@media (max-width: 576px) {
  .schedule-grid-edit {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.schedule-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.schedule-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}
.schedule-card-header {
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  padding: 16px 24px;
}
.schedule-card-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}
@media (max-width: 576px) {
  .schedule-card-header h3 {
    font-size: 16px;
  }
}
.schedule-card-body {
  padding: 24px;
}
@media (max-width: 576px) {
  .schedule-card-body {
    padding: 16px;
  }
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}
.form-check-input {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #0E2948;
}
.form-check-label {
  font-weight: 600;
  color: #1f2937;
  cursor: pointer;
  font-size: 14px;
}

.time-inputs {
  display: flex;
  gap: 16px;
  transition: all 0.3s ease;
}
@media (max-width: 576px) {
  .time-inputs {
    flex-direction: column;
    gap: 8px;
  }
}

.time-group {
  flex: 1;
}
.time-group label {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}
.time-group .form-control {
  width: 100%;
  padding: 8px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
}
.time-group .form-control:focus {
  outline: none;
  border-color: #0E2948;
  box-shadow: 0 0 0 3px rgba(14, 41, 72, 0.1);
}

.form-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 48px;
}
@media (max-width: 576px) {
  .form-actions {
    flex-direction: column;
    gap: 8px;
  }
}

.btn-save {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(14, 41, 72, 0.2);
}
@media (max-width: 576px) {
  .btn-save {
    padding: 8px 20px;
    font-size: 12px;
  }
}
.btn-save {
  padding: 16px 48px;
}
@media (max-width: 576px) {
  .btn-save {
    width: 100%;
    justify-content: center;
  }
}

.btn-cancel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-cancel:hover {
  background: #e5e7eb;
  transform: translateY(-2px);
  color: #1f2937;
}
@media (max-width: 576px) {
  .btn-cancel {
    padding: 8px 20px;
    font-size: 12px;
    width: 100%;
    justify-content: center;
  }
}
.btn-cancel {
  padding: 16px 48px;
  text-decoration: none;
  text-align: center;
}
@media (max-width: 576px) {
  .btn-cancel {
    width: 100%;
  }
}

.leave-form-page {
  padding: 60px 0;
  background: #f8fafc;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .leave-form-page {
    padding: 48px 0;
  }
}
@media (max-width: 576px) {
  .leave-form-page {
    padding: 40px 0;
  }
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-header {
  text-align: center;
  margin-bottom: 48px;
}
.page-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}
@media (max-width: 576px) {
  .page-header h1 {
    font-size: 24px;
  }
}
.page-header p {
  font-size: 16px;
  color: #6b7280;
}
@media (max-width: 576px) {
  .page-header p {
    font-size: 14px;
  }
}

.leave-form {
  background: #ffffff;
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
@media (max-width: 576px) {
  .leave-form {
    padding: 32px;
  }
}

.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-control {
  width: 100%;
  padding: 8px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
}
.form-control:focus {
  outline: none;
  border-color: #0E2948;
  box-shadow: 0 0 0 3px rgba(14, 41, 72, 0.1);
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.form-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 576px) {
  .form-actions {
    flex-direction: column;
    gap: 8px;
  }
}

.btn-save {
  flex: 1;
  padding: 16px;
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(14, 41, 72, 0.2);
}
@media (max-width: 576px) {
  .btn-save {
    padding: 8px;
    font-size: 14px;
  }
}

.btn-cancel {
  flex: 1;
  padding: 16px;
  background: #f3f4f6;
  color: #6b7280;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}
.btn-cancel:hover {
  background: #e5e7eb;
  transform: translateY(-2px);
  color: #1f2937;
}
@media (max-width: 576px) {
  .btn-cancel {
    padding: 8px;
    font-size: 14px;
  }
}

.leaves-page {
  padding: 60px 0;
  background: #f8fafc;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .leaves-page {
    padding: 48px 0;
  }
}
@media (max-width: 576px) {
  .leaves-page {
    padding: 40px 0;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}
@media (max-width: 576px) {
  .page-header {
    flex-direction: column;
    text-align: center;
  }
}
.page-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}
@media (max-width: 576px) {
  .page-header h1 {
    font-size: 24px;
  }
}
.page-header p {
  font-size: 16px;
  color: #6b7280;
  margin-top: 8px;
}

.button-group {
  display: flex;
  gap: 16px;
}
@media (max-width: 576px) {
  .button-group {
    width: 100%;
    flex-direction: column;
  }
}

.btn-primary {
  display: inline-block;
  padding: 8px 24px;
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  color: #ffffff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(14, 41, 72, 0.2);
}
@media (max-width: 576px) {
  .btn-primary {
    width: 100%;
  }
}

.btn-profile {
  display: inline-block;
  padding: 8px 24px;
  background: #f3f4f6;
  color: #6b7280;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}
.btn-profile:hover {
  background: #e5e7eb;
  transform: translateY(-2px);
  color: #1f2937;
}
@media (max-width: 576px) {
  .btn-profile {
    width: 100%;
  }
}

.leaves-section {
  margin-bottom: 48px;
}
.leaves-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e5e7eb;
}
@media (max-width: 576px) {
  .leaves-section h2 {
    font-size: 20px;
  }
}

.leaves-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}
@media (max-width: 768px) {
  .leaves-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
  }
}
@media (max-width: 576px) {
  .leaves-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.leave-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.leave-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}
.leave-card.completed {
  opacity: 0.7;
}

.leave-header {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.leave-type-vacation .leave-header {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.leave-type-sick .leave-header {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}

.leave-type-business_trip .leave-header {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
}

.leave-type-training .leave-header {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
}

.leave-type-other .leave-header {
  background: linear-gradient(135deg, #6b7280, #4b5563);
  color: white;
}

.leave-icon {
  font-size: 24px;
}

.leave-type {
  font-size: 18px;
  font-weight: 700;
  flex: 1;
}

.leave-badge {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 50px;
  font-weight: 600;
}
.leave-badge.active {
  background: rgba(255, 255, 255, 0.3);
  color: white;
}
.leave-badge.upcoming {
  background: rgba(255, 255, 255, 0.3);
  color: white;
}
.leave-badge.completed {
  background: #e5e7eb;
  color: #6b7280;
}

.leave-body {
  padding: 24px;
}

.leave-dates,
.leave-duration {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}

.date-label,
.duration-label,
.reason-label {
  font-weight: 600;
  color: #6b7280;
}

.date-value,
.duration-value {
  font-weight: 600;
  color: #1f2937;
}

.leave-reason {
  margin-top: 16px;
  padding-top: 8px;
}
.leave-reason p {
  margin: 8px 0 0 0;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}

.leave-footer {
  padding: 16px 24px;
  background: #f3f4f6;
  border-top: 1px solid #e5e7eb;
  text-align: right;
}

.btn-delete {
  color: #ef4444;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-delete:hover {
  color: rgb(234.9802955665, 21.0197044335, 21.0197044335);
}

.empty-state-small {
  text-align: center;
  padding: 48px;
  background: #ffffff;
  border-radius: 20px;
  color: #6b7280;
}
.empty-state-small p {
  margin: 0;
}

.schedule-edit-page {
  padding: 60px 0;
  background: #f8fafc;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .schedule-edit-page {
    padding: 48px 0;
  }
}
@media (max-width: 576px) {
  .schedule-edit-page {
    padding: 40px 0;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-header {
  text-align: center;
  margin-bottom: 48px;
}
.page-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}
@media (max-width: 576px) {
  .page-header h1 {
    font-size: 24px;
  }
}
.page-header p {
  font-size: 16px;
  color: #6b7280;
}
@media (max-width: 576px) {
  .page-header p {
    font-size: 14px;
  }
}

.schedule-edit-form {
  max-width: 1000px;
  margin: 0 auto;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .schedule-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
  }
}
@media (max-width: 576px) {
  .schedule-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.schedule-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.schedule-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}
.schedule-card-header {
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  padding: 16px 24px;
}
.schedule-card-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}
@media (max-width: 576px) {
  .schedule-card-header h3 {
    font-size: 16px;
  }
}
.schedule-card-body {
  padding: 24px;
}
@media (max-width: 576px) {
  .schedule-card-body {
    padding: 16px;
  }
}

.switch-label {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.working-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #0E2948;
}

.switch-text {
  font-weight: 600;
  color: #1f2937;
}

.time-inputs {
  display: flex;
  gap: 16px;
  transition: all 0.3s ease;
}
@media (max-width: 576px) {
  .time-inputs {
    flex-direction: column;
    gap: 8px;
  }
}

.time-group {
  flex: 1;
}
.time-group label {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}
.time-group input {
  width: 100%;
  padding: 8px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
}
.time-group input:focus {
  outline: none;
  border-color: #0E2948;
  box-shadow: 0 0 0 3px rgba(14, 41, 72, 0.1);
}

.form-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 48px;
}
@media (max-width: 576px) {
  .form-actions {
    flex-direction: column;
    gap: 8px;
  }
}

.btn-save {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(14, 41, 72, 0.2);
}
@media (max-width: 576px) {
  .btn-save {
    padding: 8px 20px;
    font-size: 12px;
  }
}
.btn-save {
  padding: 16px 48px;
}
@media (max-width: 576px) {
  .btn-save {
    width: 100%;
    justify-content: center;
  }
}

.btn-profile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-profile:hover {
  background: #e5e7eb;
  transform: translateY(-2px);
  color: #1f2937;
}
@media (max-width: 576px) {
  .btn-profile {
    padding: 8px 20px;
    font-size: 12px;
    width: 100%;
    justify-content: center;
  }
}
.btn-profile {
  padding: 16px 48px;
  text-decoration: none;
  text-align: center;
}
@media (max-width: 576px) {
  .btn-profile {
    width: 100%;
  }
}

.schedule-view-page {
  padding: 60px 0;
  background: #f8fafc;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .schedule-view-page {
    padding: 48px 0;
  }
}
@media (max-width: 576px) {
  .schedule-view-page {
    padding: 40px 0;
  }
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-header {
  text-align: center;
  margin-bottom: 48px;
}
.page-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}
@media (max-width: 576px) {
  .page-header h1 {
    font-size: 24px;
  }
}
.page-header p {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 24px;
}
@media (max-width: 576px) {
  .page-header p {
    font-size: 14px;
    margin-bottom: 16px;
  }
}

.button-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 576px) {
  .button-group {
    flex-direction: column;
    gap: 8px;
  }
}

.btn-edit {
  display: inline-block;
  padding: 8px 24px;
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  color: #ffffff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}
.btn-edit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(14, 41, 72, 0.2);
}
@media (max-width: 576px) {
  .btn-edit {
    width: 100%;
  }
}

.btn-profile {
  display: inline-block;
  padding: 8px 24px;
  background: #f3f4f6;
  color: #6b7280;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}
.btn-profile:hover {
  background: #e5e7eb;
  transform: translateY(-2px);
  color: #1f2937;
}
@media (max-width: 576px) {
  .btn-profile {
    width: 100%;
  }
}

.schedule-grid-view {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
@media (max-width: 768px) {
  .schedule-grid-view {
    gap: 16px;
  }
}
@media (max-width: 576px) {
  .schedule-grid-view {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.schedule-card-view {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.schedule-card-view:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}
.schedule-card-view.working {
  border-left: 4px solid #10b981;
}
.schedule-card-view.not-working {
  border-left: 4px solid #ef4444;
}

.schedule-day {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
}
@media (max-width: 576px) {
  .schedule-day {
    font-size: 18px;
    margin-bottom: 8px;
  }
}

.schedule-time {
  font-size: 18px;
  font-weight: 600;
  color: #0E2948;
  margin-bottom: 16px;
}
@media (max-width: 576px) {
  .schedule-time {
    font-size: 16px;
    margin-bottom: 8px;
  }
}

.schedule-status {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
}
.schedule-status.working {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.schedule-status.not-working {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}
@media (max-width: 576px) {
  .schedule-status {
    font-size: 12px;
    padding: 4px 8px;
  }
}

.temp-form-page {
  padding: 60px 0;
  background: #f8fafc;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .temp-form-page {
    padding: 48px 0;
  }
}
@media (max-width: 576px) {
  .temp-form-page {
    padding: 40px 0;
  }
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-header {
  text-align: center;
  margin-bottom: 48px;
}
.page-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}
@media (max-width: 576px) {
  .page-header h1 {
    font-size: 24px;
  }
}
.page-header p {
  font-size: 16px;
  color: #6b7280;
}
@media (max-width: 576px) {
  .page-header p {
    font-size: 14px;
  }
}

.temp-form {
  background: #ffffff;
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
@media (max-width: 576px) {
  .temp-form {
    padding: 32px;
  }
}

.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
  font-size: 14px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.checkbox-label input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #0E2948;
}

.form-control {
  width: 100%;
  padding: 8px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
}
.form-control:focus {
  outline: none;
  border-color: #0E2948;
  box-shadow: 0 0 0 3px rgba(14, 41, 72, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.form-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 576px) {
  .form-actions {
    flex-direction: column;
    gap: 8px;
  }
}

.btn-save {
  flex: 1;
  padding: 16px;
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(14, 41, 72, 0.2);
}
@media (max-width: 576px) {
  .btn-save {
    padding: 8px;
    font-size: 14px;
  }
}

.btn-cancel {
  flex: 1;
  padding: 16px;
  background: #f3f4f6;
  color: #6b7280;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}
.btn-cancel:hover {
  background: #e5e7eb;
  transform: translateY(-2px);
  color: #1f2937;
}
@media (max-width: 576px) {
  .btn-cancel {
    padding: 8px;
    font-size: 14px;
  }
}

.temp-schedule-page {
  padding: 60px 0;
  background: #f8fafc;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .temp-schedule-page {
    padding: 48px 0;
  }
}
@media (max-width: 576px) {
  .temp-schedule-page {
    padding: 40px 0;
  }
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}
@media (max-width: 576px) {
  .page-header {
    flex-direction: column;
    text-align: center;
  }
}
.page-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}
@media (max-width: 576px) {
  .page-header h1 {
    font-size: 24px;
  }
}
.page-header p {
  font-size: 16px;
  color: #6b7280;
  margin-top: 8px;
}

.button-group {
  display: flex;
  gap: 16px;
}
@media (max-width: 576px) {
  .button-group {
    width: 100%;
    flex-direction: column;
  }
}

.btn-primary {
  display: inline-block;
  padding: 8px 24px;
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  color: #ffffff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(14, 41, 72, 0.2);
}
@media (max-width: 576px) {
  .btn-primary {
    width: 100%;
  }
}

.btn-profile {
  display: inline-block;
  padding: 8px 24px;
  background: #f3f4f6;
  color: #6b7280;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}
.btn-profile:hover {
  background: #e5e7eb;
  transform: translateY(-2px);
  color: #1f2937;
}
@media (max-width: 576px) {
  .btn-profile {
    width: 100%;
  }
}

.temp-schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
@media (max-width: 768px) {
  .temp-schedule-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
  }
}
@media (max-width: 576px) {
  .temp-schedule-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.schedule-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.schedule-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}
.schedule-card.working {
  border-left: 4px solid #10b981;
}
.schedule-card.dayoff {
  border-left: 4px solid #ef4444;
}

.schedule-header {
  padding: 16px 24px;
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.schedule-date {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
}
@media (max-width: 576px) {
  .schedule-date {
    font-size: 16px;
  }
}

.schedule-day {
  font-size: 14px;
  color: #6b7280;
}
@media (max-width: 576px) {
  .schedule-day {
    font-size: 12px;
  }
}

.schedule-body {
  padding: 24px;
  text-align: center;
}

.schedule-time {
  font-size: 20px;
  font-weight: 700;
  color: #0E2948;
  margin-bottom: 16px;
}
@media (max-width: 576px) {
  .schedule-time {
    font-size: 18px;
    margin-bottom: 8px;
  }
}

.schedule-status {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
}
.schedule-status.working {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.schedule-status.dayoff {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}
@media (max-width: 576px) {
  .schedule-status {
    font-size: 12px;
    padding: 4px 8px;
  }
}

.schedule-reason {
  margin-top: 16px;
  padding: 8px 16px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 12px;
  font-size: 14px;
  color: rgb(147.937007874, 95.188976378, 6.062992126);
}
@media (max-width: 576px) {
  .schedule-reason {
    font-size: 12px;
    padding: 4px 8px;
  }
}

.schedule-footer {
  padding: 16px 24px;
  background: #f3f4f6;
  border-top: 1px solid #e5e7eb;
  text-align: right;
}

.btn-delete {
  color: #ef4444;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-delete:hover {
  color: rgb(234.9802955665, 21.0197044335, 21.0197044335);
}

.empty-state {
  text-align: center;
  padding: 60px;
  background: #ffffff;
  border-radius: 20px;
  grid-column: 1/-1;
}
.empty-state .empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.5;
}
.empty-state h3 {
  font-size: 20px;
  color: #1f2937;
  margin-bottom: 8px;
}
@media (max-width: 576px) {
  .empty-state h3 {
    font-size: 18px;
  }
}
.empty-state p {
  color: #6b7280;
}

.dashboard-menu {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}
@media (max-width: 576px) {
  .dashboard-menu {
    padding: 16px;
    margin-bottom: 32px;
  }
}
.dashboard-menu h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 576px) {
  .dashboard-menu h3 {
    font-size: 16px;
    margin-bottom: 16px;
  }
}

.menu-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 576px) {
  .menu-links {
    flex-direction: column;
    gap: 8px;
  }
}

.menu-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 32px;
  background: #f3f4f6;
  border-radius: 50px;
  color: #6b7280;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}
.menu-link:hover {
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(14, 41, 72, 0.2);
}
.menu-link:hover svg {
  stroke: #ffffff;
}
.menu-link svg {
  width: 18px;
  height: 18px;
  stroke: #6b7280;
  transition: all 0.3s ease;
}
@media (max-width: 576px) {
  .menu-link {
    width: 100%;
    justify-content: center;
    padding: 8px 24px;
  }
}

/* FullCalendar Wrapper */
.calendar-wrapper-modern {
  margin-top: 30px;
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.fc {
  font-family: inherit;
}

.fc .fc-toolbar-title {
  font-size: 1.2em;
  font-weight: 600;
}

.fc .fc-button-primary {
  background-color: #4a6fa5;
  border-color: #4a6fa5;
}

.fc .fc-button-primary:hover {
  background-color: #3d5a8c;
  border-color: #3d5a8c;
}

.fc .fc-button-primary:disabled {
  background-color: #6c757d;
  border-color: #6c757d;
}

.fc .fc-daygrid-day.fc-day-today {
  background-color: rgba(74, 111, 165, 0.1);
}

.fc .fc-daygrid-day-number {
  font-size: 14px;
  font-weight: 500;
}

.fc .fc-event {
  cursor: pointer;
  border-radius: 6px;
  padding: 2px 4px;
  font-size: 0.85em;
  transition: transform 0.2s;
}

.fc .fc-event:hover {
  transform: scale(1.02);
}

.fc .fc-daygrid-day-frame {
  cursor: pointer;
}

/* Легенда */
.calendar-legend-custom {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
}

.legend-color {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  margin-right: 6px;
  vertical-align: middle;
}

.legend-working {
  background-color: #28a745;
}

.legend-dayoff {
  background-color: #6c757d;
}

.legend-leave {
  background-color: #dc3545;
}

.legend-temporary {
  background-color: #17a2b8;
}

.legend-appointment {
  background-color: #007bff;
}

/* Модальное окно для деталей */
.modal-calendar-detail {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-calendar-content {
  background-color: white;
  margin: 10% auto;
  padding: 0;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.modal-calendar-header {
  padding: 15px 20px;
  background: #4a6fa5;
  color: white;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-calendar-header h4 {
  margin: 0;
}

.modal-calendar-close {
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: white;
}

.modal-calendar-close:hover {
  opacity: 0.8;
}

.modal-calendar-body {
  padding: 20px;
  max-height: 400px;
  overflow-y: auto;
}

.modal-calendar-body p {
  margin: 10px 0;
}

.modal-calendar-body .appointment-item {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.modal-calendar-body .appointment-item:last-child {
  border-bottom: none;
}

.btn-close-modal {
  display: block;
  width: 100%;
  padding: 10px;
  background: #4a6fa5;
  color: white;
  border: none;
  border-radius: 0 0 12px 12px;
  cursor: pointer;
  font-size: 16px;
}

.btn-close-modal:hover {
  background: #3d5a8c;
}

.btn-refresh, .btn-export {
  transition: opacity 0.2s;
}

.btn-refresh:hover, .btn-export:hover {
  opacity: 0.85;
}

.doctors-profile {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.calendar-modern {
  margin-top: 30px;
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0;
}

.calendar-nav {
  background: #f0f0f0;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 16px;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: bold;
  margin-bottom: 10px;
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-day {
  text-align: center;
  padding: 10px 5px;
  border-radius: 10px;
  background: #f9f9f9;
  cursor: pointer;
  transition: 0.2s;
}

.calendar-day.working {
  background: #e3f7e3;
  color: #2c6e2c;
}

.calendar-day.not-working {
  background: #ffe0e0;
  color: #b00020;
}

.calendar-day.today {
  border: 2px solid #007bff;
  font-weight: bold;
}

.calendar-legend {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  justify-content: center;
  font-size: 12px;
}

.legend-working, .legend-dayoff, .legend-today {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  margin-right: 5px;
  vertical-align: middle;
}

.legend-working {
  background: #e3f7e3;
  border: 1px solid #2c6e2c;
}

.legend-dayoff {
  background: #ffe0e0;
  border: 1px solid #b00020;
}

.legend-today {
  background: white;
  border: 2px solid #007bff;
}

@keyframes ppFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes ppSlideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes ppSlideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes ppPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes ppFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes ppFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes ppFadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes ppFadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes ppFadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes ppFadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes ppSlideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes ppSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes ppSlideLeft {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes ppSlideRight {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes ppScaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes ppScaleOut {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(0);
    opacity: 0;
  }
}
@keyframes ppScalePulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes ppScaleBounce {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes ppRotateIn {
  from {
    transform: rotate(-180deg);
    opacity: 0;
  }
  to {
    transform: rotate(0);
    opacity: 1;
  }
}
@keyframes ppRotateOut {
  from {
    transform: rotate(0);
    opacity: 1;
  }
  to {
    transform: rotate(180deg);
    opacity: 0;
  }
}
@keyframes ppSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes ppPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(14, 41, 72, 0.4);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(14, 41, 72, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(14, 41, 72, 0);
  }
}
@keyframes ppShake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(5px);
  }
}
@keyframes ppShakeVertical {
  0%, 100% {
    transform: translateY(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateY(-5px);
  }
  20%, 40%, 60%, 80% {
    transform: translateY(5px);
  }
}
@keyframes ppGlow {
  0% {
    box-shadow: 0 0 5px rgba(14, 41, 72, 0.2);
    border-color: rgba(14, 41, 72, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(14, 41, 72, 0.6);
    border-color: rgba(14, 41, 72, 0.6);
  }
  100% {
    box-shadow: 0 0 5px rgba(14, 41, 72, 0.2);
    border-color: rgba(14, 41, 72, 0.2);
  }
}
@keyframes ppGlowSuccess {
  0% {
    box-shadow: 0 0 5px rgba(16, 185, 129, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
  }
  100% {
    box-shadow: 0 0 5px rgba(16, 185, 129, 0.2);
  }
}
@keyframes ppLoadingPulse {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}
@keyframes ppLoadingWave {
  0% {
    transform: scaleY(0.5);
  }
  50% {
    transform: scaleY(1);
  }
  100% {
    transform: scaleY(0.5);
  }
}
@keyframes ppLoadingRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes ppNotificationBounce {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes ppNotificationSlide {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  10% {
    transform: translateX(0);
    opacity: 1;
  }
  90% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}
@keyframes ppCardHover {
  0% {
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  }
  100% {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.05);
  }
}
@keyframes ppCardGlow {
  0% {
    border-color: transparent;
  }
  100% {
    border-color: #0E2948;
    box-shadow: 0 0 15px rgba(14, 41, 72, 0.3);
  }
}
@keyframes ppTextGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes ppTyping {
  0% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-5px);
  }
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
}
.pp-fade-in {
  animation: ppFadeIn 0.3s ease forwards;
}

.pp-fade-in-up {
  animation: ppFadeInUp 0.3s ease forwards;
}

.pp-fade-in-down {
  animation: ppFadeInDown 0.3s ease forwards;
}

.pp-fade-in-left {
  animation: ppFadeInLeft 0.3s ease forwards;
}

.pp-fade-in-right {
  animation: ppFadeInRight 0.3s ease forwards;
}

.pp-slide-up {
  animation: ppSlideUp 0.3s ease forwards;
}

.pp-slide-down {
  animation: ppSlideDown 0.3s ease forwards;
}

.pp-slide-left {
  animation: ppSlideLeft 0.3s ease forwards;
}

.pp-slide-right {
  animation: ppSlideRight 0.3s ease forwards;
}

.pp-scale-in {
  animation: ppScaleIn 0.3s ease forwards;
}

.pp-scale-bounce {
  animation: ppScaleBounce 0.5s ease forwards;
}

.pp-pulse {
  animation: ppPulse 1.5s ease infinite;
}

.pp-spin {
  animation: ppSpin 1s linear infinite;
}

.pp-rotate-in {
  animation: ppRotateIn 0.3s ease forwards;
}

.pp-shake {
  animation: ppShake 0.5s ease;
}

.pp-shake-vertical {
  animation: ppShakeVertical 0.5s ease;
}

.pp-glow {
  animation: ppGlow 1.5s ease infinite;
}

.pp-glow-success {
  animation: ppGlowSuccess 1.5s ease infinite;
}

.pp-loading-pulse {
  animation: ppLoadingPulse 1.5s ease infinite;
}

.pp-loading-wave {
  animation: ppLoadingWave 1s ease infinite;
}

.pp-delay-100 {
  animation-delay: 0.1s;
}

.pp-delay-200 {
  animation-delay: 0.2s;
}

.pp-delay-300 {
  animation-delay: 0.3s;
}

.pp-delay-400 {
  animation-delay: 0.4s;
}

.pp-delay-500 {
  animation-delay: 0.5s;
}

.pp-delay-600 {
  animation-delay: 0.6s;
}

.pp-delay-700 {
  animation-delay: 0.7s;
}

.pp-delay-800 {
  animation-delay: 0.8s;
}

.pp-delay-900 {
  animation-delay: 0.9s;
}

.pp-delay-1000 {
  animation-delay: 1s;
}

.pp-duration-fast {
  animation-duration: 0.15s;
}

.pp-duration-base {
  animation-duration: 0.3s;
}

.pp-duration-slow {
  animation-duration: 0.5s;
}

.pp-duration-slower {
  animation-duration: 0.8s;
}

.pp-infinite {
  animation-iteration-count: infinite;
}

.pp-once {
  animation-iteration-count: 1;
}

.pp-forwards {
  animation-fill-mode: forwards;
}

.pp-backwards {
  animation-fill-mode: backwards;
}

.pp-both {
  animation-fill-mode: both;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}
@media (max-width: 768px) {
  .profile-stats-grid {
    gap: 15px;
    margin-bottom: 24px;
  }
}
@media (max-width: 576px) {
  .profile-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.profile-stat-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(14, 41, 72, 0.08);
}
@media (max-width: 768px) {
  .profile-stat-card {
    padding: 16px;
    gap: 14px;
  }
}
@media (max-width: 576px) {
  .profile-stat-card {
    padding: 20px;
  }
}
.profile-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(14, 41, 72, 0.12);
}
.profile-stat-card:hover .profile-stat-icon {
  transform: scale(1.1);
  background: rgba(14, 41, 72, 0.15);
}
.profile-stat-card:hover::before {
  transform: translateX(0);
}
.profile-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(14, 41, 72, 0.02) 0%, rgba(14, 41, 72, 0.05) 100%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  pointer-events: none;
}
.profile-stat-card.patient-stat-card {
  border-bottom: 3px solid #0E2948;
}
.profile-stat-card.patient-stat-card .profile-stat-icon {
  background: rgba(14, 41, 72, 0.1);
  color: #0E2948;
}
.profile-stat-card.patient-stat-card .profile-stat-info h3 {
  color: #0E2948;
}

.profile-stat-icon {
  width: 56px;
  height: 56px;
  background: rgba(14, 41, 72, 0.08);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .profile-stat-icon {
    width: 48px;
    height: 48px;
    font-size: 24px;
    border-radius: 14px;
  }
}
@media (max-width: 576px) {
  .profile-stat-icon {
    width: 52px;
    height: 52px;
    font-size: 26px;
    border-radius: 16px;
  }
}

.profile-stat-info {
  flex: 1;
}
.profile-stat-info h3 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 4px 0;
  line-height: 1.2;
  color: #1f2937;
}
@media (max-width: 768px) {
  .profile-stat-info h3 {
    font-size: 28px;
  }
}
@media (max-width: 576px) {
  .profile-stat-info h3 {
    font-size: 30px;
  }
}
.profile-stat-info p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  font-weight: 500;
}
@media (max-width: 768px) {
  .profile-stat-info p {
    font-size: 13px;
  }
}
@media (max-width: 576px) {
  .profile-stat-info p {
    font-size: 14px;
  }
}

@keyframes statCardFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.profile-stat-card {
  animation: statCardFadeInUp 0.5s ease forwards;
  opacity: 0;
}
.profile-stat-card:nth-child(1) {
  animation-delay: 0.1s;
}
.profile-stat-card:nth-child(2) {
  animation-delay: 0.2s;
}
.profile-stat-card:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes statIconPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
.profile-stat-card.loading .profile-stat-icon {
  animation: statIconPulse 1s ease infinite;
}
.profile-stat-card.loading .profile-stat-info h3 {
  background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
  background-size: 200% 100%;
  animation: loadingShimmer 1.5s infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: 60px;
}

@keyframes loadingShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
@media (prefers-color-scheme: dark) {
  .profile-stat-card {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-color: rgba(255, 255, 255, 0.08);
  }
  .profile-stat-card.patient-stat-card {
    border-bottom-color: #4a6fa5;
  }
  .profile-stat-card.patient-stat-card .profile-stat-icon {
    background: rgba(74, 111, 165, 0.15);
    color: #4a6fa5;
  }
  .profile-stat-card.patient-stat-card .profile-stat-info h3 {
    color: #f3f4f6;
  }
  .profile-stat-card .profile-stat-info p {
    color: #9ca3af;
  }
}
@keyframes ppFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes ppSlideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes ppSlideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes ppPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
.profile-tabs-container {
  display: flex;
  gap: 8px;
  background: #ffffff;
  padding: 8px;
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
@media (max-width: 575px) {
  .profile-tabs-container {
    gap: 4px;
    padding: 4px;
    border-radius: 16px;
    margin-bottom: 24px;
  }
}

.profile-tab-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: transparent;
  border: none;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.profile-tab-button::before {
  font-size: 18px;
  transition: all 0.3s ease;
}
.profile-tab-button[data-tab=appointments]::before {
  content: "📋";
}
.profile-tab-button[data-tab=doctors]::before {
  content: "👨‍⚕️";
}
.profile-tab-button[data-tab=history]::before {
  content: "📖";
}
.profile-tab-button[data-tab=settings]::before {
  content: "⚙️";
}
.profile-tab-button:hover {
  background: #f3f4f6;
  color: #0E2948;
  transform: translateY(-2px);
}
.profile-tab-button:hover::before {
  transform: scale(1.1);
}
.profile-tab-button.active {
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(14, 41, 72, 0.2);
}
.profile-tab-button.active::before {
  filter: brightness(0) invert(1);
}
.profile-tab-button.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  animation: ppTabIndicator 0.3s ease;
}
@media (max-width: 767px) {
  .profile-tab-button {
    padding: 8px 24px;
    font-size: 12px;
  }
  .profile-tab-button::before {
    font-size: 16px;
  }
}
@media (max-width: 575px) {
  .profile-tab-button {
    padding: 8px 16px;
    flex-direction: column;
    gap: 4px;
  }
  .profile-tab-button::before {
    font-size: 20px;
  }
}
@media (max-width: 400px) {
  .profile-tab-button {
    padding: 4px 8px;
    font-size: 11px;
  }
  .profile-tab-button::before {
    font-size: 16px;
  }
}

@keyframes ppTabIndicator {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 30%;
    opacity: 1;
  }
}
.profile-tab-content {
  display: none;
  animation: ppTabFadeIn 0.3s ease;
}
.profile-tab-content.active {
  display: block;
}

@keyframes ppTabFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.profile-tab-content {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
@media (max-width: 767px) {
  .profile-tab-content {
    padding: 24px;
  }
}
@media (max-width: 575px) {
  .profile-tab-content {
    padding: 16px;
  }
}
@media (max-width: 400px) {
  .profile-tab-content {
    padding: 8px;
  }
}

.modern-table {
  width: 100%;
  border-collapse: collapse;
}
.modern-table th, .modern-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}
@media (max-width: 767px) {
  .modern-table th, .modern-table td {
    padding: 8px;
  }
}
.modern-table th {
  font-weight: 600;
  color: #1f2937;
  background: #f3f4f6;
  font-size: 14px;
}
@media (max-width: 575px) {
  .modern-table th {
    font-size: 12px;
  }
}
.modern-table td {
  color: #6b7280;
  font-size: 14px;
}
@media (max-width: 575px) {
  .modern-table td {
    font-size: 12px;
  }
}
.modern-table tr {
  transition: all 0.3s ease;
}
.modern-table tr:hover td {
  background: rgba(14, 41, 72, 0.03);
}

.doctor-card-tab {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #f3f4f6;
  border-radius: 16px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}
.doctor-card-tab:hover {
  background: rgba(14, 41, 72, 0.05);
  transform: translateX(5px);
}
.doctor-card-tab .doctor-avatar-tab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 600;
  font-size: 18px;
  flex-shrink: 0;
}
.doctor-card-tab .doctor-avatar-tab img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
@media (max-width: 575px) {
  .doctor-card-tab .doctor-avatar-tab {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
}
.doctor-card-tab .doctor-info-tab {
  flex: 1;
}
.doctor-card-tab .doctor-info-tab .doctor-name-tab {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
  font-size: 16px;
}
.doctor-card-tab .doctor-info-tab .doctor-specialization-tab {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}
.doctor-card-tab .doctor-info-tab .doctor-details-tab {
  font-size: 12px;
  color: #9ca3af;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.doctor-card-tab .doctor-actions-tab {
  display: flex;
  gap: 8px;
}
.doctor-card-tab .doctor-actions-tab button {
  padding: 8px 16px;
  font-size: 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.doctor-card-tab .doctor-actions-tab button.btn-chat {
  background: #0E2948;
  color: #ffffff;
  border: none;
}
.doctor-card-tab .doctor-actions-tab button.btn-chat:hover {
  background: #09203a;
  transform: scale(1.05);
}
.doctor-card-tab .doctor-actions-tab button.btn-detail {
  background: transparent;
  border: 1px solid #0E2948;
  color: #0E2948;
}
.doctor-card-tab .doctor-actions-tab button.btn-detail:hover {
  background: #0E2948;
  color: #ffffff;
}
@media (max-width: 575px) {
  .doctor-card-tab {
    flex-wrap: wrap;
    padding: 8px;
  }
  .doctor-card-tab .doctor-actions-tab {
    width: 100%;
    justify-content: flex-end;
  }
}

.appointment-card-tab {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #f3f4f6;
  border-radius: 16px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}
.appointment-card-tab:hover {
  background: rgba(14, 41, 72, 0.05);
  transform: translateX(5px);
}
.appointment-card-tab .appointment-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(14, 41, 72, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.appointment-card-tab .appointment-info-tab {
  flex: 1;
}
.appointment-card-tab .appointment-info-tab .appointment-doctor {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
}
.appointment-card-tab .appointment-info-tab .appointment-date {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}
.appointment-card-tab .appointment-info-tab .appointment-service {
  font-size: 12px;
  color: #0E2948;
}
.appointment-card-tab .appointment-status-tab {
  padding: 4px 8px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
}
.appointment-card-tab .appointment-status-tab.status-confirmed {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.appointment-card-tab .appointment-status-tab.status-pending {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  animation: ppPulse 2s ease infinite;
}
.appointment-card-tab .appointment-status-tab.status-completed {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}
.appointment-card-tab .appointment-status-tab.status-cancelled {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}
.appointment-card-tab .appointment-actions-tab {
  display: flex;
  gap: 8px;
}
.appointment-card-tab .appointment-actions-tab button {
  padding: 4px 16px;
  font-size: 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.appointment-card-tab .appointment-actions-tab button.btn-cancel {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #ef4444;
}
.appointment-card-tab .appointment-actions-tab button.btn-cancel:hover {
  background: #ef4444;
  color: #ffffff;
}
.appointment-card-tab .appointment-actions-tab button.btn-chat {
  background: #0E2948;
  border: none;
  color: #ffffff;
}
.appointment-card-tab .appointment-actions-tab button.btn-chat:hover {
  background: #09203a;
}
@media (max-width: 575px) {
  .appointment-card-tab {
    flex-wrap: wrap;
  }
  .appointment-card-tab .appointment-actions-tab {
    width: 100%;
    justify-content: flex-end;
  }
}

.history-card-tab {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: #f3f4f6;
  border-radius: 16px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}
.history-card-tab:hover {
  background: rgba(14, 41, 72, 0.05);
  transform: translateX(5px);
}
.history-card-tab .history-date {
  min-width: 100px;
  padding: 8px;
  background: rgba(14, 41, 72, 0.1);
  border-radius: 12px;
  text-align: center;
}
.history-card-tab .history-date .date-day {
  font-size: 20px;
  font-weight: 700;
  color: #0E2948;
  line-height: 1;
}
.history-card-tab .history-date .date-month {
  font-size: 12px;
  color: #6b7280;
}
@media (max-width: 575px) {
  .history-card-tab .history-date {
    min-width: 70px;
  }
  .history-card-tab .history-date .date-day {
    font-size: 18px;
  }
}
.history-card-tab .history-info {
  flex: 1;
}
.history-card-tab .history-info .history-doctor {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
}
.history-card-tab .history-info .history-diagnosis {
  font-size: 14px;
  color: #0E2948;
  margin-bottom: 4px;
}
.history-card-tab .history-info .history-treatment {
  font-size: 12px;
  color: #6b7280;
}

.settings-form {
  max-width: 600px;
  margin: 0 auto;
}
.settings-form .form-group {
  margin-bottom: 24px;
}
.settings-form .form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: #1f2937;
}
.settings-form .form-group input, .settings-form .form-group select, .settings-form .form-group textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
}
.settings-form .form-group input:focus, .settings-form .form-group select:focus, .settings-form .form-group textarea:focus {
  outline: none;
  border-color: #0E2948;
  box-shadow: 0 0 0 3px rgba(14, 41, 72, 0.1);
}
.settings-form .form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.settings-form .form-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.settings-form .form-actions button {
  padding: 16px 32px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.settings-form .form-actions button.btn-save {
  background: #0E2948;
  border: none;
  color: #ffffff;
}
.settings-form .form-actions button.btn-save:hover {
  background: #09203a;
  transform: translateY(-2px);
}
.settings-form .form-actions button.btn-cancel {
  background: transparent;
  border: 1px solid #e5e7eb;
  color: #6b7280;
}
.settings-form .form-actions button.btn-cancel:hover {
  background: #f3f4f6;
}

.tab-empty-state {
  text-align: center;
  padding: 48px 32px;
}
.tab-empty-state .empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.5;
}
.tab-empty-state h4 {
  font-size: 18px;
  color: #1f2937;
  margin-bottom: 8px;
}
.tab-empty-state p {
  color: #6b7280;
  margin-bottom: 24px;
}
.tab-empty-state .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
@media (max-width: 575px) {
  .tab-empty-state .btn-primary {
    padding: 8px 20px;
    font-size: 12px;
  }
}
.tab-empty-state .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.tab-empty-state .btn-primary {
  background: #0E2948;
  color: #ffffff;
}
.tab-empty-state .btn-primary:hover:not(:disabled) {
  background: #09203a;
  transform: translateY(-1px);
}

@keyframes ppFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes ppSlideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes ppSlideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes ppPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
#appointments h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 575px) {
  #appointments h3 {
    font-size: 18px;
    margin-bottom: 24px;
  }
}

.appointment-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
  opacity: 1 !important;
  transform: translateX(0) !important;
  animation: none !important;
}
@media (max-width: 575px) {
  .appointment-card {
    padding: 24px;
    margin-bottom: 16px;
    border-radius: 16px;
  }
}
@media (max-width: 400px) {
  .appointment-card {
    padding: 16px;
  }
}
.appointment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.05);
  border-color: rgba(14, 41, 72, 0.2);
  opacity: 1 !important;
}
.appointment-card.appointment-status-pending {
  border-left: 4px solid #f59e0b;
  background: linear-gradient(135deg, #ffffff 0%, rgba(245, 158, 11, 0.02) 100%);
}
.appointment-card.appointment-status-confirmed {
  border-left: 4px solid #10b981;
  background: linear-gradient(135deg, #ffffff 0%, rgba(16, 185, 129, 0.02) 100%);
}
.appointment-card.appointment-status-completed {
  border-left: 4px solid #3b82f6;
  background: linear-gradient(135deg, #ffffff 0%, rgba(59, 130, 246, 0.02) 100%);
}
.appointment-card.appointment-status-cancelled {
  border-left: 4px solid #ef4444;
  background: linear-gradient(135deg, #ffffff 0%, rgba(239, 68, 68, 0.02) 100%);
  opacity: 1 !important;
}
.appointment-card.appointment-status-cancelled:hover {
  opacity: 1 !important;
}

.appointment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}
@media (max-width: 575px) {
  .appointment-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
  }
}

.appointment-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #1f2937;
  background: #f3f4f6;
  padding: 8px 16px;
  border-radius: 50px;
}
@media (max-width: 575px) {
  .appointment-date {
    font-size: 14px;
    padding: 4px 16px;
  }
}

.appointment-status-badge .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.2s ease;
}
@media (max-width: 575px) {
  .appointment-status-badge .status-badge {
    font-size: 12px;
    padding: 4px 16px;
  }
}
.appointment-status-badge .status-badge:hover {
  transform: scale(1.05);
}
.appointment-status-badge .status-pending {
  background: rgba(245, 158, 11, 0.15);
  color: rgb(196.9291338583, 126.7125984252, 8.0708661417);
  border: 1px solid rgba(245, 158, 11, 0.3);
  animation: ppPulse 2s ease infinite;
}
.appointment-status-badge .status-confirmed {
  background: rgba(16, 185, 129, 0.15);
  color: rgb(11.9402985075, 138.0597014925, 96.2686567164);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.appointment-status-badge .status-completed {
  background: rgba(59, 130, 246, 0.15);
  color: rgb(10.0317073171, 89.1707317073, 218.4682926829);
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.appointment-status-badge .status-cancelled {
  background: rgba(239, 68, 68, 0.15);
  color: rgb(234.9802955665, 21.0197044335, 21.0197044335);
  border: 1px solid rgba(239, 68, 68, 0.3);
  text-decoration: line-through;
}

.appointment-body {
  margin-bottom: 24px;
}
@media (max-width: 575px) {
  .appointment-body {
    margin-bottom: 16px;
  }
}

.appointment-info-row {
  display: flex;
  margin-bottom: 16px;
  line-height: 1.5;
}
@media (max-width: 575px) {
  .appointment-info-row {
    flex-direction: column;
    margin-bottom: 8px;
  }
}
.appointment-info-row .info-label {
  width: 140px;
  flex-shrink: 0;
  font-weight: 600;
  color: #6b7280;
  font-size: 14px;
}
@media (max-width: 575px) {
  .appointment-info-row .info-label {
    width: auto;
    margin-bottom: 4px;
  }
}
.appointment-info-row .info-value {
  flex: 1;
  color: #1f2937;
  font-size: 14px;
  font-weight: 500;
}
@media (max-width: 575px) {
  .appointment-info-row .info-value {
    margin-left: 24px;
  }
}

.appointment-notes {
  margin-top: 16px;
  padding: 16px;
  background: rgba(14, 41, 72, 0.05);
  border-radius: 12px;
  border-left: 3px solid #0E2948;
}
.appointment-notes .notes-label {
  font-weight: 600;
  color: #0E2948;
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.appointment-notes .notes-content {
  color: #1f2937;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.appointment-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}
@media (max-width: 575px) {
  .appointment-footer {
    justify-content: stretch;
  }
}

.btn-cancel-appointment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 32px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  border-radius: 12px;
  color: #ef4444;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}
@media (max-width: 575px) {
  .btn-cancel-appointment {
    width: 100%;
    justify-content: center;
    padding: 16px;
  }
}
.btn-cancel-appointment:hover {
  background: #ef4444;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.btn-cancel-appointment:active {
  transform: translateY(0);
}

.empty-state {
  text-align: center;
  padding: 60px 32px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
@media (max-width: 575px) {
  .empty-state {
    padding: 40px 24px;
  }
}
.empty-state p {
  color: #6b7280;
  font-size: 16px;
  margin-bottom: 24px;
}
.empty-state .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
@media (max-width: 575px) {
  .empty-state .btn-primary {
    padding: 8px 20px;
    font-size: 12px;
  }
}
.empty-state .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.empty-state .btn-primary {
  background: #0E2948;
  color: #ffffff;
}
.empty-state .btn-primary:hover:not(:disabled) {
  background: #09203a;
  transform: translateY(-1px);
}

@keyframes ppPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.02);
  }
}
@media (prefers-color-scheme: dark) {
  .appointment-card {
    background: #1f2937;
    border-color: rgba(255, 255, 255, 0.1);
  }
  .appointment-card .appointment-date {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
  }
  .appointment-card .info-label {
    color: #9ca3af;
  }
  .appointment-card .info-value {
    color: #ffffff;
  }
  .appointment-card .appointment-notes {
    background: rgba(255, 255, 255, 0.05);
  }
  .appointment-card .appointment-notes .notes-content {
    color: #f3f4f6;
  }
}
@keyframes ppFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes ppSlideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes ppSlideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes ppPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
#doctors {
  width: 100%;
  max-width: 100%;
}
#doctors .section-header {
  margin-bottom: 8px;
}
@media (max-width: 575px) {
  #doctors .section-header {
    margin-bottom: 8px;
  }
}
#doctors .section-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 575px) {
  #doctors .section-header h3 {
    font-size: 16px;
  }
}
#doctors .section-header p {
  font-size: 12px;
  color: #6b7280;
  margin: 0;
}

.doctors-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.doctor-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border-radius: 12px;
  padding: 0 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid #e5e7eb;
  height: 100px !important;
  min-height: 80px !important;
  max-height: 100px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  opacity: 1 !important;
  animation: none !important;
  overflow: hidden;
}
@media (max-width: 575px) {
  .doctor-card {
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    padding: 0 10px;
    gap: 10px;
  }
}
@media (max-width: 480px) {
  .doctor-card {
    flex-wrap: wrap;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    padding: 8px 12px;
    gap: 8px;
  }
}
.doctor-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-color: rgba(14, 41, 72, 0.3);
  background: rgba(14, 41, 72, 0.02);
}
.doctor-card:hover .chat-button {
  background: #0E2948;
}
.doctor-card:hover .chat-button .chat-icon {
  transform: rotate(15deg);
}

.doctor-card-left {
  flex-shrink: 0;
}

.doctor-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 575px) {
  .doctor-avatar {
    width: 36px;
    height: 36px;
  }
}
.doctor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.doctor-avatar .avatar-initials {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
}
@media (max-width: 575px) {
  .doctor-avatar .avatar-initials {
    font-size: 14px;
  }
}

.doctor-card-center {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.doctor-name {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 2px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 575px) {
  .doctor-name {
    font-size: 13px;
  }
}

.doctor-specialty {
  font-size: 11px;
  color: #0E2948;
  background: rgba(14, 41, 72, 0.08);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  margin-bottom: 2px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}
@media (max-width: 575px) {
  .doctor-specialty {
    font-size: 10px;
    padding: 1px 6px;
  }
}

.doctor-last-message {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #6b7280;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 575px) {
  .doctor-last-message {
    font-size: 10px;
  }
}
.doctor-last-message .message-preview {
  font-size: 10px;
  flex-shrink: 0;
}
.doctor-last-message .message-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.doctor-time {
  font-size: 10px;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
}
.doctor-time::before {
  content: "🕐";
  font-size: 9px;
  opacity: 0.7;
}

.doctor-card-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  height: 100%;
}
@media (max-width: 480px) {
  .doctor-card-right {
    flex-direction: row;
    justify-content: center;
    width: 100%;
    gap: 12px;
    height: auto;
    margin-top: 4px;
  }
}

.unread-badge {
  background: #ef4444;
  border-radius: 20px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  animation: ppBadgePulse 1.5s ease infinite;
}
.unread-badge .badge-number {
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
}

.chat-button {
  width: 32px;
  height: 32px;
  background: rgba(14, 41, 72, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
@media (max-width: 575px) {
  .chat-button {
    width: 30px;
    height: 30px;
  }
}
.chat-button .chat-icon {
  font-size: 14px;
  transition: all 0.2s ease;
}
@media (max-width: 575px) {
  .chat-button .chat-icon {
    font-size: 13px;
  }
}

@keyframes ppBadgePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0);
  }
}
.empty-state {
  text-align: center;
  padding: 24px 16px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  width: 100%;
  box-sizing: border-box;
}
.empty-state .empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.5;
}
.empty-state h4 {
  font-size: 16px;
  color: #1f2937;
  margin-bottom: 4px;
}
.empty-state p {
  color: #6b7280;
  font-size: 12px;
  margin-bottom: 12px;
}
.empty-state .btn-primary {
  padding: 6px 16px;
  font-size: 12px;
  background: #0E2948;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}
.empty-state .btn-primary:hover {
  background: rgb(5.6976744186, 16.6860465116, 29.3023255814);
}

.doctor-card-skeleton {
  background: #ffffff;
  border-radius: 12px;
  padding: 0 12px;
  display: flex;
  gap: 12px;
  animation: ppSkeletonPulse 1.5s ease infinite;
  width: 100%;
  box-sizing: border-box;
  height: 60px;
  min-height: 60px;
  max-height: 60px;
  align-items: center;
}
.doctor-card-skeleton .skeleton-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f3f4f6;
  flex-shrink: 0;
}
.doctor-card-skeleton .skeleton-content {
  flex: 1;
}
.doctor-card-skeleton .skeleton-content .skeleton-name {
  width: 60%;
  height: 14px;
  background: #f3f4f6;
  border-radius: 4px;
  margin-bottom: 6px;
}
.doctor-card-skeleton .skeleton-content .skeleton-specialty {
  width: 40%;
  height: 10px;
  background: #f3f4f6;
  border-radius: 4px;
  margin-bottom: 6px;
}
.doctor-card-skeleton .skeleton-content .skeleton-message {
  width: 80%;
  height: 10px;
  background: #f3f4f6;
  border-radius: 4px;
}

@keyframes ppSkeletonPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.doctors-grid {
  display: block !important;
  width: 100% !important;
}

.doctor-card {
  text-align: left !important;
  animation: none !important;
}
.doctor-card .doctor-avatar {
  margin: 0 !important;
}
.doctor-card .doctor-name {
  text-align: left !important;
  font-size: 14px !important;
}
.doctor-card .doctor-specialization {
  text-align: left !important;
}

@media (prefers-color-scheme: dark) {
  .doctor-card {
    background: #1f2937;
    border-color: rgba(255, 255, 255, 0.1);
  }
  .doctor-card:hover {
    background: rgb(40.1918604651, 53.1569767442, 71.3081395349);
  }
  .doctor-card .doctor-name {
    color: #ffffff;
  }
  .doctor-card .doctor-specialty {
    background: rgba(14, 41, 72, 0.2);
  }
  .doctor-card .doctor-last-message {
    color: #9ca3af;
  }
  .doctor-card .doctor-time {
    color: #6b7280;
  }
  .doctor-card .chat-button {
    background: rgba(14, 41, 72, 0.2);
  }
  .empty-state {
    background: #1f2937;
  }
  .empty-state h4 {
    color: #ffffff;
  }
  .doctor-card-skeleton {
    background: #1f2937;
  }
  .doctor-card-skeleton .skeleton-avatar,
  .doctor-card-skeleton .skeleton-name,
  .doctor-card-skeleton .skeleton-specialty,
  .doctor-card-skeleton .skeleton-message {
    background: rgba(255, 255, 255, 0.1);
  }
}
/* Стили для окна чата */
.chat-window-modern {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 350px;
  height: 500px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  z-index: 1000;
}

.chat-window-modern.minimized {
  height: auto;
}

.chat-header {
  background: #0E2948;
  color: white;
  padding: 12px 15px;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
}

.chat-header-actions button {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 0 5px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
  background: #f5f7fa;
}

.chat-message {
  display: flex;
  margin-bottom: 10px;
}

.message-incoming {
  justify-content: flex-start;
}

.message-outgoing {
  justify-content: flex-end;
}

.message-bubble {
  max-width: 70%;
  padding: 8px 12px;
  border-radius: 12px;
}

.message-incoming .message-bubble {
  background: white;
  border: 1px solid #e0e0e0;
}

.message-outgoing .message-bubble {
  background: #0E2948;
  color: white;
}

.message-time {
  font-size: 10px;
  margin-top: 4px;
  opacity: 0.7;
}

.chat-input-area {
  padding: 10px;
  border-top: 1px solid #ddd;
  display: flex;
  gap: 10px;
  background: white;
  border-radius: 0 0 12px 12px;
}

.chat-input-area textarea {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px;
  resize: none;
}

.chat-send-btn {
  padding: 8px 15px;
  background: #0E2948;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.chat-toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  border-radius: 8px;
  color: white;
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.chat-toast.show {
  opacity: 1;
}

.chat-toast-success {
  background: #28a745;
}

.chat-toast-error {
  background: #dc3545;
}

.chat-toast-warning {
  background: #ffc107;
  color: #333;
}

@keyframes ppFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes ppSlideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes ppSlideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes ppPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
#history h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 575px) {
  #history h3 {
    font-size: 18px;
    margin-bottom: 24px;
  }
}

.history-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
}
@media (max-width: 575px) {
  .history-card {
    padding: 24px;
    margin-bottom: 16px;
    border-radius: 16px;
  }
}
@media (max-width: 400px) {
  .history-card {
    padding: 16px;
  }
}
.history-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.05);
  border-color: rgba(14, 41, 72, 0.2);
  background: linear-gradient(135deg, #ffffff 0%, rgba(14, 41, 72, 0.02) 100%);
}
.history-card:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -24px;
  left: 32px;
  right: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
}
@media (max-width: 575px) {
  .history-card:not(:last-child)::after {
    left: 24px;
    right: 24px;
    bottom: -16px;
  }
}
.history-card > div {
  margin-bottom: 16px;
  line-height: 1.5;
  font-size: 14px;
}
@media (max-width: 575px) {
  .history-card > div {
    margin-bottom: 8px;
    font-size: 12px;
  }
}
.history-card > div:last-child {
  margin-bottom: 0;
}
.history-card > div strong {
  color: #1f2937;
  font-weight: 600;
  min-width: 120px;
  display: inline-block;
}
@media (max-width: 575px) {
  .history-card > div strong {
    min-width: 100px;
  }
}

.history-date {
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px !important;
  width: fit-content;
}
@media (max-width: 575px) {
  .history-date {
    font-size: 12px;
    padding: 4px 16px;
    margin-bottom: 16px !important;
  }
}
.history-date::before {
  content: "📅";
  margin-right: 4px;
}

.history-doctor {
  background: rgba(14, 41, 72, 0.08);
  padding: 8px 16px;
  border-radius: 12px;
  margin-top: 16px !important;
  color: #0E2948;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
}
@media (max-width: 575px) {
  .history-doctor {
    font-size: 12px;
    padding: 4px 8px;
  }
}
.history-doctor::before {
  content: "👨‍⚕️";
  margin-right: 4px;
}

.history-card div:empty {
  display: none;
}

.history-card div strong + :not(strong) {
  color: #6b7280;
}
.history-card div strong + :not(strong):empty::after {
  content: "Не указано";
  color: #9ca3af;
  font-style: italic;
}

.history-card div:nth-child(2) strong + :not(strong) {
  color: #0E2948;
  font-weight: 500;
}

.history-card {
  animation: ppHistorySlideIn 0.5s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}
.history-card:nth-child(1) {
  animation-delay: 0.05s;
}
.history-card:nth-child(2) {
  animation-delay: 0.1s;
}
.history-card:nth-child(3) {
  animation-delay: 0.15s;
}
.history-card:nth-child(4) {
  animation-delay: 0.2s;
}
.history-card:nth-child(5) {
  animation-delay: 0.25s;
}
.history-card:nth-child(6) {
  animation-delay: 0.3s;
}
.history-card:nth-child(7) {
  animation-delay: 0.35s;
}
.history-card:nth-child(8) {
  animation-delay: 0.4s;
}
.history-card:nth-child(9) {
  animation-delay: 0.45s;
}
.history-card:nth-child(10) {
  animation-delay: 0.5s;
}
.history-card:nth-child(11) {
  animation-delay: 0.55s;
}
.history-card:nth-child(12) {
  animation-delay: 0.6s;
}
.history-card:nth-child(13) {
  animation-delay: 0.65s;
}
.history-card:nth-child(14) {
  animation-delay: 0.7s;
}
.history-card:nth-child(15) {
  animation-delay: 0.75s;
}
.history-card:nth-child(16) {
  animation-delay: 0.8s;
}
.history-card:nth-child(17) {
  animation-delay: 0.85s;
}
.history-card:nth-child(18) {
  animation-delay: 0.9s;
}
.history-card:nth-child(19) {
  animation-delay: 0.95s;
}
.history-card:nth-child(20) {
  animation-delay: 1s;
}

@keyframes ppHistorySlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.history-card:hover div strong {
  color: #0E2948;
  transition: color 0.3s ease;
}

.history-timeline {
  position: relative;
  padding-left: 32px;
}
.history-timeline::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #0E2948, rgba(14, 41, 72, 0.2));
  border-radius: 2px;
}

.history-timeline-item {
  position: relative;
  margin-bottom: 32px;
}
.history-timeline-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 16px;
  width: 12px;
  height: 12px;
  background: #0E2948;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.history-year-group {
  margin-bottom: 40px;
}
.history-year-group .history-year-title {
  font-size: 24px;
  font-weight: 700;
  color: #0E2948;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 575px) {
  .history-year-group .history-year-title {
    font-size: 20px;
    margin-bottom: 16px;
  }
}
.history-year-group .history-year-title::before {
  content: "📅";
  font-size: 20px;
}

.history-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  margin-left: 16px;
}
.history-badge.diagnosis {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}
.history-badge.treatment {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.history-badge.recommendation {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.history-content {
  position: relative;
}
.history-content.collapsed {
  max-height: 100px;
  overflow: hidden;
}
.history-content.collapsed::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(180deg, transparent, #ffffff);
}

.history-expand-btn {
  background: none;
  border: none;
  color: #0E2948;
  font-size: 12px;
  cursor: pointer;
  margin-top: 8px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
}
.history-expand-btn:hover {
  color: #09203a;
  transform: translateX(4px);
}
.history-expand-btn::after {
  content: "▼";
  font-size: 10px;
  transition: transform 0.3s ease;
}
.history-expand-btn.expanded::after {
  transform: rotate(180deg);
}

.empty-state {
  text-align: center;
  padding: 60px 32px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
@media (max-width: 575px) {
  .empty-state {
    padding: 40px 24px;
  }
}
.empty-state p {
  color: #6b7280;
  font-size: 16px;
  margin-bottom: 24px;
}
.empty-state .empty-icon {
  font-size: 64px;
  margin-bottom: 24px;
  opacity: 0.5;
  animation: ppHistoryEmptyBounce 2s ease infinite;
}

@keyframes ppHistoryEmptyBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@media (prefers-color-scheme: dark) {
  .history-card {
    background: #1f2937;
    border-color: rgba(255, 255, 255, 0.1);
  }
  .history-card:hover {
    background: rgb(40.1918604651, 53.1569767442, 71.3081395349);
  }
  .history-card > div strong {
    color: #ffffff;
  }
  .history-card > div {
    color: #9ca3af;
  }
  .history-card .history-date {
    background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  }
  .history-card .history-doctor {
    background: rgba(14, 41, 72, 0.2);
  }
  .empty-state {
    background: #1f2937;
  }
  .empty-state p {
    color: #9ca3af;
  }
  .history-content.collapsed::after {
    background: linear-gradient(180deg, transparent, #1f2937);
  }
}
@media print {
  .history-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #e5e7eb;
  }
  .history-card .history-date {
    background: #f3f4f6;
    color: #1f2937;
  }
}
@keyframes ppFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes ppSlideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes ppSlideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes ppPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
.settings-section {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}
@media (max-width: 767px) {
  .settings-section {
    padding: 24px;
  }
}
@media (max-width: 575px) {
  .settings-section {
    padding: 16px;
    margin-bottom: 24px;
  }
}
.settings-section:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.settings-section h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 575px) {
  .settings-section h4 {
    font-size: 16px;
    margin-bottom: 16px;
  }
}
.settings-section h4::before {
  font-size: 20px;
}
.settings-section h4:nth-child(1)::before {
  content: "👤";
}

.profile-form .form-section {
  margin-bottom: 32px;
}
.profile-form .form-section:last-child {
  margin-bottom: 0;
}

.profile-form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
@media (max-width: 767px) {
  .profile-form-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 575px) {
  .profile-form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.profile-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.profile-form-group label {
  font-weight: 600;
  color: #1f2937;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}
@media (max-width: 575px) {
  .profile-form-group label {
    font-size: 12px;
  }
}
.profile-form-group label .required {
  color: #ef4444;
  font-size: 12px;
}
.profile-form-group label .optional {
  color: #9ca3af;
  font-size: 12px;
  font-weight: 400;
}
.profile-form-group .form-control {
  padding: 8px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: inherit;
  background: #ffffff;
  color: #1f2937;
}
.profile-form-group .form-control:focus {
  outline: none;
  border-color: #0E2948;
  box-shadow: 0 0 0 3px rgba(14, 41, 72, 0.1);
}
.profile-form-group .form-control:hover:not(:focus) {
  border-color: #9ca3af;
}
.profile-form-group .form-control::placeholder {
  color: #9ca3af;
}
.profile-form-group .form-control:disabled {
  background: #f3f4f6;
  cursor: not-allowed;
  opacity: 0.7;
}
@media (max-width: 575px) {
  .profile-form-group .form-control {
    padding: 4px 8px;
    font-size: 12px;
  }
}
.profile-form-group select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}
.profile-form-group textarea.form-control {
  resize: vertical;
  min-height: 100px;
}
.profile-form-group .form-text {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}
.profile-form-group .form-text.text-muted {
  color: #9ca3af;
}
.profile-form-group .form-text.text-danger {
  color: #ef4444;
}
.profile-form-group .form-text.text-success {
  color: #10b981;
}
.profile-form-group .form-error {
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.profile-form-group .form-error::before {
  content: "⚠️";
  font-size: 12px;
}

.email-display {
  padding: 8px 16px;
  background: #f3f4f6;
  border-radius: 12px;
  font-size: 14px;
  color: #1f2937;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 575px) {
  .email-display {
    padding: 4px 8px;
    font-size: 12px;
  }
}
.email-display::before {
  content: "📧";
  font-size: 16px;
}

.current-photo {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.current-photo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
@media (max-width: 575px) {
  .current-photo img {
    width: 60px;
    height: 60px;
  }
}
.current-photo img:hover {
  transform: scale(1.05);
}
.current-photo .photo-actions {
  display: flex;
  gap: 8px;
}
.current-photo .photo-actions .btn-remove-photo {
  padding: 4px 16px;
  background: rgba(239, 68, 68, 0.1);
  border: none;
  border-radius: 12px;
  color: #ef4444;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.current-photo .photo-actions .btn-remove-photo:hover {
  background: #ef4444;
  color: #ffffff;
}

.profile-btn {
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 575px) {
  .profile-btn {
    padding: 8px 24px;
    font-size: 12px;
    width: 100%;
    justify-content: center;
  }
}
.profile-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.profile-btn-primary {
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  color: #ffffff;
}
.profile-btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(14, 41, 72, 0.2);
}
.profile-btn-primary:active:not(:disabled) {
  transform: translateY(0);
}
.profile-btn-secondary {
  background: #f3f4f6;
  color: #6b7280;
}
.profile-btn-secondary:hover:not(:disabled) {
  background: #e5e7eb;
  transform: translateY(-2px);
}
.profile-btn-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}
.profile-btn-danger:hover:not(:disabled) {
  background: #ef4444;
  color: #ffffff;
}
.profile-btn-success {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.profile-btn-success:hover:not(:disabled) {
  background: #10b981;
  color: #ffffff;
}
.profile-btn-outline {
  background: transparent;
  border: 2px solid #0E2948;
  color: #0E2948;
}
.profile-btn-outline:hover:not(:disabled) {
  background: #0E2948;
  color: #ffffff;
}

.profile-form-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}
@media (max-width: 575px) {
  .profile-form-actions {
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
    padding-top: 16px;
  }
}

.profile-form-two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 767px) {
  .profile-form-two-columns {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.profile-form-three-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 767px) {
  .profile-form-three-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 575px) {
  .profile-form-three-columns {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.social-input-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.social-input-group .social-icon {
  width: 40px;
  height: 40px;
  background: #f3f4f6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
@media (max-width: 575px) {
  .social-input-group .social-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}
.social-input-group .social-icon:hover {
  transform: scale(1.1);
}
.social-input-group .form-control {
  flex: 1;
}

.profile-form-check-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.profile-form-check-group label {
  font-weight: 600;
  color: #1f2937;
  font-size: 14px;
  margin-bottom: 4px;
}
.profile-form-check-group .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.profile-form-check-group .checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.profile-form-check-group .checkbox-item input[type=checkbox],
.profile-form-check-group .checkbox-item input[type=radio] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #0E2948;
}
.profile-form-check-group .checkbox-item span {
  font-size: 14px;
  color: #1f2937;
}

.notification-settings .notification-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #e5e7eb;
}
.notification-settings .notification-item:last-child {
  border-bottom: none;
}
.notification-settings .notification-item .notification-info {
  flex: 1;
}
.notification-settings .notification-item .notification-info .notification-title {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
}
.notification-settings .notification-item .notification-info .notification-description {
  font-size: 12px;
  color: #6b7280;
}
.notification-settings .notification-item .notification-toggle {
  flex-shrink: 0;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-switch input:checked + .toggle-slider {
  background-color: #10b981;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(24px);
}
.toggle-switch input:focus + .toggle-slider {
  box-shadow: 0 0 1px #10b981;
}
.toggle-switch .toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #9ca3af;
  transition: 0.3s ease;
  border-radius: 34px;
}
.toggle-switch .toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: #ffffff;
  transition: 0.3s ease;
  border-radius: 50%;
}

@media (max-width: 767px) {
  .profile-form-row {
    gap: 16px;
  }
}
@media (max-width: 575px) {
  .profile-form-row {
    gap: 8px;
  }
  .settings-section {
    padding: 16px;
  }
  .checkbox-group {
    flex-direction: column;
    gap: 8px !important;
  }
}
.profile-form-group {
  animation: ppFadeInUp 0.4s ease forwards;
  opacity: 0;
}
.profile-form-group:nth-child(1) {
  animation-delay: 0.03s;
}
.profile-form-group:nth-child(2) {
  animation-delay: 0.06s;
}
.profile-form-group:nth-child(3) {
  animation-delay: 0.09s;
}
.profile-form-group:nth-child(4) {
  animation-delay: 0.12s;
}
.profile-form-group:nth-child(5) {
  animation-delay: 0.15s;
}
.profile-form-group:nth-child(6) {
  animation-delay: 0.18s;
}
.profile-form-group:nth-child(7) {
  animation-delay: 0.21s;
}
.profile-form-group:nth-child(8) {
  animation-delay: 0.24s;
}
.profile-form-group:nth-child(9) {
  animation-delay: 0.27s;
}
.profile-form-group:nth-child(10) {
  animation-delay: 0.3s;
}
.profile-form-group:nth-child(11) {
  animation-delay: 0.33s;
}
.profile-form-group:nth-child(12) {
  animation-delay: 0.36s;
}
.profile-form-group:nth-child(13) {
  animation-delay: 0.39s;
}
.profile-form-group:nth-child(14) {
  animation-delay: 0.42s;
}
.profile-form-group:nth-child(15) {
  animation-delay: 0.45s;
}
.profile-form-group:nth-child(16) {
  animation-delay: 0.48s;
}
.profile-form-group:nth-child(17) {
  animation-delay: 0.51s;
}
.profile-form-group:nth-child(18) {
  animation-delay: 0.54s;
}
.profile-form-group:nth-child(19) {
  animation-delay: 0.57s;
}
.profile-form-group:nth-child(20) {
  animation-delay: 0.6s;
}
.profile-form-group:nth-child(21) {
  animation-delay: 0.63s;
}
.profile-form-group:nth-child(22) {
  animation-delay: 0.66s;
}
.profile-form-group:nth-child(23) {
  animation-delay: 0.69s;
}
.profile-form-group:nth-child(24) {
  animation-delay: 0.72s;
}
.profile-form-group:nth-child(25) {
  animation-delay: 0.75s;
}
.profile-form-group:nth-child(26) {
  animation-delay: 0.78s;
}
.profile-form-group:nth-child(27) {
  animation-delay: 0.81s;
}
.profile-form-group:nth-child(28) {
  animation-delay: 0.84s;
}
.profile-form-group:nth-child(29) {
  animation-delay: 0.87s;
}
.profile-form-group:nth-child(30) {
  animation-delay: 0.9s;
}

@media (prefers-color-scheme: dark) {
  .settings-section {
    background: #1f2937;
    border-color: rgba(255, 255, 255, 0.1);
  }
  .settings-section h4 {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }
  .profile-form-group label {
    color: #ffffff;
  }
  .profile-form-group .form-control {
    background: rgb(40.1918604651, 53.1569767442, 71.3081395349);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
  }
  .profile-form-group .form-control:focus {
    border-color: #0E2948;
  }
  .profile-form-group .form-control::placeholder {
    color: #6b7280;
  }
  .profile-form-group .form-text {
    color: #9ca3af;
  }
  .email-display {
    background: rgb(40.1918604651, 53.1569767442, 71.3081395349);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
  }
  .current-photo img {
    border-color: #1f2937;
  }
  .social-input-group .social-icon {
    background: rgb(40.1918604651, 53.1569767442, 71.3081395349);
  }
  .notification-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }
  .notification-item .notification-title {
    color: #ffffff;
  }
}
.patients-profile-page {
  background: #f8fafc;
  min-height: 100vh;
  padding: 24px 0;
  animation: ppFadeIn 0.5s ease;
}
@media (max-width: 575px) {
  .patients-profile-page {
    padding: 16px 0;
  }
}

.profile-header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  animation: ppSlideUp 0.4s ease;
}
@media (max-width: 575px) {
  .profile-header-container {
    padding: 24px;
    flex-direction: column;
    text-align: center;
  }
}
.profile-header-container.patient-header {
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  color: #ffffff;
}
.profile-header-container.patient-header .profile-header-role-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.profile-header-avatar {
  position: relative;
  animation: ppScaleBounce 0.5s ease;
}
.profile-header-avatar img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  background: #f3f4f6;
  border: 4px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease;
}
.profile-header-avatar img:hover {
  transform: scale(1.05);
}
.profile-header-avatar .profile-header-avatar-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  font-weight: 600;
  color: #ffffff;
  border: 4px solid rgba(255, 255, 255, 0.3);
  font-size: 48px;
  transition: transform 0.3s ease;
}
.profile-header-avatar .profile-header-avatar-placeholder:hover {
  transform: scale(1.05);
}
@media (max-width: 575px) {
  .profile-header-avatar .profile-header-avatar-placeholder {
    font-size: 36px;
  }
}
.profile-header-avatar .profile-header-avatar-placeholder.patient-role {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.profile-header-info {
  flex: 1;
  animation: ppFadeInRight 0.4s ease 0.1s both;
}
.profile-header-info h1 {
  font-size: 28px;
  margin: 0 0 4px 0;
  font-weight: 600;
}
@media (max-width: 575px) {
  .profile-header-info h1 {
    font-size: 24px;
  }
}
.profile-header-info .profile-header-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 50px;
}
@media (max-width: 575px) {
  .profile-header-info .profile-header-role-badge {
    padding: 4px 12px;
    font-size: 12px;
  }
}
.profile-header-info .profile-header-role-badge {
  background: #0E2948;
  color: #ffffff;
  display: inline-block;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}
.profile-header-info .profile-header-role-badge:hover {
  transform: scale(1.05);
}
.profile-header-info .profile-header-role-badge.patient-role {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
.profile-header-info .profile-header-email,
.profile-header-info .profile-header-phone {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  opacity: 0.9;
  margin-top: 4px;
}
@media (max-width: 575px) {
  .profile-header-info .profile-header-email,
  .profile-header-info .profile-header-phone {
    justify-content: center;
  }
}
.profile-header-info .profile-header-email::before,
.profile-header-info .profile-header-phone::before {
  font-size: 16px;
}

.profile-header-actions {
  animation: ppFadeInLeft 0.4s ease 0.1s both;
}
.profile-header-actions .profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
@media (max-width: 575px) {
  .profile-header-actions .profile-btn {
    padding: 8px 20px;
    font-size: 12px;
  }
}
.profile-header-actions .profile-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.profile-header-actions .profile-btn {
  background: transparent;
  border: 1px solid #0E2948;
  color: #0E2948;
}
.profile-header-actions .profile-btn:hover:not(:disabled) {
  background: #0E2948;
  color: #ffffff;
}
.profile-header-actions .profile-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transition: all 0.3s ease;
}
.profile-header-actions .profile-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.profile-header-actions .profile-btn.profile-btn-danger:hover {
  background: #ef4444;
  border-color: #ef4444;
}

.patient-stats-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  margin-bottom: 24px;
}

.patient-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  gap: 16px;
}

.stat-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}
.stat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: #ffffff;
  animation: ppFadeInUp 0.4s ease;
  animation-fill-mode: both;
}
.stat-card:nth-child(1) {
  animation-delay: 0.05s;
}
.stat-card:nth-child(2) {
  animation-delay: 0.1s;
}
.stat-card:nth-child(3) {
  animation-delay: 0.15s;
}
.stat-card:nth-child(4) {
  animation-delay: 0.2s;
}
.stat-card:nth-child(5) {
  animation-delay: 0.25s;
}
.stat-card:nth-child(6) {
  animation-delay: 0.3s;
}
.stat-card:nth-child(7) {
  animation-delay: 0.35s;
}
.stat-card:nth-child(8) {
  animation-delay: 0.4s;
}
.stat-card:nth-child(9) {
  animation-delay: 0.45s;
}
.stat-card:nth-child(10) {
  animation-delay: 0.5s;
}
@media (max-width: 575px) {
  .stat-card {
    padding: 16px;
  }
}
.stat-card:hover {
  animation: ppCardHover 0.3s ease forwards;
}
.stat-card .stat-info h3 {
  font-size: 24px;
  margin: 0 0 4px 0;
  font-weight: 700;
  color: #0E2948;
  transition: all 0.3s ease;
}
@media (max-width: 575px) {
  .stat-card .stat-info h3 {
    font-size: 20px;
  }
}
.stat-card .stat-info p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}
.stat-card .stat-icon {
  width: 48px;
  height: 48px;
  background: rgba(14, 41, 72, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.3s ease;
}
.stat-card .stat-icon:hover {
  transform: scale(1.1) rotate(10deg);
  background: rgba(14, 41, 72, 0.2);
}
@media (max-width: 575px) {
  .stat-card .stat-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

.patient-tabs-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  animation: ppFadeInUp 0.5s ease 0.2s both;
}

.tabs-modern {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.tabs-header-modern {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: nowrap;
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
  overflow-x: auto;
}
.tabs-header-modern::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.tabs-header-modern::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 6px;
}
.tabs-header-modern::-webkit-scrollbar-thumb {
  background: #9ca3af;
  border-radius: 6px;
}
.tabs-header-modern::-webkit-scrollbar-thumb:hover {
  background: rgb(127.7932960894, 136.7877094972, 152.2067039106);
}
.tabs-header-modern .tab-btn-modern {
  padding: 16px 32px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
}
@media (max-width: 575px) {
  .tabs-header-modern .tab-btn-modern {
    padding: 16px 24px;
    font-size: 14px;
  }
}
.tabs-header-modern .tab-btn-modern:hover {
  color: #0E2948;
  background: rgba(14, 41, 72, 0.05);
  transform: translateY(-2px);
}
.tabs-header-modern .tab-btn-modern.active {
  color: #0E2948;
  background: #ffffff;
}
.tabs-header-modern .tab-btn-modern.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #0E2948;
  animation: ppSlideLeft 0.3s ease;
}

.tab-content {
  display: none;
  padding: 32px;
  animation: ppFadeIn 0.3s ease;
}
@media (max-width: 575px) {
  .tab-content {
    padding: 24px;
  }
}
.tab-content.active {
  display: block;
}

.appointments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.appointment-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.appointment-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}
.appointment-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px;
  animation: ppFadeInLeft 0.4s ease;
  animation-fill-mode: both;
}
.appointment-card:nth-child(1) {
  animation-delay: 0.05s;
}
.appointment-card:nth-child(2) {
  animation-delay: 0.1s;
}
.appointment-card:nth-child(3) {
  animation-delay: 0.15s;
}
.appointment-card:nth-child(4) {
  animation-delay: 0.2s;
}
.appointment-card:nth-child(5) {
  animation-delay: 0.25s;
}
.appointment-card:nth-child(6) {
  animation-delay: 0.3s;
}
.appointment-card:nth-child(7) {
  animation-delay: 0.35s;
}
.appointment-card:nth-child(8) {
  animation-delay: 0.4s;
}
.appointment-card:nth-child(9) {
  animation-delay: 0.45s;
}
.appointment-card:nth-child(10) {
  animation-delay: 0.5s;
}
.appointment-card:nth-child(11) {
  animation-delay: 0.55s;
}
.appointment-card:nth-child(12) {
  animation-delay: 0.6s;
}
.appointment-card:nth-child(13) {
  animation-delay: 0.65s;
}
.appointment-card:nth-child(14) {
  animation-delay: 0.7s;
}
.appointment-card:nth-child(15) {
  animation-delay: 0.75s;
}
.appointment-card:nth-child(16) {
  animation-delay: 0.8s;
}
.appointment-card:nth-child(17) {
  animation-delay: 0.85s;
}
.appointment-card:nth-child(18) {
  animation-delay: 0.9s;
}
.appointment-card:nth-child(19) {
  animation-delay: 0.95s;
}
.appointment-card:nth-child(20) {
  animation-delay: 1s;
}
@media (max-width: 575px) {
  .appointment-card {
    padding: 16px;
  }
}
.appointment-card:hover {
  animation: ppCardHover 0.3s ease forwards;
}
.appointment-card .appointment-info {
  flex: 1;
}
.appointment-card .appointment-info .appointment-doctor {
  font-weight: 600;
  font-size: 18px;
  color: #1f2937;
  margin-bottom: 4px;
}
.appointment-card .appointment-info .appointment-date {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 4px;
}
.appointment-card .appointment-info .appointment-service {
  font-size: 14px;
  color: #0E2948;
}
.appointment-card .appointment-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 50px;
}
@media (max-width: 575px) {
  .appointment-card .appointment-status {
    padding: 4px 12px;
    font-size: 12px;
  }
}
.appointment-card .appointment-status {
  transition: all 0.3s ease;
}
.appointment-card .appointment-status:hover {
  transform: scale(1.05);
}
.appointment-card .appointment-status.status-pending {
  background: #f59e0b;
  color: #ffffff;
  animation: ppPulse 2s ease infinite;
}
.appointment-card .appointment-status.status-confirmed {
  background: #10b981;
  color: #ffffff;
}
.appointment-card .appointment-status.status-cancelled {
  background: #ef4444;
  color: #ffffff;
}
.appointment-card .appointment-status.status-completed {
  background: #3b82f6;
  color: #ffffff;
}
.appointment-card .appointment-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 8px;
}
.appointment-card .appointment-actions button {
  transition: all 0.3s ease;
}
.appointment-card .appointment-actions button:hover {
  transform: translateY(-2px);
}

.messages-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.message-item {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.message-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}
.message-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: ppFadeInRight 0.4s ease;
  animation-fill-mode: both;
}
.message-item:nth-child(1) {
  animation-delay: 0.05s;
}
.message-item:nth-child(2) {
  animation-delay: 0.1s;
}
.message-item:nth-child(3) {
  animation-delay: 0.15s;
}
.message-item:nth-child(4) {
  animation-delay: 0.2s;
}
.message-item:nth-child(5) {
  animation-delay: 0.25s;
}
.message-item:nth-child(6) {
  animation-delay: 0.3s;
}
.message-item:nth-child(7) {
  animation-delay: 0.35s;
}
.message-item:nth-child(8) {
  animation-delay: 0.4s;
}
.message-item:nth-child(9) {
  animation-delay: 0.45s;
}
.message-item:nth-child(10) {
  animation-delay: 0.5s;
}
.message-item:nth-child(11) {
  animation-delay: 0.55s;
}
.message-item:nth-child(12) {
  animation-delay: 0.6s;
}
.message-item:nth-child(13) {
  animation-delay: 0.65s;
}
.message-item:nth-child(14) {
  animation-delay: 0.7s;
}
.message-item:nth-child(15) {
  animation-delay: 0.75s;
}
.message-item:nth-child(16) {
  animation-delay: 0.8s;
}
.message-item:nth-child(17) {
  animation-delay: 0.85s;
}
.message-item:nth-child(18) {
  animation-delay: 0.9s;
}
.message-item:nth-child(19) {
  animation-delay: 0.95s;
}
.message-item:nth-child(20) {
  animation-delay: 1s;
}
.message-item:hover {
  background: #f8fafc;
  transform: translateX(4px);
}
.message-item.unread {
  background: rgba(14, 41, 72, 0.05);
  border-left: 3px solid #0E2948;
  animation: ppGlow 1.5s ease infinite;
}
.message-item .message-info {
  flex: 1;
}
.message-item .message-info .message-sender {
  font-weight: 600;
  margin-bottom: 4px;
}
.message-item .message-info .message-text {
  font-size: 14px;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.message-item .message-meta {
  text-align: right;
}
.message-item .message-meta .message-time {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 4px;
}
.message-item .message-meta .message-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 50px;
}
@media (max-width: 575px) {
  .message-item .message-meta .message-badge {
    padding: 4px 12px;
    font-size: 12px;
  }
}
.message-item .message-meta .message-badge {
  background: #0E2948;
  color: #ffffff;
  font-size: 12px;
  padding: 2px 8px;
  animation: ppPulse 1.5s ease infinite;
}

.empty-state-modern {
  text-align: center;
  padding: 60px 24px;
  animation: ppFadeInUp 0.4s ease;
}
.empty-state-modern .empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.5;
  transition: all 0.3s ease;
  animation: ppScaleBounce 0.5s ease;
}
.empty-state-modern .empty-icon:hover {
  transform: scale(1.1);
  opacity: 0.8;
}
.empty-state-modern h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #1f2937;
}
.empty-state-modern p {
  color: #6b7280;
  margin-bottom: 24px;
}
.empty-state-modern .btn-primary {
  transition: all 0.3s ease;
}
.empty-state-modern .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.loading-spinner .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f4f6;
  border-top-color: #0E2948;
  border-radius: 50%;
  animation: ppSpin 0.8s linear infinite;
}

.loading-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.loading-dots span {
  width: 8px;
  height: 8px;
  background: #0E2948;
  border-radius: 50%;
  animation: ppTyping 1.4s ease infinite;
}
.loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

.notification-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 24px;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 1100;
  animation: ppNotificationSlide 3s ease forwards;
  border-left: 4px solid #0E2948;
}
.notification-toast.success {
  border-left-color: #10b981;
}
.notification-toast.error {
  border-left-color: #ef4444;
}
.notification-toast.warning {
  border-left-color: #f59e0b;
}
.notification-toast .toast-icon {
  font-size: 24px;
}
.notification-toast .toast-content {
  flex: 1;
}
.notification-toast .toast-content .toast-title {
  font-weight: 600;
  margin-bottom: 4px;
}
.notification-toast .toast-content .toast-message {
  font-size: 14px;
  color: #6b7280;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
@media (max-width: 575px) {
  .btn-primary {
    padding: 8px 20px;
    font-size: 12px;
  }
}
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-primary {
  background: #0E2948;
  color: #ffffff;
}
.btn-primary:hover:not(:disabled) {
  background: #09203a;
  transform: translateY(-1px);
}
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.btn-primary:active::after {
  width: 100%;
  height: 100%;
  padding-top: 100%;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
@media (max-width: 575px) {
  .btn-secondary {
    padding: 8px 20px;
    font-size: 12px;
  }
}
.btn-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-secondary {
  background: #8b5cf6;
  color: #ffffff;
}
.btn-secondary:hover:not(:disabled) {
  background: rgb(104.6046511628, 43.6686046512, 243.3313953488);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
@media (max-width: 575px) {
  .btn-outline {
    padding: 8px 20px;
    font-size: 12px;
  }
}
.btn-outline:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-outline {
  background: transparent;
  border: 1px solid #0E2948;
  color: #0E2948;
}
.btn-outline:hover:not(:disabled) {
  background: #0E2948;
  color: #ffffff;
}

.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
@media (max-width: 575px) {
  .btn-danger {
    padding: 8px 20px;
    font-size: 12px;
  }
}
.btn-danger:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-danger {
  background: #ef4444;
  color: #ffffff;
}
.btn-danger:hover:not(:disabled) {
  background: rgb(234.9802955665, 21.0197044335, 21.0197044335);
}

.btn-success {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
@media (max-width: 575px) {
  .btn-success {
    padding: 8px 20px;
    font-size: 12px;
  }
}
.btn-success:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-success {
  background: #10b981;
  color: #ffffff;
}
.btn-success:hover:not(:disabled) {
  background: rgb(11.9402985075, 138.0597014925, 96.2686567164);
}

.btn-sm {
  padding: 6px 16px;
  font-size: 12px;
}

.btn-lg {
  padding: 12px 32px;
  font-size: 18px;
}

.chat-window-modern {
  animation: ppSlideUp 0.3s ease;
}
.chat-window-modern .chat-header {
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
}
.chat-window-modern .chat-send-btn {
  background: #0E2948;
  transition: all 0.3s ease;
}
.chat-window-modern .chat-send-btn:hover {
  background: #09203a;
  transform: scale(1.02);
}
.chat-window-modern .message-outgoing .message-bubble {
  background: #0E2948;
  animation: ppFadeInRight 0.3s ease;
}
.chat-window-modern .message-incoming .message-bubble {
  animation: ppFadeInLeft 0.3s ease;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: ppFadeIn 0.3s ease;
}

.modal-container {
  background: #ffffff;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow: hidden;
  animation: ppScaleBounce 0.4s ease;
}
.modal-container .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
}
.modal-container .modal-header h3 {
  margin: 0;
}
.modal-container .modal-header .modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #6b7280;
  transition: all 0.3s ease;
}
.modal-container .modal-header .modal-close:hover {
  color: #ef4444;
  transform: rotate(90deg);
}
.modal-container .modal-body {
  padding: 24px;
  overflow-y: auto;
}
.modal-container .modal-body::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.modal-container .modal-body::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 6px;
}
.modal-container .modal-body::-webkit-scrollbar-thumb {
  background: #9ca3af;
  border-radius: 6px;
}
.modal-container .modal-body::-webkit-scrollbar-thumb:hover {
  background: rgb(127.7932960894, 136.7877094972, 152.2067039106);
}
.modal-container .modal-footer {
  padding: 24px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 8px;
}

@media (max-width: 575px) {
  .hide-on-mobile {
    display: none !important;
  }
}
@media (min-width: 768px) {
  .hide-on-desktop {
    display: none !important;
  }
}
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Стили для карточек анализов, лечения, рекомендаций */
.exam-card, .treatment-card, .recommendation-card {
  background: white;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.exam-card:hover, .treatment-card:hover, .recommendation-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.exam-header, .treatment-header, .recommendation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}

.status-badge {
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
}

.status-badge.draft {
  background: #e5e7eb;
  color: #6b7280;
}

.status-badge.pending {
  background: #fef3c7;
  color: #d97706;
}

.status-badge.reviewed {
  background: #d1fae5;
  color: #10b981;
}

.status-badge.active {
  background: #d1fae5;
  color: #10b981;
}

.status-badge.completed {
  background: #f3f4f6;
  color: #6b7280;
}

.priority-badge {
  font-size: 12px;
}

.priority-high {
  border-left: 4px solid #dc2626;
}

.priority-medium {
  border-left: 4px solid #f59e0b;
}

.priority-low {
  border-left: 4px solid #10b981;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-edit {
  background: #e5e7eb;
  color: #374151;
}

.btn-submit {
  background: #0E2948;
  color: white;
}

.btn-view {
  background: #0E2948;
  color: white;
}

.btn-complete {
  background: #10b981;
  color: white;
}

.empty-state {
  text-align: center;
  padding: 50px 20px;
  background: #f9fafb;
  border-radius: 16px;
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#examinations {
  padding: 20px;
}
@media (max-width: 768px) {
  #examinations {
    padding: 15px;
  }
}

#examinations h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.btn-primary {
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 41, 72, 0.3);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-edit {
  background: #f3f4f6;
  color: #374151;
}
.btn-edit:hover {
  background: #e5e7eb;
  transform: translateY(-1px);
}

.btn-submit {
  background: #0E2948;
  color: #ffffff;
}
.btn-submit:hover {
  background: #1a3a5c;
  transform: translateY(-1px);
}

.btn-view {
  background: #10b981;
  color: #ffffff;
}
.btn-view:hover {
  background: rgb(11.9402985075, 138.0597014925, 96.2686567164);
  transform: translateY(-1px);
}

.exam-card {
  background: #ffffff;
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.exam-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: rgba(14, 41, 72, 0.2);
}

.exam-header {
  padding: 16px 20px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.exam-header strong {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
}

.exam-date {
  font-size: 0.75rem;
  color: #6b7280;
  background: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
}

.exam-body {
  padding: 16px 20px;
}

.exam-preview {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0 0 12px 0;
}

.exam-status {
  margin-top: 10px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
}
.status-badge.draft {
  background: #f3f4f6;
  color: #6b7280;
}
.status-badge.pending {
  background: rgb(253.031496063, 235.905511811, 206.968503937);
  color: rgb(196.9291338583, 126.7125984252, 8.0708661417);
}
.status-badge.reviewed {
  background: rgb(181.828358209, 248.671641791, 226.5223880597);
  color: rgb(11.9402985075, 138.0597014925, 96.2686567164);
}
.status-badge.cancelled {
  background: rgb(253.0689655172, 232.4310344828, 232.4310344828);
  color: rgb(234.9802955665, 21.0197044335, 21.0197044335);
}

.exam-actions {
  padding: 12px 20px;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #f9fafb;
  border-radius: 20px;
}

.empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state h4 {
  font-size: 1.25rem;
  color: #374151;
  margin-bottom: 8px;
}

.empty-state p {
  color: #6b7280;
  margin-bottom: 20px;
}

.exam-card:nth-child(1) {
  animation: slideIn 0.3s ease forwards;
  opacity: 0;
  animation-delay: 0.05s;
}

.exam-card:nth-child(2) {
  animation: slideIn 0.3s ease forwards;
  opacity: 0;
  animation-delay: 0.1s;
}

.exam-card:nth-child(3) {
  animation: slideIn 0.3s ease forwards;
  opacity: 0;
  animation-delay: 0.15s;
}

.exam-card:nth-child(4) {
  animation: slideIn 0.3s ease forwards;
  opacity: 0;
  animation-delay: 0.2s;
}

.exam-card:nth-child(5) {
  animation: slideIn 0.3s ease forwards;
  opacity: 0;
  animation-delay: 0.25s;
}

.exam-card:nth-child(6) {
  animation: slideIn 0.3s ease forwards;
  opacity: 0;
  animation-delay: 0.3s;
}

.exam-card:nth-child(7) {
  animation: slideIn 0.3s ease forwards;
  opacity: 0;
  animation-delay: 0.35s;
}

.exam-card:nth-child(8) {
  animation: slideIn 0.3s ease forwards;
  opacity: 0;
  animation-delay: 0.4s;
}

.exam-card:nth-child(9) {
  animation: slideIn 0.3s ease forwards;
  opacity: 0;
  animation-delay: 0.45s;
}

.exam-card:nth-child(10) {
  animation: slideIn 0.3s ease forwards;
  opacity: 0;
  animation-delay: 0.5s;
}

@media (max-width: 768px) {
  .exam-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .exam-actions {
    flex-direction: column;
  }
  .exam-actions .btn-sm,
  .exam-actions form {
    width: 100%;
  }
  .exam-actions button,
  .exam-actions a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}
@media (max-width: 1024px) {
  .exam-card {
    margin-bottom: 20px;
  }
}
@media (prefers-color-scheme: dark) {
  #examinations h3 {
    color: #f3f4f6;
  }
  .exam-card {
    background: #374151;
    border-color: #4b5563;
  }
  .exam-card:hover {
    border-color: rgba(74, 111, 165, 0.5);
  }
  .exam-header {
    background: #1f2937;
    border-bottom-color: #4b5563;
  }
  .exam-header strong {
    color: #f3f4f6;
  }
  .exam-date {
    background: #374151;
    color: #e5e7eb;
  }
  .exam-preview {
    color: #e5e7eb;
  }
  .exam-actions {
    background: #1f2937;
    border-top-color: #4b5563;
  }
  .btn-edit {
    background: #4b5563;
    color: #f3f4f6;
  }
  .btn-edit:hover {
    background: rgb(96.9827586207, 109.9137931034, 128.0172413793);
  }
  .empty-state {
    background: #1f2937;
  }
  .empty-state h4 {
    color: #f3f4f6;
  }
  .empty-state p {
    color: #e5e7eb;
  }
}
.examination-create-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 768px) {
  .examination-create-container {
    padding: 0 16px;
  }
}

.examination-create-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  margin: 40px 0 60px;
}
@media (max-width: 768px) {
  .examination-create-card {
    margin: 20px 0 40px;
    border-radius: 16px;
  }
}

.examination-create-header {
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  padding: 28px 32px;
  color: #ffffff;
}
@media (max-width: 768px) {
  .examination-create-header {
    padding: 20px 24px;
  }
}
.examination-create-header h2 {
  margin: 0 0 8px 0;
  font-size: 1.75rem;
  font-weight: 600;
}
@media (max-width: 768px) {
  .examination-create-header h2 {
    font-size: 1.5rem;
  }
}
.examination-create-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.875rem;
}

.examination-create-body {
  padding: 32px;
}
@media (max-width: 768px) {
  .examination-create-body {
    padding: 24px;
  }
}

.examination-form .form-group {
  margin-bottom: 24px;
}
.examination-form .form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #374151;
  font-size: 0.875rem;
}
.examination-form .form-group label .required {
  color: #dc3545;
  margin-left: 4px;
}
.examination-form .form-group input, .examination-form .form-group select, .examination-form .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.875rem;
  font-family: inherit;
  transition: all 0.2s ease;
  background: #ffffff;
}
.examination-form .form-group input:focus, .examination-form .form-group select:focus, .examination-form .form-group textarea:focus {
  outline: none;
  border-color: #0E2948;
  box-shadow: 0 0 0 3px rgba(14, 41, 72, 0.1);
}
.examination-form .form-group input::placeholder, .examination-form .form-group select::placeholder, .examination-form .form-group textarea::placeholder {
  color: #9ca3af;
}
.examination-form .form-group input:disabled, .examination-form .form-group select:disabled, .examination-form .form-group textarea:disabled {
  background: #f3f4f6;
  cursor: not-allowed;
}
.examination-form .form-group textarea {
  resize: vertical;
  min-height: 160px;
}
.examination-form .form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
}

.help-text {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.4;
}

.error-message {
  color: #dc3545;
  font-size: 0.75rem;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.error-message::before {
  content: "⚠️";
  font-size: 0.7rem;
}

.form-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}
@media (max-width: 768px) {
  .form-actions {
    flex-direction: column;
    gap: 12px;
  }
}

.btn {
  padding: 12px 28px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  justify-content: center;
}
@media (max-width: 768px) {
  .btn {
    width: 100%;
    padding: 14px 24px;
  }
}
.btn-primary {
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  color: #ffffff;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-secondary {
  background: #e5e7eb;
  color: #374151;
}
.btn-secondary:hover {
  background: #d1d5db;
  transform: translateY(-2px);
}
.btn-secondary:active {
  transform: translateY(0);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.examination-create-card {
  animation: slideUp 0.4s ease forwards;
}

@media (max-width: 1024px) {
  .examination-create-container {
    max-width: 90%;
  }
}
@media (prefers-color-scheme: dark) {
  .examination-create-card {
    background: #374151;
  }
  .examination-create-header {
    background: linear-gradient(135deg, rgb(5.6976744186, 16.6860465116, 29.3023255814) 0%, rgb(14.7627118644, 32.9322033898, 52.2372881356) 100%);
  }
  .examination-create-body {
    background: #374151;
  }
  .examination-form .form-group label {
    color: #f9fafb;
  }
  .examination-form .form-group input, .examination-form .form-group select, .examination-form .form-group textarea {
    background: #4b5563;
    border-color: #4b5563;
    color: #f9fafb;
  }
  .examination-form .form-group input::placeholder, .examination-form .form-group select::placeholder, .examination-form .form-group textarea::placeholder {
    color: #9ca3af;
  }
  .examination-form .form-group input:focus, .examination-form .form-group select:focus, .examination-form .form-group textarea:focus {
    border-color: rgb(30.6046511628, 89.6279069767, 157.3953488372);
  }
  .help-text {
    color: #d1d5db;
  }
  .btn-secondary {
    background: #4b5563;
    color: #f9fafb;
  }
  .btn-secondary:hover {
    background: rgb(96.9827586207, 109.9137931034, 128.0172413793);
  }
  .form-actions {
    border-top-color: #4b5563;
  }
}
@keyframes urgentPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.01);
  }
}
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.treatment-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
@media (max-width: 768px) {
  .treatment-container {
    padding: 16px;
  }
}

.treatment-header {
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  color: #ffffff;
  padding: 2rem;
  border-radius: 20px;
  margin-bottom: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  .treatment-header {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
}
.treatment-header h1 {
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
}
@media (max-width: 768px) {
  .treatment-header h1 {
    font-size: 1.5rem;
  }
}
.treatment-header p {
  opacity: 0.9;
  margin-bottom: 0;
}

.stats-row {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.stat-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.3rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #0E2948;
  display: inline-block;
}
@media (max-width: 768px) {
  .section-title {
    font-size: 1.25rem;
  }
}

.filter-bar {
  background: #ffffff;
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border: 2px solid #e5e7eb;
  background: #ffffff;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}
.filter-btn:hover {
  border-color: #0E2948;
  background: rgba(14, 41, 72, 0.05);
}
.filter-btn.active {
  background: #0E2948;
  border-color: #0E2948;
  color: #ffffff;
}

.treatment-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.treatment-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.treatment-card.active {
  border-left: 4px solid #10b981;
  background: linear-gradient(to right, #ffffff, rgba(16, 185, 129, 0.05));
}
.treatment-card.completed {
  border-left: 4px solid #6b7280;
  opacity: 0.85;
}
.treatment-card.urgent {
  border-left: 4px solid #ef4444;
  background: linear-gradient(to right, #ffffff, rgba(239, 68, 68, 0.05));
  animation: urgentPulse 2s ease-in-out infinite;
}
.treatment-card .p-4 {
  padding: 1.5rem;
}
@media (max-width: 768px) {
  .treatment-card .p-4 {
    padding: 1rem;
  }
}

.treatment-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.badge-active {
  background: #10b981;
  color: #ffffff;
}

.badge-completed {
  background: #6b7280;
  color: #ffffff;
}

.badge-urgent {
  background: #ef4444;
  color: #ffffff;
  animation: blink 1s infinite;
}

.treatment-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
}
@media (max-width: 768px) {
  .treatment-title {
    font-size: 1.125rem;
  }
}

.treatment-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.info-icon {
  width: 20px;
  font-size: 1rem;
}

.treatment-description {
  color: #6b7280;
  line-height: 1.6;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e5e7eb;
}

.treatment-progress {
  margin-top: 1rem;
}

.progress-bar-custom {
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0E2948, rgb(38.9069767442, 113.9418604651, 200.0930232558));
  border-radius: 3px;
  transition: width 0.3s;
}

.medication-list {
  background: #f9fafb;
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1rem;
}

.medication-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}
.medication-item:last-child {
  border-bottom: none;
}
@media (max-width: 768px) {
  .medication-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

.medication-name {
  font-weight: 600;
  color: #1f2937;
}

.medication-dosage {
  font-size: 0.875rem;
  color: #6b7280;
}

.medication-schedule {
  font-size: 0.875rem;
  color: #0E2948;
}

.take-btn {
  background: #10b981;
  color: #ffffff;
  border: none;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.take-btn:hover {
  background: rgb(11.9402985075, 138.0597014925, 96.2686567164);
  transform: scale(1.05);
}
.take-btn.taken {
  background: #6b7280;
  cursor: default;
}
.take-btn.taken:hover {
  transform: none;
}

.side-effects {
  background: rgba(239, 68, 68, 0.1);
  border-left: 4px solid #ef4444;
  padding: 0.75rem;
  border-radius: 8px;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: #ef4444;
}

.btn-view-details {
  background: #0E2948;
  color: #ffffff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}
.btn-view-details:hover {
  background: #1a3a5c;
  transform: translateY(-2px);
}

.empty-state {
  text-align: center;
  padding: 3rem;
  background: #f9fafb;
  border-radius: 20px;
  color: #6b7280;
}
@media (max-width: 768px) {
  .empty-state {
    padding: 2rem;
  }
}
.empty-state .empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.empty-state h5 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.empty-state p {
  font-size: 0.875rem;
}

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.btn-secondary {
  background: #e5e7eb;
  color: #374151;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background: #d1d5db;
  transform: translateY(-2px);
}

.treatment-card {
  animation: cardFadeIn 0.4s ease forwards;
  opacity: 0;
}
.treatment-card:nth-child(1) {
  animation-delay: 0.05s;
}
.treatment-card:nth-child(2) {
  animation-delay: 0.1s;
}
.treatment-card:nth-child(3) {
  animation-delay: 0.15s;
}
.treatment-card:nth-child(4) {
  animation-delay: 0.2s;
}
.treatment-card:nth-child(5) {
  animation-delay: 0.25s;
}
.treatment-card:nth-child(6) {
  animation-delay: 0.3s;
}
.treatment-card:nth-child(7) {
  animation-delay: 0.35s;
}
.treatment-card:nth-child(8) {
  animation-delay: 0.4s;
}
.treatment-card:nth-child(9) {
  animation-delay: 0.45s;
}
.treatment-card:nth-child(10) {
  animation-delay: 0.5s;
}
.treatment-card:nth-child(11) {
  animation-delay: 0.55s;
}
.treatment-card:nth-child(12) {
  animation-delay: 0.6s;
}
.treatment-card:nth-child(13) {
  animation-delay: 0.65s;
}
.treatment-card:nth-child(14) {
  animation-delay: 0.7s;
}
.treatment-card:nth-child(15) {
  animation-delay: 0.75s;
}
.treatment-card:nth-child(16) {
  animation-delay: 0.8s;
}
.treatment-card:nth-child(17) {
  animation-delay: 0.85s;
}
.treatment-card:nth-child(18) {
  animation-delay: 0.9s;
}
.treatment-card:nth-child(19) {
  animation-delay: 0.95s;
}
.treatment-card:nth-child(20) {
  animation-delay: 1s;
}

.notification-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #10b981;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 10px;
  z-index: 1000;
  animation: slideIn 0.3s ease;
}

@media (max-width: 1024px) {
  .treatment-container {
    max-width: 95%;
  }
  .treatment-info {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .treatment-info {
    grid-template-columns: 1fr;
  }
  .filter-bar {
    gap: 0.5rem;
  }
  .filter-btn {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
  .stats-row {
    gap: 0.5rem;
  }
  .stat-badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.8rem;
  }
}
@media (prefers-color-scheme: dark) {
  .treatment-card {
    background: #374151;
    border-color: #4b5563;
  }
  .treatment-card.active {
    background: linear-gradient(to right, #374151, rgba(16, 185, 129, 0.1));
  }
  .treatment-card.urgent {
    background: linear-gradient(to right, #374151, rgba(239, 68, 68, 0.1));
  }
  .treatment-title {
    color: #f9fafb;
  }
  .info-item {
    color: #d1d5db;
  }
  .treatment-description {
    color: #9ca3af;
    border-top-color: #4b5563;
  }
  .medication-list {
    background: #1f2937;
  }
  .medication-item {
    border-bottom-color: #4b5563;
  }
  .medication-name {
    color: #f9fafb;
  }
  .filter-bar {
    background: #374151;
  }
  .filter-btn {
    background: #1f2937;
    border-color: #4b5563;
    color: #f9fafb;
  }
  .filter-btn:hover {
    background: rgba(26, 58, 92, 0.3);
  }
  .filter-btn.active {
    background: #0E2948;
    color: #ffffff;
  }
  .empty-state {
    background: #1f2937;
    color: #d1d5db;
  }
  .form-actions {
    border-top-color: #4b5563;
  }
  .btn-secondary {
    background: #4b5563;
    color: #f9fafb;
  }
  .btn-secondary:hover {
    background: rgb(96.9827586207, 109.9137931034, 128.0172413793);
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.examinations-list-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}
@media (max-width: 768px) {
  .examinations-list-container {
    margin: 20px auto;
    padding: 0 16px;
  }
}

.examinations-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}
.examinations-header h2 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 600;
  color: #343a40;
}
@media (max-width: 768px) {
  .examinations-header h2 {
    font-size: 1.5rem;
  }
}

.btn-primary {
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  color: #ffffff;
  padding: 10px 24px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  .btn-primary {
    padding: 8px 20px;
  }
}

.btn-sm {
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.75rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  font-weight: 500;
}
.btn-sm:hover {
  transform: translateY(-1px);
}

.btn-edit {
  background: #6c757d;
  color: #ffffff;
}
.btn-edit:hover {
  background: rgb(84.3605150215, 91.3905579399, 97.6394849785);
}

.btn-submit {
  background: #007bff;
  color: #ffffff;
}
.btn-submit:hover {
  background: rgb(0, 98.4, 204);
}

.btn-delete {
  background: #dc3545;
  color: #ffffff;
}
.btn-delete:hover {
  background: rgb(189.2151898734, 32.7848101266, 47.7721518987);
}

.btn-view {
  background: #28a745;
  color: #ffffff;
}
.btn-view:hover {
  background: rgb(30.1449275362, 125.8550724638, 52);
}

.btn-secondary {
  background: #6c757d;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background: rgb(84.3605150215, 91.3905579399, 97.6394849785);
  transform: translateY(-2px);
}

.section {
  margin-bottom: 40px;
}
.section h3 {
  margin-bottom: 20px;
  color: #495057;
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section h3::before {
  font-size: 1.25rem;
}

.exam-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.exam-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.exam-card.draft {
  border-left: 4px solid #6c757d;
}
.exam-card.pending {
  border-left: 4px solid #ffc107;
}
.exam-card.reviewed {
  border-left: 4px solid #28a745;
}
@media (max-width: 768px) {
  .exam-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

.exam-info {
  flex: 1;
}
.exam-info strong {
  font-size: 1rem;
  font-weight: 600;
  color: #343a40;
}
.exam-info .date {
  color: #6c757d;
  font-size: 0.75rem;
  margin-left: 10px;
}
.exam-info .preview {
  color: #6b7280;
  font-size: 0.8125rem;
  margin-top: 8px;
  margin-bottom: 0;
  line-height: 1.4;
}
.exam-info .conclusion {
  color: #28a745;
  font-size: 0.8125rem;
  margin-top: 8px;
  margin-bottom: 0;
  font-weight: 500;
}

.exam-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .exam-actions {
    width: 100%;
  }
}

.status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.688rem;
  font-weight: 600;
}
.status-badge.pending {
  background: #fff3e0;
  color: #f59e0b;
}
.status-badge.reviewed {
  background: #e8f5e9;
  color: #28a745;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border-radius: 20px;
  animation: fadeIn 0.5s ease;
}
.empty-state .empty-icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.5;
}
.empty-state h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #495057;
}
.empty-state p {
  color: #6b7280;
  margin-bottom: 20px;
}

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.exam-card {
  animation: slideIn 0.3s ease forwards;
  opacity: 0;
}
.exam-card:nth-child(1) {
  animation-delay: 0.05s;
}
.exam-card:nth-child(2) {
  animation-delay: 0.1s;
}
.exam-card:nth-child(3) {
  animation-delay: 0.15s;
}
.exam-card:nth-child(4) {
  animation-delay: 0.2s;
}
.exam-card:nth-child(5) {
  animation-delay: 0.25s;
}
.exam-card:nth-child(6) {
  animation-delay: 0.3s;
}
.exam-card:nth-child(7) {
  animation-delay: 0.35s;
}
.exam-card:nth-child(8) {
  animation-delay: 0.4s;
}
.exam-card:nth-child(9) {
  animation-delay: 0.45s;
}
.exam-card:nth-child(10) {
  animation-delay: 0.5s;
}
.exam-card:nth-child(11) {
  animation-delay: 0.55s;
}
.exam-card:nth-child(12) {
  animation-delay: 0.6s;
}
.exam-card:nth-child(13) {
  animation-delay: 0.65s;
}
.exam-card:nth-child(14) {
  animation-delay: 0.7s;
}
.exam-card:nth-child(15) {
  animation-delay: 0.75s;
}
.exam-card:nth-child(16) {
  animation-delay: 0.8s;
}
.exam-card:nth-child(17) {
  animation-delay: 0.85s;
}
.exam-card:nth-child(18) {
  animation-delay: 0.9s;
}
.exam-card:nth-child(19) {
  animation-delay: 0.95s;
}
.exam-card:nth-child(20) {
  animation-delay: 1s;
}

@media (max-width: 1024px) {
  .examinations-list-container {
    max-width: 95%;
  }
}
@media (max-width: 768px) {
  .examinations-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .exam-info strong {
    display: block;
    margin-bottom: 5px;
  }
  .exam-info .date {
    margin-left: 0;
    display: inline-block;
  }
  .exam-actions {
    justify-content: flex-start;
  }
  .btn-sm {
    flex: 1;
    text-align: center;
  }
}
@media (prefers-color-scheme: dark) {
  .examinations-list-container h2 {
    color: #f9fafb;
  }
  .exam-card {
    background: #374151;
    border-color: #4b5563;
  }
  .exam-card .exam-info strong {
    color: #f9fafb;
  }
  .exam-card .exam-info .date {
    color: #ced4da;
  }
  .exam-card .exam-info .preview {
    color: #dee2e6;
  }
  .exam-card .exam-info .conclusion {
    color: rgb(72.268115942, 211.231884058, 104);
  }
  .empty-state {
    background: #374151;
  }
  .empty-state h3 {
    color: #f9fafb;
  }
  .empty-state p {
    color: #dee2e6;
  }
  .form-actions {
    border-top-color: #4b5563;
  }
  .btn-edit {
    background: #6b7280;
  }
  .btn-edit:hover {
    background: #6c757d;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.examination-detail-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}
@media (max-width: 768px) {
  .examination-detail-container {
    margin: 20px auto;
    padding: 0 16px;
  }
}

.examination-detail-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  animation: fadeInUp 0.4s ease;
}

.examination-detail-header {
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  padding: 28px 32px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
@media (max-width: 768px) {
  .examination-detail-header {
    padding: 20px 24px;
    flex-direction: column;
    align-items: flex-start;
  }
}
.examination-detail-header h2 {
  margin: 0 0 8px 0;
  font-size: 1.5rem;
  font-weight: 600;
}
@media (max-width: 768px) {
  .examination-detail-header h2 {
    font-size: 1.25rem;
  }
}
.examination-detail-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.875rem;
}

.status-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.status-badge.draft {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
.status-badge.draft::before {
  content: "📝 ";
}
.status-badge.pending {
  background: rgba(245, 158, 11, 0.9);
  color: #ffffff;
}
.status-badge.pending::before {
  content: "⏳ ";
}
.status-badge.reviewed {
  background: rgba(40, 167, 69, 0.9);
  color: #ffffff;
}
.status-badge.reviewed::before {
  content: "✅ ";
}

.examination-detail-body {
  padding: 32px;
}
@media (max-width: 768px) {
  .examination-detail-body {
    padding: 24px;
  }
}

.detail-section {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e9ecef;
}
.detail-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.detail-section h3 {
  margin: 0 0 16px 0;
  color: #0E2948;
  font-size: 1.125rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  padding: 8px 0;
}
.info-row label {
  font-weight: 600;
  width: 120px;
  color: #6b7280;
  flex-shrink: 0;
}
.info-row span {
  color: #495057;
  flex: 1;
}
@media (max-width: 768px) {
  .info-row {
    flex-direction: column;
    gap: 5px;
  }
  .info-row label {
    width: auto;
  }
}

.results-box {
  background: #f8fafc;
  padding: 20px;
  border-radius: 16px;
  line-height: 1.6;
  color: #495057;
  font-size: 0.875rem;
  border: 1px solid #e9ecef;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.notes-box {
  background: rgba(245, 158, 11, 0.05);
  padding: 20px;
  border-radius: 16px;
  line-height: 1.6;
  color: #495057;
  font-size: 0.875rem;
  border-left: 4px solid #f59e0b;
}

.conclusion-box {
  background: rgba(40, 167, 69, 0.05);
  padding: 20px;
  border-radius: 16px;
  line-height: 1.6;
  color: #495057;
  font-size: 0.875rem;
  border-left: 4px solid #28a745;
}

.doctor-notes {
  background: rgba(23, 162, 184, 0.05);
  padding: 20px;
  border-radius: 16px;
  line-height: 1.6;
  color: #495057;
  font-size: 0.875rem;
  border-left: 4px solid #17a2b8;
}

.btn {
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .btn {
    padding: 10px 20px;
    width: 100%;
    justify-content: center;
  }
}

.btn-primary {
  background: #0E2948;
  color: #ffffff;
}
.btn-primary:hover {
  background: #1a3a5c;
  transform: translateY(-2px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-secondary {
  background: #6c757d;
  color: #ffffff;
}
.btn-secondary:hover {
  background: rgb(84.3605150215, 91.3905579399, 97.6394849785);
  transform: translateY(-2px);
}

.form-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e9ecef;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .form-actions {
    flex-direction: column;
    gap: 12px;
  }
}

.empty-data {
  color: #6c757d;
  font-style: italic;
  padding: 12px;
  text-align: center;
}

@media (max-width: 1024px) {
  .examination-detail-container {
    max-width: 90%;
  }
}
@media (prefers-color-scheme: dark) {
  .examination-detail-card {
    background: #374151;
  }
  .examination-detail-body {
    background: #374151;
  }
  .info-row label {
    color: #ced4da;
  }
  .info-row span {
    color: #f9fafb;
  }
  .detail-section {
    border-bottom-color: #4b5563;
  }
  .results-box {
    background: #1f2937;
    border-color: #4b5563;
    color: #dee2e6;
  }
  .notes-box {
    background: rgba(245, 158, 11, 0.1);
    color: #dee2e6;
  }
  .conclusion-box {
    background: rgba(40, 167, 69, 0.1);
    color: #dee2e6;
  }
  .doctor-notes {
    background: rgba(23, 162, 184, 0.1);
    color: #dee2e6;
  }
  .form-actions {
    border-top-color: #4b5563;
  }
  .btn-secondary {
    background: #6b7280;
  }
  .btn-secondary:hover {
    background: #6c757d;
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.doctor-examinations-container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}
@media (max-width: 768px) {
  .doctor-examinations-container {
    margin: 20px auto;
    padding: 0 16px;
  }
}

h2 {
  margin-bottom: 30px;
  color: #343a40;
  font-size: 1.75rem;
  font-weight: 600;
}
@media (max-width: 768px) {
  h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
}

.section {
  margin-bottom: 40px;
}
.section h3 {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e9ecef;
  color: #495057;
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
@media (max-width: 768px) {
  .section h3 {
    font-size: 1.125rem;
  }
}

.exam-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-items: flex-start;
  transition: all 0.2s ease;
}
.exam-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.exam-card.pending {
  border-left: 4px solid #ffc107;
}
.exam-card.in-progress {
  border-left: 4px solid #17a2b8;
}
.exam-card.reviewed {
  border-left: 4px solid #28a745;
}
@media (max-width: 768px) {
  .exam-card {
    flex-direction: column;
    padding: 16px;
  }
}

.exam-info {
  flex: 1;
}
.exam-info strong {
  font-size: 1rem;
  font-weight: 600;
  color: #343a40;
}
.exam-info .date {
  color: #6c757d;
  font-size: 0.75rem;
  margin-left: 12px;
}
@media (max-width: 768px) {
  .exam-info .date {
    margin-left: 8px;
  }
}
.exam-info .exam-type {
  color: #0E2948;
  font-weight: 500;
  margin-top: 8px;
  font-size: 0.875rem;
}
.exam-info .preview {
  color: #6b7280;
  font-size: 0.8125rem;
  margin-top: 8px;
  line-height: 1.5;
}
.exam-info .conclusion {
  color: #28a745;
  font-size: 0.8125rem;
  margin-top: 8px;
  font-weight: 500;
}

.exam-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: 20px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .exam-actions {
    margin-left: 0;
    margin-top: 15px;
    width: 100%;
  }
}

.btn {
  padding: 10px 24px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}
@media (max-width: 768px) {
  .btn {
    padding: 8px 20px;
    width: 100%;
    text-align: center;
  }
}

.btn-primary {
  background: #0E2948;
  color: #ffffff;
}
.btn-primary:hover {
  background: #1a3a5c;
  transform: translateY(-1px);
}

.btn-warning {
  background: #17a2b8;
  color: #ffffff;
}
.btn-warning:hover {
  background: rgb(17.3333333333, 122.0869565217, 138.6666666667);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}
@media (max-width: 768px) {
  .btn-sm {
    width: 100%;
    text-align: center;
  }
}

.btn-view {
  background: #28a745;
  color: #ffffff;
}
.btn-view:hover {
  background: rgb(30.1449275362, 125.8550724638, 52);
  transform: translateY(-1px);
}

.status-badge {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.688rem;
  font-weight: 500;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border-radius: 20px;
  animation: fadeIn 0.5s ease;
}
.empty-state .empty-icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.5;
}
.empty-state h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #495057;
}
.empty-state p {
  color: #6b7280;
  margin-bottom: 0;
}

.exam-card {
  animation: slideIn 0.3s ease forwards;
  opacity: 0;
}
.exam-card:nth-child(1) {
  animation-delay: 0.03s;
}
.exam-card:nth-child(2) {
  animation-delay: 0.06s;
}
.exam-card:nth-child(3) {
  animation-delay: 0.09s;
}
.exam-card:nth-child(4) {
  animation-delay: 0.12s;
}
.exam-card:nth-child(5) {
  animation-delay: 0.15s;
}
.exam-card:nth-child(6) {
  animation-delay: 0.18s;
}
.exam-card:nth-child(7) {
  animation-delay: 0.21s;
}
.exam-card:nth-child(8) {
  animation-delay: 0.24s;
}
.exam-card:nth-child(9) {
  animation-delay: 0.27s;
}
.exam-card:nth-child(10) {
  animation-delay: 0.3s;
}
.exam-card:nth-child(11) {
  animation-delay: 0.33s;
}
.exam-card:nth-child(12) {
  animation-delay: 0.36s;
}
.exam-card:nth-child(13) {
  animation-delay: 0.39s;
}
.exam-card:nth-child(14) {
  animation-delay: 0.42s;
}
.exam-card:nth-child(15) {
  animation-delay: 0.45s;
}
.exam-card:nth-child(16) {
  animation-delay: 0.48s;
}
.exam-card:nth-child(17) {
  animation-delay: 0.51s;
}
.exam-card:nth-child(18) {
  animation-delay: 0.54s;
}
.exam-card:nth-child(19) {
  animation-delay: 0.57s;
}
.exam-card:nth-child(20) {
  animation-delay: 0.6s;
}
.exam-card:nth-child(21) {
  animation-delay: 0.63s;
}
.exam-card:nth-child(22) {
  animation-delay: 0.66s;
}
.exam-card:nth-child(23) {
  animation-delay: 0.69s;
}
.exam-card:nth-child(24) {
  animation-delay: 0.72s;
}
.exam-card:nth-child(25) {
  animation-delay: 0.75s;
}
.exam-card:nth-child(26) {
  animation-delay: 0.78s;
}
.exam-card:nth-child(27) {
  animation-delay: 0.81s;
}
.exam-card:nth-child(28) {
  animation-delay: 0.84s;
}
.exam-card:nth-child(29) {
  animation-delay: 0.87s;
}
.exam-card:nth-child(30) {
  animation-delay: 0.9s;
}

@media (max-width: 1024px) {
  .doctor-examinations-container {
    max-width: 95%;
  }
}
@media (max-width: 768px) {
  .exam-actions .btn-primary,
  .exam-actions .btn-warning,
  .exam-actions .btn-sm {
    width: 100%;
    text-align: center;
  }
}
@media (prefers-color-scheme: dark) {
  .doctor-examinations-container h2 {
    color: #f9fafb;
  }
  .exam-card {
    background: #374151;
    border-color: #4b5563;
  }
  .exam-card .exam-info strong {
    color: #f9fafb;
  }
  .exam-card .exam-info .date {
    color: #ced4da;
  }
  .exam-card .exam-info .exam-type {
    color: rgb(38.9069767442, 113.9418604651, 200.0930232558);
  }
  .exam-card .exam-info .preview {
    color: #dee2e6;
  }
  .exam-card .exam-info .conclusion {
    color: rgb(72.268115942, 211.231884058, 104);
  }
  .section h3 {
    border-bottom-color: #4b5563;
    color: #f9fafb;
  }
  .empty-state {
    background: #374151;
  }
  .empty-state h3 {
    color: #f9fafb;
  }
  .empty-state p {
    color: #dee2e6;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.doctor-review-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}
@media (max-width: 768px) {
  .doctor-review-container {
    margin: 20px auto;
    padding: 0 16px;
  }
}

.review-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  animation: fadeInUp 0.4s ease;
}

.review-card-header {
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  padding: 28px 32px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}
@media (max-width: 768px) {
  .review-card-header {
    padding: 20px 24px;
    flex-direction: column;
  }
}
.review-card-header h2 {
  margin: 0 0 12px 0;
  font-size: 1.5rem;
  font-weight: 600;
}
@media (max-width: 768px) {
  .review-card-header h2 {
    font-size: 1.25rem;
  }
}
.review-card-header p {
  margin: 6px 0;
  opacity: 0.9;
  font-size: 0.875rem;
}
.review-card-header p strong {
  font-weight: 600;
}

.status-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.status-badge.in-progress {
  background: #17a2b8;
  color: #ffffff;
}
.status-badge.in-progress::before {
  content: "🔄 ";
}

.review-card-body {
  padding: 32px;
}
@media (max-width: 768px) {
  .review-card-body {
    padding: 24px;
  }
}

.review-section {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e9ecef;
}
.review-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.review-section h3 {
  margin: 0 0 16px 0;
  color: #0E2948;
  font-size: 1.125rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.results-box {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  line-height: 1.6;
  color: #495057;
  font-size: 0.875rem;
  border: 1px solid #e9ecef;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.notes-box {
  background: rgba(23, 162, 184, 0.05);
  padding: 20px;
  border-radius: 12px;
  line-height: 1.6;
  color: #495057;
  font-size: 0.875rem;
  border-left: 4px solid #17a2b8;
}

.review-form .form-group {
  margin-bottom: 24px;
}
.review-form .form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #495057;
  font-size: 0.875rem;
}
.review-form .form-group textarea,
.review-form .form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 0.875rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #ffffff;
}
.review-form .form-group textarea:focus,
.review-form .form-group select:focus {
  outline: none;
  border-color: #0E2948;
  box-shadow: 0 0 0 3px rgba(14, 41, 72, 0.1);
}
.review-form .form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.review-form .form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
}

.help-text {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: #6c757d;
  line-height: 1.4;
}

.btn {
  padding: 12px 28px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .btn {
    padding: 10px 20px;
    width: 100%;
    justify-content: center;
  }
}

.btn-primary {
  background: #28a745;
  color: #ffffff;
}
.btn-primary:hover {
  background: rgb(30.1449275362, 125.8550724638, 52);
  transform: translateY(-2px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-secondary {
  background: #6c757d;
  color: #ffffff;
}
.btn-secondary:hover {
  background: rgb(84.3605150215, 91.3905579399, 97.6394849785);
  transform: translateY(-2px);
}

.form-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e9ecef;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .form-actions {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 1024px) {
  .doctor-review-container {
    max-width: 95%;
  }
}
@media (prefers-color-scheme: dark) {
  .review-card {
    background: #374151;
  }
  .review-card-body {
    background: #374151;
  }
  .review-section {
    border-bottom-color: #4b5563;
  }
  .review-section h3 {
    color: rgb(38.9069767442, 113.9418604651, 200.0930232558);
  }
  .results-box {
    background: #1f2937;
    border-color: #4b5563;
    color: #dee2e6;
  }
  .notes-box {
    background: rgba(23, 162, 184, 0.1);
    color: #dee2e6;
  }
  .review-form .form-group label {
    color: #f9fafb;
  }
  .review-form .form-group textarea,
  .review-form .form-group select {
    background: #1f2937;
    border-color: #4b5563;
    color: #f9fafb;
  }
  .review-form .form-group textarea:focus,
  .review-form .form-group select:focus {
    border-color: rgb(38.9069767442, 113.9418604651, 200.0930232558);
  }
  .review-form .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%239ca3af' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  }
  .help-text {
    color: #ced4da;
  }
  .form-actions {
    border-top-color: #4b5563;
  }
  .btn-secondary {
    background: #6b7280;
  }
  .btn-secondary:hover {
    background: #6c757d;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}
.patient-edit-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}
@media (max-width: 768px) {
  .patient-edit-container {
    margin: 20px auto;
    padding: 0 16px;
  }
}

.edit-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  animation: fadeInUp 0.4s ease;
}

.edit-card-header {
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  padding: 28px 32px;
  color: #ffffff;
}
@media (max-width: 768px) {
  .edit-card-header {
    padding: 20px 24px;
  }
}
.edit-card-header h2 {
  margin: 0 0 8px 0;
  font-size: 1.5rem;
  font-weight: 600;
}
@media (max-width: 768px) {
  .edit-card-header h2 {
    font-size: 1.25rem;
  }
}
.edit-card-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.875rem;
}

.edit-card-body {
  padding: 32px;
}
@media (max-width: 768px) {
  .edit-card-body {
    padding: 24px;
  }
}

.edit-form .form-group {
  margin-bottom: 24px;
}
.edit-form .form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #495057;
  font-size: 0.875rem;
}
.edit-form .form-group label .required {
  color: #dc3545;
  margin-left: 4px;
}
.edit-form .form-group input, .edit-form .form-group select, .edit-form .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 0.875rem;
  font-family: inherit;
  transition: all 0.2s ease;
  background: #ffffff;
}
.edit-form .form-group input:focus, .edit-form .form-group select:focus, .edit-form .form-group textarea:focus {
  outline: none;
  border-color: #0E2948;
  box-shadow: 0 0 0 3px rgba(14, 41, 72, 0.1);
}
.edit-form .form-group input::placeholder, .edit-form .form-group select::placeholder, .edit-form .form-group textarea::placeholder {
  color: #ced4da;
}
.edit-form .form-group input:disabled, .edit-form .form-group select:disabled, .edit-form .form-group textarea:disabled {
  background: #f8f9fa;
  cursor: not-allowed;
}
.edit-form .form-group textarea {
  resize: vertical;
  min-height: 180px;
}
.edit-form .form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
}

.help-text {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: #6c757d;
  line-height: 1.4;
}

.error-message {
  color: #dc3545;
  font-size: 0.75rem;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.error-message::before {
  content: "⚠️";
  font-size: 0.7rem;
}

.btn {
  padding: 12px 28px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .btn {
    padding: 10px 20px;
    width: 100%;
    justify-content: center;
  }
}

.btn-primary {
  background: #0E2948;
  color: #ffffff;
}
.btn-primary:hover {
  background: #1a3a5c;
  transform: translateY(-2px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-secondary {
  background: #6c757d;
  color: #ffffff;
}
.btn-secondary:hover {
  background: rgb(84.3605150215, 91.3905579399, 97.6394849785);
  transform: translateY(-2px);
}

.form-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e9ecef;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .form-actions {
    flex-direction: column;
    gap: 12px;
  }
}

.warning-message {
  background: rgba(255, 193, 7, 0.1);
  border-left: 4px solid #ffc107;
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.warning-message .warning-icon {
  font-size: 1.25rem;
}
.warning-message .warning-text {
  flex: 1;
  font-size: 0.875rem;
  color: rgb(185.5, 139.125, 0);
}
.warning-message .warning-text strong {
  font-weight: 600;
}
@media (max-width: 768px) {
  .warning-message {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 1024px) {
  .patient-edit-container {
    max-width: 90%;
  }
}
@media (prefers-color-scheme: dark) {
  .edit-card {
    background: #374151;
  }
  .edit-card-body {
    background: #374151;
  }
  .edit-form .form-group label {
    color: #f9fafb;
  }
  .edit-form .form-group input, .edit-form .form-group select, .edit-form .form-group textarea {
    background: #1f2937;
    border-color: #4b5563;
    color: #f9fafb;
  }
  .edit-form .form-group input::placeholder, .edit-form .form-group select::placeholder, .edit-form .form-group textarea::placeholder {
    color: #6c757d;
  }
  .edit-form .form-group input:focus, .edit-form .form-group select:focus, .edit-form .form-group textarea:focus {
    border-color: rgb(38.9069767442, 113.9418604651, 200.0930232558);
  }
  .edit-form .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%239ca3af' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  }
  .help-text {
    color: #ced4da;
  }
  .form-actions {
    border-top-color: #4b5563;
  }
  .btn-secondary {
    background: #6b7280;
  }
  .btn-secondary:hover {
    background: #6c757d;
  }
  .warning-message {
    background: rgba(255, 193, 7, 0.15);
  }
  .warning-message .warning-text {
    color: rgb(255, 212.125, 83.5);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.treatment-detail-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}
@media (max-width: 768px) {
  .treatment-detail-container {
    padding: 16px;
  }
}

.treatment-detail-header {
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  color: #ffffff;
  padding: 2rem;
  border-radius: 20px;
  margin-bottom: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.4s ease;
}
@media (max-width: 768px) {
  .treatment-detail-header {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
}
.treatment-detail-header h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
  .treatment-detail-header h1 {
    font-size: 1.5rem;
  }
}
.treatment-detail-header p {
  opacity: 0.9;
  margin-bottom: 0;
}

.treatment-detail-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.4s ease 0.1s both;
}

.treatment-detail-section {
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}
.treatment-detail-section:last-child {
  border-bottom: none;
}
@media (max-width: 768px) {
  .treatment-detail-section {
    padding: 1.25rem;
  }
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0E2948;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
@media (max-width: 768px) {
  .section-title {
    font-size: 1.125rem;
  }
}

.info-row {
  display: flex;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
}
@media (max-width: 768px) {
  .info-row {
    flex-direction: column;
  }
}
.info-row .info-label {
  width: 140px;
  font-weight: 600;
  color: #6b7280;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .info-row .info-label {
    width: auto;
    margin-bottom: 0.5rem;
  }
}
.info-row .info-value {
  flex: 1;
  color: #374151;
}
@media (max-width: 768px) {
  .info-row .info-value {
    margin-left: 0;
  }
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge.badge-active {
  background: #10b981;
  color: #ffffff;
}
.badge.badge-completed {
  background: #6b7280;
  color: #ffffff;
}
.badge.badge-urgent {
  background: #ef4444;
  color: #ffffff;
}

.medication-item {
  background: #f9fafb;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: all 0.2s ease;
}
.medication-item:hover {
  transform: translateX(5px);
  background: #f3f4f6;
}
.medication-item:last-child {
  margin-bottom: 0;
}

.medication-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0E2948;
}
@media (max-width: 768px) {
  .medication-name {
    font-size: 1rem;
  }
}

.medication-dosage {
  color: #6b7280;
  margin-top: 0.25rem;
  font-size: 0.875rem;
}

.progress-bar {
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  margin: 1rem 0;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0E2948, rgb(38.9069767442, 113.9418604651, 200.0930232558));
  border-radius: 4px;
  transition: width 0.5s ease;
}

.notes-block {
  padding: 1rem;
  border-radius: 12px;
  line-height: 1.6;
  font-size: 0.875rem;
}
.notes-block.side-effects {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border-left: 4px solid #ef4444;
}
.notes-block.doctor-notes {
  background: rgba(245, 158, 11, 0.1);
  color: rgb(172.4330708661, 110.9507874016, 7.0669291339);
  border-left: 4px solid #f59e0b;
}

.btn-back {
  background: #6b7280;
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
}
.btn-back:hover {
  background: rgb(83.7787234043, 89.2595744681, 100.2212765957);
  transform: translateY(-2px);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.medication-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
@media (max-width: 768px) {
  .medication-flex {
    flex-direction: column;
    align-items: flex-start;
  }
}

.back-button-wrapper {
  margin-top: 1.5rem;
  text-align: center;
}

@media (max-width: 1024px) {
  .treatment-detail-container {
    max-width: 95%;
  }
}
@media (prefers-color-scheme: dark) {
  .treatment-detail-card {
    background: #374151;
  }
  .treatment-detail-section {
    border-bottom-color: #4b5563;
  }
  .section-title {
    color: rgb(38.9069767442, 113.9418604651, 200.0930232558);
  }
  .info-row {
    border-bottom-color: rgba(75, 85, 99, 0.5);
  }
  .info-row .info-label {
    color: #9ca3af;
  }
  .info-row .info-value {
    color: #f9fafb;
  }
  .medication-item {
    background: #1f2937;
  }
  .medication-item:hover {
    background: rgb(40.1918604651, 53.1569767442, 71.3081395349);
  }
  .medication-name {
    color: rgb(38.9069767442, 113.9418604651, 200.0930232558);
  }
  .medication-dosage {
    color: #9ca3af;
  }
  .progress-bar {
    background: #4b5563;
  }
  .notes-block.side-effects {
    background: rgba(239, 68, 68, 0.15);
  }
  .notes-block.doctor-notes {
    background: rgba(245, 158, 11, 0.1);
  }
}
.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}
.auth-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  animation: amFadeIn 0.3s ease;
}
.auth-modal__container {
  position: relative;
  width: 90%;
  max-width: 500px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.05);
  animation: amSlideUp 0.3s ease;
  overflow: hidden;
}
.auth-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 24px;
  border-bottom: 1px solid rgba(107, 114, 128, 0.2);
}
.auth-modal__tabs {
  display: flex;
  gap: 24px;
}
.auth-modal__tab {
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  padding: 8px 0;
  transition: all 0.3s ease;
  position: relative;
}
.auth-modal__tab.active {
  color: #008BD0;
}
.auth-modal__tab.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #008BD0;
  border-radius: 2px;
}
.auth-modal__tab:hover {
  color: #008BD0;
}
.auth-modal__close {
  background: none;
  border: none;
  font-size: 28px;
  color: #6b7280;
  cursor: pointer;
  line-height: 1;
  transition: all 0.3s ease;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.auth-modal__close:hover {
  color: #2c3e50;
  background: #f9fafb;
}
.auth-modal__body {
  padding: 32px 24px;
  max-height: 70vh;
  overflow-y: auto;
}
.auth-modal__body::-webkit-scrollbar {
  width: 6px;
}
.auth-modal__body::-webkit-scrollbar-track {
  background: #f9fafb;
  border-radius: 3px;
}
.auth-modal__body::-webkit-scrollbar-thumb {
  background: #9ca3af;
  border-radius: 3px;
}
.auth-modal__body::-webkit-scrollbar-thumb:hover {
  background: #008BD0;
}
.auth-modal__content {
  display: none;
}
.auth-modal__content.active {
  display: block;
  animation: amFadeIn 0.3s ease;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.auth-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 768px) {
  .auth-form__row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.auth-form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.auth-form__group.half {
  flex: 1;
}
.auth-form__label {
  font-weight: 600;
  color: #2c3e50;
  font-size: 14px;
}
.auth-form__input {
  padding: 16px;
  border: 2px solid rgba(107, 114, 128, 0.2);
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #ffffff;
}
.auth-form__input:focus {
  outline: none;
  border-color: #008BD0;
  box-shadow: 0 0 0 3px rgba(0, 139, 208, 0.1);
}
.auth-form__input.error {
  border-color: #721c24;
}
.auth-form__hint {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}
.auth-form__error {
  font-size: 12px;
  color: #721c24;
  margin-top: 4px;
}
.auth-form__options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  flex-wrap: wrap;
  gap: 8px;
}
.auth-form__checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333333;
  cursor: pointer;
  font-size: 14px;
}
.auth-form__checkbox input[type=checkbox] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.auth-form__checkbox a {
  color: #008BD0;
  text-decoration: none;
}
.auth-form__checkbox a:hover {
  text-decoration: underline;
}
.auth-form__forgot {
  background: none;
  border: none;
  color: #008BD0;
  cursor: pointer;
  font-size: 14px;
}
.auth-form__forgot:hover {
  text-decoration: underline;
}
.auth-form__submit {
  background: linear-gradient(135deg, #008BD0 0%, #006ba3 100%);
  color: #ffffff;
  border: none;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.auth-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 139, 208, 0.15);
}
.auth-form__submit:active {
  transform: translateY(0);
}
.auth-form__divider {
  text-align: center;
  position: relative;
  margin: 8px 0;
}
.auth-form__divider::before, .auth-form__divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 45%;
  height: 1px;
  background: rgba(107, 114, 128, 0.2);
}
.auth-form__divider::before {
  left: 0;
}
.auth-form__divider::after {
  right: 0;
}
.auth-form__divider span {
  background: #ffffff;
  padding: 0 16px;
  color: #6b7280;
  font-size: 14px;
}
.auth-form__title {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
}
.auth-form__text {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 24px;
}
.auth-form__back {
  background: none;
  border: none;
  color: #008BD0;
  cursor: pointer;
  font-size: 14px;
  padding: 8px;
  margin-top: 8px;
}
.auth-form__back:hover {
  text-decoration: underline;
}

.auth-social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  border: 2px solid rgba(107, 114, 128, 0.2);
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  color: #333333;
}
.auth-social-btn:hover {
  background: #f9fafb;
  transform: translateY(-2px);
  border-color: #008BD0;
}
.auth-social-btn svg {
  width: 20px;
  height: 20px;
}

.auth-form__social {
  display: flex;
  gap: 16px;
}
@media (max-width: 768px) {
  .auth-form__social {
    flex-direction: column;
  }
}

.toast-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
  padding: 16px 24px;
  border-radius: 12px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}
.toast-notification.show {
  opacity: 1;
  transform: translateX(0);
}
.toast-notification.success {
  background: #155724;
}
.toast-notification.error {
  background: #721c24;
}
.toast-notification.info {
  background: #008BD0;
}
@media (max-width: 768px) {
  .toast-notification {
    top: auto;
    bottom: 20px;
    right: 20px;
    left: 20px;
    text-align: center;
  }
}

@keyframes amFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes amSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes amSlideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes amPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
.am-animate-fade {
  animation: amFadeIn 0.3s ease;
}
.am-animate-slide-up {
  animation: amSlideUp 0.3s ease;
}
.am-animate-slide-right {
  animation: amSlideInRight 0.3s ease;
}
.am-animate-pulse {
  animation: amPulse 0.3s ease;
}

@media (max-width: 768px) {
  .auth-modal {
    align-items: flex-end;
  }
  .auth-modal__container {
    width: 100%;
    max-width: 100%;
    border-radius: 16px 16px 0 0;
  }
  .auth-modal__body {
    padding: 24px;
    max-height: 80vh;
  }
  .auth-modal__header {
    padding: 16px 24px;
  }
  .auth-modal__tabs {
    gap: 16px;
  }
  .auth-modal__tab {
    font-size: 16px;
  }
  .auth-form__submit {
    padding: 16px 24px;
  }
}
@media (max-width: 576px) {
  .auth-modal__body {
    padding: 16px;
  }
  .auth-modal__header {
    padding: 16px;
  }
  .auth-form__row {
    gap: 16px;
  }
  .auth-form__options {
    flex-direction: column;
    align-items: flex-start;
  }
}
@keyframes headerSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes headerPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
  }
}
@keyframes headerBurgerActive {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(90deg);
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .hero__nav {
    gap: 20px;
  }
  .hero__nav a {
    font-size: 14px;
  }
  .hero__btn {
    min-width: 90px;
    font-size: 13px;
  }
}
@media (max-width: 768px) {
  .hero__header {
    padding: 0 15px;
  }
  .hero__nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    transition: left 0.3s ease;
  }
  .hero__nav.active {
    left: 0;
  }
  .hero__nav a {
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
}
@media (max-width: 576px) {
  .hero__logo-img {
    height: 40px;
  }
  .hero__btn {
    min-width: 70px;
    height: 32px;
    font-size: 11px;
  }
  .hero__header-burger {
    font-size: 24px;
  }
}
.header-hidden {
  transform: translateY(-100%);
}

.header-visible {
  transform: translateY(0);
}

/* static/css/header-mobile.css */
/* Базовые стили для мобильного меню */
@media (max-width: 768px) {
  /* Стили для бургера */
  .hero__header-burger {
    display: block !important;
    background: none !important;
    border: none !important;
    font-size: 28px !important;
    cursor: pointer !important;
    color: #2c3e50 !important;
    z-index: 10001 !important;
    position: relative !important;
  }
  /* Мобильное меню */
  .hero__nav {
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    width: 80% !important;
    max-width: 350px !important;
    height: 100vh !important;
    background: #ffffff !important;
    flex-direction: column !important;
    padding: 80px 25px 30px !important;
    transition: left 0.3s ease-in-out !important;
    z-index: 10000 !important;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.15) !important;
    margin: 0 !important;
    gap: 0 !important;
    overflow-y: auto !important;
  }
  /* Активное состояние меню */
  .hero__nav.active {
    left: 0 !important;
  }
  /* Ссылки в мобильном меню */
  .hero__nav a {
    display: block !important;
    padding: 15px 0 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #2c3e50 !important;
    text-decoration: none !important;
    border-bottom: 1px solid #e5e7eb !important;
    transition: color 0.2s ease !important;
  }
  .hero__nav a:last-child {
    border-bottom: none !important;
  }
  .hero__nav a:hover {
    color: #3498db !important;
    padding-left: 5px !important;
  }
  /* Оверлей (темный фон) */
  .menu-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 9999 !important;
    display: none !important;
    cursor: pointer !important;
  }
  .menu-overlay.active {
    display: block !important;
  }
  /* Запрет скролла при открытом меню */
  body.menu-open {
    overflow: hidden !important;
  }
}
/* Для десктопа скрываем бургер */
@media (min-width: 769px) {
  .hero__header-burger {
    display: none !important;
  }
  .menu-overlay {
    display: none !important;
  }
}
/* static/css/header-mobile.css */
/* Базовые стили для мобильного меню */
@media (max-width: 768px) {
  /* Стили для бургера */
  .hero__header-burger {
    display: block !important;
    background: none !important;
    border: none !important;
    font-size: 28px !important;
    cursor: pointer !important;
    color: #2c3e50 !important;
    z-index: 10001 !important;
    position: relative !important;
  }
  /* Мобильное меню */
  .hero__nav {
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    width: 80% !important;
    max-width: 350px !important;
    height: 100vh !important;
    background: #ffffff !important;
    flex-direction: column !important;
    padding: 80px 25px 30px !important;
    transition: left 0.3s ease-in-out !important;
    z-index: 10000 !important;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.15) !important;
    margin: 0 !important;
    gap: 0 !important;
    overflow-y: auto !important;
  }
  /* Активное состояние меню */
  .hero__nav.active {
    left: 0 !important;
  }
  /* Ссылки в мобильном меню */
  .hero__nav a {
    display: block !important;
    padding: 15px 0 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #2c3e50 !important;
    text-decoration: none !important;
    border-bottom: 1px solid #e5e7eb !important;
    transition: color 0.2s ease !important;
  }
  .hero__nav a:last-child {
    border-bottom: none !important;
  }
  .hero__nav a:hover {
    color: #3498db !important;
    padding-left: 5px !important;
  }
  /* Оверлей (темный фон) */
  .menu-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 9999 !important;
    display: none !important;
    cursor: pointer !important;
  }
  .menu-overlay.active {
    display: block !important;
  }
  /* Запрет скролла при открытом меню */
  body.menu-open {
    overflow: hidden !important;
  }
}
/* Для десктопа скрываем бургер */
@media (min-width: 769px) {
  .hero__header-burger {
    display: none !important;
  }
  .menu-overlay {
    display: none !important;
  }
}
.hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.hero__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 768px) {
  .hero__header {
    height: 80px;
    padding: 0 15px;
  }
}
.hero__logo-img {
  height: 70px;
  width: auto;
  max-width: 250px;
}
@media (max-width: 768px) {
  .hero__logo-img {
    height: 50px;
    max-width: 150px;
  }
}
.hero__nav {
  display: flex;
  gap: 30px;
}
@media (max-width: 768px) {
  .hero__nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    transition: left 0.3s ease;
    z-index: 998;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }
}
.hero__nav a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  transition: color 0.3s ease ease;
}
.hero__nav a:hover {
  color: #3498db;
}
@media (max-width: 768px) {
  .hero__nav a {
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: block;
  }
  .hero__nav a:last-child {
    border-bottom: none;
  }
}
@media (max-width: 768px) {
  .hero__nav.active {
    left: 0;
  }
}
.hero__btn {
  width: auto;
  min-width: 90px;
  height: 40px;
  padding: 0 20px;
  background: #2c3e50;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease ease;
  transition: transform 0.3s ease ease;
}
.hero__btn:hover {
  transform: scale(1.05);
}
.hero__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.hero__btn::before {
  display: none;
}
.hero__btn:hover {
  background: #3498db;
}
@media (max-width: 768px) {
  .hero__btn {
    min-width: 70px;
    height: 35px;
    font-size: 12px;
    padding: 0 15px;
  }
}
.hero__header-burger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease ease;
  z-index: 999;
  color: #2c3e50;
}
@media (max-width: 768px) {
  .hero__header-burger {
    display: block;
  }
}
.hero__header-burger:hover {
  transform: scale(1.1);
}
.hero__header-burger:active {
  transform: rotate(90deg);
}

body.menu-open {
  overflow: hidden;
}

main {
  padding-top: 100px;
}
@media (max-width: 768px) {
  main {
    padding-top: 80px;
  }
}

@keyframes slider-slide-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slider-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slider-scale-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.slider-theme-light {
  --slider-bg: #ffffff;
  --slider-text: #1f2937;
  --slider-text-secondary: #6b7280;
  --slider-border: rgba(31, 41, 55, 0.1);
}

.slider-theme-dark {
  --slider-bg: #1f2937;
  --slider-text: #ffffff;
  --slider-text-secondary: #f3f4f6;
  --slider-border: rgba(255, 255, 255, 0.1);
}

@media (prefers-color-scheme: dark) {
  .slider-auto-dark {
    --slider-bg: #1f2937;
    --slider-text: #ffffff;
    --slider-text-secondary: #f3f4f6;
    --slider-border: rgba(255, 255, 255, 0.1);
  }
}
.main-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  margin-bottom: 48px;
}
@media (max-width: 767px) {
  .main-slider-container {
    border-radius: 0;
    margin-bottom: 32px;
  }
}

.main-slider {
  position: relative;
}
.main-slider .slider-slide {
  position: relative;
}
.main-slider .slider-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.main-slider .slick-dots {
  bottom: 24px;
  z-index: 100;
}
.main-slider .slick-dots li {
  margin: 0 4px;
}
.main-slider .slick-dots li button:before {
  font-size: 12px;
  color: #ffffff;
  opacity: 0.5;
  transition: all 0.3s ease-in-out;
}
.main-slider .slick-dots li.slick-active button:before {
  color: #BE1F25;
  opacity: 1;
  transform: scale(1.2);
}
.main-slider .slick-prev,
.main-slider .slick-next {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 9999px;
  z-index: 100;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.main-slider .slick-prev:hover,
.main-slider .slick-next:hover {
  background: #BE1F25;
}
.main-slider .slick-prev:hover:before,
.main-slider .slick-next:hover:before {
  color: #ffffff;
}
.main-slider .slick-prev:before,
.main-slider .slick-next:before {
  font-size: 24px;
  color: #BE1F25;
  transition: all 0.3s ease-in-out;
}
.main-slider .slick-prev {
  left: 24px;
}
.main-slider .slick-next {
  right: 24px;
}
@media (max-width: 767px) {
  .main-slider .slick-prev,
  .main-slider .slick-next {
    display: none !important;
  }
  .main-slider .slick-dots {
    bottom: 16px;
  }
}

.slider-indicator {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(31, 41, 55, 0.8);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 8px 24px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  z-index: 101;
  transition: all 0.3s ease-in-out;
  font-family: monospace;
}
.slider-indicator:hover {
  background: #BE1F25;
  transform: translateY(-2px);
}
@media (max-width: 767px) {
  .slider-indicator {
    bottom: 16px;
    right: 16px;
    padding: 4px 16px;
    font-size: 10px;
  }
}

.slider-html-content {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 768px) {
  .slider-html-content {
    padding: 0 16px;
  }
}

.slider-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  text-align: center;
}
.slider-empty-message {
  font-size: 1.125rem;
  color: #6b7280;
}

.slider-component {
  position: relative;
  width: 100%;
}
.slider-component::-webkit-scrollbar {
  width: 8px;
}
.slider-component::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 9999px;
}
.slider-component::-webkit-scrollbar-thumb {
  background: #BE1F25;
  border-radius: 9999px;
}
.slider-component::-webkit-scrollbar-thumb:hover {
  background: #6d28d9;
}

.slider-enter {
  animation: slider-slide-up 0.3s ease-out;
}

.slider-html-content {
  position: relative;
  z-index: 10;
}

@media (max-width: 767px) {
  .slider-component {
    font-size: 14px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .slider-component {
    font-size: 15px;
  }
}
@media (min-width: 992px) {
  .slider-component {
    font-size: 16px;
  }
}
@media (prefers-color-scheme: dark) {
  .slider-component.slider-auto-dark {
    --slider-bg: #1f2937;
    --slider-text: #ffffff;
  }
}
@keyframes fpFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fpSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fpSlideRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fpPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
.fp-animate-fade {
  animation: fpFadeIn 0.3s ease-out;
}
.fp-animate-slide-left {
  animation: fpSlideLeft 0.4s ease-out;
}
.fp-animate-slide-right {
  animation: fpSlideRight 0.4s ease-out;
}
.fp-animate-pulse:hover {
  animation: fpPulse 0.3s ease-in-out;
}

.fp-delay-1 {
  animation-delay: 0.1s;
}

.fp-delay-2 {
  animation-delay: 0.2s;
}

.fp-delay-3 {
  animation-delay: 0.3s;
}

.fp-delay-4 {
  animation-delay: 0.4s;
}

.fp-theme-light {
  --fp-bg: #ffffff;
  --fp-text: #1f2937;
  --fp-text-secondary: #6b7280;
  --fp-border: #e5e7eb;
  --fp-icon-bg: #f3f4f6;
  --fp-icon-color: #6b7280;
  --fp-hover-bg: #f9fafb;
}

.fp-theme-dark {
  --fp-bg: #1f2937;
  --fp-text: #ffffff;
  --fp-text-secondary: #f3f4f6;
  --fp-border: rgba(255, 255, 255, 0.1);
  --fp-icon-bg: rgba(255, 255, 255, 0.1);
  --fp-icon-color: #ffffff;
  --fp-hover-bg: rgba(255, 255, 255, 0.05);
}

@media (prefers-color-scheme: dark) {
  .fp-auto-theme {
    --fp-bg: #1f2937;
    --fp-text: #ffffff;
    --fp-text-secondary: #f3f4f6;
    --fp-border: rgba(255, 255, 255, 0.1);
    --fp-icon-bg: rgba(255, 255, 255, 0.1);
    --fp-icon-color: #ffffff;
    --fp-hover-bg: rgba(255, 255, 255, 0.05);
  }
}
.follow-partners-section {
  padding: 8px 0;
  background: #ffffff;
}
@media (max-width: 768px) {
  .follow-partners-section {
    padding: 6px 0;
  }
}

.follow-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.follow-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
@media (max-width: 768px) {
  .follow-wrapper {
    flex-direction: column;
    gap: 20px;
  }
}

.follow-social {
  width: 30%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border: 1px solid #e5e7eb;
  border-radius: 50px;
  padding: 8px 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.follow-social:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-color: rgb(200.1739130435, 204.3913043478, 212.8260869565);
}
@media (max-width: 992px) {
  .follow-social {
    padding: 6px 16px;
  }
}
@media (max-width: 768px) {
  .follow-social {
    width: auto;
    min-width: 280px;
  }
}
@media (max-width: 480px) {
  .follow-social {
    padding: 6px 14px;
  }
}

.follow-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.follow-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  transition: all 0.3s ease;
  text-decoration: none;
}
.follow-icon svg {
  width: 18px;
  height: 18px;
  fill: #6b7280;
}
.follow-icon {
  transition: all 0.3s ease;
}
.follow-icon:hover {
  transform: translateY(-2px);
}
.follow-icon:hover svg {
  fill: #ffffff;
}
@media (max-width: 992px) {
  .follow-icon {
    width: 30px;
    height: 30px;
  }
  .follow-icon svg {
    width: 16px;
    height: 16px;
  }
}
@media (max-width: 480px) {
  .follow-icon {
    width: 28px;
    height: 28px;
  }
  .follow-icon svg {
    width: 14px;
    height: 14px;
  }
}
.follow-icon-facebook:hover {
  background: #1877f2;
}
.follow-icon-twitter:hover {
  background: #1da1f2;
}
.follow-icon-instagram:hover {
  background: #e4405f;
}
.follow-icon-linkedin:hover {
  background: #0077b5;
}

.follow-label {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  white-space: nowrap;
  margin-left: auto;
  flex-shrink: 0;
}
@media (max-width: 992px) {
  .follow-label {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .follow-label {
    font-size: 13px;
  }
}

.follow-partners {
  width: 70%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .follow-partners {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .follow-partners {
    gap: 15px;
  }
}

.follow-partner-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 5px 10px;
  border-radius: 40px;
  transition: all 0.3s ease;
  cursor: pointer;
  transition: all 0.3s ease;
}
.follow-partner-item:hover {
  transform: translateY(-2px);
}
.follow-partner-item:hover {
  background: #f9fafb;
}
@media (max-width: 992px) {
  .follow-partner-item {
    gap: 8px;
    padding: 4px 8px;
  }
}

.follow-partner-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}
.follow-partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}
@media (max-width: 992px) {
  .follow-partner-logo {
    width: 35px;
    height: 35px;
  }
}
@media (max-width: 768px) {
  .follow-partner-logo {
    width: 30px;
    height: 30px;
  }
}
@media (max-width: 480px) {
  .follow-partner-logo {
    width: 28px;
    height: 28px;
  }
}

.follow-partner-name {
  font-size: 14px;
  font-weight: 700;
  color: #4b5563;
  text-align: left;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.follow-partner-item:hover .follow-partner-name {
  color: #8b5cf6;
}
@media (max-width: 992px) {
  .follow-partner-name {
    font-size: 13px;
  }
}
@media (max-width: 768px) {
  .follow-partner-name {
    font-size: 12px;
  }
}
@media (max-width: 480px) {
  .follow-partner-name {
    font-size: 11px;
  }
}

@keyframes psFadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes psSlideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.ps-animate-fade-up {
  animation: psFadeInUp 0.4s ease-out forwards;
}
.ps-animate-slide-in {
  animation: psSlideIn 0.4s ease-out forwards;
}

.ps-delay-1 {
  animation-delay: 0.1s;
}

.ps-delay-2 {
  animation-delay: 0.2s;
}

.ps-delay-3 {
  animation-delay: 0.3s;
}

.ps-delay-4 {
  animation-delay: 0.4s;
}

.ps-delay-5 {
  animation-delay: 0.5s;
}

.ps-delay-6 {
  animation-delay: 0.6s;
}

.ps-card {
  opacity: 0;
  animation: psFadeInUp 0.4s ease-out forwards;
}

.ps-theme-light {
  --ps-bg: #ffffff;
  --ps-text: #1f2937;
  --ps-text-secondary: #6b7280;
  --ps-card-bg: #fafafa;
  --ps-card-border: 1px solid #e5e7eb;
  --ps-nav-bg: #f3f4f6;
}

.ps-theme-dark {
  --ps-bg: #1f2937;
  --ps-text: #ffffff;
  --ps-text-secondary: #9ca3af;
  --ps-card-bg: rgba(255, 255, 255, 0.05);
  --ps-card-border: 1px solid rgba($ps-white, 0.1);
  --ps-nav-bg: rgba(255, 255, 255, 0.1);
}

@media (prefers-color-scheme: dark) {
  .ps-auto-theme {
    --ps-bg: #1f2937;
    --ps-text: #ffffff;
    --ps-text-secondary: #9ca3af;
    --ps-card-bg: rgba(255, 255, 255, 0.05);
    --ps-card-border: 1px solid rgba($ps-white, 0.1);
    --ps-nav-bg: rgba(255, 255, 255, 0.1);
  }
}
.popular-services-section {
  padding: 20px 0;
  background: #ffffff;
  background: var(--ps-bg);
  color: var(--ps-text);
}
@media (max-width: 768px) {
  .popular-services-section {
    padding: 15px 0;
  }
}

.ps-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.ps-header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 30px;
  gap: 20px;
}
@media (max-width: 768px) {
  .ps-header-wrapper {
    flex-direction: column;
    text-align: center;
  }
}

.ps-header-left {
  flex: 1;
}

.ps-title {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}
@media (max-width: 768px) {
  .ps-title {
    font-size: 20px;
  }
}

.ps-description {
  font-size: 14px;
  color: #6b7280;
  margin-top: 8px;
}

.ps-nav {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .ps-nav {
    justify-content: center;
  }
}

.ps-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f3f4f6;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}
.ps-nav-btn svg {
  width: 20px;
  height: 20px;
  stroke: #6b7280;
  stroke-width: 2;
  fill: none;
  transition: 0.3s ease;
}
.ps-nav-btn:hover {
  background: #0E2948;
  transform: translateY(-2px);
}
.ps-nav-btn:hover svg {
  stroke: #ffffff;
}
.ps-nav-btn {
  width: 44px;
  height: 44px;
}
.ps-nav-btn svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 480px) {
  .ps-nav-btn {
    width: 38px;
    height: 38px;
  }
  .ps-nav-btn svg {
    width: 16px;
    height: 16px;
  }
}

.ps-pages {
  position: relative;
  min-height: 300px;
}

.ps-page {
  display: none;
}
.ps-page.active {
  display: block;
}

.ps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 992px) {
  .ps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .ps-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.ps-card {
  background: #fafafa;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  transition: 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.ps-card:hover {
  transform: translateY(-4px);
  background: #ffffff;
  border-color: 1px solid #d1d5db;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.ps-card {
  background: var(--ps-card-bg);
  border: var(--ps-card-border);
}

.ps-card-image {
  position: relative;
  height: 220px;
}
@media (max-width: 992px) {
  .ps-card-image {
    height: 200px;
  }
}
@media (max-width: 768px) {
  .ps-card-image {
    height: 180px;
  }
}
@media (max-width: 480px) {
  .ps-card-image {
    height: 160px;
  }
}
.ps-card-image {
  overflow: hidden;
}
.ps-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.ps-card-image:hover img {
  transform: scale(1.1);
}
.ps-card-image {
  border-radius: 16px 16px 0 0;
}

.ps-card-info {
  padding: 16px;
}

.ps-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 6px 0;
}
@media (max-width: 768px) {
  .ps-card-title {
    font-size: 14px;
  }
}

.ps-card-location {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
}
.ps-card-location::before {
  content: "📍";
  margin-right: 4px;
}
@media (max-width: 768px) {
  .ps-card-location {
    font-size: 11px;
  }
}

@keyframes scSlideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes scSlideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes scFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
.sc-animate-left {
  animation: scSlideInLeft 0.6s ease-out forwards;
}
.sc-animate-right {
  animation: scSlideInRight 0.6s ease-out forwards;
}
.sc-animate-up {
  animation: scFadeInUp 0.5s ease-out forwards;
}
.sc-animate-pulse:hover {
  animation: scPulse 0.3s ease-in-out;
}

.sc-stat {
  opacity: 0;
  animation: scFadeInUp 0.5s ease-out forwards;
}
.sc-stat:nth-child(1) {
  animation-delay: 0.15s;
}
.sc-stat:nth-child(2) {
  animation-delay: 0.3s;
}
.sc-stat:nth-child(3) {
  animation-delay: 0.45s;
}

.sc-feature {
  opacity: 0;
  animation: scFadeInUp 0.5s ease-out forwards;
}
.sc-feature:nth-child(1) {
  animation-delay: 0.1s;
}
.sc-feature:nth-child(2) {
  animation-delay: 0.2s;
}
.sc-feature:nth-child(3) {
  animation-delay: 0.3s;
}

.sc-theme-light {
  --sc-bg: #ffffff;
  --sc-text: #1f2937;
  --sc-text-secondary: #6b7280;
  --sc-card-bg: #ffffff;
  --sc-icon-bg: rgba(14, 41, 72, 0.1);
  --sc-border: rgba(31, 41, 55, 0.1);
}

.sc-theme-dark {
  --sc-bg: #1f2937;
  --sc-text: #ffffff;
  --sc-text-secondary: #9ca3af;
  --sc-card-bg: rgba(255, 255, 255, 0.05);
  --sc-icon-bg: rgba(255, 255, 255, 0.1);
  --sc-border: rgba(255, 255, 255, 0.1);
}

@media (prefers-color-scheme: dark) {
  .sc-auto-theme {
    --sc-bg: #1f2937;
    --sc-text: #ffffff;
    --sc-text-secondary: #9ca3af;
    --sc-card-bg: rgba(255, 255, 255, 0.05);
    --sc-icon-bg: rgba(255, 255, 255, 0.1);
    --sc-border: rgba(255, 255, 255, 0.1);
  }
}
.president-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  background: var(--sc-bg);
  color: var(--sc-text);
}

.president-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.president-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 992px) {
  .president-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.president-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.president-image-wrapper:hover .president-image {
  transform: scale(1.02);
}

.president-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.president-social {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}
@media (max-width: 768px) {
  .president-social {
    bottom: 10px;
    gap: 12px;
  }
}

.president-social-link {
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}
.president-social-link svg {
  width: 20px;
  height: 20px;
  stroke: #1f2937;
  transition: all 0.3s ease;
}
.president-social-link:hover {
  background: #0E2948;
  transform: translateY(-2px);
}
.president-social-link:hover svg {
  stroke: #ffffff;
}

.president-info {
  padding: 20px;
}

.president-badge {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, #0E2948, #1a3a5c);
  color: #ffffff;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
}

.president-name {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 10px;
  line-height: 1.3;
}
@media (max-width: 768px) {
  .president-name {
    font-size: 24px;
  }
}

.president-position {
  font-size: 16px;
  color: #0E2948;
  font-weight: 600;
  margin-bottom: 5px;
}

.president-degree {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.president-text {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.president-achievements {
  display: flex;
  gap: 30px;
  margin: 30px 0;
  padding: 20px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
@media (max-width: 768px) {
  .president-achievements {
    flex-direction: column;
    gap: 15px;
  }
}

.achievement {
  text-align: center;
  flex: 1;
}

.achievement-number {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #0E2948;
  margin-bottom: 5px;
}
@media (max-width: 768px) {
  .achievement-number {
    font-size: 24px;
  }
}

.achievement-label {
  font-size: 12px;
  color: #6b7280;
}

.president-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #0E2948, #1a3a5c);
  color: #ffffff;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.president-btn svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  transition: transform 0.3s ease;
}
.president-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 41, 72, 0.3);
}
.president-btn:hover svg {
  transform: translateX(4px);
}
@media (max-width: 768px) {
  .president-btn {
    width: 100%;
    justify-content: center;
  }
}

.leadership-detail-page {
  padding: 120px 0 60px;
  background: #f5f7fa;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .leadership-detail-page {
    padding: 100px 0 40px;
  }
}
.leadership-detail-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.leadership-detail-page .breadcrumbs {
  margin-bottom: 30px;
}
.leadership-detail-page .breadcrumbs ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 10px;
  flex-wrap: wrap;
}
.leadership-detail-page .breadcrumbs li {
  color: #666;
  font-size: 14px;
}
.leadership-detail-page .breadcrumbs li:not(:last-child):after {
  content: "/";
  margin-left: 10px;
  color: #999;
}
.leadership-detail-page .breadcrumbs a {
  color: #0066b3;
  text-decoration: none;
  transition: all 0.2s ease;
}
.leadership-detail-page .breadcrumbs a:hover {
  text-decoration: underline;
}
.leadership-detail-page .leader-header {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 40px;
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
@media (max-width: 768px) {
  .leadership-detail-page .leader-header {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }
}
.leadership-detail-page .leader-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.leadership-detail-page .leader-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform all 0.3s ease;
}
.leadership-detail-page .leader-image img:hover {
  transform: scale(1.02);
}
.leadership-detail-page .leader-image-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #0066b3, #004d80);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  font-weight: bold;
  color: #ffffff;
}
.leadership-detail-page .leader-social {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.leadership-detail-page .social-link {
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}
.leadership-detail-page .social-link svg {
  width: 20px;
  height: 20px;
  stroke: #1a1a2e;
  transition: all 0.3s ease;
}
.leadership-detail-page .social-link:hover {
  transform: translateY(-3px);
}
.leadership-detail-page .social-link.telegram:hover {
  background: #0088cc;
}
.leadership-detail-page .social-link.telegram:hover svg {
  stroke: #ffffff;
}
.leadership-detail-page .social-link.whatsapp:hover {
  background: #25D366;
}
.leadership-detail-page .social-link.whatsapp:hover svg {
  stroke: #ffffff;
}
.leadership-detail-page .social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433, #d62976);
}
.leadership-detail-page .social-link.instagram:hover svg {
  stroke: #ffffff;
}
.leadership-detail-page .leader-info {
  padding: 20px 0;
}
@media (max-width: 768px) {
  .leadership-detail-page .leader-info {
    padding: 0;
  }
}
.leadership-detail-page .leader-badge {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, #0066b3, #004d80);
  color: #ffffff;
  border-radius: 30px;
  font-size: 12px;
  margin-bottom: 20px;
}
.leadership-detail-page .leader-name {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
  line-height: 1.3;
}
@media (max-width: 768px) {
  .leadership-detail-page .leader-name {
    font-size: 28px;
  }
}
.leadership-detail-page .leader-degree {
  font-size: 16px;
  color: #0066b3;
  font-weight: 500;
  margin-bottom: 5px;
}
.leadership-detail-page .leader-title {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}
.leadership-detail-page .leader-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
  padding: 15px 0;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}
@media (max-width: 576px) {
  .leadership-detail-page .leader-stats {
    gap: 15px;
  }
}
.leadership-detail-page .stat {
  text-align: center;
}
.leadership-detail-page .stat-value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #0066b3;
}
.leadership-detail-page .stat-label {
  font-size: 12px;
  color: #666;
}
.leadership-detail-page .leader-contacts {
  margin-bottom: 25px;
}
.leadership-detail-page .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #555;
}
.leadership-detail-page .contact-item svg {
  width: 18px;
  height: 18px;
  stroke: #0066b3;
}
.leadership-detail-page .leader-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
@media (max-width: 576px) {
  .leadership-detail-page .leader-actions {
    flex-direction: column;
  }
}
.leadership-detail-page .btn-appointment,
.leadership-detail-page .btn-message {
  padding: 12px 24px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  border: none;
}
@media (max-width: 576px) {
  .leadership-detail-page .btn-appointment,
  .leadership-detail-page .btn-message {
    width: 100%;
  }
}
.leadership-detail-page .btn-appointment {
  background: #0066b3;
  color: #ffffff;
}
.leadership-detail-page .btn-appointment:hover {
  background: #004d80;
  transform: translateY(-2px);
}
.leadership-detail-page .btn-message {
  background: transparent;
  border: 1px solid #0066b3;
  color: #0066b3;
}
.leadership-detail-page .btn-message:hover {
  background: #0066b3;
  color: #ffffff;
  transform: translateY(-2px);
}
.leadership-detail-page .leader-content {
  display: grid;
  gap: 30px;
}
.leadership-detail-page .leader-bio,
.leadership-detail-page .leader-achievements {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.leadership-detail-page .leader-bio h2,
.leadership-detail-page .leader-achievements h2 {
  font-size: 22px;
  color: #1a1a2e;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0066b3;
  display: inline-block;
}
.leadership-detail-page .bio-text,
.leadership-detail-page .achievements-list {
  line-height: 1.8;
  color: #555;
}
.leadership-detail-page .bio-text p,
.leadership-detail-page .achievements-list p {
  margin-bottom: 15px;
}
.leadership-detail-page .bio-text ul, .leadership-detail-page .bio-text ol,
.leadership-detail-page .achievements-list ul,
.leadership-detail-page .achievements-list ol {
  padding-left: 20px;
  margin: 10px 0;
}
.leadership-detail-page .bio-text li,
.leadership-detail-page .achievements-list li {
  margin-bottom: 8px;
}
.leadership-detail-page .modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}
.leadership-detail-page .modal.active {
  display: flex;
}
.leadership-detail-page .modal-content {
  background: #ffffff;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  padding: 30px;
  position: relative;
  animation: slideIn 0.3s ease;
}
.leadership-detail-page .modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #999;
  transition: all 0.2s ease;
}
.leadership-detail-page .modal-close:hover {
  color: #1a1a2e;
}
.leadership-detail-page .modal h3 {
  margin-bottom: 20px;
  color: #1a1a2e;
}
.leadership-detail-page .form-group {
  margin-bottom: 20px;
}
.leadership-detail-page .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #1a1a2e;
}
.leadership-detail-page .form-group input,
.leadership-detail-page .form-group select,
.leadership-detail-page .form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}
.leadership-detail-page .form-group input:focus,
.leadership-detail-page .form-group select:focus,
.leadership-detail-page .form-group textarea:focus {
  outline: none;
  border-color: #0066b3;
  box-shadow: 0 0 0 3px rgba(0, 102, 179, 0.1);
}
.leadership-detail-page .btn-submit {
  width: 100%;
  padding: 12px;
  background: #0066b3;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}
.leadership-detail-page .btn-submit:hover {
  background: #004d80;
  transform: translateY(-2px);
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.science-center-section {
  padding: 40px 0;
}
@media (max-width: 992px) {
  .science-center-section {
    padding: 60px 0;
  }
}
@media (max-width: 768px) {
  .science-center-section {
    padding: 50px 0;
  }
}
.science-center-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  background: var(--sc-bg);
  color: var(--sc-text);
}

.sc-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.sc-content {
  display: flex;
  align-items: center;
  gap: 60px;
}
@media (max-width: 992px) {
  .sc-content {
    flex-direction: column;
    gap: 40px;
  }
}

.sc-left {
  flex: 1;
}

.sc-title {
  font-size: 42px;
}
@media (max-width: 992px) {
  .sc-title {
    font-size: 36px;
  }
}
@media (max-width: 768px) {
  .sc-title {
    font-size: 28px;
  }
}
@media (max-width: 480px) {
  .sc-title {
    font-size: 24px;
  }
}
.sc-title {
  font-weight: 700;
  color: #0E2948;
  margin-bottom: 20px;
  line-height: 1.2;
}

.sc-description {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 40px;
  text-align: justify;
}

.sc-features {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
@media (max-width: 480px) {
  .sc-features .sc-feature {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}
.sc-features {
  margin-bottom: 40px;
}

.sc-feature {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 480px) {
  .sc-feature {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

.sc-feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(14, 41, 72, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sc-feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: #0E2948;
}
.sc-feature-icon {
  background: var(--sc-icon-bg);
}

.sc-feature-title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 5px;
}

.sc-feature-text {
  font-size: 14px;
  color: #6b7280;
}

.sc-buttons {
  display: flex;
  gap: 16px;
}
@media (max-width: 768px) {
  .sc-buttons {
    flex-direction: column;
  }
}

.sc-btn-primary {
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  background: #0E2948;
  color: #ffffff;
  border: none;
}
.sc-btn-primary:hover {
  background: #09203a;
  transform: translateY(-2px);
}

.sc-btn-secondary {
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  background: transparent;
  color: #0E2948;
  border: 2px solid #0E2948;
}
.sc-btn-secondary:hover {
  background: #0E2948;
  color: #ffffff;
  transform: translateY(-2px);
}

.sc-right {
  flex: 1;
}

.sc-stats {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
@media (max-width: 768px) {
  .sc-stats {
    flex-direction: column;
    gap: 20px;
  }
}
.sc-stats {
  background: #ffffff;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  margin-bottom: 40px;
}

.sc-stat {
  text-align: center;
  flex: 1;
}

.sc-stat-number {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #0E2948;
  margin-bottom: 5px;
}
@media (max-width: 480px) {
  .sc-stat-number {
    font-size: 24px;
  }
}

.sc-stat-label {
  font-size: 13px;
  color: #6b7280;
}

.sc-image-wrapper {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.sc-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.sc-image-wrapper:hover img {
  transform: scale(1.05);
}

.sc-image {
  height: 400px;
}
@media (max-width: 992px) {
  .sc-image {
    height: 350px;
  }
}
@media (max-width: 768px) {
  .sc-image {
    height: 300px;
  }
}

@keyframes fcFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fcPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
@keyframes fcExpand {
  from {
    max-height: 0;
    opacity: 0;
  }
  to {
    max-height: 500px;
    opacity: 1;
  }
}
@keyframes fcCollapse {
  from {
    max-height: 500px;
    opacity: 1;
  }
  to {
    max-height: 0;
    opacity: 0;
  }
}
.fc-animate-fade-up {
  animation: fcFadeInUp 0.5s ease-out forwards;
}
.fc-animate-pulse:hover {
  animation: fcPulse 0.3s ease-in-out;
}

.fc-card {
  opacity: 0;
  animation: fcFadeInUp 0.5s ease-out forwards;
}
.fc-card:nth-child(1) {
  animation-delay: 0.1s;
}
.fc-card:nth-child(2) {
  animation-delay: 0.2s;
}
.fc-card:nth-child(3) {
  animation-delay: 0.3s;
}

.fc-theme-light {
  --fc-bg: #ffffff;
  --fc-text: #1f2937;
  --fc-text-secondary: #6b7280;
  --fc-card-bg: #ffffff;
  --fc-icon-bg: rgba(14, 41, 72, 0.1);
  --fc-arrow-bg: rgba(14, 41, 72, 0.1);
}

.fc-theme-dark {
  --fc-bg: #1f2937;
  --fc-text: #ffffff;
  --fc-text-secondary: #9ca3af;
  --fc-card-bg: rgba(255, 255, 255, 0.05);
  --fc-icon-bg: rgba(255, 255, 255, 0.1);
  --fc-arrow-bg: rgba(255, 255, 255, 0.1);
}

@media (prefers-color-scheme: dark) {
  .fc-auto-theme {
    --fc-bg: #1f2937;
    --fc-text: #ffffff;
    --fc-text-secondary: #9ca3af;
    --fc-card-bg: rgba(255, 255, 255, 0.05);
    --fc-icon-bg: rgba(255, 255, 255, 0.1);
    --fc-arrow-bg: rgba(255, 255, 255, 0.1);
  }
}
.features-cards-section {
  padding: 80px 0;
}
@media (max-width: 992px) {
  .features-cards-section {
    padding: 60px 0;
  }
}
@media (max-width: 768px) {
  .features-cards-section {
    padding: 50px 0;
  }
}
.features-cards-section {
  background: #f8fafc;
  background: var(--fc-bg);
  color: var(--fc-text);
}

.fc-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.fc-header {
  text-align: center;
  margin-bottom: 50px;
}

.fc-title {
  font-size: 42px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 20px;
  font-size: 42px;
}
@media (max-width: 992px) {
  .fc-title {
    font-size: 36px;
  }
}
@media (max-width: 768px) {
  .fc-title {
    font-size: 28px;
  }
}
@media (max-width: 480px) {
  .fc-title {
    font-size: 24px;
  }
}

.fc-description {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .fc-description {
    font-size: 14px;
  }
}

.fc-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
}
@media (max-width: 992px) {
  .fc-cards {
    flex-wrap: wrap;
  }
  .fc-cards .fc-card {
    flex: 1 1 calc(50% - 30px);
    min-width: calc(50% - 30px);
  }
}
@media (max-width: 768px) {
  .fc-cards .fc-card {
    flex: 1 1 100%;
    min-width: 100%;
  }
}

.fc-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.fc-card .fc-card-back {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: 0.4s ease-in-out;
}
.fc-card:hover {
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.fc-card:hover .fc-card-icon {
  background: rgba(255, 255, 255, 0.15);
}
.fc-card:hover .fc-card-icon svg {
  stroke: #ffffff;
}
.fc-card:hover .fc-card-title {
  color: #ffffff;
}
.fc-card:hover .fc-card-text {
  color: rgba(255, 255, 255, 0.8);
}
.fc-card:hover .fc-card-arrow {
  background: rgba(255, 255, 255, 0.15);
}
.fc-card:hover .fc-card-arrow svg {
  stroke: #ffffff;
}
.fc-card:hover .fc-card-back {
  max-height: 500px;
  opacity: 1;
  padding: 30px;
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  border-top-color: rgba(255, 255, 255, 0.1);
}
.fc-card:hover .fc-card-back-title {
  color: #ffffff;
}
.fc-card:hover .fc-card-back-list li {
  color: rgba(255, 255, 255, 0.8);
}
.fc-card:hover .fc-card-back-list li::before {
  color: #ffffff;
}

.fc-cards:hover .fc-card:not(:hover) {
  transform: scaleY(0.95);
  opacity: 0.6;
}
.fc-cards:hover .fc-card:not(:hover) .fc-card-back {
  max-height: 0;
  opacity: 0;
  padding: 0 30px;
}

.fc-cards:not(:hover) .fc-card {
  transform: scaleY(1);
  opacity: 1;
}

.fc-card-front {
  padding: 40px 30px;
  transition: 0.3s ease;
}
@media (max-width: 992px) {
  .fc-card-front {
    padding: 30px 25px;
  }
}
@media (max-width: 768px) {
  .fc-card-front {
    padding: 25px 20px;
  }
}

.fc-card-icon {
  width: 60px;
  height: 60px;
  background: rgba(14, 41, 72, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: 0.3s ease;
}
.fc-card-icon svg {
  width: 32px;
  height: 32px;
  stroke: #0E2948;
  transition: 0.3s ease;
}

.fc-card-title {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 15px;
  transition: 0.3s ease;
}
@media (max-width: 768px) {
  .fc-card-title {
    font-size: 20px;
  }
}

.fc-card-text {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 25px;
  transition: 0.3s ease;
}
@media (max-width: 768px) {
  .fc-card-text {
    font-size: 14px;
  }
}

.fc-card-arrow {
  width: 40px;
  height: 40px;
  background: rgba(14, 41, 72, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}
.fc-card-arrow svg {
  width: 20px;
  height: 20px;
  stroke: #0E2948;
  transition: 0.3s ease;
}

.fc-card-back-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  transition: 0.3s ease;
}

.fc-card-back-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.fc-card-back-list li {
  font-size: 14px;
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  transition: 0.3s ease;
}
.fc-card-back-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  transition: 0.3s ease;
}

.doctors-section {
  padding: 80px 0;
  background: #f5f7fa;
}
@media (max-width: 768px) {
  .doctors-section {
    padding: 50px 0;
  }
}

.doctors-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.doctors-header {
  text-align: center;
  margin-bottom: 40px;
}

.doctors-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
  line-height: 1.3;
}
@media (max-width: 768px) {
  .doctors-title {
    font-size: 28px;
  }
}

.doctors-description {
  font-size: 16px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .doctors-description {
    font-size: 14px;
  }
}

.doctors-grid-index {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
@media (min-width: 769px) and (max-width: 1024px) {
  .doctors-grid-index {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .doctors-grid-index {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.doctor-card-index {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.doctor-card-index:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.doctor-card-index:hover .doctor-image img {
  transform: scale(1.05);
}
.doctor-card-index:hover .doctor-social {
  bottom: 0;
}
@media (max-width: 768px) {
  .doctor-card-index {
    border-radius: 12px;
  }
}

.doctor-image {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #004d80);
}
@media (max-width: 768px) {
  .doctor-image {
    height: 240px;
  }
}
.doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.doctor-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  font-weight: bold;
  color: #ffffff;
  text-transform: uppercase;
  background: linear-gradient(135deg, #0f172a, #004d80);
}

.doctor-social {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 10px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  transition: bottom 0.3s ease;
}

.doctor-social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  transition: all 0.3s ease;
  text-decoration: none;
}
.doctor-social-link svg {
  width: 16px;
  height: 16px;
  stroke: #333;
  transition: all 0.3s ease;
}
.doctor-social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433, #d62976);
}
.doctor-social-link.instagram:hover svg {
  stroke: #ffffff;
}
.doctor-social-link.telegram:hover {
  background: #0088cc;
}
.doctor-social-link.telegram:hover svg {
  stroke: #ffffff;
}
.doctor-social-link.whatsapp:hover {
  background: #25D366;
}
.doctor-social-link.whatsapp:hover svg {
  stroke: #ffffff;
}

.doctor-info {
  padding: 20px;
  text-align: center;
}

.doctor-name {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 8px 0;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .doctor-name {
    font-size: 16px;
  }
}

.doctor-position {
  font-size: 14px;
  color: #0f172a;
  font-weight: 500;
  margin: 0 0 5px 0;
}
@media (max-width: 768px) {
  .doctor-position {
    font-size: 13px;
  }
}

.doctor-experience {
  font-size: 13px;
  color: #666;
  margin: 0 0 12px 0;
}
@media (max-width: 768px) {
  .doctor-experience {
    font-size: 12px;
  }
}

.doctor-qualification {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.qualification-badge {
  display: inline-block;
  padding: 4px 10px;
  background: #e8f4fd;
  color: #0f172a;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
}
@media (max-width: 768px) {
  .qualification-badge {
    font-size: 10px;
    padding: 3px 8px;
  }
}

.doctor-card-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 15px;
}

.btn-detail {
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  background: transparent;
  border: 1px solid #0f172a;
  color: #0f172a;
}
.btn-detail:hover {
  background: #0f172a;
  color: #ffffff;
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .btn-detail {
    padding: 6px 16px;
    font-size: 12px;
  }
}

.btn-appointment {
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  background: #0f172a;
  border: none;
  color: #ffffff;
}
.btn-appointment:hover {
  background: #004d80;
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .btn-appointment {
    padding: 6px 16px;
    font-size: 12px;
  }
}

.doctors-btn-wrapper {
  text-align: center;
  margin-top: 50px;
}

.doctors-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 32px;
  background: #0f172a;
  color: #ffffff;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}
.doctors-btn span {
  font-size: 16px;
}
.doctors-btn svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  transition: transform 0.3s ease;
}
.doctors-btn:hover {
  background: #004d80;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 179, 0.3);
}
.doctors-btn:hover svg {
  transform: translateX(4px);
}
@media (max-width: 768px) {
  .doctors-btn {
    padding: 10px 24px;
  }
  .doctors-btn span {
    font-size: 14px;
  }
  .doctors-btn svg {
    width: 16px;
    height: 16px;
  }
}

.empty-doctors {
  text-align: center;
  padding: 60px;
  background: #ffffff;
  border-radius: 16px;
  color: #666;
}
.empty-doctors .empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.7;
}
.empty-doctors p {
  margin: 0 0 8px;
  font-size: 16px;
}
.empty-doctors small {
  font-size: 12px;
  color: #999;
}

.doctors-slider {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  scroll-snap-type: x mandatory;
  padding: 20px 0;
  scrollbar-width: thin;
}
.doctors-slider::-webkit-scrollbar {
  height: 6px;
}
.doctors-slider::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}
.doctors-slider::-webkit-scrollbar-thumb {
  background: #0f172a;
  border-radius: 10px;
}
.doctors-slider .doctor-card-index {
  flex: 0 0 320px;
  scroll-snap-align: start;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.doctor-card-index {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}
.doctor-card-index:nth-child(1) {
  animation-delay: 0.05s;
}
.doctor-card-index:nth-child(2) {
  animation-delay: 0.1s;
}
.doctor-card-index:nth-child(3) {
  animation-delay: 0.15s;
}
.doctor-card-index:nth-child(4) {
  animation-delay: 0.2s;
}
.doctor-card-index:nth-child(5) {
  animation-delay: 0.25s;
}
.doctor-card-index:nth-child(6) {
  animation-delay: 0.3s;
}
.doctor-card-index:nth-child(7) {
  animation-delay: 0.35s;
}
.doctor-card-index:nth-child(8) {
  animation-delay: 0.4s;
}
.doctor-card-index:nth-child(9) {
  animation-delay: 0.45s;
}
.doctor-card-index:nth-child(10) {
  animation-delay: 0.5s;
}
.doctor-card-index:nth-child(11) {
  animation-delay: 0.55s;
}
.doctor-card-index:nth-child(12) {
  animation-delay: 0.6s;
}

@keyframes maFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes maPhoneFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes maPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
.ma-animate-fade-up {
  animation: maFadeInUp 0.5s ease-out forwards;
}
.ma-animate-phone {
  animation: maPhoneFloat 3s ease-in-out infinite;
}
.ma-animate-pulse:hover {
  animation: maPulse 0.3s ease-in-out;
}

.mobile-app-feature {
  opacity: 0;
  animation: maFadeInUp 0.5s ease-out forwards;
}
.mobile-app-feature:nth-child(1) {
  animation-delay: 0.1s;
}
.mobile-app-feature:nth-child(2) {
  animation-delay: 0.2s;
}
.mobile-app-feature:nth-child(3) {
  animation-delay: 0.3s;
}
.mobile-app-feature:nth-child(4) {
  animation-delay: 0.4s;
}

.ma-theme-light {
  --ma-bg: #ffffff;
  --ma-text: #1f2937;
  --ma-text-secondary: #6b7280;
  --ma-card-bg: #ffffff;
  --ma-btn-bg: #f3f4f6;
}

.ma-theme-dark {
  --ma-bg: #1f2937;
  --ma-text: #ffffff;
  --ma-text-secondary: #9ca3af;
  --ma-card-bg: rgba(255, 255, 255, 0.05);
  --ma-btn-bg: rgba(255, 255, 255, 0.1);
}

@media (prefers-color-scheme: dark) {
  .ma-auto-theme {
    --ma-bg: #1f2937;
    --ma-text: #ffffff;
    --ma-text-secondary: #9ca3af;
    --ma-card-bg: rgba(255, 255, 255, 0.05);
    --ma-btn-bg: rgba(255, 255, 255, 0.1);
  }
}
.mobile-app-section {
  padding: 80px 0;
}
@media (max-width: 992px) {
  .mobile-app-section {
    padding: 50px 0;
  }
}
.mobile-app-section {
  background: #ffffff;
  background: var(--ma-bg);
  color: var(--ma-text);
}

.mobile-app-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.mobile-app-content {
  display: flex;
  align-items: center;
  gap: 80px;
}
@media (max-width: 1200px) {
  .mobile-app-content {
    flex-direction: column;
    gap: 50px;
  }
}

.mobile-app-left {
  flex: 1;
}

.mobile-app-title {
  font-size: 48px;
}
@media (max-width: 1200px) {
  .mobile-app-title {
    font-size: 42px;
  }
}
@media (max-width: 992px) {
  .mobile-app-title {
    font-size: 36px;
  }
}
@media (max-width: 768px) {
  .mobile-app-title {
    font-size: 28px;
  }
}
.mobile-app-title {
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 20px;
  line-height: 1.2;
}

.mobile-app-badge {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: #0E2948;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.mobile-app-description {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 40px;
}

.mobile-app-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
@media (max-width: 992px) {
  .mobile-app-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.mobile-app-features {
  margin-bottom: 45px;
}

.mobile-app-feature {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.feature-icon {
  width: 55px;
  height: 55px;
  background: rgba(14, 41, 72, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg {
  width: 30px;
  height: 30px;
  stroke: #0E2948;
}

.mobile-app-feature h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 6px;
}

.mobile-app-feature p {
  font-size: 14px;
  color: #6b7280;
}

.mobile-app-buttons {
  display: flex;
  gap: 20px;
}
@media (max-width: 992px) {
  .mobile-app-buttons {
    justify-content: center;
  }
}

.app-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: #f3f4f6;
  border-radius: 16px;
  text-decoration: none;
  transition: 0.3s ease;
}
.app-btn svg {
  width: 36px;
  height: 36px;
  stroke: #1f2937;
  transition: 0.3s ease;
}
.app-btn:hover {
  background: #0E2948;
  transform: translateY(-3px);
}
.app-btn:hover svg {
  stroke: #ffffff;
}
.app-btn:hover .app-btn-text span,
.app-btn:hover .app-btn-text strong {
  color: #ffffff;
}

.app-btn-text {
  display: flex;
  flex-direction: column;
}
.app-btn-text span {
  font-size: 12px;
  color: #6b7280;
  transition: 0.3s ease;
}
.app-btn-text strong {
  font-size: 18px;
  color: #1f2937;
  font-weight: 700;
  transition: 0.3s ease;
}

.mobile-app-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  order: -1;
}
@media (max-width: 992px) {
  .mobile-app-right .phone-mockup {
    width: 280px;
  }
  .mobile-app-right .phone-screen {
    height: 560px;
  }
}

.mobile-app-phone {
  position: relative;
}

.phone-mockup {
  width: 350px;
  background: #1f2937;
  border-radius: 50px;
  padding: 15px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
@media (max-width: 1200px) {
  .phone-mockup {
    width: 320px;
  }
}
@media (max-width: 992px) {
  .phone-mockup {
    width: 280px;
  }
}

.phone-screen {
  background: #ffffff;
  border-radius: 38px;
  overflow: hidden;
  height: 680px;
  display: flex;
  flex-direction: column;
}
@media (max-width: 1200px) {
  .phone-screen {
    height: 640px;
  }
}
@media (max-width: 992px) {
  .phone-screen {
    height: 560px;
  }
}

.phone-status-bar {
  padding: 16px 24px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  border-bottom: 1px solid #e5e7eb;
}

.phone-app-content {
  flex: 1;
  padding: 24px;
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.phone-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  border-radius: 50%;
}
@media (max-width: 992px) {
  .phone-avatar {
    width: 50px;
    height: 50px;
  }
}

.phone-welcome {
  display: flex;
  flex-direction: column;
}
.phone-welcome span {
  font-size: 13px;
  color: #6b7280;
}
.phone-welcome strong {
  font-size: 18px;
  color: #1f2937;
}

.phone-appointment-label {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.phone-appointment-card {
  background: #f0fdf4;
  padding: 16px;
  border-radius: 16px;
  margin-bottom: 30px;
}

.appointment-date {
  font-size: 16px;
  font-weight: 600;
  color: #166534;
  margin-bottom: 6px;
}

.appointment-doctor {
  font-size: 14px;
  color: #15803d;
}

.phone-stats {
  display: flex;
  gap: 20px;
}

.phone-stat {
  flex: 1;
  background: #f3f4f6;
  padding: 16px;
  border-radius: 16px;
  text-align: center;
}
.phone-stat span {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #0E2948;
}
@media (max-width: 992px) {
  .phone-stat span {
    font-size: 24px;
  }
}
.phone-stat label {
  font-size: 13px;
  color: #6b7280;
}

.phone-bottom-bar {
  padding: 16px;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: center;
  gap: 40px;
}
.phone-bottom-bar::before, .phone-bottom-bar::after {
  content: "";
  width: 40px;
  height: 5px;
  background: #cbd5e1;
  border-radius: 5px;
}

@keyframes depFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes depBadgePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
.dep-animate-fade-up {
  animation: depFadeInUp 0.5s ease-out forwards;
}
.dep-animate-badge:hover {
  animation: depBadgePulse 0.3s ease-in-out;
}

.department-card {
  opacity: 0;
  animation: depFadeInUp 0.5s ease-out forwards;
}
.department-card:nth-child(1) {
  animation-delay: 0.1s;
}
.department-card:nth-child(2) {
  animation-delay: 0.2s;
}
.department-card:nth-child(3) {
  animation-delay: 0.3s;
}
.department-card:nth-child(4) {
  animation-delay: 0.4s;
}
.department-card:nth-child(5) {
  animation-delay: 0.5s;
}

.dep-theme-light {
  --dep-bg: #ffffff;
  --dep-text: #1f2937;
  --dep-text-secondary: #6b7280;
  --dep-card-bg: #ffffff;
  --dep-border: #e5e7eb;
  --dep-btn-bg: #f3f4f6;
}

.dep-theme-dark {
  --dep-bg: #1f2937;
  --dep-text: #ffffff;
  --dep-text-secondary: #9ca3af;
  --dep-card-bg: rgba(255, 255, 255, 0.05);
  --dep-border: rgba(255, 255, 255, 0.1);
  --dep-btn-bg: rgba(255, 255, 255, 0.1);
}

@media (prefers-color-scheme: dark) {
  .dep-auto-theme {
    --dep-bg: #1f2937;
    --dep-text: #ffffff;
    --dep-text-secondary: #9ca3af;
    --dep-card-bg: rgba(255, 255, 255, 0.05);
    --dep-border: rgba(255, 255, 255, 0.1);
    --dep-btn-bg: rgba(255, 255, 255, 0.1);
  }
}
.dept-doctors-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
@media (max-width: 767px) {
  .dept-doctors-section {
    padding: 40px 0;
  }
}
.dept-doctors-section__title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 15px;
  text-align: center;
  position: relative;
}
@media (max-width: 767px) {
  .dept-doctors-section__title {
    font-size: 26px;
  }
}
.dept-doctors-section__title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #0E2948, #004d80);
  margin: 15px auto 0;
  border-radius: 2px;
}

.dept-doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .dept-doctors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}
@media (max-width: 767px) {
  .dept-doctors-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.dept-doctor-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
}
.dept-doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}
.dept-doctor-card:hover .dept-doctor-card__image img {
  transform: scale(1.08);
}
.dept-doctor-card:hover .dept-doctor-card__social {
  transform: translateY(0);
}
.dept-doctor-card__image {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(135deg, #0E2948, #004d80);
}
@media (max-width: 767px) {
  .dept-doctor-card__image {
    height: 280px;
  }
}
.dept-doctor-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}
.dept-doctor-card__badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #0E2948, #004d80);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(4px);
}
.dept-doctor-card__social {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  padding: 20px 15px 15px;
  display: flex;
  justify-content: center;
  gap: 12px;
  transform: translateY(100%);
  transition: all 0.3s ease;
  z-index: 2;
}
.dept-doctor-card__social .dept-social-link {
  width: 36px;
  height: 36px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}
.dept-doctor-card__social .dept-social-link svg {
  width: 18px;
  height: 18px;
  stroke: #666;
  transition: all 0.3s ease;
}
.dept-doctor-card__social .dept-social-link:hover {
  transform: translateY(-3px);
}
.dept-doctor-card__social .dept-social-link.dept-telegram:hover {
  background: #0088cc;
}
.dept-doctor-card__social .dept-social-link.dept-telegram:hover svg {
  stroke: #ffffff;
}
.dept-doctor-card__social .dept-social-link.dept-instagram:hover {
  background: linear-gradient(45deg, #f09433, #d62976);
}
.dept-doctor-card__social .dept-social-link.dept-instagram:hover svg {
  stroke: #ffffff;
}
.dept-doctor-card__social .dept-social-link.dept-whatsapp:hover {
  background: #25D366;
}
.dept-doctor-card__social .dept-social-link.dept-whatsapp:hover svg {
  stroke: #ffffff;
}
.dept-doctor-card__info {
  padding: 20px;
  text-align: center;
}
@media (max-width: 767px) {
  .dept-doctor-card__info {
    padding: 16px;
  }
}
.dept-doctor-card__name {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
  line-height: 1.3;
}
@media (max-width: 767px) {
  .dept-doctor-card__name {
    font-size: 18px;
  }
}
.dept-doctor-card__position {
  font-size: 14px;
  color: #0E2948;
  font-weight: 500;
  margin-bottom: 8px;
}
.dept-doctor-card__specialization {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.4;
}
.dept-doctor-card__experience {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0f7ff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  color: #0E2948;
  margin-bottom: 15px;
}
.dept-doctor-card__experience svg {
  width: 14px;
  height: 14px;
  stroke: #0E2948;
}
.dept-doctor-card__qualification {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.dept-doctor-card__qualification .dept-qualification-badge {
  display: inline-block;
  padding: 4px 10px;
  background: #e8f4fd;
  color: #0E2948;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
}
.dept-doctor-card__qualification .dept-qualification-badge.dept-expert {
  background: #fef3c7;
  color: #d97706;
}
.dept-doctor-card__qualification .dept-qualification-badge.dept-honored {
  background: #fef2f2;
  color: #dc2626;
}
.dept-doctor-card__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 5px;
}
@media (max-width: 767px) {
  .dept-doctor-card__actions {
    flex-direction: column;
  }
}
.dept-doctor-card__actions .dept-btn-detail,
.dept-doctor-card__actions .dept-btn-appointment {
  padding: 10px 20px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
@media (max-width: 767px) {
  .dept-doctor-card__actions .dept-btn-detail,
  .dept-doctor-card__actions .dept-btn-appointment {
    width: 100%;
  }
}
.dept-doctor-card__actions .dept-btn-detail {
  background: transparent;
  border: 2px solid #0E2948;
  color: #0E2948;
}
.dept-doctor-card__actions .dept-btn-detail:hover {
  background: #0E2948;
  color: #ffffff;
  transform: translateY(-2px);
}
.dept-doctor-card__actions .dept-btn-appointment {
  background: linear-gradient(135deg, #0E2948, #004d80);
  border: none;
  color: #ffffff;
}
.dept-doctor-card__actions .dept-btn-appointment:hover {
  background: linear-gradient(135deg, #004d80, #003366);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 102, 179, 0.3);
}

.dept-empty-doctors {
  text-align: center;
  padding: 80px 20px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.dept-empty-doctors .dept-empty-icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.7;
}
.dept-empty-doctors p {
  font-size: 18px;
  color: #666;
  margin-bottom: 10px;
}
@media (max-width: 767px) {
  .dept-empty-doctors p {
    font-size: 16px;
  }
}
.dept-empty-doctors small {
  font-size: 14px;
  color: #999;
}

.dept-doctor-card {
  animation: deptFadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}
.dept-doctor-card:nth-child(1) {
  animation-delay: 0.05s;
}
.dept-doctor-card:nth-child(2) {
  animation-delay: 0.1s;
}
.dept-doctor-card:nth-child(3) {
  animation-delay: 0.15s;
}
.dept-doctor-card:nth-child(4) {
  animation-delay: 0.2s;
}
.dept-doctor-card:nth-child(5) {
  animation-delay: 0.25s;
}
.dept-doctor-card:nth-child(6) {
  animation-delay: 0.3s;
}
.dept-doctor-card:nth-child(7) {
  animation-delay: 0.35s;
}
.dept-doctor-card:nth-child(8) {
  animation-delay: 0.4s;
}
.dept-doctor-card:nth-child(9) {
  animation-delay: 0.45s;
}
.dept-doctor-card:nth-child(10) {
  animation-delay: 0.5s;
}
.dept-doctor-card:nth-child(11) {
  animation-delay: 0.55s;
}
.dept-doctor-card:nth-child(12) {
  animation-delay: 0.6s;
}

@keyframes deptFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.departments-section {
  padding: 80px 0;
}
@media (max-width: 768px) {
  .departments-section {
    padding: 50px 0;
  }
}
.departments-section {
  background: #f8fafc;
  background: var(--dep-bg);
  color: var(--dep-text);
}

.departments-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.departments-header {
  text-align: center;
  margin-bottom: 50px;
}

.departments-title {
  font-size: 36px;
}
@media (max-width: 992px) {
  .departments-title {
    font-size: 30px;
  }
}
@media (max-width: 768px) {
  .departments-title {
    font-size: 24px;
  }
}
.departments-title {
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 20px;
}

.departments-description {
  font-size: 14px;
  color: #6b7280;
  max-width: 90%;
  margin: 0 auto;
  line-height: 1.6;
}

.departments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 992px) {
  .departments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .departments-grid {
    grid-template-columns: 1fr;
  }
}

.department-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}
.department-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.department-card {
  background: var(--dep-card-bg);
}

.department-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.department-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.department-image:hover img {
  transform: scale(1.1);
}

.department-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 5px 12px;
  background: #0E2948;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
}

.department-info {
  padding: 20px;
}

.department-name {
  font-size: 20px;
}
@media (max-width: 768px) {
  .department-name {
    font-size: 18px;
  }
}
.department-name {
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
}

.department-desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 16px;
}

.department-contact {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}
.department-contact .department-phone,
.department-contact .department-location {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
}
.department-contact .department-phone svg,
.department-contact .department-location svg {
  width: 16px;
  height: 16px;
  stroke: #0E2948;
  flex-shrink: 0;
}
.department-contact {
  border-color: var(--dep-border);
}

.department-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.department-stats .stat {
  text-align: center;
  flex: 1;
}
.department-stats .stat-number {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #0E2948;
}
.department-stats .stat-label {
  font-size: 11px;
  color: #6b7280;
}

.department-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 20px;
  background: #f3f4f6;
  color: #0E2948;
  text-decoration: none;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s ease;
  border: 1px solid #0E2948;
}
.department-btn svg {
  width: 16px;
  height: 16px;
  stroke: #0E2948;
  transition: transform 0.3s ease;
}
.department-btn:hover {
  background: #0E2948;
  color: #ffffff;
  border-color: #0E2948;
}
.department-btn:hover svg {
  stroke: #ffffff;
  transform: translateX(3px);
}
.department-btn {
  background: var(--dep-btn-bg);
  border: 1px solid #0E2948;
  background: transparent;
  width: calc(100% - 0px);
  box-sizing: border-box;
  display: flex;
  margin: 0;
}
.department-btn:hover {
  background: #0E2948;
  color: #ffffff;
  border-color: #0E2948;
}

.blog {
  padding: 80px 0;
  background: #f3f4f6;
}
@media (max-width: 768px) {
  .blog {
    padding: 50px 0;
  }
}
.blog__header {
  text-align: center;
  margin-bottom: 50px;
}
@media (max-width: 768px) {
  .blog__header {
    margin-bottom: 40px;
  }
}
.blog__title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .blog__title {
    font-size: 32px;
  }
}
.blog__subtitle {
  font-size: 18px;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .blog__subtitle {
    font-size: 16px;
  }
}

.search-info {
  background: #1a3a5c;
  border-radius: 16px;
  padding: 16px 32px;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.search-info p {
  margin: 0;
  color: #1f2937;
}
.search-info p strong {
  color: #0E2948;
}
.search-info .search-clear {
  color: #6b7280;
  text-decoration: none;
  font-size: 13px;
  transition: 0.2s ease;
}
.search-info .search-clear:hover {
  color: #ef4444;
}

.blog__empty {
  text-align: center;
  padding: 80px;
  background: #ffffff;
  border-radius: 20px;
}
.blog__empty-icon {
  font-size: 64px;
  margin-bottom: 32px;
  opacity: 0.5;
}
.blog__empty h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #1f2937;
}
.blog__empty p {
  color: #6b7280;
}

.blog__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  min-height: 400px;
}
@media (max-width: 992px) {
  .blog__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .blog__cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.blog__card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  animation: newsFadeInUp 0.6s ease forwards;
}
.blog__card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}
.blog__card:hover .blog__card-image img {
  transform: scale(1.05);
}
.blog__card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}
.blog__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog__card-category {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 1;
}
.blog__card-category a {
  display: inline-block;
  padding: 4px 16px;
  background: rgba(14, 41, 72, 0.95);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  border-radius: 9999px;
  text-decoration: none;
  transition: 0.2s ease;
}
.blog__card-category a:hover {
  background: #09203a;
  transform: translateY(-2px);
}
.blog__card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog__card-meta {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.blog__card-date, .blog__card-views {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6b7280;
}
.blog__card-date svg, .blog__card-views svg {
  width: 14px;
  height: 14px;
}
.blog__card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
}
.blog__card-title a {
  color: #1f2937;
  text-decoration: none;
  transition: 0.2s ease;
}
.blog__card-title a:hover {
  color: #0E2948;
}
.blog__card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
  margin-bottom: 24px;
  flex: 1;
}
.blog__card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0E2948;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: 0.2s ease;
  margin-top: auto;
}
.blog__card-link svg {
  transition: transform 0.2s;
}
.blog__card-link:hover {
  gap: 12px;
}
.blog__card-link:hover svg {
  transform: translateX(4px);
}

.sidebar__widget {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 48px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.sidebar__widget:last-child {
  margin-bottom: 0;
}

.sidebar__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #1a3a5c;
  color: #1f2937;
  position: relative;
}
.sidebar__title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(135deg, #0E2948 0%, #8b5cf6 100%);
}

.sidebar__search {
  display: flex;
  gap: 16px;
}
.sidebar__search-input {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  font-size: 14px;
  transition: 0.2s ease;
}
.sidebar__search-input:focus {
  outline: none;
  border-color: #0E2948;
  box-shadow: 0 0 0 3px rgba(14, 41, 72, 0.1);
}
.sidebar__search-btn {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}
.sidebar__search-btn:hover {
  transform: scale(1.02);
}
.sidebar__search-btn svg {
  width: 20px;
  height: 20px;
  stroke: #ffffff;
}

.sidebar__categories {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar__categories li {
  margin-bottom: 16px;
}
.sidebar__categories li:last-child {
  margin-bottom: 0;
}
.sidebar__categories li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  color: #6b7280;
  text-decoration: none;
  transition: 0.2s ease;
}
.sidebar__categories li a:hover {
  color: #0E2948;
  transform: translateX(4px);
}
.sidebar__categories li a:hover .count {
  background: #0E2948;
  color: #ffffff;
}
.sidebar__categories li a .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  background: #f3f4f6;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  transition: 0.2s ease;
}

.sidebar__recent {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar__recent li {
  margin-bottom: 20px;
}
.sidebar__recent li:last-child {
  margin-bottom: 0;
}
.sidebar__recent li a {
  display: flex;
  gap: 16px;
  text-decoration: none;
  transition: 0.2s ease;
}
.sidebar__recent li a:hover .recent__info h4 {
  color: #0E2948;
}
.sidebar__recent .recent__image {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}
.sidebar__recent .recent__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sidebar__recent .recent__image-placeholder {
  width: 100%;
  height: 100%;
  background: #1a3a5c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.sidebar__recent .recent__info {
  flex: 1;
}
.sidebar__recent .recent__info h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
  color: #1f2937;
  transition: 0.2s ease;
}
.sidebar__recent .recent__info span {
  font-size: 11px;
  color: #6b7280;
}

.sidebar__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sidebar__tags a {
  display: inline-block;
  padding: 6px 16px;
  background: #f3f4f6;
  border-radius: 9999px;
  font-size: 12px;
  color: #6b7280;
  text-decoration: none;
  transition: 0.2s ease;
}
.sidebar__tags a:hover {
  background: linear-gradient(135deg, #0E2948 0%, #8b5cf6 100%);
  color: #ffffff;
  transform: translateY(-2px);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
}
@media (max-width: 768px) {
  .pagination {
    gap: 12px;
  }
}
.pagination__prev, .pagination__next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  background: #ffffff;
  border-radius: 16px;
  color: #6b7280;
  text-decoration: none;
  transition: 0.2s ease;
}
.pagination__prev:hover, .pagination__next:hover {
  background: #0E2948;
  color: #ffffff;
}
.pagination__prev:hover svg, .pagination__next:hover svg {
  stroke: #ffffff;
}
.pagination__prev svg, .pagination__next svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}
@media (max-width: 768px) {
  .pagination__prev, .pagination__next {
    padding: 8px 16px;
  }
}
.pagination__numbers {
  display: flex;
  gap: 8px;
}
@media (max-width: 768px) {
  .pagination__numbers {
    gap: 4px;
  }
}
.pagination__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: 16px;
  color: #6b7280;
  text-decoration: none;
  transition: 0.2s ease;
}
.pagination__number:hover {
  background: #1a3a5c;
  color: #0E2948;
}
.pagination__number.active {
  background: linear-gradient(135deg, #0E2948 0%, #8b5cf6 100%);
  color: #ffffff;
}
@media (max-width: 768px) {
  .pagination__number {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}

.news-detail {
  padding: 60px 0;
  background: #ffffff;
}
@media (max-width: 768px) {
  .news-detail {
    padding: 40px 0;
  }
}
.news-detail__wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}
@media (max-width: 992px) {
  .news-detail__wrapper {
    grid-template-columns: 1fr;
  }
}
.news-detail__content {
  min-width: 0;
}
.news-detail__header {
  margin-bottom: 30px;
}
.news-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.news-detail__date, .news-detail__category, .news-detail__views {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6b7280;
}
.news-detail__date svg, .news-detail__category svg, .news-detail__views svg {
  width: 16px;
  height: 16px;
}
.news-detail__date a, .news-detail__category a, .news-detail__views a {
  color: #0E2948;
  text-decoration: none;
}
.news-detail__date a:hover, .news-detail__category a:hover, .news-detail__views a:hover {
  text-decoration: underline;
}
.news-detail__title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.3;
  color: #1f2937;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .news-detail__title {
    font-size: 28px;
  }
}
.news-detail__image {
  margin-bottom: 30px;
  border-radius: 20px;
  overflow: hidden;
}
.news-detail__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.news-detail__body {
  font-size: 16px;
  line-height: 1.8;
  color: #374151;
}
.news-detail__body h1, .news-detail__body h2, .news-detail__body h3 {
  margin: 32px 0 16px;
  color: #1f2937;
}
.news-detail__body h1 {
  font-size: 28px;
}
.news-detail__body h2 {
  font-size: 24px;
}
.news-detail__body h3 {
  font-size: 20px;
}
.news-detail__body p {
  margin-bottom: 20px;
}
.news-detail__body img {
  max-width: 100%;
  border-radius: 12px;
  margin: 20px 0;
}
.news-detail__body blockquote {
  margin: 32px 0;
  padding: 24px 32px;
  background: #f3f4f6;
  border-left: 4px solid #0E2948;
  border-radius: 12px;
  font-style: italic;
}
.news-detail__body ul, .news-detail__body ol {
  margin: 20px 0;
  padding-left: 25px;
}
.news-detail__body ul li, .news-detail__body ol li {
  margin-bottom: 8px;
}
.news-detail__tags {
  margin: 40px 0;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.news-detail__tags h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: #1f2937;
}
.news-detail__tags .tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.news-detail__tags .tag {
  display: inline-block;
  padding: 6px 14px;
  background: #f3f4f6;
  border-radius: 30px;
  font-size: 12px;
  color: #6b7280;
  text-decoration: none;
  transition: 0.2s ease;
}
.news-detail__tags .tag:hover {
  background: linear-gradient(135deg, #0E2948 0%, #8b5cf6 100%);
  color: #ffffff;
  transform: translateY(-2px);
}
.news-detail__share {
  margin: 40px 0;
  padding: 20px;
  background: #f3f4f6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.news-detail__share h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: #1f2937;
}
.news-detail__share .share-buttons {
  display: flex;
  gap: 12px;
}
.news-detail__share .share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
  text-decoration: none;
}
.news-detail__share .share-btn.facebook {
  background: #1877F2;
}
.news-detail__share .share-btn.telegram {
  background: #26A5E4;
}
.news-detail__share .share-btn.twitter {
  background: #1DA1F2;
}
.news-detail__share .share-btn.whatsapp {
  background: #25D366;
}
.news-detail__share .share-btn:hover {
  transform: scale(1.1);
}
.news-detail__share .share-btn svg {
  width: 20px;
  height: 20px;
}
.news-detail__navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}
.news-detail__navigation .nav-prev, .news-detail__navigation .nav-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  color: #6b7280;
  text-decoration: none;
  transition: 0.3s ease;
}
.news-detail__navigation .nav-prev:hover, .news-detail__navigation .nav-next:hover {
  background: #0E2948;
  color: #ffffff;
  border-color: #0E2948;
}
.news-detail__navigation .nav-prev:hover svg, .news-detail__navigation .nav-next:hover svg {
  stroke: #ffffff;
}
.news-detail__navigation .nav-prev svg, .news-detail__navigation .nav-next svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.blog__wrapper {
  display: flex;
  gap: 48px;
}
@media (max-width: 992px) {
  .blog__wrapper {
    flex-direction: column;
  }
}

.blog__content {
  flex: 1;
  min-width: 0;
}

.blog__sidebar {
  width: 320px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
  height: fit-content;
}
@media (max-width: 992px) {
  .blog__sidebar {
    width: 100%;
    position: static;
  }
}

.blog__cards {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px !important;
  width: 100% !important;
  min-height: 400px;
}

.blog__card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  opacity: 1 !important;
  visibility: visible !important;
}

img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 992px) {
  .blog__wrapper {
    flex-direction: column;
  }
  .blog__cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog__sidebar {
    width: 100%;
    position: static;
  }
}
@media (max-width: 768px) {
  .blog__cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sidebar__widget {
    padding: 24px;
  }
  .sidebar__search {
    flex-direction: column;
  }
  .sidebar__search-btn {
    width: 100%;
  }
}
@keyframes newsFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes newsFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.blog__content {
  animation: newsFadeIn 0.5s ease;
}

@keyframes actFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes actIconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
@keyframes actRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.act-animate-fade-up {
  animation: actFadeInUp 0.5s ease-out forwards;
}
.act-animate-icon:hover {
  animation: actIconPulse 0.3s ease-in-out;
}
.act-animate-rotate:hover {
  animation: actRotate 0.5s ease-in-out;
}

.activity-card {
  opacity: 0;
  animation: actFadeInUp 0.5s ease-out forwards;
}
.activity-card:nth-child(1) {
  animation-delay: 0.1s;
}
.activity-card:nth-child(2) {
  animation-delay: 0.2s;
}
.activity-card:nth-child(3) {
  animation-delay: 0.3s;
}
.activity-card:nth-child(4) {
  animation-delay: 0.4s;
}

.act-theme-light {
  --act-bg: #ffffff;
  --act-text: #1f2937;
  --act-text-secondary: #6b7280;
  --act-card-bg: #f8fafc;
  --act-border: #e5e7eb;
}

.act-theme-dark {
  --act-bg: #1f2937;
  --act-text: #ffffff;
  --act-text-secondary: #9ca3af;
  --act-card-bg: rgba(255, 255, 255, 0.05);
  --act-border: rgba(255, 255, 255, 0.1);
}

@media (prefers-color-scheme: dark) {
  .act-auto-theme {
    --act-bg: #1f2937;
    --act-text: #ffffff;
    --act-text-secondary: #9ca3af;
    --act-card-bg: rgba(255, 255, 255, 0.05);
    --act-border: rgba(255, 255, 255, 0.1);
  }
}
.activities-section {
  padding: 80px 0;
}
@media (max-width: 1200px) {
  .activities-section {
    padding: 60px 0;
  }
}
@media (max-width: 992px) {
  .activities-section {
    padding: 50px 0;
  }
}
.activities-section {
  background: #ffffff;
  background: var(--act-bg);
  color: var(--act-text);
}

.activities-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.activities-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.activities-title {
  font-size: 36px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 20px;
  line-height: 1.2;
}
@media (max-width: 1200px) {
  .activities-title {
    font-size: 30px;
  }
}
@media (max-width: 992px) {
  .activities-title {
    font-size: 28px;
  }
}
@media (max-width: 768px) {
  .activities-title {
    font-size: 24px;
  }
}

.activities-description {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.6;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
@media (max-width: 1200px) {
  .activities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}
@media (max-width: 992px) {
  .activities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.activity-card {
  background: #f8fafc;
  border-radius: 20px;
  padding: 30px 25px;
  text-align: center;
  transition: 0.3s ease;
  border: 1px solid #e5e7eb;
}
.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
  border-color: #0E2948;
}
@media (max-width: 992px) {
  .activity-card {
    padding: 25px 20px;
  }
}
.activity-card {
  background: var(--act-card-bg);
  border-color: var(--act-border);
}

.activity-icon {
  width: 70px;
  height: 70px;
  background: rgba(14, 41, 72, 0.1);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: 0.3s ease;
}
.activity-icon svg {
  width: 36px;
  height: 36px;
  stroke: #0E2948;
  transition: 0.3s ease;
}
.activity-card:hover .activity-icon {
  background: #0E2948;
}
.activity-card:hover .activity-icon svg {
  stroke: #ffffff;
}
@media (max-width: 1200px) {
  .activity-icon {
    width: 65px;
    height: 65px;
  }
  .activity-icon svg {
    width: 32px;
    height: 32px;
  }
}
@media (max-width: 992px) {
  .activity-icon {
    width: 60px;
    height: 60px;
  }
  .activity-icon svg {
    width: 28px;
    height: 28px;
  }
}

.activity-title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
  line-height: 1.4;
}
@media (max-width: 992px) {
  .activity-title {
    font-size: 16px;
  }
}

.activity-desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}
@media (max-width: 992px) {
  .activity-desc {
    font-size: 13px;
  }
}

@keyframes galFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.gal-animate-fade-up {
  animation: galFadeInUp 0.5s ease-out forwards;
}

.gallery-item {
  opacity: 0;
  animation: galFadeInUp 0.5s ease-out forwards;
}
.gallery-item:nth-child(1) {
  animation-delay: 0.05s;
}
.gallery-item:nth-child(2) {
  animation-delay: 0.1s;
}
.gallery-item:nth-child(3) {
  animation-delay: 0.15s;
}
.gallery-item:nth-child(4) {
  animation-delay: 0.2s;
}
.gallery-item:nth-child(5) {
  animation-delay: 0.25s;
}
.gallery-item:nth-child(6) {
  animation-delay: 0.3s;
}
.gallery-item:nth-child(7) {
  animation-delay: 0.35s;
}
.gallery-item:nth-child(8) {
  animation-delay: 0.4s;
}
.gallery-item:nth-child(9) {
  animation-delay: 0.45s;
}
.gallery-item:nth-child(10) {
  animation-delay: 0.5s;
}
.gallery-item:nth-child(11) {
  animation-delay: 0.55s;
}
.gallery-item:nth-child(12) {
  animation-delay: 0.6s;
}

.gal-theme-light {
  --gal-bg: #ffffff;
  --gal-text: #1f2937;
  --gal-text-secondary: #6b7280;
  --gal-filter-bg: #ffffff;
  --gal-filter-border: #e5e7eb;
}

.gal-theme-dark {
  --gal-bg: #1f2937;
  --gal-text: #ffffff;
  --gal-text-secondary: #9ca3af;
  --gal-filter-bg: rgba(255, 255, 255, 0.1);
  --gal-filter-border: rgba(255, 255, 255, 0.2);
}

@media (prefers-color-scheme: dark) {
  .gal-auto-theme {
    --gal-bg: #1f2937;
    --gal-text: #ffffff;
    --gal-text-secondary: #9ca3af;
    --gal-filter-bg: rgba(255, 255, 255, 0.1);
    --gal-filter-border: rgba(255, 255, 255, 0.2);
  }
}
.gallery-section {
  padding: 80px 0;
}
@media (max-width: 1200px) {
  .gallery-section {
    padding: 60px 0;
  }
}
@media (max-width: 768px) {
  .gallery-section {
    padding: 50px 0;
  }
}
.gallery-section {
  background: #f8fafc;
  background: var(--gal-bg);
  color: var(--gal-text);
}

.gallery-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-header {
  text-align: center;
  margin-bottom: 50px;
}
@media (max-width: 1200px) {
  .gallery-header {
    margin-bottom: 40px;
  }
}
@media (max-width: 768px) {
  .gallery-header {
    margin-bottom: 30px;
  }
}

.gallery-title {
  font-size: 36px;
}
@media (max-width: 1200px) {
  .gallery-title {
    font-size: 30px;
  }
}
@media (max-width: 768px) {
  .gallery-title {
    font-size: 24px;
  }
}
.gallery-title {
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 15px;
}

.gallery-subtitle {
  font-size: 16px;
  color: #6b7280;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .gallery-filters {
    gap: 8px;
  }
}

.gallery-filter {
  padding: 8px 24px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  transition: 0.3s ease;
}
.gallery-filter:hover, .gallery-filter.active {
  background: #0E2948;
  color: #ffffff;
  border-color: #0E2948;
}
@media (max-width: 768px) {
  .gallery-filter {
    padding: 6px 16px;
    font-size: 12px;
  }
}
.gallery-filter {
  background: var(--gal-filter-bg);
  border-color: var(--gal-filter-border);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}
.gallery-overlay span {
  display: block;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.gallery-empty {
  text-align: center;
  padding: 60px;
  background: #ffffff;
  border-radius: 20px;
  color: #6b7280;
}

@keyframes contactFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes contactFadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes contactFadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes contactBtnPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes contactIconBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
.contact-form-section--animate .contact-form-info {
  animation: contactFadeInLeft 0.6s ease forwards;
}
.contact-form-section--animate .contact-form-block {
  animation: contactFadeInRight 0.6s ease forwards;
}

.contact-form-detail--animate {
  animation: contactFadeIn 0.5s ease forwards;
  opacity: 0;
}
.contact-form-detail--animate:nth-child(1) {
  animation-delay: 0.15s;
}
.contact-form-detail--animate:nth-child(2) {
  animation-delay: 0.3s;
}
.contact-form-detail--animate:nth-child(3) {
  animation-delay: 0.45s;
}

.submit-btn--pulse {
  animation: contactBtnPulse 0.3s ease;
}

.detail-icon--bounce {
  animation: contactIconBounce 2s ease-in-out infinite;
}

@media (min-width: 993px) {
  .contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
  .contact-form-info {
    padding: 48px;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
  }
  .contact-form-block {
    padding: 48px;
  }
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}
@media (min-width: 769px) and (max-width: 992px) {
  .contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .contact-form-info {
    padding: 32px;
  }
  .contact-form-block {
    padding: 32px;
  }
  .contact-form-title {
    font-size: 28px;
  }
  .contact-form-subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }
  .contact-form-details {
    gap: 24px;
  }
  .contact-form-detail {
    gap: 12px;
  }
  .contact-form-detail .detail-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .contact-form-detail h4 {
    font-size: 12px;
  }
  .contact-form-detail p {
    font-size: 14px;
  }
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .submit-btn {
    padding: 12px 24px;
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  .contact-form-section {
    padding: 40px 0;
  }
  .contact-form-wrapper {
    display: block;
    border-radius: 12px;
  }
  .contact-form-info {
    padding: 24px;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  .contact-form-block {
    padding: 24px;
  }
  .contact-form-title {
    font-size: 24px;
  }
  .contact-form-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .contact-form-details {
    gap: 20px;
  }
  .form-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .form-group,
  .form-group-full {
    width: 100%;
  }
  .form-group input,
  .form-group textarea,
  .form-group-full input,
  .form-group-full textarea {
    width: 100%;
    box-sizing: border-box;
  }
  .submit-btn {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .contact-form-section {
    padding: 30px 0;
  }
  .contact-form-info,
  .contact-form-block {
    padding: 20px;
  }
  .contact-form-title {
    font-size: 22px;
  }
  .contact-form-subtitle {
    font-size: 13px;
    margin-bottom: 20px;
  }
  .contact-form-detail {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .contact-form-detail .detail-icon {
    margin-bottom: 8px;
  }
  .submit-btn {
    padding: 10px 16px;
    font-size: 13px;
  }
}
.contact-theme-light {
  --contact-bg: #f8f9fa;
  --contact-bg-light: #ffffff;
  --contact-title: #111827;
  --contact-text: #4b5563;
  --contact-text-light: #6b7280;
  --contact-border: rgba(0, 0, 0, 0.05);
  --contact-input-border: rgba(0, 0, 0, 0.1);
}

.contact-theme-dark {
  --contact-bg: #111827;
  --contact-bg-light: #4b5563;
  --contact-title: #ffffff;
  --contact-text: #f8f9fa;
  --contact-text-light: #6b7280;
  --contact-border: rgba(255, 255, 255, 0.1);
  --contact-input-border: rgba(255, 255, 255, 0.2);
}

@media (prefers-color-scheme: dark) {
  .contact-auto-theme {
    --contact-bg: #111827;
    --contact-bg-light: #4b5563;
    --contact-title: #ffffff;
    --contact-text: #f8f9fa;
    --contact-text-light: #6b7280;
    --contact-border: rgba(255, 255, 255, 0.1);
    --contact-input-border: rgba(255, 255, 255, 0.2);
  }
}
.contact-form-section {
  padding: 80px 0;
  background: #f8f9fa;
  background: var(--contact-bg);
  color: var(--contact-text);
}

.contact-form-wrapper {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--contact-bg-light);
}

.contact-form-info {
  background: #ffffff;
  height: 100%;
  background: var(--contact-bg-light);
}

.contact-form-title {
  font-size: 32px;
}
@media (max-width: 992px) {
  .contact-form-title {
    font-size: 28px;
  }
}
@media (max-width: 768px) {
  .contact-form-title {
    font-size: 24px;
  }
}
@media (max-width: 480px) {
  .contact-form-title {
    font-size: 22px;
  }
}
.contact-form-title {
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.contact-form-subtitle {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .contact-form-subtitle {
    font-size: 14px;
  }
}

.contact-form-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-form-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
@media (max-width: 480px) {
  .contact-form-detail {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
.contact-form-detail .detail-icon {
  width: 48px;
  height: 48px;
  background: #f8f9fa;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
@media (max-width: 992px) {
  .contact-form-detail .detail-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}
@media (max-width: 768px) {
  .contact-form-detail .detail-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}
.contact-form-detail h4 {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (max-width: 992px) {
  .contact-form-detail h4 {
    font-size: 12px;
  }
}
.contact-form-detail p {
  font-size: 16px;
  color: #4b5563;
  font-weight: 500;
  margin: 0;
  word-break: break-word;
}
@media (max-width: 992px) {
  .contact-form-detail p {
    font-size: 14px;
  }
}
.contact-form-detail a {
  color: #0E2948;
  text-decoration: none;
}
.contact-form-detail a:hover {
  color: #0073B0;
}

.contact-form-block {
  background: #ffffff;
  height: 100%;
  background: var(--contact-bg-light);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-width: 0;
}
.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  margin-bottom: 4px;
}
.form-group input {
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 15px;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.3s ease;
}
.form-group input:focus {
  outline: none;
  border-color: #0E2948;
  box-shadow: 0 0 0 3px rgba(14, 41, 72, 0.1);
}
@media (max-width: 768px) {
  .form-group input {
    padding: 10px 14px;
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .form-group input {
    padding: 8px 12px;
    font-size: 13px;
  }
}

.form-group-full {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-width: 0;
}
.form-group-full label {
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  margin-bottom: 4px;
}
.form-group-full input,
.form-group-full textarea {
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 15px;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.3s ease;
}
.form-group-full input:focus,
.form-group-full textarea:focus {
  outline: none;
  border-color: #0E2948;
  box-shadow: 0 0 0 3px rgba(14, 41, 72, 0.1);
}
@media (max-width: 768px) {
  .form-group-full input,
  .form-group-full textarea {
    padding: 10px 14px;
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .form-group-full input,
  .form-group-full textarea {
    padding: 8px 12px;
    font-size: 13px;
  }
}
.form-group-full textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}
@media (max-width: 768px) {
  .form-group-full textarea {
    min-height: 100px;
  }
}

.submit-btn {
  background: #0E2948;
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
}
.submit-btn:hover {
  background: #0073B0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 139, 208, 0.3);
}
@media (max-width: 768px) {
  .submit-btn {
    padding: 12px 24px;
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .submit-btn {
    padding: 10px 16px;
    font-size: 13px;
  }
}

.messages {
  margin: 16px 0;
}

.alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 12px;
}
.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid rgba(21, 87, 36, 0.2);
}
.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid rgba(114, 28, 36, 0.2);
}

.form-error {
  color: #721c24;
  font-size: 12px;
  margin-top: 4px;
}

@keyframes mapFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes mapLineExpand {
  from {
    width: 0;
  }
  to {
    width: 60px;
  }
}
.map-animate-fade-up {
  animation: mapFadeInUp 0.5s ease-out forwards;
}
.map-animate-line {
  animation: mapLineExpand 0.5s ease-out forwards;
}

.map-header-line {
  animation: mapLineExpand 0.5s ease-out forwards;
}

.map-wrapper {
  opacity: 0;
  animation: mapFadeInUp 0.5s ease-out forwards;
  animation-delay: 0.2s;
}

.map-footer {
  opacity: 0;
  animation: mapFadeInUp 0.5s ease-out forwards;
  animation-delay: 0.3s;
}

.map-section {
  padding: 60px 0;
}
@media (max-width: 992px) {
  .map-section {
    padding: 50px 0;
  }
}
@media (max-width: 768px) {
  .map-section {
    padding: 40px 0;
  }
}
.map-section {
  background: #ffffff;
}

.map-container {
  margin: 0 auto;
  padding: 0 20px;
}

.map-header {
  text-align: center;
  margin-bottom: 40px;
}

.map-title {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
}
@media (max-width: 992px) {
  .map-title {
    font-size: 26px;
  }
}
@media (max-width: 768px) {
  .map-title {
    font-size: 24px;
  }
}
@media (max-width: 576px) {
  .map-title {
    font-size: 22px;
  }
}

.map-header-line {
  width: 60px;
  height: 3px;
  background: #0E2948;
  margin: 0 auto;
  border-radius: 2px;
}

.map-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}
.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
}
@media (max-width: 992px) {
  .map-wrapper iframe {
    height: 350px;
  }
}
@media (max-width: 768px) {
  .map-wrapper iframe {
    height: 300px;
  }
}
@media (max-width: 576px) {
  .map-wrapper iframe {
    height: 250px;
  }
}

.map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border-radius: 16px;
  padding: 20px 30px;
}
@media (max-width: 768px) {
  .map-footer {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }
}

.map-footer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}
@media (max-width: 768px) {
  .map-footer-item {
    width: 100%;
  }
}
.map-footer-item span {
  font-size: 28px;
}
@media (max-width: 576px) {
  .map-footer-item span {
    font-size: 24px;
  }
}
.map-footer-item strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 4px;
}
.map-footer-item p {
  font-size: 14px;
  font-weight: 500;
  color: #1f2937;
  margin: 0;
}
@media (max-width: 768px) {
  .map-footer-item p {
    font-size: 13px;
  }
}

.map-footer-divider {
  width: 1px;
  height: 40px;
  background: #e5e7eb;
}
@media (max-width: 768px) {
  .map-footer-divider {
    width: 100%;
    height: 1px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes animate {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: 1200px;
  }
}
@keyframes animate2 {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: -1200px;
  }
}
@media (max-width: 992px) {
  @keyframes animate {
    0% {
      background-position-x: 0;
    }
    100% {
      background-position-x: 900px;
    }
  }
  @keyframes animate2 {
    0% {
      background-position-x: 0;
    }
    100% {
      background-position-x: -900px;
    }
  }
}
@media (max-width: 768px) {
  @keyframes animate {
    0% {
      background-position-x: 0;
    }
    100% {
      background-position-x: 600px;
    }
  }
  @keyframes animate2 {
    0% {
      background-position-x: 0;
    }
    100% {
      background-position-x: -600px;
    }
  }
}
.footer {
  animation: fadeInUp 0.6s ease-out;
}
.footer__social-link:active svg {
  animation: pulse 0.3s ease;
}

.wave1 {
  animation: animate 60s linear infinite;
}

.wave2 {
  animation: animate2 75s linear infinite;
}

.wave3 {
  animation: animate 90s linear infinite;
}

.wave4 {
  animation: animate2 120s linear infinite;
}

@media (max-width: 992px) {
  .wave1 {
    animation-duration: 45s;
  }
  .wave2 {
    animation-duration: 56s;
  }
  .wave3 {
    animation-duration: 68s;
  }
  .wave4 {
    animation-duration: 90s;
  }
}
@media (max-width: 768px) {
  .wave1 {
    animation-duration: 30s;
  }
  .wave2 {
    animation-duration: 38s;
  }
  .wave3 {
    animation-duration: 45s;
  }
  .wave4 {
    animation-duration: 60s;
  }
}
.footer-theme-light {
  --footer-bg: #ffffff;
  --footer-text: #0f172a;
  --footer-text-secondary: rgba(15, 23, 42, 0.7);
  --footer-text-muted: rgba(15, 23, 42, 0.5);
  --footer-border: rgba(15, 23, 42, 0.1);
  --footer-social-bg: rgba(15, 23, 42, 0.1);
}

.footer-theme-dark {
  --footer-bg: #0f172a;
  --footer-text: #ffffff;
  --footer-text-secondary: rgba(255, 255, 255, 0.7);
  --footer-text-muted: rgba(255, 255, 255, 0.5);
  --footer-border: rgba(255, 255, 255, 0.1);
  --footer-social-bg: rgba(255, 255, 255, 0.1);
}

@media (prefers-color-scheme: dark) {
  .footer-auto-theme {
    --footer-bg: #0f172a;
    --footer-text: #ffffff;
    --footer-text-secondary: rgba(255, 255, 255, 0.7);
    --footer-text-muted: rgba(255, 255, 255, 0.5);
    --footer-border: rgba(255, 255, 255, 0.1);
    --footer-social-bg: rgba(255, 255, 255, 0.1);
  }
}
.footer {
  background: #0f172a;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  margin-top: auto;
}
.footer__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 20px 180px;
  position: relative;
  z-index: 20;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
@media (max-width: 992px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}
.footer__logo {
  margin-bottom: 16px;
}
.footer__logo img {
  max-width: 180px;
  height: auto;
  transition: transform 0.3s ease;
}
.footer__logo img:hover {
  transform: scale(1.05);
}
.footer__description {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}
.footer__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}
.footer__title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: #BE1F25;
  border-radius: 2px;
  transition: width 0.3s ease;
}
@media (max-width: 768px) {
  .footer__title::after {
    left: 50%;
    transform: translateX(-50%);
  }
}
.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__list li {
  margin-bottom: 8px;
}
.footer__list a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
  display: inline-block;
}
.footer__list a:hover {
  color: #BE1F25;
  transform: translateX(5px);
}
@media (max-width: 768px) {
  .footer__list a:hover {
    transform: translateY(-2px);
  }
}
.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}
@media (max-width: 768px) {
  .footer__contact-item {
    justify-content: center;
  }
}
.footer__contact-item a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer__contact-item a:hover {
  color: #BE1F25;
}
.footer__contact-item span {
  color: rgba(255, 255, 255, 0.7);
}
.footer__icon {
  flex-shrink: 0;
  color: #BE1F25;
  width: 20px;
  height: 20px;
}
.footer__social {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}
@media (max-width: 768px) {
  .footer__social {
    justify-content: center;
  }
}
.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.3s ease;
}
.footer__social-link:hover {
  background: #BE1F25;
  color: #0f172a;
  transform: translateY(-3px);
}
.footer__social-link svg {
  transition: transform 0.2s ease;
}
.footer__social-link:hover svg {
  transform: scale(1.1);
}
.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 768px) {
  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
.footer__copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}
.footer__policy {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer__policy:hover {
  color: #BE1F25;
}

.wave {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 150px;
  background-repeat: repeat-x;
  background-size: 1200px 150px;
  pointer-events: none;
}
@media (max-width: 992px) {
  .wave {
    height: 120px;
    background-size: 900px 120px;
  }
}
@media (max-width: 768px) {
  .wave {
    height: 90px;
    background-size: 600px 90px;
  }
}

.wave1 {
  bottom: 0;
  z-index: 15;
  opacity: 0.9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 150' preserveAspectRatio='none'%3E%3Cpath d='M0,75 Q150,37.5 300,75 Q450,112.5 600,75 Q750,37.5 900,75 Q1050,112.5 1200,75 L1200,150 L0,150 Z' fill='rgba(255,255,255,0.15)'/%3E%3C/svg%3E");
  animation: animate 60s linear infinite;
  animation-delay: 0s;
}

.wave2 {
  bottom: 8px;
  z-index: 10;
  opacity: 0.7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 150' preserveAspectRatio='none'%3E%3Cpath d='M0,95 Q150,57.5 300,95 Q450,132.5 600,95 Q750,57.5 900,95 Q1050,132.5 1200,95 L1200,150 L0,150 Z' fill='rgba(255,255,255,0.2)'/%3E%3C/svg%3E");
  animation: animate2 75s linear infinite;
  animation-delay: -5s;
}

.wave3 {
  bottom: 15px;
  z-index: 5;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 150' preserveAspectRatio='none'%3E%3Cpath d='M0,55 Q150,17.5 300,55 Q450,92.5 600,55 Q750,17.5 900,55 Q1050,92.5 1200,55 L1200,150 L0,150 Z' fill='rgba(255,255,255,0.25)'/%3E%3C/svg%3E");
  animation: animate 90s linear infinite;
  animation-delay: -3s;
}

.wave4 {
  bottom: 22px;
  z-index: 1;
  opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 150' preserveAspectRatio='none'%3E%3Cpath d='M0,115 Q150,77.5 300,115 Q450,152.5 600,115 Q750,77.5 900,115 Q1050,152.5 1200,115 L1200,150 L0,150 Z' fill='rgba(255,255,255,0.3)'/%3E%3C/svg%3E");
  animation: animate2 120s linear infinite;
  animation-delay: -8s;
}

@keyframes animate {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: 1200px;
  }
}
@keyframes animate2 {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: -1200px;
  }
}
@media (max-width: 992px) {
  @keyframes animate {
    0% {
      background-position-x: 0;
    }
    100% {
      background-position-x: 900px;
    }
  }
  @keyframes animate2 {
    0% {
      background-position-x: 0;
    }
    100% {
      background-position-x: -900px;
    }
  }
}
@media (max-width: 768px) {
  @keyframes animate {
    0% {
      background-position-x: 0;
    }
    100% {
      background-position-x: 600px;
    }
  }
  @keyframes animate2 {
    0% {
      background-position-x: 0;
    }
    100% {
      background-position-x: -600px;
    }
  }
}
@keyframes aboutFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes aboutTimelineLine {
  from {
    height: 0;
  }
  to {
    height: 100%;
  }
}
@keyframes aboutTimelineDot {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.about-animate {
  animation: aboutFadeInUp 0.6s ease forwards;
}

.timeline-vertical-item {
  animation: aboutTimelineDot 0.4s ease forwards;
}

.history-timeline-vertical::before {
  animation: aboutTimelineLine 1s ease forwards;
}

.about-theme-light {
  --about-bg: #ffffff;
  --about-text: #1f2937;
  --about-text-secondary: #6b7280;
  --about-card-bg: #f8fafc;
  --about-border: #e5e7eb;
}

.about-theme-dark {
  --about-bg: #1f2937;
  --about-text: #ffffff;
  --about-text-secondary: #9ca3af;
  --about-card-bg: rgba(255, 255, 255, 0.05);
  --about-border: rgba(255, 255, 255, 0.1);
}

@media (prefers-color-scheme: dark) {
  .about-auto-theme {
    --about-bg: #1f2937;
    --about-text: #ffffff;
    --about-text-secondary: #9ca3af;
    --about-card-bg: rgba(255, 255, 255, 0.05);
    --about-border: rgba(255, 255, 255, 0.1);
  }
}
/* ========== ДЕТАЛЬНАЯ СТРАНИЦА МЕДИА ========== */
.media-detail-page {
  background: #f8fafc;
  padding: 60px 0;
}
@media (max-width: 768px) {
  .media-detail-page {
    padding: 40px 0;
  }
}
.media-detail-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Хлебные крошки */
.breadcrumbs {
  margin-bottom: 30px;
  font-size: 14px;
}
.breadcrumbs a {
  color: #0E2948;
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.breadcrumbs span {
  color: #6b7280;
  margin: 0 8px;
}
.breadcrumbs .current {
  color: #1f2937;
}

/* Основная статья */
.media-detail {
  background: #ffffff;
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .media-detail {
    padding: 25px;
  }
}

/* Бейдж типа */
.media-detail__type-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 25px;
}
.media-detail__type-badge--article {
  background: #0E2948;
}
.media-detail__type-badge--video {
  background: #dc3c32;
}
.media-detail__type-badge--interview {
  background: #4caf50;
}

/* Заголовок */
.media-detail__title {
  font-size: 40px;
  font-weight: 800;
  color: #1f2937;
  line-height: 1.3;
  margin-bottom: 20px;
}
@media (max-width: 992px) {
  .media-detail__title {
    font-size: 32px;
  }
}
@media (max-width: 768px) {
  .media-detail__title {
    font-size: 26px;
  }
}

/* Мета-информация */
.media-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid #e5e7eb;
}

.media-detail__date,
.media-detail__author,
.media-detail__source {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #6b7280;
}
.media-detail__date svg,
.media-detail__author svg,
.media-detail__source svg {
  flex-shrink: 0;
}

/* Главное изображение */
.media-detail__image {
  margin-bottom: 30px;
  border-radius: 20px;
  overflow: hidden;
}
.media-detail__image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

/* Краткое описание */
.media-detail__description {
  font-size: 18px;
  font-weight: 500;
  color: #1f2937;
  line-height: 1.6;
  margin-bottom: 30px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 16px;
  border-left: 4px solid #0E2948;
}
@media (max-width: 768px) {
  .media-detail__description {
    font-size: 16px;
    padding: 15px;
  }
}

/* Полное содержание */
.media-detail__content {
  font-size: 16px;
  color: #1f2937;
  line-height: 1.8;
  margin-bottom: 30px;
}
.media-detail__content p {
  margin-bottom: 20px;
}
.media-detail__content h2, .media-detail__content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
}
.media-detail__content ul, .media-detail__content ol {
  margin-bottom: 20px;
  padding-left: 25px;
}
.media-detail__content li {
  margin-bottom: 8px;
}

/* Внешняя ссылка */
.media-detail__external-link {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #e5e7eb;
}

.btn-external {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0E2948;
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-external:hover {
  background: #1a3a5c;
  transform: translateY(-2px);
  gap: 14px;
}

/* Похожие материалы */
.similar-media {
  margin-bottom: 40px;
}

.similar-media__title {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 30px;
}
@media (max-width: 768px) {
  .similar-media__title {
    font-size: 24px;
  }
}

.similar-media__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 992px) {
  .similar-media__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .similar-media__grid {
    grid-template-columns: 1fr;
  }
}

.similar-media__card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}
.similar-media__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: #0E2948;
}

.similar-media__image {
  height: 160px;
  overflow: hidden;
}
.similar-media__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.similar-media__info {
  padding: 18px;
}

.similar-media__type {
  font-size: 12px;
  color: #0E2948;
  margin-bottom: 8px;
}

.similar-media__name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
}

.similar-media__link {
  color: #0E2948;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}
.similar-media__link:hover {
  text-decoration: underline;
}

/* Кнопка назад */
.media-detail__back {
  text-align: center;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  background: #0E2948;
  transition: gap 0.3s ease;
}
.btn-back:hover {
  gap: 12px;
  color: #0E2948;
}

.about-events-section {
  padding: 60px 0;
  background: #f8f9fa;
}
@media (max-width: 768px) {
  .about-events-section {
    padding: 40px 0;
  }
}
.about-events-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.events-header {
  text-align: center;
  margin-bottom: 40px;
}
.events-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .events-header h2 {
    font-size: 28px;
  }
}
.events-header p {
  font-size: 16px;
  color: #666;
}
@media (max-width: 768px) {
  .events-header p {
    font-size: 14px;
  }
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}
@media (max-width: 768px) {
  .events-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.event-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}
.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.event-card-img {
  height: 220px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .event-card-img {
    height: 200px;
  }
}
.event-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}
.event-card:hover .event-card-img img {
  transform: scale(1.05);
}

.event-card-content {
  padding: 20px;
}
.event-card-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 10px;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .event-card-content h3 {
    font-size: 15px;
  }
}
.event-card-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .event-card-content p {
    font-size: 13px;
  }
}

.event-card {
  animation: aboutEventsFadeInUp 0.5s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}
.event-card:nth-child(1) {
  animation-delay: 0.05s;
}
.event-card:nth-child(2) {
  animation-delay: 0.1s;
}
.event-card:nth-child(3) {
  animation-delay: 0.15s;
}
.event-card:nth-child(4) {
  animation-delay: 0.2s;
}
.event-card:nth-child(5) {
  animation-delay: 0.25s;
}
.event-card:nth-child(6) {
  animation-delay: 0.3s;
}
.event-card:nth-child(7) {
  animation-delay: 0.35s;
}
.event-card:nth-child(8) {
  animation-delay: 0.4s;
}
.event-card:nth-child(9) {
  animation-delay: 0.45s;
}
.event-card:nth-child(10) {
  animation-delay: 0.5s;
}
.event-card:nth-child(11) {
  animation-delay: 0.55s;
}
.event-card:nth-child(12) {
  animation-delay: 0.6s;
}
.event-card:nth-child(13) {
  animation-delay: 0.65s;
}
.event-card:nth-child(14) {
  animation-delay: 0.7s;
}
.event-card:nth-child(15) {
  animation-delay: 0.75s;
}
.event-card:nth-child(16) {
  animation-delay: 0.8s;
}
.event-card:nth-child(17) {
  animation-delay: 0.85s;
}
.event-card:nth-child(18) {
  animation-delay: 0.9s;
}
.event-card:nth-child(19) {
  animation-delay: 0.95s;
}
.event-card:nth-child(20) {
  animation-delay: 1s;
}

@keyframes aboutEventsFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.photo-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.95);
  cursor: pointer;
}

.photo-modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.photo-modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 10000;
}

.photo-modal-close:hover {
  color: #bbb;
}

.photo-modal-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  font-size: 14px;
}

.event-card {
  cursor: pointer;
}
.event-card .event-card-img {
  position: relative;
}
.event-card .event-card-img::after {
  content: "🔍";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s;
  pointer-events: none;
}
.event-card:hover .event-card-img::after {
  opacity: 1;
}

.events-title {
  width: 100%;
  margin: 0 auto 40px;
  padding: 20px 24px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: justify;
}
.events-title p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}
@media (max-width: 768px) {
  .events-title p {
    font-size: 14px;
  }
}

.about-full-page {
  background: #ffffff;
}

.about-full-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* ========== HERO СЕКЦИЯ ========== */
.about-hero {
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  padding: 80px 40px;
  margin-bottom: 60px;
  text-align: center;
  color: #ffffff;
}
@media (max-width: 768px) {
  .about-hero {
    padding: 40px 20px;
  }
}

.about-hero-title {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 20px;
}
@media (max-width: 992px) {
  .about-hero-title {
    font-size: 36px;
  }
}
@media (max-width: 768px) {
  .about-hero-title {
    font-size: 28px;
  }
}

.about-hero-line {
  width: 80px;
  height: 4px;
  background: #a78bfa;
  margin: 0 auto 20px;
  border-radius: 2px;
}

/* ========== НАСТРОЙКИ СТРАНИЦЫ ========== */
.about-main-wrapper {
  margin-bottom: 60px;
  width: 100%;
}

.about-main-content {
  position: relative;
  width: 100%;
  min-height: 500px;
  overflow: hidden;
}

.about-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.about-bg-overlay-light {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(248, 250, 252, 0.92);
  z-index: 2;
}

.about-content-overlay {
  position: relative;
  z-index: 3;
  padding: 60px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .about-content-overlay {
    padding: 30px 20px;
  }
}

.about-main-title {
  font-size: 42px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 25px;
  line-height: 1.2;
}
@media (max-width: 992px) {
  .about-main-title {
    font-size: 32px;
  }
}
@media (max-width: 768px) {
  .about-main-title {
    font-size: 24px;
  }
}

/* ========== ОБЩИЕ СТИЛИ ========== */
.about-section {
  margin-bottom: 80px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 15px;
}
@media (max-width: 992px) {
  .section-title {
    font-size: 30px;
  }
}
@media (max-width: 768px) {
  .section-title {
    font-size: 24px;
  }
}

.section-desc {
  font-size: 16px;
  color: #6b7280;
  max-width: 100%;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .section-desc {
    font-size: 14px;
  }
}

/* ========== ИСТОРИЯ ========== */
.history-timeline-vertical {
  position: relative;
  padding: 20px 0;
  width: 100%;
}
.history-timeline-vertical::before {
  content: "";
  position: absolute;
  left: 120px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #0E2948, #a78bfa, #0E2948);
  border-radius: 3px;
  transform: translateX(-50%);
}

.timeline-vertical-item {
  position: relative;
  margin-bottom: 40px;
  display: flex;
  align-items: flex-start;
  gap: 30px;
}
.timeline-vertical-item::before {
  content: "";
  position: absolute;
  left: 120px;
  top: 8px;
  width: 16px;
  height: 16px;
  background: #0E2948;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px #0E2948;
  z-index: 2;
  transform: translateX(-50%);
}
.timeline-vertical-item:last-child {
  margin-bottom: 0;
}

.timeline-vertical-year {
  min-width: 100px;
  text-align: right;
  padding-right: 20px;
}
.timeline-vertical-year span {
  display: inline-block;
  font-weight: 800;
  color: #0E2948;
  font-size: 20px;
  background: #ffffff;
  padding: 5px 15px;
  border-radius: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}

.timeline-vertical-content {
  flex: 1;
  background: #f8fafc;
  border-radius: 16px;
  padding: 18px 22px;
  transition: all 0.3s ease;
  margin-left: 15px;
}
.timeline-vertical-content:hover {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateX(5px);
}
.timeline-vertical-content h4 {
  font-size: 17px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 6px;
}
.timeline-vertical-content p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

/* ========== РУКОВОДСТВО (ФОТО НА ВСЮ ШИРИНУ КАРТОЧКИ) ========== */
.management-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 992px) {
  .management-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .management-grid {
    grid-template-columns: 1fr;
  }
}

.manager-card {
  background: #f8fafc;
  border-radius: 20px;
  padding: 0;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}
.manager-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: #0E2948;
}

.manager-photo {
  width: 100%;
  height: 280px;
  overflow: hidden;
}
.manager-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.manager-photo:hover img {
  transform: scale(1.05);
}

.manager-photo-placeholder {
  width: 100%;
  height: 100%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}

.manager-info {
  padding: 20px;
}

.manager-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.manager-position {
  font-size: 14px;
  color: #0E2948;
  margin-bottom: 5px;
}

.manager-degree {
  font-size: 13px;
  color: #6b7280;
}

/* ========== МИССИЯ И ЦЕННОСТИ ========== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
@media (max-width: 992px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  background: #f8fafc;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: #0E2948;
}

.value-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.value-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14px;
  color: #6b7280;
}

/* ========== ЛИЦЕНЗИИ ========== */
.licenses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
@media (max-width: 992px) {
  .licenses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .licenses-grid {
    grid-template-columns: 1fr;
  }
}

.license-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}
.license-card:hover {
  transform: translateY(-3px);
  border-color: #0E2948;
}

.license-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.license-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.license-card p {
  font-size: 13px;
  color: #6b7280;
}

/* ========== ПАРТНЕРЫ ========== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
@media (max-width: 992px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }
}

.partner-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}
.partner-card:hover {
  transform: translateY(-3px);
  border-color: #0E2948;
}

.partner-logo {
  font-size: 48px;
  margin-bottom: 15px;
}

.partner-card h4 {
  font-size: 16px;
  font-weight: 700;
}

/* ========== ДОСТИЖЕНИЯ ========== */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
@media (max-width: 992px) {
  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .achievements-grid {
    grid-template-columns: 1fr;
  }
}

.achievement-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}
.achievement-card:hover {
  transform: translateY(-3px);
  border-color: #0E2948;
}

.achievement-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.achievement-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.achievement-card p {
  font-size: 13px;
  color: #6b7280;
}

/* ========== ВАКАНСИИ ========== */
.vacancies-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vacancy-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 25px;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}
.vacancy-card:hover {
  transform: translateY(-3px);
  border-color: #0E2948;
}

.vacancy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
@media (max-width: 768px) {
  .vacancy-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

.vacancy-header h3 {
  font-size: 18px;
  font-weight: 700;
}

.vacancy-type {
  font-size: 12px;
  padding: 4px 12px;
  background: #e5e7eb;
  border-radius: 20px;
  color: #0E2948;
}

.vacancy-card p {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 15px;
}

.vacancy-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 768px) {
  .vacancy-footer {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

.vacancy-link {
  color: #0E2948;
  text-decoration: none;
  font-weight: 500;
}

/* ========== CTA ========== */
.about-cta {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 30px;
  padding: 50px;
  text-align: center;
  margin: 40px auto;
  max-width: 1200px;
}

.cta-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 25px;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}
@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
  }
}

.cta-button {
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-button.primary {
  background: #0E2948;
  color: #ffffff;
}
.cta-button.primary:hover {
  background: #1a3a5c;
  transform: translateY(-2px);
}

.cta-button.secondary {
  background: transparent;
  color: #0E2948;
  border: 2px solid #0E2948;
}
.cta-button.secondary:hover {
  background: #0E2948;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ========== АДАПТИВ ИСТОРИИ ========== */
@media (max-width: 768px) {
  .history-timeline-vertical::before {
    left: 30px;
    transform: translateX(0);
  }
  .timeline-vertical-item {
    flex-direction: column;
    gap: 10px;
  }
  .timeline-vertical-item::before {
    left: 30px;
    top: 8px;
    transform: translateX(0);
  }
  .timeline-vertical-year {
    min-width: auto;
    text-align: left;
    padding-left: 50px;
    padding-right: 0;
  }
  .timeline-vertical-year span {
    font-size: 16px;
  }
  .timeline-vertical-content {
    margin-left: 50px;
  }
}
/* ========== МЕДИА О НАС ========== */
.media-section {
  margin-bottom: 80px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 992px) {
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}
@media (max-width: 768px) {
  .media-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Карточка медиа */
.media-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.media-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: #0E2948;
}

/* Область с фото */
.media-card__image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #e0e7f0, #cbd5e1);
}
.media-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.media-card:hover .media-card__image img {
  transform: scale(1.05);
}

/* Плейсхолдер, если нет фото */
.media-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8edf2, #dce3ea);
}
.media-card__image--placeholder .media-card__placeholder-icon {
  font-size: 64px;
  opacity: 0.6;
}

/* Бейдж типа материала */
.media-card__type-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

/* Цвета бейджей по типам */
.media-card--article .media-card__type-badge {
  background: rgba(31, 110, 140, 0.9);
}

.media-card--video .media-card__type-badge {
  background: rgba(220, 60, 50, 0.9);
}

.media-card--interview .media-card__type-badge {
  background: rgba(76, 175, 80, 0.9);
}

/* Контентная часть */
.media-card__content {
  padding: 20px 22px 24px;
}

/* Дата */
.media-card__date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 10px;
}
.media-card__date svg {
  flex-shrink: 0;
}

/* Заголовок */
.media-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 10px;
  line-height: 1.4;
}

/* Описание */
.media-card__description {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Ссылка */
.media-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0E2948;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: gap 0.2s ease;
}
.media-card__link svg {
  transition: transform 0.2s ease;
}
.media-card__link:hover {
  gap: 12px;
  color: #1a3a5c;
}
.media-card__link:hover svg {
  transform: translateX(3px);
}

/* Адаптив */
@media (max-width: 992px) {
  .media-card__image {
    height: 200px;
  }
  .media-card__content {
    padding: 18px 20px 20px;
  }
}
@media (max-width: 768px) {
  .media-card__image {
    height: 200px;
  }
  .media-card__title {
    font-size: 16px;
  }
  .media-card__description {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }
  .media-card__type-badge {
    padding: 4px 12px;
    font-size: 11px;
    top: 12px;
    right: 12px;
  }
}
@keyframes dpFloat {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-20px) translateX(10px);
  }
  50% {
    transform: translateY(10px) translateX(-10px);
  }
  75% {
    transform: translateY(-10px) translateX(15px);
  }
}
@keyframes dpPulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}
@keyframes dpCountUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes dpFadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes dpSlideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes dpSlideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes dpZoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes dpShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
.dp-animate-fade-up {
  animation: dpFadeInUp 0.6s ease forwards;
}
.dp-animate-slide-left {
  animation: dpSlideInLeft 0.5s ease forwards;
}
.dp-animate-slide-right {
  animation: dpSlideInRight 0.5s ease forwards;
}
.dp-animate-zoom {
  animation: dpZoomIn 0.4s ease forwards;
}

.gradient-orb {
  animation: dpFloat 8s ease-in-out infinite;
}
.gradient-orb:nth-child(2) {
  animation-delay: -2s;
  animation-duration: 10s;
}
.gradient-orb:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 12s;
}

.card-glass {
  animation: dpFadeInUp 0.5s ease forwards;
  opacity: 0;
}
.card-glass:nth-child(1) {
  animation-delay: 0.1s;
}
.card-glass:nth-child(2) {
  animation-delay: 0.2s;
}
.card-glass:nth-child(3) {
  animation-delay: 0.3s;
}
.card-glass:nth-child(4) {
  animation-delay: 0.4s;
}
.card-glass:nth-child(5) {
  animation-delay: 0.5s;
}
.card-glass:nth-child(6) {
  animation-delay: 0.6s;
}
.card-glass:nth-child(7) {
  animation-delay: 0.7s;
}
.card-glass:nth-child(8) {
  animation-delay: 0.8s;
}
.card-glass:nth-child(9) {
  animation-delay: 0.9s;
}
.card-glass:nth-child(10) {
  animation-delay: 1s;
}

.stat-number {
  animation: dpCountUp 1s ease forwards;
}

.dp-theme-light {
  --dp-bg: #ffffff;
  --dp-text: #1f2937;
  --dp-text-secondary: #6b7280;
  --dp-card-bg: #ffffff;
  --dp-border: #e5e7eb;
}

.dp-theme-dark {
  --dp-bg: #1f2937;
  --dp-text: #ffffff;
  --dp-text-secondary: #9ca3af;
  --dp-card-bg: rgba(255, 255, 255, 0.05);
  --dp-border: rgba(255, 255, 255, 0.1);
}

@media (prefers-color-scheme: dark) {
  .dp-auto-theme {
    --dp-bg: #1f2937;
    --dp-text: #ffffff;
    --dp-text-secondary: #9ca3af;
    --dp-card-bg: rgba(255, 255, 255, 0.05);
    --dp-border: rgba(255, 255, 255, 0.1);
  }
}
/* ========== HERO MODERN ========== */
.hero-modern {
  position: relative;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  overflow: hidden;
}
@media (max-width: 1200px) {
  .hero-modern {
    padding: 100px 0 60px;
  }
}
@media (max-width: 768px) {
  .hero-modern {
    padding: 80px 0 50px;
  }
}
.hero-modern__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}
.hero-modern__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
}
.hero-modern__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 14px;
  margin-bottom: 24px;
}
.hero-modern__badge .badge-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: dpPulse 1.5s infinite;
}
.hero-modern__title {
  font-size: 64px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
}
@media (max-width: 1200px) {
  .hero-modern__title {
    font-size: 48px;
  }
}
@media (max-width: 768px) {
  .hero-modern__title {
    font-size: 36px;
  }
}
.hero-modern__title .text-gradient {
  background: linear-gradient(135deg, #0E2948 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-modern__desc {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-modern__stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}
.hero-modern__stats .stat-card {
  text-align: center;
}
.hero-modern__stats .stat-card .stat-number {
  font-size: 36px;
  font-weight: 800;
  display: block;
  margin-bottom: 5px;
}
.hero-modern__stats .stat-card .stat-label {
  font-size: 14px;
  opacity: 0.8;
}
.hero-modern__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}
.hero-modern__scroll span {
  display: block;
  font-size: 12px;
  margin-bottom: 8px;
  opacity: 0.7;
}
.hero-modern__scroll .scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid #ffffff;
  border-radius: 20px;
  position: relative;
  margin: 0 auto;
}
.hero-modern__scroll .scroll-mouse::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: #ffffff;
  border-radius: 2px;
  animation: dpPulse 1.5s infinite;
}

/* Gradient Orbs */
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
}
.gradient-orb.orb-1 {
  width: 300px;
  height: 300px;
  background: #a78bfa;
  top: -100px;
  left: -100px;
}
@media (max-width: 1200px) {
  .gradient-orb.orb-1 {
    width: 200px;
    height: 200px;
  }
}
@media (max-width: 768px) {
  .gradient-orb.orb-1 {
    width: 150px;
    height: 150px;
  }
}
.gradient-orb.orb-2 {
  width: 300px;
  height: 300px;
  background: #6366f1;
  bottom: -100px;
  right: -100px;
}
@media (max-width: 1200px) {
  .gradient-orb.orb-2 {
    width: 200px;
    height: 200px;
  }
}
@media (max-width: 768px) {
  .gradient-orb.orb-2 {
    width: 150px;
    height: 150px;
  }
}
.gradient-orb.orb-3 {
  width: 200px;
  height: 200px;
  background: #ec4899;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media (max-width: 768px) {
  .gradient-orb.orb-3 {
    width: 120px;
    height: 120px;
  }
}

/* ========== BREADCRUMBS ========== */
.breadcrumbs-minimal {
  padding: 20px 0;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}
.breadcrumbs-minimal ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumbs-minimal ul li:not(:last-child)::after {
  content: "/";
  margin: 0 10px;
  color: #6b7280;
}
.breadcrumbs-minimal ul li a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.breadcrumbs-minimal ul li a:hover {
  color: #0E2948;
}
.breadcrumbs-minimal ul li span {
  color: #0E2948;
  font-weight: 500;
}

/* ========== SECTION HEADER ========== */
.section-header-modern {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 30px;
}
@media (max-width: 768px) {
  .section-header-modern {
    flex-direction: column;
    align-items: flex-start;
  }
}
.section-header-modern__left .section-chip {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(14, 41, 72, 0.1);
  color: #0E2948;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}
.section-header-modern__left h2 {
  font-size: 42px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.2;
}
@media (max-width: 1200px) {
  .section-header-modern__left h2 {
    font-size: 32px;
  }
}
@media (max-width: 768px) {
  .section-header-modern__left h2 {
    font-size: 28px;
  }
}
.section-header-modern__right {
  max-width: 400px;
}
.section-header-modern__right p {
  color: #6b7280;
  margin-bottom: 15px;
  line-height: 1.6;
}
.section-header-modern__right .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0E2948;
  text-decoration: none;
  font-weight: 500;
  transition: gap 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.section-header-modern__right .link-arrow:hover {
  gap: 12px;
}

/* ========== DEPARTMENTS GRID ========== */
.departments-modern {
  padding: 100px 0;
}
@media (max-width: 1200px) {
  .departments-modern {
    padding: 80px 0;
  }
}
@media (max-width: 768px) {
  .departments-modern {
    padding: 60px 0;
  }
}

.departments-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 1200px) {
  .departments-grid-modern {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}
@media (max-width: 768px) {
  .departments-grid-modern {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Card Glass */
.card-glass {
  background: #ffffff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e5e7eb;
}
.card-glass:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.card-glass:hover .card-glass__media img {
  transform: scale(1.08);
}
.card-glass__media {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.card-glass__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card-glass__badge {
  position: absolute;
  top: 15px;
  right: 15px;
}
.card-glass__badge span {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(14, 41, 72, 0.95);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  border-radius: 30px;
}
.card-glass__content {
  padding: 24px;
}
.card-glass__content h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
  line-height: 1.3;
}
@media (max-width: 768px) {
  .card-glass__content h3 {
    font-size: 18px;
  }
}
.card-glass__content p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 20px;
}
.card-glass__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0E2948;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: gap 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-glass__link:hover {
  gap: 12px;
}

/* Empty State */
.empty-state-modern {
  text-align: center;
  padding: 80px 40px;
  background: #f3f4f6;
  border-radius: 30px;
}
.empty-state-modern__icon {
  margin-bottom: 24px;
}
.empty-state-modern__icon svg {
  stroke: #9ca3af;
}
.empty-state-modern h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
}
.empty-state-modern p {
  color: #6b7280;
}

/* ========== CTA GLASS ========== */
.cta-glass {
  padding: 80px 0;
  background: #f3f4f6;
}
@media (max-width: 768px) {
  .cta-glass {
    padding: 60px 0;
  }
}
.cta-glass__card {
  position: relative;
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  border-radius: 30px;
  padding: 50px 60px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}
@media (max-width: 768px) {
  .cta-glass__card {
    padding: 40px 30px;
    flex-direction: column;
    text-align: center;
  }
}
.cta-glass__content {
  position: relative;
  z-index: 2;
}
.cta-glass__content h3 {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  .cta-glass__content h3 {
    font-size: 28px;
  }
}
.cta-glass__content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 25px;
}
.cta-glass__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .cta-glass__buttons {
    justify-content: center;
  }
}
.cta-glass__decor {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}
.cta-glass__decor .decor-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.cta-glass__decor .decor-circle:nth-child(1) {
  width: 200px;
  height: 200px;
  top: -100px;
  right: -50px;
}
.cta-glass__decor .decor-circle:nth-child(2) {
  width: 100px;
  height: 100px;
  bottom: -50px;
  left: -30px;
}
.cta-glass__decor .decor-circle:nth-child(3) {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Buttons */
.btn-gradient {
  display: inline-block;
  padding: 12px 32px;
  background: #ffffff;
  color: #0E2948;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(167, 139, 250, 0.3);
}

.btn-outline-glass {
  display: inline-block;
  padding: 12px 32px;
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-outline-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-modern__stats {
    gap: 30px;
  }
  .hero-modern__stats .stat-card .stat-number {
    font-size: 28px;
  }
  .hero-modern__stats .stat-card .stat-label {
    font-size: 12px;
  }
  .cta-glass__buttons {
    flex-direction: column;
    width: 100%;
  }
  .cta-glass__buttons .btn-gradient,
  .cta-glass__buttons .btn-outline-glass {
    text-align: center;
  }
}
@keyframes ddFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes ddSlideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes ddSlideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes ddPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}
.dd-animate-fade-up {
  animation: ddFadeInUp 0.5s ease forwards;
}
.dd-animate-slide-left {
  animation: ddSlideInLeft 0.5s ease forwards;
}
.dd-animate-slide-right {
  animation: ddSlideInRight 0.5s ease forwards;
}

.department-hero__content {
  animation: ddSlideInLeft 0.5s ease forwards;
}

.department-hero__image {
  animation: ddSlideInRight 0.5s ease forwards;
}

.service-item {
  animation: ddFadeInUp 0.4s ease forwards;
  opacity: 0;
}
.service-item:nth-child(1) {
  animation-delay: 0.05s;
}
.service-item:nth-child(2) {
  animation-delay: 0.1s;
}
.service-item:nth-child(3) {
  animation-delay: 0.15s;
}
.service-item:nth-child(4) {
  animation-delay: 0.2s;
}
.service-item:nth-child(5) {
  animation-delay: 0.25s;
}
.service-item:nth-child(6) {
  animation-delay: 0.3s;
}
.service-item:nth-child(7) {
  animation-delay: 0.35s;
}
.service-item:nth-child(8) {
  animation-delay: 0.4s;
}
.service-item:nth-child(9) {
  animation-delay: 0.45s;
}
.service-item:nth-child(10) {
  animation-delay: 0.5s;
}
.service-item:nth-child(11) {
  animation-delay: 0.55s;
}
.service-item:nth-child(12) {
  animation-delay: 0.6s;
}
.service-item:nth-child(13) {
  animation-delay: 0.65s;
}
.service-item:nth-child(14) {
  animation-delay: 0.7s;
}
.service-item:nth-child(15) {
  animation-delay: 0.75s;
}
.service-item:nth-child(16) {
  animation-delay: 0.8s;
}
.service-item:nth-child(17) {
  animation-delay: 0.85s;
}
.service-item:nth-child(18) {
  animation-delay: 0.9s;
}
.service-item:nth-child(19) {
  animation-delay: 0.95s;
}
.service-item:nth-child(20) {
  animation-delay: 1s;
}

.service-item__btn {
  transition: all 0.3s ease;
}
.service-item__btn:active {
  transform: scale(0.98);
}

.dd-theme-light {
  --dd-bg: #ffffff;
  --dd-text: #2c3e50;
  --dd-text-secondary: #6c757d;
  --dd-card-bg: #ffffff;
  --dd-border: #e5e7eb;
}

.dd-theme-dark {
  --dd-bg: #2c3e50;
  --dd-text: #ffffff;
  --dd-text-secondary: #f8f9fa;
  --dd-card-bg: rgba(255, 255, 255, 0.05);
  --dd-border: rgba(255, 255, 255, 0.1);
}

@media (prefers-color-scheme: dark) {
  .dd-auto-theme {
    --dd-bg: #2c3e50;
    --dd-text: #ffffff;
    --dd-text-secondary: #f8f9fa;
    --dd-card-bg: rgba(255, 255, 255, 0.05);
    --dd-border: rgba(255, 255, 255, 0.1);
  }
}
.additional_blocks_department_section {
  padding: 40px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}
.additional_blocks_department_section:nth-child(even) {
  background: #ffffff;
}
@media (max-width: 768px) {
  .additional_blocks_department_section {
    padding: 30px 0;
  }
}

.additional_blocks_department_container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.additional_blocks_department_wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}
@media (max-width: 992px) {
  .additional_blocks_department_wrapper {
    flex-direction: column;
    gap: 25px;
  }
}
.additional_blocks_department_wrapper.additional_blocks_department_left .additional_blocks_department_image {
  order: 1;
}
@media (max-width: 992px) {
  .additional_blocks_department_wrapper.additional_blocks_department_left .additional_blocks_department_image {
    order: 0;
  }
}
.additional_blocks_department_wrapper.additional_blocks_department_left .additional_blocks_department_content {
  order: 2;
}
@media (max-width: 992px) {
  .additional_blocks_department_wrapper.additional_blocks_department_left .additional_blocks_department_content {
    order: 1;
  }
}
.additional_blocks_department_wrapper.additional_blocks_department_right .additional_blocks_department_content {
  order: 1;
}
@media (max-width: 992px) {
  .additional_blocks_department_wrapper.additional_blocks_department_right .additional_blocks_department_content {
    order: 1;
  }
}
.additional_blocks_department_wrapper.additional_blocks_department_right .additional_blocks_department_image {
  order: 2;
}
@media (max-width: 992px) {
  .additional_blocks_department_wrapper.additional_blocks_department_right .additional_blocks_department_image {
    order: 0;
  }
}

.additional_blocks_department_image {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}
@media (max-width: 992px) {
  .additional_blocks_department_image {
    width: 180px;
    height: 180px;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .additional_blocks_department_image {
    width: 150px;
    height: 150px;
  }
}
.additional_blocks_department_image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: all 0.3s ease;
}
.additional_blocks_department_image:hover img {
  transform: scale(1.02);
}

.additional_blocks_department_content {
  flex: 1;
}
@media (max-width: 768px) {
  .additional_blocks_department_content {
    text-align: center;
  }
}

.additional_blocks_department_title {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .additional_blocks_department_title {
    font-size: 18px;
  }
}

.additional_blocks_department_text {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 15px;
}
@media (max-width: 768px) {
  .additional_blocks_department_text {
    font-size: 13px;
    text-align: justify;
  }
}
.additional_blocks_department_text p {
  margin-bottom: 8px;
}
.additional_blocks_department_text p:last-child {
  margin-bottom: 0;
}
.additional_blocks_department_text ul, .additional_blocks_department_text ol {
  margin: 8px 0;
  padding-left: 20px;
}
.additional_blocks_department_text li {
  margin-bottom: 4px;
}

.additional_blocks_department_btn {
  display: inline-block;
  padding: 8px 20px;
  background: #0066b3;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .additional_blocks_department_btn {
    display: block;
    text-align: center;
    max-width: 200px;
    margin: 0 auto;
  }
}
.additional_blocks_department_btn:hover {
  background: #004d80;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 179, 0.3);
}

.additional_blocks_department_section {
  animation: additionalBlocksFadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}
.additional_blocks_department_section:nth-child(1) {
  animation-delay: 0.1s;
}
.additional_blocks_department_section:nth-child(2) {
  animation-delay: 0.2s;
}
.additional_blocks_department_section:nth-child(3) {
  animation-delay: 0.3s;
}
.additional_blocks_department_section:nth-child(4) {
  animation-delay: 0.4s;
}
.additional_blocks_department_section:nth-child(5) {
  animation-delay: 0.5s;
}
.additional_blocks_department_section:nth-child(6) {
  animation-delay: 0.6s;
}
.additional_blocks_department_section:nth-child(7) {
  animation-delay: 0.7s;
}
.additional_blocks_department_section:nth-child(8) {
  animation-delay: 0.8s;
}
.additional_blocks_department_section:nth-child(9) {
  animation-delay: 0.9s;
}
.additional_blocks_department_section:nth-child(10) {
  animation-delay: 1s;
}

@keyframes additionalBlocksFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ========== DEPARTMENT DETAIL PAGE ========== */
.department-detail {
  background: #f8f9fa;
}

/* ========== BREADCRUMBS ========== */
.breadcrumbs {
  padding: 20px 0;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}
.breadcrumbs__list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  margin: 0 10px;
  color: #6c757d;
}
.breadcrumbs__link {
  color: #6c757d;
  text-decoration: none;
  transition: color 0.3s ease;
}
.breadcrumbs__link:hover {
  color: #0E2948;
}
.breadcrumbs__current {
  color: #0E2948;
  font-weight: 500;
}

/* ========== DEPARTMENT HERO ========== */
.department-hero {
  padding: 50px 0;
  background: #ffffff;
}
@media (max-width: 768px) {
  .department-hero {
    padding: 30px 0;
  }
}
.department-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 992px) {
  .department-hero__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
.department-hero__content {
  animation: ddSlideInLeft 0.5s ease forwards;
}
.department-hero__title {
  font-size: 2rem;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.3;
}
@media (max-width: 768px) {
  .department-hero__title {
    font-size: 1.75rem;
  }
}
.department-hero__desc {
  color: #6c757d;
  line-height: 1.8;
  font-size: 16px;
}
.department-hero__image {
  animation: ddSlideInRight 0.5s ease forwards;
}
.department-hero__image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}
.department-hero__image img:hover {
  transform: scale(1.02);
}

/* ========== DEPARTMENT SERVICES ========== */
.department-services {
  padding: 60px 0;
}
@media (max-width: 768px) {
  .department-services {
    padding: 40px 0;
  }
}
.department-services__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 30px;
  text-align: center;
}
@media (max-width: 768px) {
  .department-services__title {
    font-size: 1.5rem;
  }
}
.department-services__title {
  position: relative;
}
.department-services__title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #008BD0;
  margin: 15px auto 0;
  border-radius: 3px;
}

/* ========== SERVICES LIST ========== */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ========== SERVICE ITEM ========== */
.service-item {
  background: #ffffff;
  border-radius: 15px;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}
.service-item:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transform: translateX(5px);
}
@media (max-width: 768px) {
  .service-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 20px;
  }
}
.service-item__info {
  flex: 1;
  min-width: 0;
}
.service-item__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
  word-break: break-word;
}
.service-item__desc {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.5;
  margin-bottom: 8px;
  word-break: break-word;
}
.service-item__duration {
  font-size: 12px;
  color: #008BD0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.service-item__price {
  text-align: right;
  min-width: 160px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .service-item__price {
    text-align: center;
    width: 100%;
    min-width: auto;
  }
}
.service-item__price-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #008BD0;
  display: block;
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  .service-item__price-value {
    margin-bottom: 8px;
  }
}
.service-item__price-value::after {
  content: " сом";
  font-size: 14px;
  font-weight: normal;
}
.service-item__price-free {
  font-size: 1rem;
  font-weight: 600;
  color: #10b981;
  display: block;
  margin-bottom: 12px;
}
.service-item__btn {
  background: #008BD0;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  width: 100%;
  max-width: 130px;
  box-sizing: border-box;
}
.service-item__btn:hover {
  background: #006ba3;
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .service-item__btn {
    max-width: 100%;
    width: 100%;
  }
}

/* ========== EMPTY STATE ========== */
.empty-state {
  text-align: center;
  padding: 60px 40px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.empty-state p {
  color: #6c757d;
  font-size: 16px;
  margin: 0;
}
.empty-state::before {
  content: "📋";
  display: block;
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

/* ========== CONTAINER ========== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== ADDITIONAL STYLES ========== */
.department-hero__desc strong, .department-hero__desc b {
  color: #0E2948;
}

.service-item__btn {
  position: relative;
  overflow: hidden;
}
.service-item__btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
}
.service-item__btn:active::before {
  width: 200px;
  height: 200px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .service-item {
    padding: 20px;
  }
  .service-item__price {
    min-width: 130px;
  }
}
@media (max-width: 576px) {
  .service-item {
    padding: 18px;
  }
  .service-item__title {
    font-size: 16px;
  }
  .service-item__price-value {
    font-size: 18px;
  }
  .breadcrumbs__list {
    font-size: 13px;
  }
}
@keyframes svFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes svSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes svPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
.sv-animate-fade-up {
  animation: svFadeInUp 0.5s ease forwards;
}
.sv-animate-slide {
  animation: svSlideIn 0.3s ease forwards;
}
.sv-animate-pulse {
  animation: svPulse 0.3s ease;
}

.service-card {
  animation: svFadeInUp 0.5s ease forwards;
  opacity: 0;
}
.service-card:nth-child(1) {
  animation-delay: 0.05s;
}
.service-card:nth-child(2) {
  animation-delay: 0.1s;
}
.service-card:nth-child(3) {
  animation-delay: 0.15s;
}
.service-card:nth-child(4) {
  animation-delay: 0.2s;
}
.service-card:nth-child(5) {
  animation-delay: 0.25s;
}
.service-card:nth-child(6) {
  animation-delay: 0.3s;
}
.service-card:nth-child(7) {
  animation-delay: 0.35s;
}
.service-card:nth-child(8) {
  animation-delay: 0.4s;
}
.service-card:nth-child(9) {
  animation-delay: 0.45s;
}
.service-card:nth-child(10) {
  animation-delay: 0.5s;
}
.service-card:nth-child(11) {
  animation-delay: 0.55s;
}
.service-card:nth-child(12) {
  animation-delay: 0.6s;
}
.service-card:nth-child(13) {
  animation-delay: 0.65s;
}
.service-card:nth-child(14) {
  animation-delay: 0.7s;
}
.service-card:nth-child(15) {
  animation-delay: 0.75s;
}
.service-card:nth-child(16) {
  animation-delay: 0.8s;
}
.service-card:nth-child(17) {
  animation-delay: 0.85s;
}
.service-card:nth-child(18) {
  animation-delay: 0.9s;
}
.service-card:nth-child(19) {
  animation-delay: 0.95s;
}
.service-card:nth-child(20) {
  animation-delay: 1s;
}
.service-card:nth-child(21) {
  animation-delay: 1.05s;
}
.service-card:nth-child(22) {
  animation-delay: 1.1s;
}
.service-card:nth-child(23) {
  animation-delay: 1.15s;
}
.service-card:nth-child(24) {
  animation-delay: 1.2s;
}
.service-card:nth-child(25) {
  animation-delay: 1.25s;
}
.service-card:nth-child(26) {
  animation-delay: 1.3s;
}
.service-card:nth-child(27) {
  animation-delay: 1.35s;
}
.service-card:nth-child(28) {
  animation-delay: 1.4s;
}
.service-card:nth-child(29) {
  animation-delay: 1.45s;
}
.service-card:nth-child(30) {
  animation-delay: 1.5s;
}

.sv-theme-light {
  --sv-bg: #ffffff;
  --sv-text: #2c3e50;
  --sv-text-secondary: #6c757d;
  --sv-card-bg: #ffffff;
  --sv-border: #e5e7eb;
}

.sv-theme-dark {
  --sv-bg: #2c3e50;
  --sv-text: #ffffff;
  --sv-text-secondary: #f8f9fa;
  --sv-card-bg: rgba(255, 255, 255, 0.05);
  --sv-border: rgba(255, 255, 255, 0.1);
}

@media (prefers-color-scheme: dark) {
  .sv-auto-theme {
    --sv-bg: #2c3e50;
    --sv-text: #ffffff;
    --sv-text-secondary: #f8f9fa;
    --sv-card-bg: rgba(255, 255, 255, 0.05);
    --sv-border: rgba(255, 255, 255, 0.1);
  }
}
/* ========== SERVICES PAGE ========== */
.services-page {
  background: #f8f9fa;
  min-height: 100vh;
}

/* ========== BREADCRUMBS ========== */
.breadcrumbs {
  padding: 20px 0;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}
.breadcrumbs__list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  margin: 0 10px;
  color: #6c757d;
}
.breadcrumbs__link {
  color: #6c757d;
  text-decoration: none;
  transition: color 0.3s ease;
}
.breadcrumbs__link:hover {
  color: #0E2948;
}
.breadcrumbs__current {
  color: #0E2948;
  font-weight: 500;
}

/* ========== HERO SECTION ========== */
.services-hero {
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  padding: 60px 0;
  text-align: center;
}
@media (max-width: 768px) {
  .services-hero {
    padding: 40px 0;
  }
}
.services-hero__title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .services-hero__title {
    font-size: 2rem;
  }
}
.services-hero__desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .services-hero__desc {
    font-size: 1rem;
  }
}

/* ========== FILTER SECTION ========== */
.services-filter {
  padding: 10px 25px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}
@media (max-width: 768px) {
  .services-filter {
    padding: 8px 18px;
  }
}
.services-filter__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}
@media (max-width: 768px) {
  .services-filter__inner {
    gap: 10px;
  }
}
.services-filter__btn {
  padding: 10px 25px;
  background: #f8f9fa;
  border: none;
  border-radius: 30px;
  color: #2c3e50;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.services-filter__btn:hover {
  background: #e9ecef;
}
.services-filter__btn.active {
  background: #0E2948;
  color: #ffffff;
}
@media (max-width: 768px) {
  .services-filter__btn {
    padding: 8px 18px;
    font-size: 13px;
  }
}

/* ========== GRID SECTION ========== */
.services-grid {
  padding: 60px 0;
}
@media (max-width: 768px) {
  .services-grid {
    padding: 40px 0;
  }
}
.services-grid__inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}
@media (max-width: 768px) {
  .services-grid__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ========== SERVICE CARD ========== */
.service-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 20px;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}
.service-card {
  transition: all 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(14, 41, 72, 0.15);
}
.service-card:hover::before {
  transform: scaleX(1);
}
@media (max-width: 576px) {
  .service-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
}
.service-card__icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-card__icon i {
  font-size: 1.75rem;
  color: #ffffff;
}
@media (max-width: 576px) {
  .service-card__icon {
    margin: 0 auto 15px;
  }
}
.service-card__content {
  flex: 1;
}
.service-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #2c3e50;
}
@media (max-width: 768px) {
  .service-card__title {
    font-size: 1.125rem;
  }
}
.service-card__desc {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 14px;
}
.service-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid #e5e7eb;
  margin-top: auto;
}
@media (max-width: 576px) {
  .service-card__footer {
    flex-direction: column;
    gap: 10px;
  }
}
.service-card__price {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0E2948;
}
.service-card__price::after {
  content: " сом";
  font-weight: normal;
  font-size: 14px;
}
.service-card__duration {
  font-size: 0.875rem;
  color: #6c757d;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.service-card__duration::before {
  content: "⏱";
}

/* ========== EMPTY STATE ========== */
.empty-state {
  text-align: center;
  padding: 60px 40px;
  background: #ffffff;
  border-radius: 20px;
  grid-column: 1/-1;
}
.empty-state__icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.5;
}
.empty-state h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 10px;
}
.empty-state p {
  color: #6c757d;
}

/* ========== PAGINATION ========== */
.pagination {
  padding: 40px 0 60px;
}
.pagination__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pagination__prev, .pagination__next {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 20px;
  background: #ffffff;
  color: #0E2948;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}
.pagination__prev:hover, .pagination__next:hover {
  background: #0E2948;
  color: #ffffff;
  border-color: #0E2948;
}
.pagination__numbers {
  display: flex;
  gap: 8px;
}
.pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: #ffffff;
  color: #6c757d;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}
.pagination__link:hover {
  background: #0E2948;
  color: #ffffff;
  border-color: #0E2948;
}
.pagination__link.active {
  background: #0E2948;
  color: #ffffff;
  border-color: #0E2948;
}
@media (max-width: 768px) {
  .pagination__link {
    min-width: 35px;
    height: 35px;
    font-size: 14px;
  }
}

/* ========== CONTAINER ========== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .services-grid__inner {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
  }
}
@media (max-width: 576px) {
  .service-card__icon {
    width: 50px;
    height: 50px;
  }
  .service-card__icon i {
    font-size: 1.5rem;
  }
  .pagination__inner {
    gap: 8px;
  }
  .pagination__prev,
  .pagination__next {
    padding: 6px 15px;
    font-size: 13px;
  }
}
@keyframes sdFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes sdSlideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes sdSlideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes sdPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}
.sd-animate-fade-up {
  animation: sdFadeInUp 0.5s ease forwards;
}
.sd-animate-slide-left {
  animation: sdSlideInLeft 0.5s ease forwards;
}
.sd-animate-slide-right {
  animation: sdSlideInRight 0.5s ease forwards;
}

.service-detail__content {
  animation: sdSlideInLeft 0.5s ease forwards;
}

.service-detail__image {
  animation: sdSlideInRight 0.5s ease forwards;
}

.service-detail__btn {
  transition: all 0.3s ease;
}
.service-detail__btn:active {
  animation: sdPulse 0.2s ease;
}

.sd-theme-light {
  --sd-bg: #ffffff;
  --sd-text: #2c3e50;
  --sd-text-secondary: #6c757d;
  --sd-card-bg: #ffffff;
  --sd-border: #e5e7eb;
}

.sd-theme-dark {
  --sd-bg: #2c3e50;
  --sd-text: #ffffff;
  --sd-text-secondary: #f8f9fa;
  --sd-card-bg: rgba(255, 255, 255, 0.05);
  --sd-border: rgba(255, 255, 255, 0.1);
}

@media (prefers-color-scheme: dark) {
  .sd-auto-theme {
    --sd-bg: #2c3e50;
    --sd-text: #ffffff;
    --sd-text-secondary: #f8f9fa;
    --sd-card-bg: rgba(255, 255, 255, 0.05);
    --sd-border: rgba(255, 255, 255, 0.1);
  }
}
/* ========== SERVICE DETAIL PAGE ========== */
.service-detail {
  background: #f8f9fa;
  min-height: 100vh;
}

/* ========== BREADCRUMBS ========== */
.breadcrumbs {
  padding: 20px 0;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}
.breadcrumbs__list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  margin: 0 10px;
  color: #6c757d;
}
.breadcrumbs__link {
  color: #6c757d;
  text-decoration: none;
  transition: color 0.3s ease;
}
.breadcrumbs__link:hover {
  color: #0E2948;
}
.breadcrumbs__current {
  color: #0E2948;
  font-weight: 500;
}

/* ========== SERVICE DETAIL HERO ========== */
.service-detail__hero {
  padding: 60px 0;
  background: #ffffff;
}
@media (max-width: 768px) {
  .service-detail__hero {
    padding: 40px 0;
  }
}

.service-detail__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 768px) {
  .service-detail__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.service-detail__content {
  animation: sdSlideInLeft 0.5s ease forwards;
}

.service-detail__title {
  font-size: 2rem;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 15px;
}
@media (max-width: 768px) {
  .service-detail__title {
    font-size: 1.5rem;
  }
}

.service-detail__department {
  margin-bottom: 20px;
}
.service-detail__department a {
  color: #0E2948;
  text-decoration: none;
  font-weight: 500;
}
.service-detail__department a:hover {
  text-decoration: underline;
  color: #1a3a5c;
}

.service-detail__description {
  color: #6c757d;
  line-height: 1.8;
  margin-bottom: 25px;
  font-size: 16px;
}

.service-detail__info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 25px;
}
.service-detail__info .info-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.service-detail__info .info-row:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .service-detail__info .info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}
.service-detail__info .label {
  font-weight: 600;
  color: #6c757d;
  min-width: 100px;
  display: inline-block;
}
.service-detail__info .value {
  font-weight: 700;
  color: #2c3e50;
}

.service-detail__price .value {
  font-size: 1.25rem;
  color: #0E2948;
}
.service-detail__price .value::after {
  content: " сом";
  font-weight: normal;
  font-size: 1rem;
}

.service-detail__duration .value {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.service-detail__duration .value::before {
  content: "⏱";
}

.service-detail__btn {
  background: linear-gradient(135deg, #008BD0 0%, #006ba3 100%);
  color: #ffffff;
  border: none;
  padding: 15px 35px;
  border-radius: 35px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.service-detail__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 139, 208, 0.3);
}
@media (max-width: 768px) {
  .service-detail__btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
}

.service-detail__image {
  animation: sdSlideInRight 0.5s ease forwards;
}
.service-detail__image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}
.service-detail__image img:hover {
  transform: scale(1.02);
}

/* ========== PAGINATION ========== */
.pagination {
  padding: 40px 0;
}
@media (max-width: 768px) {
  .pagination {
    padding: 30px 0;
  }
}
.pagination__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pagination__prev, .pagination__next {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 20px;
  background: #ffffff;
  color: #0E2948;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}
.pagination__prev:hover, .pagination__next:hover {
  background: #0E2948;
  color: #ffffff;
  border-color: #0E2948;
}
.pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: #ffffff;
  color: #6c757d;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}
.pagination__link:hover {
  background: #0E2948;
  color: #ffffff;
  border-color: #0E2948;
}
.pagination__link.active {
  background: #0E2948;
  color: #ffffff;
  border-color: #0E2948;
}
@media (max-width: 768px) {
  .pagination__link {
    min-width: 35px;
    height: 35px;
    font-size: 14px;
  }
}

/* ========== EMPTY STATE ========== */
.empty-state {
  text-align: center;
  padding: 60px;
  background: #ffffff;
  border-radius: 20px;
  grid-column: 1/-1;
}
.empty-state p {
  color: #6c757d;
  font-size: 1.125rem;
  margin: 0;
}
.empty-state::before {
  content: "📋";
  display: block;
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

/* ========== CONTAINER ========== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .service-detail__inner {
    gap: 40px;
  }
}
@media (max-width: 576px) {
  .service-detail__info {
    padding: 15px;
  }
  .service-detail__btn {
    width: 100%;
    text-align: center;
  }
  .pagination__prev,
  .pagination__next {
    padding: 6px 14px;
    font-size: 13px;
  }
}
.doctors-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: #0E2948;
  overflow: hidden;
  color: #ffffff;
}
.doctors-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  opacity: 0.5;
  pointer-events: none;
}
.doctors-hero .hero-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.doctors-hero .hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.doctors-hero .hero-badge {
  display: inline-block;
  padding: 8px 24px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 32px;
}
.doctors-hero .hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .doctors-hero .hero-title {
    font-size: 3rem;
  }
}
@media (max-width: 992px) {
  .doctors-hero .hero-title {
    font-size: 3.5rem;
  }
}
.doctors-hero .hero-title .hero-span {
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.doctors-hero .hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 48px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.doctors-hero .hero-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}
.doctors-hero .hero-stats .stat-item {
  text-align: center;
}
.doctors-hero .hero-stats .stat-item .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #a78bfa;
  display: block;
  line-height: 1;
}
.doctors-hero .hero-stats .stat-item .stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
}

.doctors-section {
  padding: 64px 0;
  background: #f8f9fa;
}

.doctors-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.doctors-filters {
  margin-bottom: 48px;
}
.doctors-filters .filters-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
@media (max-width: 576px) {
  .doctors-filters .filters-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
}
.doctors-filters .filter-group {
  flex: 0 0 auto;
  min-width: 200px;
}
.doctors-filters .filter-group select {
  width: 100%;
  padding: 12px 20px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #ffffff;
  color: #374151;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}
.doctors-filters .filter-group select:focus {
  outline: none;
  border-color: #0E2948;
  box-shadow: 0 0 0 3px rgba(14, 41, 72, 0.1);
}
.doctors-filters .search-box {
  position: relative;
  flex: 1;
  min-width: 250px;
  max-width: 350px;
}
.doctors-filters .search-box input {
  width: 100%;
  padding: 12px 40px 12px 20px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}
.doctors-filters .search-box input:focus {
  outline: none;
  border-color: #0E2948;
  box-shadow: 0 0 0 3px rgba(14, 41, 72, 0.1);
}
.doctors-filters .search-box .search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #9ca3af;
  pointer-events: none;
}
.doctors-filters .filter-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.doctors-filters .filter-tags .filter-tag {
  padding: 8px 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.2s ease;
}
.doctors-filters .filter-tags .filter-tag:hover {
  border-color: #0E2948;
  color: #0E2948;
  transform: translateY(-2px);
}
.doctors-filters .filter-tags .filter-tag.active {
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  border-color: transparent;
  color: #ffffff;
}

@media (max-width: 768px) {
  .doctors-filters .filter-group select {
    padding: 10px 16px;
    font-size: 0.813rem;
  }
  .doctors-filters .search-box input {
    padding: 10px 35px 10px 16px;
    font-size: 0.813rem;
  }
  .doctors-filters .filter-tags .filter-tag {
    padding: 6px 16px;
    font-size: 0.813rem;
  }
}
@media (max-width: 576px) {
  .doctors-filters {
    margin-bottom: 32px;
  }
  .doctors-filters .filters-wrapper {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
  }
  .doctors-filters .filter-group,
  .doctors-filters .search-box {
    width: 100%;
    min-width: auto;
    max-width: none;
  }
  .doctors-filters .filter-tags {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
  }
  .doctors-filters .filter-tags .filter-tag {
    white-space: nowrap;
    flex-shrink: 0;
  }
}
.doctors_list_category {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}
.doctors_list_category__grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .doctors_list_category__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (min-width: 992px) {
  .doctors_list_category__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}
.doctors_list_category__card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.doctors_list_category__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}
.doctors_list_category__card:hover .doctors_list_category__image img {
  transform: scale(1.08);
}
.doctors_list_category__card:hover .doctors_list_category__social {
  opacity: 1;
  transform: translateY(0);
}
.doctors_list_category__image-wrapper {
  position: relative;
  overflow: hidden;
}
.doctors_list_category__image {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
  flex-shrink: 0;
}
.doctors_list_category__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.doctors_list_category__badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.doctors_list_category__social {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}
.doctors_list_category__social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  text-decoration: none;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.doctors_list_category__social a svg {
  width: 18px;
  height: 18px;
  stroke: #374151;
  stroke-width: 2;
  fill: none;
  transition: all 0.2s ease;
}
.doctors_list_category__social a:hover {
  background: #0E2948;
  transform: translateY(-2px);
}
.doctors_list_category__social a:hover svg {
  stroke: white;
}
.doctors_list_category__content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.doctors_list_category__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 6px;
  line-height: 1.3;
}
.doctors_list_category__position {
  font-size: 0.875rem;
  color: #0E2948;
  font-weight: 600;
  margin-bottom: 8px;
}
.doctors_list_category__specialization {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 12px;
  line-height: 1.4;
}
.doctors_list_category__experience {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f3f4f6;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #0E2948;
  width: fit-content;
  margin-bottom: 16px;
}
.doctors_list_category__experience svg {
  width: 14px;
  height: 14px;
  stroke: #0E2948;
}
.doctors_list_category__divider {
  height: 1px;
  background: #e5e7eb;
  margin: 0 0 16px 0;
}
.doctors_list_category__contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 8px;
}
.doctors_list_category__contact svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.doctors_list_category__actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}
.doctors_list_category__btn-detail {
  flex: 1;
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  text-align: center;
  display: inline-block;
}
.doctors_list_category__btn-detail:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 41, 72, 0.25);
}
.doctors_list_category__btn-profile {
  width: 44px;
  height: 44px;
  background: #f3f4f6;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.doctors_list_category__btn-profile svg {
  width: 20px;
  height: 20px;
  stroke: #4b5563;
  transition: all 0.2s ease;
}
.doctors_list_category__btn-profile:hover {
  background: #0E2948;
  transform: translateY(-2px);
}
.doctors_list_category__btn-profile:hover svg {
  stroke: white;
}

.doctors_list_category__card {
  animation: doctorsListFadeInUp 0.5s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}
.doctors_list_category__card:nth-child(1) {
  animation-delay: 0.05s;
}
.doctors_list_category__card:nth-child(2) {
  animation-delay: 0.1s;
}
.doctors_list_category__card:nth-child(3) {
  animation-delay: 0.15s;
}
.doctors_list_category__card:nth-child(4) {
  animation-delay: 0.2s;
}
.doctors_list_category__card:nth-child(5) {
  animation-delay: 0.25s;
}
.doctors_list_category__card:nth-child(6) {
  animation-delay: 0.3s;
}
.doctors_list_category__card:nth-child(7) {
  animation-delay: 0.35s;
}
.doctors_list_category__card:nth-child(8) {
  animation-delay: 0.4s;
}
.doctors_list_category__card:nth-child(9) {
  animation-delay: 0.45s;
}
.doctors_list_category__card:nth-child(10) {
  animation-delay: 0.5s;
}
.doctors_list_category__card:nth-child(11) {
  animation-delay: 0.55s;
}
.doctors_list_category__card:nth-child(12) {
  animation-delay: 0.6s;
}

@keyframes doctorsListFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .doctors_list_category__content {
    padding: 20px;
  }
  .doctors_list_category__name {
    font-size: 1.125rem;
  }
  .doctors_list_category__actions {
    flex-wrap: wrap;
  }
  .doctors_list_category__btn-detail {
    flex: 1;
    min-width: 120px;
  }
  .doctors_list_category__btn-profile {
    width: 42px;
    height: 42px;
  }
  .doctors_list_category__social {
    gap: 10px;
  }
  .doctors_list_category__social a {
    width: 32px;
    height: 32px;
  }
  .doctors_list_category__social a svg {
    width: 16px;
    height: 16px;
  }
  .doctors_list_category__badge {
    font-size: 0.7rem;
    padding: 3px 10px;
  }
}
@media (max-width: 576px) {
  .doctors_list_category__grid {
    gap: 20px;
  }
  .doctors_list_category__content {
    padding: 16px;
  }
  .doctors_list_category__actions {
    flex-direction: column;
  }
  .doctors_list_category__btn-detail {
    width: 100%;
  }
  .doctors_list_category__btn-profile {
    width: 100%;
    height: 42px;
  }
  .doctors_list_category__badge {
    top: 10px;
    right: 10px;
    font-size: 0.65rem;
    padding: 3px 8px;
  }
}
@media (prefers-color-scheme: dark) {
  .doctors_list_category__card {
    background: #1f2937;
  }
  .doctors_list_category__name {
    color: #f9fafb;
  }
  .doctors_list_category__position {
    color: #4a6fa5;
  }
  .doctors_list_category__specialization {
    color: #9ca3af;
  }
  .doctors_list_category__experience {
    background: #374151;
    color: #9ca3af;
  }
  .doctors_list_category__experience svg {
    stroke: #9ca3af;
  }
  .doctors_list_category__contact {
    color: #9ca3af;
  }
  .doctors_list_category__divider {
    background: #374151;
  }
  .doctors_list_category__btn-profile {
    background: #374151;
  }
  .doctors_list_category__btn-profile svg {
    stroke: #9ca3af;
  }
  .doctors_list_category__btn-profile:hover {
    background: #0E2948;
  }
  .doctors_list_category__btn-profile:hover svg {
    stroke: white;
  }
  .doctors_list_category__social a {
    background: rgba(31, 41, 55, 0.95);
  }
  .doctors_list_category__social a svg {
    stroke: #9ca3af;
  }
  .doctors_list_category__social a:hover {
    background: #0E2948;
  }
  .doctors_list_category__social a:hover svg {
    stroke: white;
  }
}
.doctors-pagination {
  margin-top: 64px;
  display: flex;
  justify-content: center;
}
.doctors-pagination .pagination {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.doctors-pagination .pagination .page-item .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  color: #374151;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}
.doctors-pagination .pagination .page-item .page-link:hover {
  background: #f3f4f6;
  border-color: #0E2948;
  color: #0E2948;
}
.doctors-pagination .pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  border-color: transparent;
  color: #ffffff;
}
.doctors-pagination .pagination .page-item.disabled .page-link {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .doctors-pagination .pagination {
    gap: 4px;
  }
  .doctors-pagination .pagination .page-item .page-link {
    min-width: 35px;
    height: 35px;
    padding: 0 8px;
    font-size: 0.875rem;
  }
}
@media (max-width: 768px) {
  .doctors-hero {
    min-height: 50vh;
  }
  .doctors-hero .hero-title {
    font-size: 2rem;
  }
  .doctors-hero .hero-stats {
    gap: 30px;
  }
  .doctors-hero .hero-stats .stat-number {
    font-size: 1.5rem;
  }
  .doctor-card__content {
    padding: 24px;
  }
  .doctor-card .doctor-name {
    font-size: 1.125rem;
  }
}
@media (max-width: 576px) {
  .doctors-hero .hero-title {
    font-size: 1.5rem;
  }
  .doctors-hero .hero-description {
    font-size: 1rem;
  }
  .doctors-grid {
    gap: 24px;
  }
  .doctor-card__image {
    aspect-ratio: 4/3;
  }
  .doctor-card__content {
    padding: 16px;
  }
  .doctor-card .doctor-actions {
    flex-direction: column;
  }
  .doctor-card .doctor-actions .btn-profile {
    width: 100%;
    padding: 10px;
  }
}
@media (max-width: 480px) {
  .doctors-filters .filter-tags {
    gap: 4px;
  }
  .doctors-filters .filter-tags .filter-tag {
    padding: 4px 12px;
    font-size: 0.75rem;
  }
  .doctors-pagination .pagination {
    gap: 4px;
  }
  .doctors-pagination .pagination .page-item .page-link {
    min-width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }
}
.doctors-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}
.doctors-slider-container {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.doctors-slider-container::-webkit-scrollbar {
  display: none;
}
.doctors-slider-wrapper {
  display: flex;
  gap: 30px;
  transition: transform 0.3s ease;
  width: fit-content;
}
.doctors-slider .doctor-slide {
  flex: 0 0 320px;
  width: 320px;
}
@media (max-width: 768px) {
  .doctors-slider .doctor-slide {
    flex: 0 0 280px;
    width: 280px;
  }
}
@media (max-width: 576px) {
  .doctors-slider .doctor-slide {
    flex: 0 0 260px;
    width: 260px;
  }
}
.doctors-slider .slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.doctors-slider .slider-nav svg {
  width: 24px;
  height: 24px;
  stroke: #333;
}
.doctors-slider .slider-nav:hover {
  background: #0066b3;
}
.doctors-slider .slider-nav:hover svg {
  stroke: white;
}
.doctors-slider .slider-nav.prev {
  left: -22px;
}
.doctors-slider .slider-nav.next {
  right: -22px;
}
@media (max-width: 768px) {
  .doctors-slider .slider-nav {
    width: 36px;
    height: 36px;
  }
  .doctors-slider .slider-nav svg {
    width: 20px;
    height: 20px;
  }
  .doctors-slider .slider-nav.prev {
    left: -10px;
  }
  .doctors-slider .slider-nav.next {
    right: -10px;
  }
}
.doctors-slider .slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}
.doctors-slider .slider-dots .dot {
  width: 8px;
  height: 8px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}
.doctors-slider .slider-dots .dot.active {
  width: 24px;
  border-radius: 10px;
  background: #0066b3;
}

.doctor-card-index {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
}
.doctor-card-index:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}
.doctor-card-index:hover .doctor-image img {
  transform: scale(1.08);
}
.doctor-card-index:hover .doctor-social {
  opacity: 1;
  transform: translateY(0);
}
.doctor-card-index .doctor-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.doctor-card-index .doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.doctor-card-index .doctor-info {
  padding: 20px;
  text-align: center;
}
.doctor-card-index .doctor-name {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}
.doctor-card-index .doctor-position {
  font-size: 14px;
  color: #0066b3;
  font-weight: 500;
  margin-bottom: 5px;
}
.doctor-card-index .doctor-experience {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
}
.doctor-card-index .doctor-qualification {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.doctor-card-index .qualification-badge {
  display: inline-block;
  padding: 4px 10px;
  background: #e8f4fd;
  color: #0066b3;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
}
.doctor-card-index .doctor-card-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.doctor-card-index .doctor-card-actions .btn-detail, .doctor-card-index .doctor-card-actions .btn-appointment {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}
.doctor-card-index .doctor-card-actions .btn-detail {
  background: transparent;
  border: 1px solid #0066b3;
  color: #0066b3;
}
.doctor-card-index .doctor-card-actions .btn-detail:hover {
  background: #0066b3;
  color: white;
}
.doctor-card-index .doctor-card-actions .btn-appointment {
  background: #0066b3;
  border: none;
  color: white;
}
.doctor-card-index .doctor-card-actions .btn-appointment:hover {
  background: #004d80;
  transform: translateY(-2px);
}

.doctors-page {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.doctor-card-list {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}
.doctor-card-list:nth-child(1) {
  animation-delay: 0.05s;
}
.doctor-card-list:nth-child(2) {
  animation-delay: 0.1s;
}
.doctor-card-list:nth-child(3) {
  animation-delay: 0.15s;
}
.doctor-card-list:nth-child(4) {
  animation-delay: 0.2s;
}
.doctor-card-list:nth-child(5) {
  animation-delay: 0.25s;
}
.doctor-card-list:nth-child(6) {
  animation-delay: 0.3s;
}
.doctor-card-list:nth-child(7) {
  animation-delay: 0.35s;
}
.doctor-card-list:nth-child(8) {
  animation-delay: 0.4s;
}
.doctor-card-list:nth-child(9) {
  animation-delay: 0.45s;
}
.doctor-card-list:nth-child(10) {
  animation-delay: 0.5s;
}
.doctor-card-list:nth-child(11) {
  animation-delay: 0.55s;
}
.doctor-card-list:nth-child(12) {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.doctor-detail-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.doctor-detail-modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.doctor-detail-modal-content {
  background: white;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideIn 0.3s ease;
}
.doctor-detail-modal-content::-webkit-scrollbar {
  width: 6px;
}
.doctor-detail-modal-content::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}
.doctor-detail-modal-content::-webkit-scrollbar-thumb {
  background: #0066b3;
  border-radius: 10px;
}

.doctor-detail-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e0e0e0;
}
.doctor-detail-modal-header h3 {
  margin: 0;
  font-size: 20px;
  color: #1a1a2e;
}

.doctor-detail-modal-close {
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #999;
  transition: all 0.3s ease;
}
.doctor-detail-modal-close:hover {
  color: #e74c3c;
}

.doctor-detail-appointment-form {
  padding: 24px;
}

.doctor-detail-form-group {
  margin-bottom: 20px;
}
.doctor-detail-form-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
  font-size: 14px;
}
.doctor-detail-form-group label .form-label-icon {
  font-size: 16px;
}
.doctor-detail-form-group label .required {
  color: #e74c3c;
  margin-left: 4px;
}
.doctor-detail-form-group input, .doctor-detail-form-group select, .doctor-detail-form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
}
.doctor-detail-form-group input:focus, .doctor-detail-form-group select:focus, .doctor-detail-form-group textarea:focus {
  outline: none;
  border-color: #0066b3;
  box-shadow: 0 0 0 3px rgba(0, 102, 179, 0.1);
}
.doctor-detail-form-group input:disabled, .doctor-detail-form-group select:disabled, .doctor-detail-form-group textarea:disabled {
  background: #f5f5f5;
  cursor: not-allowed;
}
.doctor-detail-form-group textarea {
  resize: vertical;
  min-height: 80px;
}
.doctor-detail-form-group .form-hint {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #999;
}
.doctor-detail-form-group .loading-slots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 8px;
  background: #f8f9fa;
  border-radius: 8px;
  font-size: 12px;
  color: #666;
}
.doctor-detail-form-group .loading-slots .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #e0e0e0;
  border-top-color: #0066b3;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.doctor-detail-form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.doctor-detail-btn {
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.doctor-detail-btn-primary {
  background: #0066b3;
  color: white;
}
.doctor-detail-btn-primary:hover {
  background: #004d80;
  transform: translateY(-2px);
}
.doctor-detail-btn-primary:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}
.doctor-detail-btn-cancel {
  background: #f0f0f0;
  color: #666;
}
.doctor-detail-btn-cancel:hover {
  background: #e0e0e0;
}

.appointment-info {
  padding: 16px 24px 24px;
  border-top: 1px solid #f0f0f0;
}
.appointment-info .info-note {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #f8f9fa;
  border-radius: 8px;
  font-size: 12px;
  color: #666;
}
.appointment-info .info-note svg {
  flex-shrink: 0;
  stroke: #0066b3;
}

.appointment-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 12px 20px;
  border-radius: 8px;
  color: white;
  z-index: 1001;
  animation: slideInRight 0.3s ease;
}
.appointment-notification.success {
  background: #28a745;
}
.appointment-notification.error {
  background: #dc3545;
}
.appointment-notification.info {
  background: #17a2b8;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  .doctor-detail-modal-content {
    width: 95%;
    margin: 10px;
  }
  .doctor-detail-form-actions {
    flex-direction: column;
  }
  .doctor-detail-form-actions button {
    width: 100%;
  }
  .doctor-detail-modal-header h3 {
    font-size: 18px;
  }
}
.doctor-detail-page {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.breadcrumbs {
  padding: 16px 0;
  background: #f8f9fa;
  border-bottom: 1px solid #e5e7eb;
}
.breadcrumbs__list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.breadcrumbs__item {
  font-size: 14px;
}
.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  margin: 0 8px;
  color: #6b7280;
}
.breadcrumbs__link {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.3s ease;
}
.breadcrumbs__link:hover {
  color: #0E2948;
}
.breadcrumbs__current {
  color: #0E2948;
  font-weight: 600;
}

.doctor-hero {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
@media (max-width: 768px) {
  .doctor-hero {
    padding: 48px 0;
  }
}
@media (max-width: 576px) {
  .doctor-hero {
    padding: 40px 0;
  }
}
.doctor-hero__inner {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}
.doctor-hero__image {
  flex: 1;
  height: 200px;
  min-width: 280px;
}
.doctor-hero__info {
  flex: 2;
  min-width: 280px;
  overflow-x: hidden;
}

.doctor-avatar {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  margin: 0 auto;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}
.doctor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.doctor-avatar__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.doctor-avatar__placeholder span {
  font-size: 80px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
}

.doctor-badges {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap;
}
.doctor-badges .badge {
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.doctor-badges .badge-expert {
  background: linear-gradient(135deg, #0E2948 0%, #a78bfa 100%);
  color: white;
}
.doctor-badges .badge-category {
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  color: white;
}

.doctor-name {
  font-size: 36px;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}
@media (max-width: 768px) {
  .doctor-name {
    font-size: 32px;
    justify-content: center;
  }
}
@media (max-width: 576px) {
  .doctor-name {
    font-size: 28px;
    justify-content: center;
  }
}

.btn-favorite {
  background: none;
  border: none;
  cursor: pointer;
  color: #ccc;
  transition: all 0.3s ease;
}
.btn-favorite:hover {
  color: #ef4444;
  transform: scale(1.1);
}
.btn-favorite.active {
  color: #ef4444;
}

.doctor-specialization {
  font-size: 18px;
  color: #0E2948;
  font-weight: 500;
  margin-bottom: 32px;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}
@media (max-width: 768px) {
  .doctor-specialization {
    text-align: center;
  }
}

.doctor-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .doctor-stats {
    justify-content: center;
    gap: 16px;
  }
}
.doctor-stats .stat-item {
  text-align: center;
  background: white;
  padding: 16px 32px;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.doctor-stats .stat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.doctor-stats .stat-item .stat-value {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #0E2948;
}
.doctor-stats .stat-item .stat-label {
  font-size: 12px;
  color: #6b7280;
}

.doctor-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}
@media (max-width: 768px) {
  .doctor-actions {
    justify-content: center;
  }
}
@media (max-width: 576px) {
  .doctor-actions {
    flex-direction: column;
  }
}
.doctor-actions .btn {
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
@media (max-width: 576px) {
  .doctor-actions .btn {
    width: 100%;
  }
}
.doctor-actions .btn-primary {
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  color: white;
}
.doctor-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 41, 72, 0.3);
}
.doctor-actions .btn-outline {
  background: transparent;
  border: 2px solid #0E2948;
  color: #0E2948;
}
.doctor-actions .btn-outline:hover {
  background: #0E2948;
  color: white;
}

.doctor-quote {
  background: rgba(14, 41, 72, 0.05);
  border-left: 4px solid #0E2948;
  padding: 16px 24px;
  border-radius: 16px;
  margin: 32px 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}
@media (max-width: 576px) {
  .doctor-quote {
    padding: 8px 16px;
    margin: 16px 0;
  }
}
.doctor-quote blockquote {
  margin: 0;
  padding: 0;
}
.doctor-quote p {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #1f2937;
  font-style: italic;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}
@media (max-width: 768px) {
  .doctor-quote p {
    font-size: 14px;
    line-height: 1.45;
  }
}
@media (max-width: 576px) {
  .doctor-quote p {
    font-size: 12px;
    line-height: 1.4;
  }
}

.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid #e9ecef;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.tabs .tab-btn {
  padding: 16px 32px;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.tabs .tab-btn:hover {
  color: #0E2948;
}
.tabs .tab-btn.active {
  color: #0E2948;
}
.tabs .tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #0E2948;
  animation: slideIn 0.3s ease;
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}
.tab-content.active {
  display: block;
}

.about-doctor h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 24px;
  margin-top: 48px;
}
.about-doctor h3:first-child {
  margin-top: 0;
}
.about-doctor .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.about-doctor .info-grid .info-item {
  background: #f8f9fa;
  padding: 16px 24px;
  border-radius: 16px;
  transition: all 0.3s ease;
}
.about-doctor .info-grid .info-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.about-doctor .info-grid .info-item .info-label {
  display: block;
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 4px;
}
.about-doctor .info-grid .info-item .info-value {
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
}
.about-doctor .bio-content {
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 32px;
}
.about-doctor .services-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.about-doctor .services-list li {
  padding: 16px 24px;
  background: rgba(14, 41, 72, 0.05);
  border-radius: 16px;
  color: #2c3e50;
  transition: all 0.3s ease;
}
.about-doctor .services-list li:hover {
  background: rgba(14, 41, 72, 0.1);
  transform: translateX(5px);
}
.about-doctor .services-list li::before {
  content: "✓";
  color: #0E2948;
  margin-right: 8px;
  font-weight: 700;
}

.timeline-item {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e9ecef;
}
.timeline-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.timeline-item .timeline-year {
  min-width: 100px;
  font-weight: 700;
  color: #0E2948;
  font-size: 1.125rem;
  position: relative;
}
.timeline-item .timeline-year::before {
  content: "";
  position: absolute;
  right: -24px;
  top: 50%;
  width: 12px;
  height: 12px;
  background: #0E2948;
  border-radius: 50%;
  transform: translateY(-50%);
}
.timeline-item .timeline-content {
  flex: 1;
}
.timeline-item .timeline-content h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 4px;
}
.timeline-item .timeline-content p {
  color: #6c757d;
  margin-bottom: 8px;
  line-height: 1.5;
}
.timeline-item .timeline-content .timeline-type,
.timeline-item .timeline-content .timeline-location {
  font-size: 0.875rem;
  color: #0E2948;
  background: rgba(14, 41, 72, 0.1);
  padding: 4px 16px;
  border-radius: 50px;
  display: inline-block;
  margin-top: 4px;
}

.education-timeline .empty-state,
.experience-timeline .empty-state {
  text-align: center;
  padding: 60px;
  background: #f8f9fa;
  border-radius: 20px;
}
.education-timeline .empty-state p,
.experience-timeline .empty-state p {
  color: #6c757d;
  margin: 0;
}

@media (max-width: 768px) {
  .timeline-item {
    flex-direction: column;
    gap: 16px;
  }
  .timeline-item .timeline-year {
    min-width: auto;
  }
  .timeline-item .timeline-year::before {
    display: none;
  }
}
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.certificates-grid .certificate-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.certificates-grid .certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 139, 208, 0.25);
}
.certificates-grid .certificate-card .certificate-preview {
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  position: relative;
  cursor: pointer;
}
.certificates-grid .certificate-card .certificate-preview .certificate-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
.certificates-grid .certificate-card .certificate-preview .certificate-link img.certificate-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.certificates-grid .certificate-card .certificate-preview .certificate-link img.certificate-thumb:hover {
  transform: scale(1.08);
}
.certificates-grid .certificate-card .certificate-preview .certificate-pdf-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: linear-gradient(135deg, #fff5e6 0%, #ffe0b3 100%);
  transition: all 0.3s ease;
}
.certificates-grid .certificate-card .certificate-preview .certificate-pdf-preview:hover {
  background: linear-gradient(135deg, #ffe0b3 0%, #ffcc80 100%);
}
.certificates-grid .certificate-card .certificate-preview .certificate-pdf-preview:hover .pdf-icon {
  transform: scale(1.1);
}
.certificates-grid .certificate-card .certificate-preview .certificate-pdf-preview .pdf-icon {
  font-size: 4rem;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}
.certificates-grid .certificate-card .certificate-preview .certificate-pdf-preview .pdf-name {
  font-size: 0.875rem;
  color: #2c3e50;
  font-weight: 500;
  text-align: center;
  padding: 0 8px;
  word-break: break-word;
}
.certificates-grid .certificate-card .certificate-preview .certificate-no-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.certificates-grid .certificate-card .certificate-preview .certificate-no-preview .no-preview-icon {
  font-size: 3.5rem;
  margin-bottom: 8px;
  opacity: 0.6;
}
.certificates-grid .certificate-card .certificate-preview .certificate-no-preview .no-preview-text {
  font-size: 0.875rem;
  color: #6c757d;
}
.certificates-grid .certificate-card .certificate-preview .file-type-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}
.certificates-grid .certificate-card .certificate-preview::after {
  content: "🔍";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  transition: transform 0.3s ease;
  pointer-events: none;
  z-index: 3;
}
.certificates-grid .certificate-card .certificate-preview:hover::after {
  transform: translate(-50%, -50%) scale(1);
}
.certificates-grid .certificate-card .certificate-info {
  padding: 24px;
}
.certificates-grid .certificate-card .certificate-info .certificate-header {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.certificates-grid .certificate-card .certificate-info .certificate-header .certificate-icon {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #0E2948 95%, #FFD700 5%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.certificates-grid .certificate-card .certificate-info .certificate-header .certificate-title {
  flex: 1;
}
.certificates-grid .certificate-card .certificate-info .certificate-header .certificate-title h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 4px;
  line-height: 1.4;
}
.certificates-grid .certificate-card .certificate-info .certificate-header .certificate-title .certificate-org {
  font-size: 0.875rem;
  color: #0E2948;
  margin-bottom: 0;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.certificates-grid .certificate-card .certificate-info .certificate-header .certificate-title .certificate-org .org-icon {
  font-size: 14px;
}
.certificates-grid .certificate-card .certificate-info .certificate-desc {
  font-size: 0.875rem;
  color: #6c757d;
  line-height: 1.5;
  margin: 16px 0;
  padding: 8px;
  background: #f8f9fa;
  border-radius: 8px;
  display: flex;
  gap: 8px;
}
.certificates-grid .certificate-card .certificate-info .certificate-desc .desc-icon {
  font-size: 14px;
  flex-shrink: 0;
}
.certificates-grid .certificate-card .certificate-info .certificate-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 8px;
  border-top: 1px solid #e9ecef;
}
.certificates-grid .certificate-card .certificate-info .certificate-footer .certificate-year {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: #0E2948;
  background: rgba(14, 41, 72, 0.1);
  padding: 4px 16px;
  border-radius: 50px;
  font-weight: 500;
}
.certificates-grid .certificate-card .certificate-info .certificate-footer .certificate-year .year-icon {
  font-size: 12px;
}
.certificates-grid .certificate-card .certificate-info .certificate-footer .btn-certificate-view {
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  border: none;
  background: linear-gradient(135deg, #0E2948 0%, #09203a 100%);
  color: white;
}
.certificates-grid .certificate-card .certificate-info .certificate-footer .btn-certificate-view .btn-icon {
  font-size: 14px;
}
.certificates-grid .certificate-card .certificate-info .certificate-footer .btn-certificate-view:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 139, 208, 0.25);
}
.certificates-grid .certificate-card .certificate-info .certificate-footer .btn-certificate-view:active {
  transform: translateY(0);
}
.certificates-grid .empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px;
  background: #f8f9fa;
  border-radius: 20px;
}
.certificates-grid .empty-state .empty-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.5;
}
.certificates-grid .empty-state h4 {
  font-size: 1.125rem;
  color: #2c3e50;
  margin-bottom: 8px;
}
.certificates-grid .empty-state p {
  color: #6c757d;
  margin: 0;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
@media (max-width: 768px) {
  .certificates-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
  }
  .certificates-grid .certificate-card .certificate-preview {
    height: 180px;
  }
  .certificates-grid .certificate-card .certificate-info {
    padding: 16px;
  }
  .certificates-grid .certificate-card .certificate-info .certificate-footer {
    flex-direction: column;
    gap: 8px;
  }
  .certificates-grid .certificate-card .certificate-info .certificate-footer .certificate-actions {
    width: 100%;
  }
  .certificates-grid .certificate-card .certificate-info .certificate-footer .certificate-actions .btn-certificate-view,
  .certificates-grid .certificate-card .certificate-info .certificate-footer .certificate-actions .btn-certificate-download {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
  .certificates-grid .certificate-card .certificate-info .certificate-header .certificate-icon {
    width: 40px;
    height: 40px;
    font-size: 1.8rem;
  }
}
@media (max-width: 576px) {
  .certificates-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.fancybox__container {
  --fancybox-bg: rgba(0, 0, 0, 0.9);
}

.fancybox__slide {
  padding: 20px;
}

.fancybox__caption {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: white;
  font-size: 14px;
  padding: 15px;
  text-align: center;
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.reviews-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
}
.reviews-header .btn-add-review {
  background: transparent;
  border: 2px solid #0E2948;
  color: #0E2948;
  padding: 8px 32px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}
.reviews-header .btn-add-review:hover {
  background: #0E2948;
  color: white;
  transform: translateY(-2px);
}

.reviews-summary {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}
.reviews-summary .rating-circle {
  text-align: center;
  background: #f8f9fa;
  padding: 32px 48px;
  border-radius: 50%;
}
.reviews-summary .rating-circle .rating-value {
  font-size: 3rem;
  font-weight: 800;
  color: #0E2948;
  display: block;
  line-height: 1;
}
.reviews-summary .rating-circle .rating-stars {
  font-size: 1.25rem;
  color: #FFD700;
  letter-spacing: 4px;
  margin: 8px 0;
}
.reviews-summary .rating-circle .rating-count {
  font-size: 0.875rem;
  color: #6c757d;
}

.review-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.review-card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}
.review-card .review-header {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.review-card .review-header .reviewer-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0E2948 0%, #09203a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-card .review-header .reviewer-avatar span {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
}
.review-card .review-header .reviewer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.review-card .review-header .reviewer-info {
  flex: 1;
}
.review-card .review-header .reviewer-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 4px;
}
.review-card .review-header .reviewer-info .review-rating {
  color: #FFD700;
  font-size: 0.875rem;
  margin-bottom: 4px;
  letter-spacing: 1px;
}
.review-card .review-header .reviewer-info .review-date {
  font-size: 0.75rem;
  color: #6c757d;
}
.review-card .review-content p {
  color: #4a5568;
  line-height: 1.7;
  margin: 0;
}
.review-card .doctor-response {
  margin-top: 16px;
  padding: 16px 24px;
  background: rgba(14, 41, 72, 0.05);
  border-radius: 12px;
  border-left: 3px solid #0E2948;
}
.review-card .doctor-response strong {
  display: block;
  color: #0E2948;
  margin-bottom: 8px;
  font-size: 0.875rem;
}
.review-card .doctor-response p {
  margin: 0;
  font-size: 0.875rem;
}

.reviews-list .empty-state {
  text-align: center;
  padding: 60px;
  background: #f8f9fa;
  border-radius: 20px;
}
.reviews-list .empty-state p {
  color: #6c757d;
  margin: 0;
}

.doctor-contacts {
  padding: 60px 0;
  background: #f8f9fa;
  margin-top: 60px;
}
.doctor-contacts .contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 768px) {
  .doctor-contacts .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.doctor-contacts .working-hours,
.doctor-contacts .contact-info {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.doctor-contacts .working-hours:hover,
.doctor-contacts .contact-info:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
  transform: translateY(-3px);
}
.doctor-contacts .working-hours h3,
.doctor-contacts .contact-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.doctor-contacts .schedule-list .schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #e9ecef;
}
.doctor-contacts .schedule-list .schedule-item:last-child {
  border-bottom: none;
}
.doctor-contacts .schedule-list .schedule-item .day {
  font-weight: 600;
  color: #2c3e50;
  width: 110px;
}
.doctor-contacts .schedule-list .schedule-item .time {
  flex: 1;
  color: #6c757d;
}
.doctor-contacts .schedule-list .schedule-item .status {
  font-size: 0.75rem;
  padding: 4px 16px;
  border-radius: 50px;
  font-weight: 500;
}
.doctor-contacts .schedule-list .schedule-item .status-working {
  background: #d1fae5;
  color: #059669;
}
.doctor-contacts .schedule-list .schedule-item .status-dayoff {
  background: #fee2e2;
  color: #dc2626;
}
.doctor-contacts .contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.doctor-contacts .contact-links .contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: #f8f9fa;
  border-radius: 16px;
  text-decoration: none;
  color: #2c3e50;
  transition: all 0.3s ease;
}
.doctor-contacts .contact-links .contact-link:hover {
  background: #0E2948;
  color: white;
  transform: translateX(8px);
}
.doctor-contacts .contact-links .contact-link.whatsapp:hover {
  background: #25D366;
}
.doctor-contacts .contact-links .contact-link.telegram:hover {
  background: #0088cc;
}

.calendar-container {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.calendar-container .calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.calendar-container .calendar-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
}
.calendar-container .calendar-header .calendar-nav {
  background: #f8f9fa;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.calendar-container .calendar-header .calendar-nav:hover {
  background: #0E2948;
  color: white;
}
.calendar-container .calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 8px;
}
.calendar-container .calendar-weekdays span {
  font-weight: 700;
  color: #6c757d;
  padding: 8px;
}
.calendar-container .calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.calendar-container .calendar-grid .calendar-day {
  aspect-ratio: 1;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.calendar-container .calendar-grid .calendar-day:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.calendar-container .calendar-grid .calendar-day .day-number {
  font-weight: 600;
  font-size: 1rem;
}
.calendar-container .calendar-grid .calendar-day .day-indicator {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.calendar-container .calendar-grid .calendar-day.status-available {
  background: #d4edda;
  color: #155724;
}
.calendar-container .calendar-grid .calendar-day.status-available .day-indicator {
  background: #28a745;
}
.calendar-container .calendar-grid .calendar-day.status-partial {
  background: #fff3cd;
  color: #856404;
}
.calendar-container .calendar-grid .calendar-day.status-partial .day-indicator {
  background: #ffc107;
}
.calendar-container .calendar-grid .calendar-day.status-leave {
  background: #f8d7da;
  color: #721c24;
}
.calendar-container .calendar-grid .calendar-day.status-leave .day-indicator {
  background: #dc3545;
}
.calendar-container .calendar-grid .calendar-day.status-dayoff {
  background: #e2e3e5;
  color: #383d41;
}
.calendar-container .calendar-grid .calendar-day.status-dayoff .day-indicator {
  background: #6c757d;
}
.calendar-container .calendar-grid .calendar-day.status-appointments {
  background: #cce5ff;
  color: #004085;
}
.calendar-container .calendar-grid .calendar-day.status-appointments .day-indicator {
  background: #007bff;
}
.calendar-container .calendar-grid .calendar-day.other-month {
  opacity: 0.4;
}

.calendar-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.calendar-legend .legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
}
.calendar-legend .legend-item span {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.day-detail-modal .modal-content {
  max-width: 500px;
}
.day-detail-modal .modal-content .appointment-item {
  padding: 16px;
  border-bottom: 1px solid #e9ecef;
}
.day-detail-modal .modal-content .appointment-item:last-child {
  border-bottom: none;
}
.day-detail-modal .modal-content .appointment-item .appointment-time {
  font-weight: 700;
  color: #0E2948;
}
.day-detail-modal .modal-content .appointment-item .appointment-patient {
  font-weight: 600;
}
.day-detail-modal .modal-content .slot-item {
  padding: 8px;
  background: #f8d7da;
  border-radius: 8px;
  margin-bottom: 8px;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
  margin-top: 16px;
}
.time-slots-grid .time-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  border-radius: 8px;
  background: #f8f9fa;
}
.time-slots-grid .time-slot.available {
  background: #d4edda;
  border-left: 3px solid #28a745;
}
.time-slots-grid .time-slot.available .slot-book-btn {
  background: #28a745;
  color: white;
  border: none;
  padding: 4px 12px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.75rem;
  transition: all 0.3s ease;
}
.time-slots-grid .time-slot.available .slot-book-btn:hover {
  background: #1e7e34;
  transform: scale(1.05);
}
.time-slots-grid .time-slot.booked {
  background: #f8d7da;
  border-left: 3px solid #dc3545;
  opacity: 0.7;
}
.time-slots-grid .time-slot.booked .slot-status {
  color: #dc3545;
}
.time-slots-grid .time-slot .slot-time {
  font-weight: 700;
  font-size: 1rem;
}
.time-slots-grid .time-slot .slot-status {
  font-size: 0.75rem;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}
.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-content {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  width: 90%;
  max-width: 500px;
  position: relative;
  animation: slideUp 0.3s ease;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.05);
}
.modal-content .modal-close {
  position: absolute;
  right: 24px;
  top: 24px;
  font-size: 28px;
  cursor: pointer;
  color: #6c757d;
  transition: all 0.3s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.modal-content .modal-close:hover {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.1);
}
.modal-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 24px;
  padding-right: 32px;
}
.modal-content .form-group {
  margin-bottom: 24px;
}
.modal-content .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.875rem;
}
.modal-content .form-group input,
.modal-content .form-group select {
  width: 100%;
  padding: 16px;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.modal-content .form-group input:focus,
.modal-content .form-group select:focus {
  outline: none;
  border-color: #0E2948;
  box-shadow: 0 0 0 3px rgba(14, 41, 72, 0.1);
}
.modal-content .btn-primary {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #0E2948 0%, #09203a 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}
.modal-content .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 139, 208, 0.25);
}
.modal-content .btn-primary:active {
  transform: translateY(0);
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal.show {
  display: flex;
  animation: modalFadeIn 0.3s ease;
}
.modal-content {
  background: white;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.3s ease;
}
@media (max-width: 576px) {
  .modal-content {
    width: 95%;
    border-radius: 16px;
  }
}
.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #999;
  transition: all 0.2s;
  z-index: 10;
}
.modal-close:hover {
  color: #0E2948;
  transform: scale(1.1);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.review-modal .modal-content {
  max-width: 500px;
  padding: 30px;
}
.review-modal .modal-content h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #1f2937;
}

.rating-input {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.rating-star {
  font-size: 32px;
  cursor: pointer;
  color: #d1d5db;
  transition: all 0.2s;
}
.rating-star:hover {
  transform: scale(1.1);
}
.rating-star.active {
  color: #f59e0b;
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #374151;
  font-size: 14px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: #0E2948;
  box-shadow: 0 0 0 3px rgba(14, 41, 72, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.simple-calendar-container {
  background: white;
  border-radius: 16px;
  padding: 20px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.calendar-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.calendar-nav {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s;
}
.calendar-nav:hover {
  background: #f3f4f6;
  transform: scale(1.05);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 10px;
  padding: 10px 0;
}
.calendar-weekdays span {
  padding: 8px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.calendar-day {
  aspect-ratio: 1;
  padding: 8px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.calendar-day:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.calendar-day .day-number {
  font-size: 14px;
  font-weight: 500;
  position: relative;
  z-index: 1;
}
.calendar-day .day-indicator {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.calendar-day.status-available {
  background: #e8f5e9;
  color: #2e7d32;
}
.calendar-day.status-available .day-indicator {
  background: #4caf50;
}
.calendar-day.status-dayoff {
  background: #f5f5f5;
  color: #9e9e9e;
  cursor: not-allowed;
}
.calendar-day.status-dayoff:hover {
  transform: none;
  box-shadow: none;
}
.calendar-day.status-leave {
  background: #ffebee;
  color: #c62828;
}
.calendar-day.status-leave .day-indicator {
  background: #ef5350;
}
.calendar-day.status-appointments {
  background: #e3f2fd;
  color: #1565c0;
}
.calendar-day.status-appointments .day-indicator {
  background: #2196f3;
}

.calendar-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #e5e7eb;
  flex-wrap: wrap;
}
.calendar-legend .legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #6b7280;
}
.calendar-legend .legend-item span {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  display: inline-block;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 15px;
}

.time-slot {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  transition: all 0.2s;
}
.time-slot.available {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.time-slot.available:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}
.time-slot.booked {
  background: #fef2f2;
  border-color: #fecaca;
  opacity: 0.7;
  cursor: not-allowed;
}
.time-slot .slot-time {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.time-slot .slot-status {
  display: block;
  font-size: 10px;
  margin-top: 4px;
}
.time-slot .slot-book-btn {
  margin-top: 8px;
  padding: 4px 8px;
  background: #0E2948;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 11px;
  transition: all 0.2s;
}
.time-slot .slot-book-btn:hover {
  background: #1a3a5c;
  transform: scale(1.02);
}

.btn-notify {
  background: #0E2948;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 10px;
}
.btn-notify:hover {
  background: #1a3a5c;
  transform: translateY(-2px);
}

.alert {
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
}
.alert-icon {
  font-size: 24px;
}
.alert-content {
  flex: 1;
}
.alert-warning {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  color: #92400e;
}
.alert-info {
  background: #e0f2fe;
  border-left: 4px solid #0ea5e9;
  color: #0369a1;
}

.empty-state-full {
  text-align: center;
  padding: 60px;
  background: #f9fafb;
  border-radius: 20px;
}
.empty-state-full .empty-icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.5;
}
.empty-state-full h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #374151;
}
.empty-state-full p {
  color: #6b7280;
  margin-bottom: 20px;
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.reviews-summary {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px;
  background: #f9fafb;
  border-radius: 16px;
}

.rating-circle .rating-value {
  font-size: 48px;
  font-weight: 800;
  color: #0E2948;
}
.rating-circle .rating-stars {
  font-size: 20px;
  color: #f59e0b;
  margin: 8px 0;
}
.rating-circle .rating-count {
  font-size: 14px;
  color: #6b7280;
}

.review-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
}
.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.review-card .review-header {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}
.review-card .reviewer-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #0E2948 0%, #1a3a5c 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-card .reviewer-avatar span {
  font-size: 20px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
}
.review-card .reviewer-info {
  flex: 1;
}
.review-card .review-rating {
  font-size: 14px;
  color: #f59e0b;
  margin: 5px 0;
}
.review-card .review-date {
  font-size: 11px;
  color: #9ca3af;
}
.review-card .review-content {
  color: #4b5563;
  line-height: 1.6;
}
.review-card .doctor-response {
  margin-top: 15px;
  padding: 15px;
  background: #f3f4f6;
  border-radius: 12px;
  border-left: 3px solid #0E2948;
}

@media (max-width: 992px) {
  .doctor-hero__inner {
    gap: 48px;
  }
  .doctor-stats .stat-item {
    padding: 16px 24px;
  }
}
@media (max-width: 768px) {
  .doctor-hero__inner {
    flex-direction: column;
  }
  .doctor-hero__image {
    text-align: center;
  }
  .doctor-avatar {
    max-width: 280px;
  }
  .doctor-stats .stat-item {
    padding: 8px 24px;
  }
  .doctor-stats .stat-item .stat-value {
    font-size: 20px;
  }
}
@media (max-width: 576px) {
  .doctor-stats {
    gap: 8px;
  }
  .doctor-stats .stat-item {
    padding: 8px 16px;
  }
  .doctor-stats .stat-item .stat-value {
    font-size: 18px;
  }
  .doctor-stats .stat-item .stat-label {
    font-size: 10px;
  }
}
@media (max-width: 480px) {
  .doctor-stats {
    width: 100%;
  }
  .doctor-stats .stat-item {
    flex: 1;
    min-width: 70px;
  }
  .doctor-stats .stat-item .stat-value {
    font-size: 16px;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideIn {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 100%;
    opacity: 1;
  }
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}
.doctor-detail-page {
  background: #ffffff;
}

.simple-calendar-container {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.calendar-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
}

.calendar-nav {
  background: #008BD0;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 10px;
  font-weight: 600;
  color: #6c757d;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  min-height: 400px;
}

.calendar-day {
  aspect-ratio: 1;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
}

.calendar-day:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.day-number {
  font-weight: 500;
}

.day-indicator {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-available {
  background: #d4edda;
}

.status-available .day-indicator {
  background: #28a745;
}

.status-appointments {
  background: #cce5ff;
}

.status-appointments .day-indicator {
  background: #007bff;
}

.status-leave {
  background: #f8d7da;
}

.status-leave .day-indicator {
  background: #dc3545;
}

.status-dayoff {
  background: #e2e3e5;
}

.status-dayoff .day-indicator {
  background: #6c757d;
}

.other-month {
  opacity: 0.4;
}

.calendar-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.legend-item span {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

/* Базовые стили для табов */
.doctor_detail_tab__content {
  display: none;
}

.doctor_detail_tab__content.active {
  display: block;
}

.doctor_detail_tab.active {
  background: #0E2948 !important;
  color: white !important;
}

.doctor_detail_tab {
  cursor: pointer;
  transition: all 0.3s;
}

.doctor-detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.doctor-detail-breadcrumbs {
  padding: 20px 0;
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}
.doctor-detail-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
}
.doctor-detail-breadcrumbs__item {
  display: flex;
  align-items: center;
}
.doctor-detail-breadcrumbs__item:not(:last-child):after {
  content: "/";
  margin-left: 8px;
  color: #adb5bd;
}
.doctor-detail-breadcrumbs__link {
  color: #2c7da0;
  text-decoration: none;
  transition: all 0.3s ease;
}
.doctor-detail-breadcrumbs__link:hover {
  color: #1f5068;
  text-decoration: underline;
}
.doctor-detail-breadcrumbs__current {
  color: #6c757d;
}

.doctor-detail-hero {
  padding: 40px 0;
  background: white;
  border-bottom: 1px solid #e9ecef;
}
.doctor-detail-hero__inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
}
@media (max-width: 768px) {
  .doctor-detail-hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.doctor-detail-hero__image {
  position: relative;
}

.doctor-detail-avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #61a5c2, #2c7da0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.doctor-detail-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}
.doctor-detail-avatar img:hover {
  transform: scale(1.02);
}
.doctor-detail-avatar__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
}

.doctor-detail-badges {
  position: absolute;
  bottom: -10px;
  left: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.doctor-detail-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.doctor-detail-badge-expert {
  background: linear-gradient(135deg, #f6d365, #fda085);
  color: white;
}
.doctor-detail-badge-category {
  background: linear-gradient(135deg, #2c7da0, #1f5068);
  color: white;
}

.doctor-detail-hero__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.doctor-detail-name {
  font-size: 32px;
  font-weight: 700;
  color: #212529;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .doctor-detail-name {
    font-size: 24px;
  }
}

.doctor-detail-btn-favorite {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  color: #ced4da;
}
.doctor-detail-btn-favorite:hover {
  background: #f8f9fa;
  color: #dc3545;
  transform: scale(1.1);
}
.doctor-detail-btn-favorite.active {
  color: #dc3545;
}

.doctor-detail-specialization {
  font-size: 18px;
  color: #2c7da0;
  font-weight: 500;
  margin: 0;
}

.doctor-detail-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.doctor-detail-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.doctor-detail-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: #2c7da0;
}

.doctor-detail-stat-label {
  font-size: 14px;
  color: #6c757d;
}

.doctor-detail-quote {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  padding: 16px;
  background: linear-gradient(135deg, #f8f9fa, white);
  border-radius: 8px;
  border-left: 4px solid #2c7da0;
}
.doctor-detail-quote blockquote {
  margin: 0;
}
.doctor-detail-quote p {
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  color: #495057;
  font-style: italic;
}

.doctor-detail-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.doctor-detail-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.doctor-detail-btn-primary {
  background: #2c7da0;
  color: white;
}
.doctor-detail-btn-primary:hover {
  background: #1f5068;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.doctor-detail-btn-outline {
  background: transparent;
  border: 2px solid #2c7da0;
  color: #2c7da0;
}
.doctor-detail-btn-outline:hover {
  background: #2c7da0;
  color: white;
  transform: translateY(-2px);
}

.doctor-detail-content {
  padding: 40px 0;
  background: #f8f9fa;
}

.doctor-detail-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  border-bottom: 2px solid #dee2e6;
  padding-bottom: 8px;
}

.doctor-detail-tab-btn {
  padding: 12px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: #6c757d;
  transition: all 0.3s ease;
  border-radius: 8px 8px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.doctor-detail-tab-btn:hover {
  color: #2c7da0;
  background: rgba(44, 125, 160, 0.1);
}
.doctor-detail-tab-btn.active {
  color: #2c7da0;
  background: white;
  border-bottom: 3px solid #2c7da0;
}

.doctor-detail-tab-icon {
  font-size: 18px;
}

.doctor-detail-tab-count {
  background: #dee2e6;
  color: #495057;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 12px;
}

.doctor-detail-tab-empty {
  font-size: 12px;
  color: #adb5bd;
  font-weight: normal;
}

.doctor-detail-tab-content {
  display: none;
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.doctor-detail-tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.doctor-detail-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.doctor-detail-info-item {
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
}

.doctor-detail-info-label {
  display: block;
  font-size: 12px;
  color: #6c757d;
  margin-bottom: 4px;
}

.doctor-detail-info-value {
  font-size: 16px;
  font-weight: 500;
  color: #212529;
}

.doctor-detail-bio,
.doctor-detail-education-info,
.doctor-detail-achievements,
.doctor-detail-services {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid #e9ecef;
}
.doctor-detail-bio h3,
.doctor-detail-education-info h3,
.doctor-detail-achievements h3,
.doctor-detail-services h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: #212529;
}

.doctor-detail-bio-content {
  line-height: 1.6;
  color: #495057;
}

.doctor-detail-services-list {
  list-style: none;
  padding: 0;
}
.doctor-detail-services-list li {
  padding: 12px;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.doctor-detail-services-list li:last-child {
  border-bottom: none;
}

.doctor-detail-service-name {
  font-weight: 500;
}

.doctor-detail-service-price {
  color: #2c7da0;
  font-weight: 600;
}

.doctor-detail-service-duration {
  color: #6c757d;
  font-size: 14px;
}

.doctor-detail-education-timeline,
.doctor-detail-experience-timeline {
  position: relative;
}

.doctor-detail-timeline-item {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  position: relative;
}
.doctor-detail-timeline-item:last-child {
  margin-bottom: 0;
}
.doctor-detail-timeline-item:before {
  content: "";
  position: absolute;
  left: 56px;
  top: 24px;
  bottom: -24px;
  width: 2px;
  background: #dee2e6;
}
.doctor-detail-timeline-item:last-child:before {
  display: none;
}

.doctor-detail-timeline-year {
  min-width: 80px;
  font-weight: 700;
  color: #2c7da0;
  font-size: 18px;
}

.doctor-detail-timeline-content {
  flex: 1;
  padding-bottom: 16px;
}
.doctor-detail-timeline-content h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #212529;
}
.doctor-detail-timeline-content p {
  margin: 4px 0;
  color: #495057;
}

.doctor-detail-timeline-type,
.doctor-detail-timeline-location {
  display: inline-block;
  padding: 2px 8px;
  background: #e9ecef;
  border-radius: 4px;
  font-size: 12px;
  margin-top: 8px;
}

.doctor-detail-certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.doctor-detail-certificate-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.doctor-detail-certificate-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.doctor-detail-certificate-preview {
  height: 200px;
  overflow: hidden;
  background: #f8f9fa;
  position: relative;
}

.doctor-detail-certificate-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}
.doctor-detail-certificate-thumb:hover {
  transform: scale(1.05);
}

.doctor-detail-certificate-pdf-preview {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.doctor-detail-pdf-icon {
  font-size: 48px;
}

.doctor-detail-pdf-name {
  margin-top: 8px;
  font-size: 14px;
  color: #495057;
}

.doctor-detail-certificate-info {
  padding: 16px;
}

.doctor-detail-certificate-title h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #212529;
}

.doctor-detail-certificate-org {
  font-size: 14px;
  color: #6c757d;
  margin: 4px 0;
}

.doctor-detail-certificate-desc {
  font-size: 14px;
  color: #495057;
  margin: 12px 0;
}

.doctor-detail-certificate-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e9ecef;
}

.doctor-detail-certificate-year {
  font-size: 14px;
  color: #6c757d;
}

.doctor-detail-btn-certificate-view {
  background: none;
  border: none;
  cursor: pointer;
  color: #2c7da0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  transition: all 0.3s ease;
}
.doctor-detail-btn-certificate-view:hover {
  color: #1f5068;
  transform: scale(1.05);
}

.doctor-detail-reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.doctor-detail-reviews-header h3 {
  margin: 0;
  font-size: 24px;
}

.doctor-detail-reviews-summary {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.doctor-detail-rating-circle {
  text-align: center;
}

.doctor-detail-rating-value {
  font-size: 48px;
  font-weight: 700;
  color: #2c7da0;
}

.doctor-detail-rating-stars {
  font-size: 20px;
  color: #ffc107;
  margin: 8px 0;
}

.doctor-detail-rating-count {
  font-size: 14px;
  color: #6c757d;
}

.doctor-detail-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.doctor-detail-review-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
}
.doctor-detail-review-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.doctor-detail-review-header {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.doctor-detail-reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #61a5c2, #2c7da0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 20px;
}

.doctor-detail-reviewer-info h4 {
  margin: 0 0 4px 0;
  font-size: 16px;
}

.doctor-detail-review-rating {
  color: #ffc107;
  font-size: 14px;
  margin: 4px 0;
}

.doctor-detail-review-date {
  font-size: 12px;
  color: #6c757d;
}

.doctor-detail-review-content {
  color: #495057;
  line-height: 1.5;
}

.doctor-detail-doctor-response {
  margin-top: 16px;
  padding: 16px;
  background: white;
  border-radius: 8px;
  border-left: 3px solid #2c7da0;
}

.doctor-detail-response-header {
  margin-bottom: 8px;
}

.doctor-detail-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #6c757d;
}

.doctor-detail-empty-state-full {
  text-align: center;
  padding: 80px 20px;
  background: #f8f9fa;
  border-radius: 12px;
}

.doctor-detail-empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.doctor-detail-simple-calendar-container {
  background: white;
  border-radius: 12px;
  padding: 20px;
}

.doctor-detail-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.doctor-detail-calendar-nav {
  padding: 8px 16px;
  background: #f8f9fa;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.doctor-detail-calendar-nav:hover {
  background: #2c7da0;
  color: white;
}

.doctor-detail-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: 600;
  padding: 10px 0;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 10px;
}

.doctor-detail-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.doctor-detail-calendar-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.doctor-detail-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.doctor-detail-legend-item span {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.doctor-detail-contacts {
  padding: 40px 0;
  background: white;
}

.doctor-detail-contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 768px) {
  .doctor-detail-contact-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.doctor-detail-working-hours h3,
.doctor-detail-contact-info h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.doctor-detail-schedule-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.doctor-detail-schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
}

.doctor-detail-day {
  font-weight: 500;
}

.doctor-detail-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
}
.doctor-detail-status-working {
  background: #28a745;
  color: white;
}
.doctor-detail-status-dayoff {
  background: #adb5bd;
  color: white;
}

.doctor-detail-contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.doctor-detail-contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.doctor-detail-contact-link:hover {
  background: #e9ecef;
  transform: translateX(4px);
}

.doctor-detail-contact-icon {
  font-size: 24px;
}

.doctor-detail-contact-details {
  display: flex;
  flex-direction: column;
}
.doctor-detail-contact-details small {
  font-size: 12px;
  color: #6c757d;
}
.doctor-detail-contact-details strong {
  font-size: 16px;
  color: #212529;
}

.doctor-detail-online-booking {
  margin-top: 20px;
}

.doctor-detail-alert {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.doctor-detail-alert-warning {
  background: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
}
.doctor-detail-alert-info {
  background: #d1ecf1;
  border: 1px solid #bee5eb;
  color: #0c5460;
}

.doctor-detail-alert-icon {
  font-size: 24px;
}

.doctor-detail-alert-content {
  flex: 1;
}
.doctor-detail-alert-content strong {
  display: block;
  margin-bottom: 8px;
}
.doctor-detail-alert-content p {
  margin: 8px 0;
}

.doctor-detail-alert-list {
  margin: 12px 0;
  padding-left: 20px;
}

.doctor-detail-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.doctor-detail-modal.active {
  display: flex;
}

.doctor-detail-modal-content {
  background: white;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  position: relative;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.doctor-detail-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #6c757d;
  transition: all 0.3s ease;
}
.doctor-detail-modal-close:hover {
  color: #dc3545;
}

.doctor-detail-form-group {
  margin-bottom: 20px;
}
.doctor-detail-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}
.doctor-detail-form-group input,
.doctor-detail-form-group select,
.doctor-detail-form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
}
.doctor-detail-form-group input:focus,
.doctor-detail-form-group select:focus,
.doctor-detail-form-group textarea:focus {
  outline: none;
  border-color: #2c7da0;
  box-shadow: 0 0 0 3px rgba(44, 125, 160, 0.1);
}

@media (max-width: 576px) {
  .doctor-detail-container {
    padding: 0 16px;
  }
  .doctor-detail-tabs {
    flex-direction: column;
  }
  .doctor-detail-tab-btn {
    justify-content: center;
  }
  .doctor-detail-timeline-item {
    flex-direction: column;
    gap: 8px;
  }
  .doctor-detail-timeline-item:before {
    display: none;
  }
  .doctor-detail-certificates-grid {
    grid-template-columns: 1fr;
  }
}
/* Желтый цвет для точек */
/* Новый цвет фона */
@keyframes floatParticle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}
@keyframes rotateGradient {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes rotateOrbit {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.fade-in-left {
  animation: fadeInLeft 0.6s ease forwards;
}

.fade-in-right {
  animation: fadeInRight 0.6s ease forwards;
}

.scale-in {
  animation: scaleIn 0.4s ease forwards;
}

.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.cases-section {
  padding: 6rem 0;
  background: #F9FAFB;
}

.container-cases {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cases-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.case-card {
  background: #FFFFFF;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.case-card:hover {
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.case-card:hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.case-card:hover .case-card__image img {
  transform: scale(1.1);
}
.case-card:hover .case-overlay {
  opacity: 1;
}
.case-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/11;
}
.case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
.case-card__image .case-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #0E2948 99%, #00C9A7 1%);
  color: #FFFFFF;
  padding: 0.25rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 1;
}
.case-card__image .case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 41, 72, 0.9), rgba(0, 201, 167, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.case-card__image .case-overlay .overlay-content {
  text-align: center;
  color: #FFFFFF;
}
.case-card__image .case-overlay .overlay-content svg {
  width: 40px;
  height: 40px;
  margin-bottom: 0.5rem;
}
.case-card__image .case-overlay .overlay-content span {
  font-size: 0.875rem;
  font-weight: 500;
}
.case-card__content {
  padding: 2rem;
}
.case-card__content .case-diagnosis {
  display: inline-block;
  padding: 0.25rem 1rem;
  background: rgba(14, 41, 72, 0.1);
  color: #0E2948;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.case-card__content .case-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  line-height: 1.4;
}
.case-card__content .case-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
}
.case-card__content .case-meta .case-date {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #9CA3AF;
  font-size: 0.75rem;
}
.case-card__content .case-meta .case-date svg {
  width: 14px;
  height: 14px;
}
.case-card__content .case-meta .read-more {
  color: #0E2948;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.case-card__content .case-meta .read-more:hover {
  gap: 1rem;
}

.comparison-gallery {
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  border-radius: 1.5rem;
  padding: 2rem;
  margin-bottom: 4rem;
}
.comparison-gallery .comparison-slider {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  cursor: ew-resize;
}
.comparison-gallery .comparison-slider .comparison-image {
  width: 100%;
  height: auto;
  display: block;
}
.comparison-gallery .comparison-slider #comparisonBefore {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
}
.comparison-gallery .comparison-slider .comparison-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #FFFFFF;
  left: 50%;
  cursor: ew-resize;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.gallery-section {
  margin-bottom: 4rem;
}
.gallery-section .gallery-slider {
  margin-top: 2rem;
}
.gallery-section .gallery-slider .swiper-slide {
  cursor: pointer;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-section .gallery-slider .swiper-slide:hover {
  transform: scale(1.05);
}
.gallery-section .gallery-slider .swiper-slide img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.gallery-section .gallery-slider .swiper-slide .image-type-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  z-index: 1;
}

.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  cursor: pointer;
}
.image-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-modal img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}
.image-modal .close-modal {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #FFFFFF;
  font-size: 40px;
  cursor: pointer;
  transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.image-modal .close-modal:hover {
  transform: scale(1.1);
}

/* Желтый цвет для точек */
/* Новый цвет фона */
.cases-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #028BD0; /* Используем переменную */
  isolation: isolate;
}
.cases-hero .gradient-orb {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 215, 0, 0.15) 0%, rgba(255, 255, 255, 0.08) 30%, transparent 70%);
  animation: rotateGradient 25s linear infinite;
  z-index: 0;
}
.cases-hero .orbit-ring {
  position: absolute;
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 50%;
  animation: rotateOrbit linear infinite;
  z-index: 0;
}
.cases-hero .orbit-ring:nth-child(1) {
  width: 400px;
  height: 400px;
  top: 15%;
  left: -100px;
  animation-duration: 30s;
}
.cases-hero .orbit-ring:nth-child(2) {
  width: 600px;
  height: 600px;
  bottom: -150px;
  right: -150px;
  animation-duration: 40s;
  animation-direction: reverse;
}
.cases-hero .orbit-ring:nth-child(3) {
  width: 250px;
  height: 250px;
  top: 50%;
  right: 10%;
  animation-duration: 20s;
}
.cases-hero .orbit-ring .orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #FFD700; /* Желтый цвет из переменной */
  border-radius: 50%;
  top: -4px;
  left: 50%;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}
.cases-hero .particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.cases-hero .particles-container .particle {
  position: absolute;
  background: rgba(255, 215, 0, 0.6); /* Желтые частицы */
  border-radius: 50%;
  pointer-events: none;
  animation: floatParticle linear infinite;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}
.cases-hero .hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}
.cases-hero .hero-content .hero-badge {
  display: flex;
  margin-top: 10px;
  flex-direction: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 9999px;
  font-size: 24px;
  font-weight: 500;
  color: #FFFFFF;
  border: 1px solid rgba(255, 215, 0, 0.3);
}
.cases-hero .hero-content .hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.2;
  color: #FFFFFF;
}
@media (min-width: 768px) {
  .cases-hero .hero-content .hero-title {
    font-size: 4rem;
  }
}
@media (min-width: 1024px) {
  .cases-hero .hero-content .hero-title {
    font-size: 5rem;
  }
}
.cases-hero .hero-content .hero-title .gradient-text {
  background: linear-gradient(135deg, #FFD700, #FFA500); /* Желтый градиент */
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: gradientShift 4s ease infinite;
}
.cases-hero .hero-content .hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .cases-hero .hero-content .hero-description {
    font-size: 1.25rem;
  }
}
.cases-hero .hero-content .hero-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.cases-hero .hero-content .hero-stats .stat-item {
  text-align: center;
}
.cases-hero .hero-content .hero-stats .stat-item .stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FFD700, #FFA500); /* Желтый градиент */
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  display: block;
  line-height: 1;
}
@media (min-width: 768px) {
  .cases-hero .hero-content .hero-stats .stat-item .stat-number {
    font-size: 2.8rem;
  }
}
.cases-hero .hero-content .hero-stats .stat-item .stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 8px;
}
.cases-hero .hero-content .hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.cases-hero .hero-content .hero-buttons .btn-primary, .cases-hero .hero-content .hero-buttons .btn-outline {
  padding: 14px 35px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cases-hero .hero-content .hero-buttons .btn-primary {
  background: linear-gradient(135deg, #FFD700, #FFA500); /* Желтый градиент */
  border: none;
  color: #1a1a2e;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}
.cases-hero .hero-content .hero-buttons .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}
.cases-hero .hero-content .hero-buttons .btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}
.cases-hero .hero-content .hero-buttons .btn-outline:hover {
  border-color: #FFD700; /* Желтый цвет */
  transform: translateY(-3px);
  background: rgba(255, 215, 0, 0.1);
}
@media (min-width: 768px) {
  .cases-hero .orbit-ring:nth-child(1), .cases-hero .orbit-ring:nth-child(2), .cases-hero .orbit-ring:nth-child(3) {
    display: none;
  }
}

.filters-section {
  margin-bottom: 3rem;
}
.filters-section .filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.filters-section .filter-buttons .filter-btn {
  padding: 0.5rem 2rem;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  color: #4B5563;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.filters-section .filter-buttons .filter-btn:hover {
  border-color: #0E2948;
  color: #0E2948;
}
.filters-section .filter-buttons .filter-btn.active {
  background: linear-gradient(135deg, #0E2948 99%, #00C9A7 1%);
  border-color: transparent;
  color: #FFFFFF;
}

.search-section {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}
.search-section .search-form {
  display: flex;
  max-width: 400px;
  width: 100%;
}
.search-section .search-form .search-input {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid #E5E7EB;
  border-radius: 50px 0 0 50px;
  font-size: 14px;
}
.search-section .search-form .search-input:focus {
  outline: none;
  border-color: #0E2948;
}
.search-section .search-form .search-btn {
  padding: 0 20px;
  background: linear-gradient(135deg, #0E2948 99%, #00C9A7 1%);
  border: none;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
}
.search-section .search-form .search-btn svg {
  color: white;
}

.cases-pagination {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
}
.cases-pagination .pagination {
  display: flex;
  gap: 0.5rem;
  list-style: none;
}
.cases-pagination .pagination .page-item .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 1rem;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 0.75rem;
  color: #374151;
  font-weight: 500;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}
.cases-pagination .pagination .page-item .page-link:hover {
  background: #F3F4F6;
  border-color: #0E2948;
  color: #0E2948;
}
.cases-pagination .pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #0E2948 99%, #00C9A7 1%);
  border-color: transparent;
  color: #FFFFFF;
}
.cases-pagination .pagination .page-item.disabled .page-link {
  opacity: 0.5;
  cursor: not-allowed;
}

.empty-state {
  text-align: center;
  padding: 6rem;
  grid-column: 1/-1;
}
.empty-state .empty-icon {
  font-size: 4rem;
  margin-bottom: 2rem;
  opacity: 0.5;
}
.empty-state h3 {
  font-size: 1.5rem;
  color: #111827;
  margin-bottom: 1rem;
}
.empty-state p {
  color: #6B7280;
}

.filter-empty-message {
  grid-column: 1/-1;
}

.clinical-cases {
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/*# sourceMappingURL=style.css.map */
