* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #2871fc;
  --primary-dark: #357abd;
  --secondary-color: #080808;
  --accent-color: #6b7edf;
  --text-dark: #1a1a1a;
  --text-light: #fff;
  --text-gray: #666;
  --background-light: #f8f9fa;
  --border-color: #e5e5e5;
  --hero-overlay: rgba(0, 31, 91, 0.7);
}

body {
  font-family: Geist, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #082761;
  backdrop-filter: blur(10px);
  z-index: 1000;
  height: 57px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
  width: calc(100% - 40px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 6px;
}

.nav-links {
  display: flex;
  gap: 10px;
  position: relative;
  --hover-left: 0px;
  --hover-width: 0px;
}

.nav-links:before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--hover-left);
  height: 100%;
  width: var(--hover-width);
  background: #2871fc;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  opacity: 0;
  transform: translateX(0);
}

.nav-links.nav-hover-active:before {
  opacity: 1;
}

.nav-link {
  text-decoration: none;
  font-weight: 400;
  font-size: 18px;
  transition: all 0.3s ease;
  border-radius: 20px;
  padding: 8px 30px;
  position: relative;
  z-index: 1;
}

.nav-link,
.nav-link:hover {
  color: #fff;
}

.nav-link.active {
  color: #fff;
  background: #2871fc;
}

.nav-links.nav-hover-active .nav-link.active {
  background: transparent;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: hsla(0, 0%, 100%, 0.1);
}

@media (max-width: 768px) {
  .nav-links:before {
    display: none;
  }

  .nav-links.nav-hover-active .nav-link.active {
    background: #2871fc;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .navbar .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #082761;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .navbar.menu-open .nav-links {
    max-height: 300px;
    padding: 15px 0;
  }

  .navbar.menu-open {
    border-radius: 20px 20px 20px 20px;
  }

  .nav-links .nav-link {
    padding: 12px 20px;
    margin: 0;
    border-radius: 0;
    text-align: center;
    border-bottom: 1px solid hsla(0, 0%, 100%, 0.1);
  }

  .nav-links .nav-link:last-child {
    border-bottom: none;
  }

  .nav-links .nav-link.active {
    background: #2871fc;
  }

  .nav-links .nav-link:hover {
    background: hsla(0, 0%, 100%, 0.1);
  }

  .nav-links .nav-link.active:hover {
    background: #2871fc;
  }
}

.nav-contact {
  flex-direction: column;
  gap: 4px;
}

.nav-contact,
.phone-container {
  display: flex;
  align-items: center;
}

.phone-container {
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.phone {
  font-weight: 400;
  font-size: 16px;
  color: #fff;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.phone:hover {
  color: #87ceeb;
  text-decoration: underline;
}

.phone:visited {
  color: #fff;
  text-decoration: none !important;
}

.copy-icon {
  font-size: 12px;
  color: #fff;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.2s ease;
  padding: 2px;
  border-radius: 3px;
}

.copy-icon:hover {
  opacity: 1;
  background: hsla(0, 0%, 100%, 0.1);
  transform: scale(1.1);
}

.phone-desc {
  font-size: 12px;
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-appointment {
  background: #fff;
  color: #2871fc;
  border: none;
  padding: 12px 32px;
  border-radius: 25px;
  font-weight: 400;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: Geist, sans-serif;
}

.btn-appointment:hover {
  background: hsla(0, 0%, 100%, 0.9);
  transform: translateY(-1px);
}

.user-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--background-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.user-icon:hover {
  background: var(--border-color);
}

.profile-button {
  position: fixed;
  top: 20px;
  right: calc(50% - 670px);
  width: 57px;
  height: 57px;
  border-radius: 50px;
  background: #082761;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1001;
  border: none;
}

.profile-button:hover {
  background: #0a2d6b;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .appointment-modal {
    padding: 15px;
  }

  .appointment-modal-content {
    padding: 20px;
    max-width: 100%;
    border-radius: 15px;
  }

  .modal-title {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
  }

  .modal-form-row {
    flex-direction: column;
    gap: 15px;
  }

  .modal-input {
    height: 60px;
    font-size: 15px;
  }

  .modal-submit {
    height: 50px;
    font-size: 16px;
  }

  .modal-close {
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .appointment-modal {
    padding: 10px;
  }

  .appointment-modal-content {
    padding: 15px;
    border-radius: 12px;
  }

  .modal-title {
    font-size: 20px;
    margin-bottom: 25px;
  }

  .modal-input {
    height: 55px;
    font-size: 14px;
    padding: 0 15px;
  }

  .phone-input .modal-input {
    padding-left: 40px;
  }

  .phone-prefix {
    left: 15px;
    font-size: 14px;
  }

  .modal-submit {
    height: 48px;
    font-size: 15px;
  }

  .modal-disclaimer {
    font-size: 12px;
  }
}

.files-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 40px;
}

.files-list {
  padding: 20px;
}

.file-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.file-item:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.file-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.file-icon {
  font-size: 24px;
  color: var(--primary-color);
}

.file-details {
  display: flex;
  flex-direction: column;
}

.file-name {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.file-meta {
  font-size: 14px;
  color: var(--text-gray);
}

.file-actions {
  display: flex;
  gap: 10px;
}

.delete-btn {
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.preview-image {
  max-width: 100px;
  max-height: 100px;
  object-fit: cover;
  border-radius: 4px;
}

.upload-form {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  overflow: hidden;
}

.form-file,
.form-select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-file:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(40, 113, 252, 0.1);
}

.tabs {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.tab {
  padding: 12px 24px;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-gray);
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.tab.active {
  color: var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

@media (max-width: 768px) {
  .container {
    padding: 20px 15px;
  }

  .header {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .header-title {
    font-size: 24px;
  }

  .file-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .file-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .form-actions {
    flex-direction: column;
  }
}

.add-contact-btn {
  background: var(--success-color);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.add-contact-btn:hover {
  background: #45a049;
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

.contacts-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.contacts-list {
  padding: 20px;
}

.contact-item {
  padding: 20px;
  transition: all 0.3s ease;
}

.contact-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-city {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
}

.contact-actions {
  display: flex;
  gap: 10px;
}

.contact-info {
  margin-bottom: 15px;
}

.contact-address {
  color: var(--text-gray);
  margin-bottom: 10px;
  font-size: 16px;
}

.contact-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.phone-item {
  background: var(--background-light);
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 14px;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}

.contact-form {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .container {
    padding: 20px 15px;
  }

  .header {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .header-title {
    font-size: 24px;
  }

  .contact-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .contact-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .form-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .navbar {
    top: 5px;
    width: calc(100% - 10px);
    border-radius: 15px;
  }

  .nav-container {
    padding: 6px 12px;
    gap: 12px;
  }

  .nav-link {
    font-size: 11px;
    padding: 6px 10px;
  }

  .btn-appointment {
    padding: 8px 15px;
    font-size: 11px;
  }

  .appointment-modal {
    padding: 15px;
  }

  .appointment-modal-content {
    padding: 20px;
    max-width: 100%;
    border-radius: 15px;
  }

  .modal-title {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
  }

  .modal-form-row {
    flex-direction: column;
    gap: 15px;
  }

  .modal-input {
    height: 60px;
    font-size: 15px;
  }

  .modal-submit {
    height: 50px;
    font-size: 16px;
  }

  .modal-close {
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    font-size: 20px;
  }

  .profile-button {
    width: 45px;
    height: 45px;
    font-size: 14px;
  }

  .main-content {
    padding-top: 80px;
  }

  .page-title {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .footer {
    padding: 30px 0 25px;
    margin-top: 40px;
  }

  .footer-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .footer-info h4 {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .footer-text-blocks p {
    font-size: 12px;
    line-height: 1.4;
  }

  .contact-item {
    padding: 10px 0;
    gap: 3px;
  }

  .contact-item span {
    font-size: 12px;
  }
}

.login-container {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.login-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(8, 39, 97, 0.15);
  max-width: 800px;
  width: 100%;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.login-header {
  background: linear-gradient(135deg, #082761, #2871fc);
  color: #fff;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.login-header:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMjAiIGN5PSIyMCIgcj0iMiIgZmlsbD0icmdiYSgyNTUsIDI1NSwgMjU1LCAwLjEpIi8+Cjwvc3ZnPg==")
    repeat;
  opacity: 0.5;
}

.login-logo {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}

.login-logo h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: Geist, sans-serif;
}

.login-subtitle {
  font-size: 14px;
  opacity: 0.9;
  font-weight: 400;
  letter-spacing: 2px;
}

.login-title {
  position: relative;
  z-index: 1;
}

.login-title h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 10px;
  font-family: Geist, sans-serif;
}

.login-description {
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.5;
}

.login-form {
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-label {
  color: #082761;
  font-family: Geist, sans-serif;
}

.form-input {
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  font-weight: 400;
}

.form-input:focus {
  border-color: #2871fc;
}

.password-toggle {
  color: #666;
}

.login-button {
  width: 100%;
  height: 50px;
  background: #2871fc;
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  font-family: Geist, sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.login-button:hover {
  background: #1c5ce6;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(40, 113, 252, 0.3);
}

.flash-message {
  padding: 12px 16px;
}

.password-toggle:hover {
  color: #2871fc;
}

.login-submit {
  width: 100%;
  height: 56px;
  background: linear-gradient(135deg, #2871fc, #1c5ce6);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  font-family: Geist, sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(40, 113, 252, 0.3);
}

.login-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 113, 252, 0.4);
}

.login-submit:active {
  transform: translateY(0);
}

.login-footer {
  margin-top: 30px;
  text-align: center;
}

.security-notice {
  font-size: 12px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.4;
}

.security-notice i {
  color: #2871fc;
}

@media (max-width: 768px) {
  .login-card {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 20px auto;
  }

  .login-header {
    padding: 40px 30px;
    text-align: center;
  }

  .login-logo h1 {
    font-size: 32px;
  }

  .login-title h2 {
    font-size: 24px;
  }

  .login-form {
    padding: 40px 30px;
  }
}

@media (max-width: 480px) {
  .login-container {
    padding: 20px 10px;
  }

  .login-header {
    padding: 30px 20px;
  }

  .login-logo h1 {
    font-size: 28px;
  }

  .login-title h2 {
    font-size: 20px;
  }

  .login-form {
    padding: 30px 20px;
  }
}

.success-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--success-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
  font-size: 32px;
}

.success-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.success-subtitle {
  color: var(--text-gray);
  margin-bottom: 30px;
}

.user-details {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 30px;
  text-align: left;
}

.user-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.user-detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 600;
  color: var(--text-gray);
  font-size: 14px;
}

.detail-value {
  font-weight: 600;
  color: var(--text-dark);
}

.password-row {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
  border: 2px solid var(--warning-color);
}

.password-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.password-value {
  font-family: Courier New, monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  background: #f0f8ff;
  padding: 8px 12px;
  border-radius: 4px;
  flex: 1;
  border: 1px solid #e0e8f0;
}

.copy-btn {
  background: var(--primary-color);
  border: none;
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.copy-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.copy-btn.copied {
  background: var(--success-color);
}

.warning-notice {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 30px;
  text-align: left;
}

.warning-notice h4 {
  color: #856404;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.warning-notice p {
  color: #856404;
  font-size: 14px;
  line-height: 1.5;
}

.action-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-color);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--text-dark);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--background-light);
  border-color: var(--primary-color);
  text-decoration: none;
  color: var(--text-dark);
}

.role-admin {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
}

.role-med_registrar {
  background: linear-gradient(135deg, #f093fb, #f5576c);
  color: #fff;
}

@media (max-width: 768px) {
  .container {
    padding: 20px 15px;
  }

  .success-card {
    padding: 30px 20px;
  }

  .success-title {
    font-size: 20px;
  }

  .action-buttons,
  .password-container {
    flex-direction: column;
  }

  .password-container {
    gap: 15px;
  }

  .password-value {
    text-align: center;
  }
}

.documents-section {
  background: #082761;
  border-radius: 10px;
  padding: 40px;
  margin-bottom: 40px;
  position: relative;
  min-height: 500px;
}

.documents-title {
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 30px;
  font-family: Geist, sans-serif;
}

.documents-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  height: 100%;
}

.main-document {
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.main-document:hover {
  transform: scale(1.02);
}

.main-document img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.documents-sidebar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 15px;
  width: 720px;
  height: 400px;
}

.document-item {
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  background: #f5f5f5;
}

.document-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.document-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contracts-section {
  background: #082761;
  border-radius: 10px;
  padding: 40px;
  margin-bottom: 40px;
  position: relative;
  min-height: 500px;
}

.contracts-title {
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 30px;
  font-family: Geist, sans-serif;
}

.contracts-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  height: 100%;
}

.main-contract {
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.main-contract:hover {
  transform: scale(1.02);
}

.main-contract img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.contracts-sidebar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 15px;
  width: 480px;
  height: 400px;
}

.contract-item {
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  background: #f5f5f5;
}

.contract-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.contract-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.more-documents {
  background: hsla(0, 0%, 100%, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.more-documents:hover {
  background: hsla(0, 0%, 100%, 0.4);
  transform: translateY(-2px);
}

.company-info {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  margin-top: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.company-info h3 {
  color: var(--text-dark);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.company-info p {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.payment-methods-section {
  background: #082761;
  border-radius: 10px;
  padding: 40px;
  margin-top: 40px;
  position: relative;
}

.payment-methods-title {
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 30px;
  font-family: Geist, sans-serif;
}

.payment-methods-description {
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
}

.qr-code-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.qr-code-image {
  width: 300px;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.useful-info-section {
  background: #082761;
  border-radius: 10px;
  padding: 40px;
  margin-top: 40px;
  position: relative;
}

.useful-info-title {
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 15px;
  font-family: Geist, sans-serif;
}

.useful-info-subtitle {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 30px;
  font-family: Geist, sans-serif;
}

.useful-info-content {
  background: #2871fc;
  border-radius: 20px;
  padding: 35px;
  position: relative;
}

.useful-info-text {
  color: #fff;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 15px;
}

.useful-info-text h4 {
  background: hsla(0, 0%, 100%, 0.15);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin: 25px 0 15px;
  padding: 16px 20px;
  border-radius: 15px;
  font-family: Geist, sans-serif;
  backdrop-filter: blur(10px);
  border-left: 4px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-height: 50px;
  display: flex;
  align-items: center;
}

.useful-info-text h4:first-child {
  margin-top: 0;
}

.useful-info-text p {
  padding: 16px 20px;
  align-items: center;
}

.useful-info-text p,
.useful-info-text ul {
  background: hsla(0, 0%, 100%, 0.1);
  color: #fff;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 15px;
  border-radius: 12px;
  backdrop-filter: blur(5px);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  min-height: 50px;
  display: flex;
}

.useful-info-text ul {
  padding: 16px 20px 16px 40px;
  flex-direction: column;
  justify-content: center;
}

.useful-info-text li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 0;
}

.useful-info-text li:last-child {
  margin-bottom: 0;
}

.useful-info-text li:before {
  content: "•";
  color: #fff;
  font-weight: 700;
  position: absolute;
  left: -20px;
  top: 0;
}

.useful-info-text::-webkit-scrollbar {
  width: 8px;
}

.useful-info-text::-webkit-scrollbar-track {
  background: hsla(0, 0%, 100%, 0.1);
  border-radius: 10px;
}

.useful-info-text::-webkit-scrollbar-thumb {
  background: #082761;
  border-radius: 10px;
}

.useful-info-text::-webkit-scrollbar-thumb:hover {
  background: rgba(8, 39, 97, 0.8);
}

.modal {
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.appointment-modal,
.modal.active {
  align-items: center;
  justify-content: center;
}

.appointment-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 39, 97, 0.4);
  backdrop-filter: blur(46.5px);
  z-index: 10000;
  display: none;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.appointment-modal.show {
  display: flex;
  opacity: 1;
}

.appointment-modal-content {
  background: linear-gradient(180deg, #082761, rgba(8, 39, 97, 0.4));
  border-radius: 20px;
  padding: 28px;
  width: 100%;
  max-width: 878px;
  position: relative;
  backdrop-filter: blur(46.5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.appointment-modal.show .appointment-modal-content {
  transform: scale(1);
}

.modal-title {
  color: #fff;
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 40px;
  text-align: left;
  line-height: 1.2;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-form-row {
  display: flex;
  gap: 17px;
}

.modal-form-group {
  flex: 1;
}

.modal-input {
  width: 100%;
  height: 70px;
  background: #fff;
  border: none;
  border-radius: 19px;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 400;
  font-family: Geist, sans-serif;
  color: #000;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.modal-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #2871fc;
}

.modal-input::placeholder {
  color: #666;
  font-weight: 400;
}

.phone-input {
  position: relative;
}

.phone-input .modal-input {
  padding-left: 45px;
}

.phone-prefix {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #000;
  font-size: 16px;
  font-weight: 400;
  pointer-events: none;
  z-index: 1;
}

.modal-submit {
  width: 100%;
  height: 56px;
  background: #2871fc;
  border: none;
  border-radius: 125px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  font-family: Geist, sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.modal-submit:hover {
  background: #1c5ce6;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(40, 113, 252, 0.3);
}

.modal-disclaimer {
  color: #fff;
  font-size: 14px;
  margin-top: 17px;
  opacity: 0.8;
  line-height: 1.4;
}

.modal-close {
  top: 20px;
  right: 20px;
  background: none;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: hsla(0, 0%, 100%, 0.1);
  transform: rotate(90deg);
}

.modal-content {
  position: relative;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content,
.modal-image {
  max-width: 95vw;
  max-height: 95vh;
}

.modal-image {
  min-width: 80vw;
  min-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease;
}

.modal-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 18px;
  z-index: 2003;
  display: none;
}

.modal-loading.active {
  display: block;
}

.loading-spinner {
  border: 3px solid hsla(0, 0%, 100%, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 0 auto 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(1turn);
  }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
  z-index: 2001;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
  z-index: 2001;
}

.modal-nav:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.modal-prev {
  left: 15px;
}

.modal-next {
  right: 15px;
}

.modal-info {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 15px 25px;
  border-radius: 25px;
  text-align: center;
  backdrop-filter: blur(10px);
  z-index: 2002;
}

.modal-title {
  font-size: 16px;
  margin-bottom: 5px;
}

.modal-counter {
  font-size: 14px;
  opacity: 0.8;
}

@media (max-width: 1024px) {
  .documents-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .documents-sidebar {
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    height: 300px;
  }

  .documents-section {
    padding: 30px;
  }

  .contracts-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contracts-sidebar {
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    height: 200px;
  }

  .contracts-section,
  .useful-info-section {
    padding: 30px;
  }

  .useful-info-text {
    max-height: 300px;
  }

  .appointment-modal {
    padding: 15px;
  }

  .appointment-modal-content {
    padding: 20px;
    max-width: 100%;
    border-radius: 15px;
  }

  .modal-title {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
  }

  .modal-form-row {
    flex-direction: column;
    gap: 15px;
  }

  .modal-input {
    height: 60px;
    font-size: 15px;
  }

  .modal-submit {
    height: 50px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .documents-section {
    padding: 20px;
    margin: 0 -15px 40px;
    border-radius: 0;
  }

  .documents-sidebar {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 10px;
    height: 250px;
  }

  .documents-title {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
  }

  .company-info,
  .payment-methods-section {
    margin: 20px -15px 0;
    border-radius: 0;
    padding: 20px;
  }

  .payment-methods-title {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
  }

  .payment-methods-description {
    font-size: 14px;
    text-align: center;
    margin-bottom: 30px;
  }

  .qr-code-container {
    justify-content: center;
  }

  .qr-code-image {
    width: 250px;
  }

  .contracts-section {
    margin: 20px -15px 0;
    border-radius: 0;
    padding: 20px;
  }

  .contracts-title {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
  }

  .contracts-sidebar {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
    height: 180px;
  }

  .useful-info-section {
    margin: 20px -15px 0;
    border-radius: 0;
    padding: 20px;
  }

  .useful-info-title {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center;
  }

  .useful-info-subtitle {
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
  }

  .useful-info-content {
    padding: 25px;
  }

  .useful-info-text {
    max-height: 250px;
    padding-right: 10px;
  }

  .useful-info-text h4 {
    font-size: 15px;
    padding: 14px 18px;
    margin: 20px 0 12px;
  }

  .useful-info-text p {
    font-size: 14px;
    padding: 14px 18px;
  }

  .useful-info-text ul {
    font-size: 14px;
    padding: 14px 18px 14px 38px;
  }

  .appointment-modal,
  .modal {
    padding: 10px;
  }

  .appointment-modal-content {
    padding: 15px;
    border-radius: 12px;
  }

  .modal-title {
    font-size: 20px;
    margin-bottom: 25px;
  }

  .modal-input {
    height: 55px;
    font-size: 14px;
  }

  .modal-submit {
    height: 45px;
    font-size: 15px;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}

.modal-content,
.modal-image {
  max-width: 98vw;
  max-height: 98vh;
}

.modal-nav {
  width: 40px;
  height: 40px;
  font-size: 16px;
}

.modal-close {
  width: 35px;
  height: 35px;
  font-size: 16px;
  top: 10px;
  right: 10px;
}

.modal-info {
  bottom: 10px;
  padding: 10px 20px;
}

.modal-info,
.modal-title {
  font-size: 14px;
}

.modal-counter {
  font-size: 12px;
}

@media (max-width: 480px) {
  .documents-sidebar {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, 1fr);
    height: 200px;
  }

  .documents-title {
    font-size: 20px;
  }

  .company-info h3 {
    font-size: 18px;
  }

  .company-info p {
    font-size: 13px;
  }

  .payment-methods-title {
    font-size: 20px;
  }

  .payment-methods-description {
    font-size: 13px;
    margin-bottom: 25px;
  }

  .qr-code-image {
    width: 200px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .navbar {
    top: 5px;
    width: calc(100% - 10px);
    border-radius: 15px;
  }

  .nav-container {
    padding: 6px 12px;
    gap: 12px;
  }

  .nav-link {
    font-size: 11px;
    padding: 6px 10px;
  }

  .btn-appointment {
    padding: 8px 15px;
    font-size: 11px;
  }

  .profile-button {
    width: 45px;
    height: 45px;
    font-size: 14px;
  }

  .main-content {
    padding-top: 80px;
  }

  .page-title {
    margin-bottom: 30px;
  }

  .contracts-title,
  .page-title {
    font-size: 20px;
  }

  .contracts-sidebar {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    height: 160px;
  }

  .useful-info-title {
    font-size: 20px;
  }

  .useful-info-subtitle {
    font-size: 13px;
  }

  .useful-info-content {
    padding: 20px;
  }

  .useful-info-text {
    max-height: 200px;
  }

  .useful-info-text h4 {
    font-size: 14px;
  }

  .useful-info-text p,
  .useful-info-text ul {
    font-size: 12px;
  }

  .footer {
    padding: 30px 0 25px;
    margin-top: 40px;
  }

  .footer-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .footer-info h4 {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .footer-text-blocks p {
    font-size: 12px;
    line-height: 1.4;
  }

  .contact-item {
    padding: 10px 0;
    gap: 3px;
  }

  .contact-item span {
    font-size: 12px;
  }
}

.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 24px;
}

.user-info {
  gap: 20px;
}

.user-avatar,
.user-info {
  display: flex;
  align-items: center;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  justify-content: center;
  color: #fff;
  font-weight: 600;
}

.user-details {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-weight: 600;
  color: var(--text-dark);
}

.user-role {
  font-size: 12px;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.logout-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-gray);
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logout-btn:hover {
  background: var(--error-color);
  color: #fff;
  border-color: var(--error-color);
}

.main-content {
  padding-top: 100px;
  min-height: calc(100vh - 80px);
}

.dashboard-header {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.dashboard-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.dashboard-subtitle {
  color: var(--text-gray);
  font-size: 16px;
}

.nav-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.nav-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.nav-card,
.nav-card:hover {
  text-decoration: none;
  color: inherit;
}

.nav-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.nav-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  margin-bottom: 15px;
}

.nav-card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.nav-card-description {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.5;
}

.superadmin .nav-card-icon {
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
}

.admin .nav-card-icon {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.med_registrar .nav-card-icon {
  background: linear-gradient(135deg, #f093fb, #f5576c);
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.stat-label {
  margin-top: 5px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .header-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .user-info {
    flex-direction: column;
    gap: 10px;
  }

  .dashboard-header {
    padding: 20px;
    text-align: center;
  }

  .dashboard-title {
    font-size: 24px;
  }

  .nav-cards {
    grid-template-columns: 1fr;
  }

  .quick-stats {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

.consultation-section {
  background: var(--background-light);
  padding: 80px 0;
  margin-top: 80px;
}

.consultation-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
}

.consultation-text {
  flex: 1;
  max-width: 600px;
}

.consultation-title {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-dark);
  line-height: 1.2;
}

.consultation-description {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 30px;
  line-height: 1.6;
}

.consultation-form {
  border-radius: 10px;
  padding: 28px 0 28px 28px;
  width: 380px;
  overflow: hidden;
}

.form {
  gap: 20px;
  margin-bottom: 20px;
}

.form-input {
  padding: 16px 20px;
  font-weight: 600;
  transition: border-color 0.3s ease;
  position: relative;
  border-right: none;
}

.form-input,
.form-submit {
  border-radius: 12px 0 0 12px;
  width: calc(100% + 28px);
  margin-right: -28px;
}

.form-submit {
  padding: 18px 20px;
}

.clinics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.clinic-section {
  margin: -60px -100vw;
  padding: 60px 100vw;
}

.clinic-section:nth-child(odd) {
  background: #fff;
}

.clinic-section:nth-child(2n) {
  background: #f5f5f5;
}

.clinic-card-detailed {
  background: #082761;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 500px 1fr;
  min-height: 280px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.clinic-card-image {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  margin: 20px;
  background: transparent;
}

.clinic-image-detailed {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  display: block;
}

.clinic-card-content {
  padding: 20px 40px 20px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: #fff;
}

.clinic-card-title {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
}

.clinic-card-description,
.clinic-card-title {
  color: #fff;
  margin-bottom: 15px;
  font-family: Geist, sans-serif;
}

.clinic-card-description {
  font-size: 14px;
  line-height: 1.4;
  flex: 1;
}

.clinic-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.clinic-card-address {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin: 0;
  font-family: Geist, sans-serif;
}

.clinic-card-button {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: Geist, sans-serif;
  width: 180px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.clinic-card-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 113, 252, 0.3);
}

@media (max-width: 1024px) {
  .navbar {
    width: calc(100% - 15px);
    height: auto;
    min-height: 57px;
    border-radius: 25px;
  }

  .nav-container {
    padding: 6px 20px;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 57px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-link {
    font-size: 13px;
    padding: 6px 12px;
  }

  .clinic-card-detailed {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
    min-height: 450px;
  }

  .clinic-card-image {
    height: 200px;
    margin: 15px;
    border-radius: 20px;
  }

  .clinic-image-detailed {
    border-radius: 20px;
  }

  .clinic-card-content {
    padding: 25px;
  }

  .clinic-card-title {
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
  }

  .clinic-card-description {
    font-size: 15px;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.5;
  }

  .clinic-card-footer {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .clinic-card-address {
    font-size: 16px;
  }

  .clinic-card-button {
    height: 50px;
  }

  .page-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .main-content {
    padding-top: 100px;
  }

  .clinics-grid {
    gap: 50px;
    max-width: 600px;
  }

  .clinic-section {
    padding: 50px 0;
  }

  .clinic-card-address {
    font-size: 18px;
    text-align: center;
  }

  .clinic-card-button {
    width: 100%;
    font-size: 16px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-text-blocks {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .navbar {
    top: 10px;
    width: calc(100% - 20px);
    height: auto;
    min-height: 45px;
    border-radius: 20px;
  }

  .nav-container {
    padding: 8px 15px;
    flex-direction: column;
    gap: 12px;
    min-height: 45px;
    align-items: center;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .nav-link {
    font-size: 12px;
    padding: 6px 12px;
    white-space: nowrap;
  }

  .nav-contact {
    order: 1;
    text-align: center;
  }

  .phone-container {
    gap: 6px;
  }

  .copy-icon {
    font-size: 11px;
  }

  .phone {
    font-size: 13px;
  }

  .phone-desc {
    font-size: 10px;
  }

  .nav-actions {
    order: 2;
  }

  .btn-appointment {
    padding: 8px 16px;
    font-size: 11px;
  }

  .profile-button {
    right: 10px;
    top: 10px;
    width: 45px;
    height: 45px;
    font-size: 14px;
  }

  .main-content {
    padding-top: 90px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .page-title {
    font-size: 24px;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .clinics-grid {
    gap: 30px;
    padding: 0 5px;
    max-width: 100%;
  }

  .clinic-section {
    margin: -30px -10px;
    padding: 30px 20px;
  }

  .clinic-card-detailed {
    border-radius: 15px;
    min-height: 420px;
    max-width: 100%;
    margin: 0 10px;
  }

  .clinic-card-image {
    height: 180px;
    margin: 15px;
    border-radius: 15px;
  }

  .clinic-image-detailed {
    border-radius: 15px;
  }

  .clinic-card-content {
    padding: 20px;
  }

  .clinic-card-title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .clinic-card-description {
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.4;
  }

  .clinic-card-footer {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .clinic-card-address {
    font-size: 15px;
    text-align: center;
  }

  .clinic-card-button {
    font-size: 14px;
    padding: 12px 24px;
    height: 48px;
    width: calc(100% - 20px);
    margin: 0 10px;
  }

  .footer {
    padding: 40px 0 30px;
    margin-top: 50px;
  }

  .footer-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 25px;
  }

  .footer-info h4 {
    font-size: 15px;
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-text-blocks {
    gap: 20px;
  }

  .footer-text-blocks p {
    font-size: 13px;
    text-align: center;
    line-height: 1.5;
  }

  .contact-info {
    gap: 12px;
  }

  .contact-item {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px 0;
    text-align: center;
  }

  .contact-item span {
    font-size: 13px;
  }

  .appointment-modal {
    padding: 15px;
  }

  .appointment-modal-content {
    padding: 20px;
    max-width: 100%;
    border-radius: 15px;
  }

  .modal-title {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
  }

  .modal-form-row {
    flex-direction: column;
    gap: 15px;
  }

  .modal-input {
    height: 60px;
    font-size: 15px;
  }

  .modal-submit {
    height: 50px;
    font-size: 16px;
  }

  .modal-close {
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 8px;
  }

  .navbar {
    top: 5px;
    width: calc(100% - 10px);
    border-radius: 15px;
    min-height: 40px;
  }

  .nav-container {
    padding: 6px 10px;
    gap: 8px;
    min-height: 40px;
  }

  .nav-link {
    font-size: 10px;
    padding: 4px 8px;
  }

  .phone {
    font-size: 12px;
  }

  .phone-desc {
    font-size: 9px;
  }

  .btn-appointment {
    padding: 6px 12px;
    font-size: 10px;
  }

  .profile-button {
    width: 40px;
    height: 40px;
    font-size: 12px;
    top: 5px;
  }

  .main-content {
    padding-top: 80px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .page-title {
    font-size: 20px;
    margin-bottom: 25px;
    padding: 0 8px;
  }

  .clinics-grid {
    gap: 25px;
    padding: 0 2px;
  }

  .clinic-section {
    margin: -25px -8px;
    padding: 25px 16px;
  }

  .clinic-card-detailed {
    border-radius: 12px;
    min-height: 380px;
    margin: 0 8px;
  }

  .clinic-card-image {
    height: 150px;
    margin: 12px;
    border-radius: 12px;
  }

  .clinic-image-detailed {
    border-radius: 12px;
  }

  .clinic-card-content {
    padding: 15px;
  }

  .clinic-card-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .clinic-card-description {
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.3;
  }

  .clinic-card-footer {
    gap: 12px;
  }

  .clinic-card-address {
    font-size: 14px;
  }

  .clinic-card-button {
    font-size: 13px;
    padding: 10px 20px;
    height: 44px;
    width: calc(100% - 16px);
    margin: 0 8px;
  }

  .footer {
    padding: 30px 0 25px;
    margin-top: 40px;
  }

  .footer-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .footer-info h4 {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .footer-text-blocks p {
    font-size: 12px;
    line-height: 1.4;
  }

  .contact-item {
    padding: 10px 0;
    gap: 3px;
  }

  .contact-item span {
    font-size: 12px;
  }

  .appointment-modal {
    padding: 10px;
  }

  .appointment-modal-content {
    padding: 15px;
    border-radius: 12px;
  }

  .modal-title {
    font-size: 20px;
    margin-bottom: 25px;
  }

  .modal-input {
    height: 55px;
    font-size: 14px;
  }

  .modal-submit {
    height: 45px;
    font-size: 15px;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
}

.add-offer-btn {
  background: var(--success-color);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.add-offer-btn:hover {
  background: #45a049;
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

.offers-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.offer-item,
.offers-list {
  padding: 20px;
}

.offer-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.offer-item:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.offer-header {
  display: flex;
  justify-content: between;
  align-items: center;
  margin-bottom: 15px;
}

.offer-service {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
}

.offer-actions {
  display: flex;
  gap: 10px;
}

.offer-info {
  margin-bottom: 15px;
}

.offer-price {
  color: var(--text-gray);
  margin-bottom: 10px;
  font-size: 16px;
}

.offer-validity {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: var(--text-gray);
}

.offer-form {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .container {
    padding: 20px 15px;
  }

  .header {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .header-title {
    font-size: 24px;
  }

  .offer-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .offer-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .form-actions {
    flex-direction: column;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 0;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-header {
  background: var(--primary-color);
  color: #fff;
  padding: 20px;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 18px;
  font-weight: 600;
}

.close {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: none;
}

.close:hover {
  opacity: 0.7;
}

.modal-body {
  padding: 20px;
}

.refresh-btn {
  background: var(--success-color);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.refresh-btn:hover {
  background: #45a049;
  transform: translateY(-2px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.stat-card.appointments .stat-icon {
  color: var(--appointment-color);
}

.stat-card.consultations .stat-icon {
  color: var(--consultation-color);
}

.stat-card.today .stat-icon {
  color: var(--success-color);
}

.stat-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.requests-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.requests-header {
  background: var(--primary-color);
  color: #fff;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.requests-list {
  max-height: 600px;
  overflow-y: auto;
}

.request-item {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
}

.request-item:hover {
  background: #f8f9fa;
}

.request-item:last-child {
  border-bottom: none;
}

.request-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.request-type {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.request-type.appointment {
  background: linear-gradient(135deg, var(--appointment-color), #764ba2);
  color: #fff;
}

.request-type.consultation {
  background: linear-gradient(135deg, var(--consultation-color), #f5576c);
  color: #fff;
}

.request-time {
  font-size: 12px;
  color: var(--text-gray);
  margin-left: auto;
}

.processed-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
}

.processed-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.processed-checkbox label {
  font-size: 14px;
  color: var(--text-gray);
  cursor: pointer;
}

.request-item.processed {
  opacity: 0.7;
  background-color: #f0f8ff;
}

.request-item.processed .request-name {
  text-decoration: line-through;
  color: var(--text-gray);
}

.request-details {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.request-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.request-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

.request-phone {
  font-size: 16px;
  color: var(--primary-color);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.copy-phone {
  background: none;
  border: none;
  color: var(--text-gray);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.copy-phone:hover {
  background: var(--background-light);
  color: var(--primary-color);
}

.request-id {
  background: var(--background-light);
  padding: 4px 8px;
  border-radius: 4px;
  font-family: monospace;
}

.auto-refresh,
.request-id {
  font-size: 12px;
  color: var(--text-gray);
}

.auto-refresh {
  display: flex;
  align-items: center;
  gap: 5px;
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--success-color);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 20px 15px;
  }

  .header {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .header-title {
    font-size: 24px;
  }

  .request-details,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .request-details {
    gap: 10px;
  }

  .request-header {
    flex-wrap: wrap;
  }
}

.offers-section {
  margin-bottom: 40px;
  padding: 20px 0;
}

.offers-header {
  background: #082761;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
  text-align: center;
}

.offers-header h2 {
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  margin: 0;
  font-family: Geist, sans-serif;
}

.offers-content {
  background: #fff;
  border-radius: 12px;
  padding: 0;
}

.offers-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
}

.offer-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  transition: all 0.1s ease;
}

.offer-item:hover {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  border-color: #082761;
}

.offer-name {
  font-weight: 400;
  font-size: 16px;
  color: #082761;
}

.offer-price {
  font-weight: 600;
  font-size: 18px;
  color: #2871fc;
  background: none;
  padding: 0;
  border-radius: 0;
}

@media (max-width: 768px) {
  .offers-header {
    padding: 15px;
    margin-bottom: 20px;
  }

  .offers-header h2 {
    font-size: 20px;
  }

  .offers-list {
    padding: 12px;
    gap: 8px;
  }

  .offer-item {
    padding: 10px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .offer-name {
    font-size: 15px;
  }

  .offer-price {
    font-size: 16px;
  }
}

@media (max-width: 1024px) {
  .navbar {
    width: calc(100% - 15px);
    height: auto;
    min-height: 57px;
    border-radius: 25px;
  }

  .nav-container {
    padding: 6px 20px;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 57px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-link {
    font-size: 13px;
    padding: 6px 12px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-text-blocks {
    flex-direction: column;
    gap: 20px;
  }

  .offers-header {
    padding: 12px 35px;
    height: auto;
    min-height: 55px;
  }

  .offers-header h2 {
    font-size: 16px;
  }

  .offers-content {
    padding: 25px;
  }

  .offers-content h3 {
    font-size: 16px;
  }

  .service-name,
  .service-price {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .navbar {
    top: 10px;
    width: calc(100% - 10px);
    height: auto;
    min-height: 50px;
    border-radius: 20px;
  }

  .nav-container {
    padding: 8px 15px;
    flex-direction: column;
    gap: 15px;
    min-height: 50px;
    align-items: center;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .nav-link {
    font-size: 12px;
    padding: 8px 15px;
    white-space: nowrap;
  }

  .nav-contact {
    order: 1;
    text-align: center;
  }

  .phone-container {
    gap: 6px;
  }

  .copy-icon {
    font-size: 11px;
  }

  .phone {
    font-size: 14px;
  }

  .phone-desc {
    font-size: 11px;
  }

  .nav-actions {
    order: 2;
  }

  .btn-appointment {
    padding: 10px 20px;
    font-size: 12px;
  }

  .profile-button {
    right: 10px;
    width: 50px;
    height: 50px;
    font-size: 16px;
  }

  .main-content {
    padding-top: 100px;
  }

  .page-title {
    font-size: 24px;
    margin-bottom: 40px;
  }

  .footer {
    padding: 40px 0 30px;
    margin-top: 60px;
  }

  .footer-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 25px;
  }

  .footer-info h4 {
    font-size: 15px;
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-text-blocks {
    gap: 20px;
  }

  .footer-text-blocks p {
    font-size: 13px;
    text-align: center;
    line-height: 1.5;
  }

  .contact-info {
    gap: 12px;
  }

  .contact-item {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px 0;
    text-align: center;
  }

  .contact-item span {
    font-size: 13px;
  }

  .offers-section {
    margin: 0 -15px 40px;
  }

  .offers-header {
    margin: 0 15px 28px;
    padding: 10px 25px;
    height: auto;
    min-height: 50px;
  }

  .offers-header h2 {
    font-size: 14px;
    text-align: center;
  }

  .offers-content {
    margin: 0 15px;
    padding: 20px;
    border-radius: 0;
  }

  .offers-content h3 {
    font-size: 15px;
    text-align: center;
    margin-bottom: 25px;
  }

  .pricing-table {
    padding: 15px;
  }

  .service-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 12px 0;
    border-bottom: 1px solid hsla(0, 0%, 100%, 0.2);
  }

  .service-item:last-child {
    border-bottom: none;
  }

  .service-name {
    font-size: 14px;
  }

  .service-price {
    font-size: 16px;
    font-weight: 600;
    align-self: flex-end;
  }

  .offer-validity {
    text-align: center;
    margin-top: 20px;
  }

  .offer-validity span {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .navbar {
    top: 5px;
    width: calc(100% - 10px);
    border-radius: 15px;
  }

  .nav-container {
    padding: 6px 12px;
    gap: 12px;
  }

  .nav-link {
    font-size: 11px;
    padding: 6px 10px;
  }

  .btn-appointment {
    padding: 8px 15px;
    font-size: 11px;
  }

  .profile-button {
    width: 45px;
    height: 45px;
    font-size: 14px;
  }

  .main-content {
    padding-top: 80px;
  }

  .page-title {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .footer {
    padding: 30px 0 25px;
    margin-top: 40px;
  }

  .footer-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .footer-info h4 {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .footer-text-blocks p {
    font-size: 12px;
    line-height: 1.4;
  }

  .contact-item {
    padding: 10px 0;
    gap: 3px;
  }

  .contact-item span {
    font-size: 12px;
  }

  .offers-header {
    padding: 8px 20px;
    min-height: 45px;
  }

  .offers-header h2 {
    font-size: 13px;
  }

  .offers-content {
    padding: 15px;
  }

  .offers-content h3 {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .pricing-table {
    padding: 12px;
  }

  .service-item {
    padding: 10px 0;
  }

  .service-name {
    font-size: 13px;
  }

  .service-price {
    font-size: 15px;
  }

  .offer-validity span {
    font-size: 13px;
  }
}

.form-input,
.form-select {
  width: 100%;
  height: 50px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 0 16px;
  font-size: 16px;
  font-family: Geist, sans-serif;
  transition: all 0.3s ease;
  background: #fff;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(40, 113, 252, 0.1);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
  appearance: none;
}

.role-description {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.5;
  border-left: 4px solid var(--primary-color);
}

.form-help {
  font-size: 12px;
}

.container {
  max-width: 600px;
}

.header {
  text-align: center;
}

.back-btn {
  margin-bottom: 20px;
}

.logo {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.subtitle {
  color: var(--text-gray);
  font-size: 16px;
}

.form-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-title {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-dark);
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
}

.form-input {
  height: 50px;
  border-radius: 8px;
  padding: 0 16px;
}

.form-input:focus {
  box-shadow: 0 0 0 3px rgba(40, 113, 252, 0.1);
}

.password-field {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-gray);
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: color 0.3s ease;
}

.password-toggle:hover {
  color: var(--primary-color);
}

.submit-btn {
  width: 100%;
  height: 50px;
  background: var(--primary-color);
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(40, 113, 252, 0.3);
}

.submit-btn:disabled {
  background: var(--text-gray);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.flash-messages {
  margin-bottom: 25px;
}

.password-requirements {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  margin-top: 25px;
  border-left: 4px solid var(--primary-color);
}

.password-requirements h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.password-requirements ul {
  list-style: none;
  padding: 0;
}

.password-requirements li {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.password-requirements i {
  color: var(--primary-color);
  font-size: 10px;
}

@media (max-width: 768px) {
  .container {
    padding: 20px 15px;
  }

  .form-card {
    padding: 30px 20px;
  }

  .form-title {
    font-size: 20px;
  }
}

.add-service-btn {
  background: var(--success-color);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.add-service-btn:hover {
  background: #45a049;
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

.services-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.container-header {
  background: var(--primary-color);
  color: #fff;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.services-list {
  padding: 20px;
}

.service-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-item:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.service-header {
  display: flex;
  justify-content: between;
  align-items: center;
  margin-bottom: 15px;
}

.service-name {
  font-size: 18px;
  color: var(--primary-color);
}

.service-actions {
  display: flex;
  gap: 10px;
}

.delete-btn,
.edit-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.edit-btn {
  background: var(--warning-color);
  color: #fff;
}

.edit-btn:hover {
  background: #e68900;
  transform: translateY(-1px);
}

.delete-btn {
  background: var(--error-color);
  color: #fff;
}

.delete-btn:hover {
  background: #d32f2f;
  transform: translateY(-1px);
}

.service-info {
  margin-bottom: 15px;
}

.service-price {
  color: var(--text-gray);
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 500;
}

.service-form {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  overflow: hidden;
  display: none;
}

.form-header {
  background: var(--success-color);
  color: #fff;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-content {
  padding: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-dark);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(40, 113, 252, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-help {
  font-size: 14px;
  color: var(--text-gray);
  margin-top: 5px;
}

.form-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

.cancel-btn,
.submit-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.submit-btn {
  background: var(--success-color);
  color: #fff;
}

.submit-btn:hover {
  background: #45a049;
  transform: translateY(-1px);
}

.cancel-btn {
  background: var(--text-gray);
  color: #fff;
}

.cancel-btn:hover {
  background: #555;
  transform: translateY(-1px);
}

.flash-messages {
  margin-bottom: 20px;
}

.empty-state i {
  font-size: 48px;
}

@media (max-width: 768px) {
  .container {
    padding: 20px 15px;
  }

  .header {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .header-title {
    font-size: 24px;
  }

  .service-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .service-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .form-actions {
    flex-direction: column;
  }
}

.main-content {
  padding-top: 120px;
  min-height: calc(100vh - 200px);
}

.page-title {
  text-align: center;
  font-size: 36px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 60px;
  font-family: Geist, sans-serif;
}

.footer {
  margin-top: 80px;
}

.prices-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.price-section {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #f0f0f0;
}

.section-title {
  font-size: 32px;
  font-weight: 600;
  color: #082761;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #2871fc;
  border-radius: 2px;
}

.pricing-info {
  justify-content: center;
  text-align: center;
}

.pricing-info,
.pricing-message {
  display: flex;
  align-items: center;
}

.pricing-message {
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.pricing-text {
  font-size: 24px;
  font-weight: 400;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.4;
}

.pricing-phones {
  gap: 20px;
}

.phone-item,
.pricing-phones {
  display: flex;
  flex-direction: column;
}

.phone-item {
  gap: 15px;
  align-items: center;
}

.clinic-name {
  font-size: 20px;
  font-weight: 600;
  color: #2871fc;
  text-align: center;
}

.phone-numbers {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.phone-link {
  font-size: 18px;
  font-weight: 500;
  background: rgba(40, 113, 252, 0.1);
  padding: 12px 24px;
  border-radius: 25px;
  border: 1px solid rgba(40, 113, 252, 0.2);
  transition: all 0.3s ease;
}

.phone-link,
.phone-link:visited {
  color: #082761;
  text-decoration: none !important;
}

.phone-link:hover {
  background: #2871fc;
  color: #fff;
  text-decoration: none !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(40, 113, 252, 0.3);
}

.services-list {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  background: linear-gradient(135deg, #fff, #f8f9ff);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(40, 113, 252, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-item:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 5px;
  background: linear-gradient(180deg, #2871fc, #357abd);
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(40, 113, 252, 0.15);
  border-color: rgba(40, 113, 252, 0.3);
}

.service-name {
  font-weight: 600;
  font-size: 20px;
  color: #082761;
  flex: 1;
  text-align: left;
  padding-right: 20px;
}

.service-price {
  font-weight: 700;
  font-size: 22px;
  color: #2871fc;
  background: rgba(40, 113, 252, 0.1);
  padding: 10px 20px;
  border-radius: 30px;
  white-space: nowrap;
  border: 1px solid rgba(40, 113, 252, 0.2);
  transition: all 0.3s ease;
}

.service-price:hover {
  background: #2871fc;
  color: #fff;
  transform: scale(1.05);
}

.service-item:nth-child(2n) {
  background: linear-gradient(135deg, #f8faff, #fff);
}

.service-item:nth-child(2n):before {
  background: linear-gradient(180deg, #357abd, #2871fc);
}

.price-section.blue-background {
  background: linear-gradient(135deg, #2871fc, #357abd);
  border: none;
}

.price-section.blue-background .section-title {
  color: #fff;
}

.price-section.blue-background .section-title:after {
  background: #fff;
}

.blue-background .service-item {
  background: hsla(0, 0%, 100%, 0.15);
  border: 1px solid hsla(0, 0%, 100%, 0.2);
  color: #fff;
}

.blue-background .service-item:before {
  background: hsla(0, 0%, 100%, 0.5);
}

.blue-background .service-name {
  color: #fff;
}

.blue-background .service-price {
  color: #fff;
  background: hsla(0, 0%, 100%, 0.2);
  border: 1px solid hsla(0, 0%, 100%, 0.3);
}

.blue-background .service-price:hover {
  background: #fff;
  color: #2871fc;
}

.background-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(40, 113, 252, 0.1);
  border: 1px solid rgba(40, 113, 252, 0.2);
  color: #2871fc;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  z-index: 10;
}

.background-toggle:hover {
  background: #2871fc;
  color: #fff;
}

.blue-background .background-toggle {
  background: hsla(0, 0%, 100%, 0.2);
  border: 1px solid hsla(0, 0%, 100%, 0.3);
  color: #fff;
}

.blue-background .background-toggle:hover {
  background: #fff;
  color: #2871fc;
}

@media (max-width: 768px) {
  .service-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
  }

  .service-name {
    font-size: 18px;
    padding-right: 0;
  }

  .service-price {
    align-self: flex-end;
    font-size: 18px;
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .service-item {
    padding: 15px;
  }

  .service-name {
    font-size: 16px;
  }

  .service-price {
    font-size: 16px;
    padding: 6px 12px;
  }
}

@media (max-width: 768px) {
  .prices-container {
    gap: 40px;
    padding: 0 15px;
  }

  .price-section {
    padding: 25px 20px;
    border-radius: 15px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .pricing-text {
    font-size: 20px;
  }

  .clinic-name {
    font-size: 18px;
  }

  .phone-numbers {
    flex-direction: column;
    gap: 15px;
  }

  .phone-link {
    font-size: 16px;
    padding: 10px 20px;
  }

  .service-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
  }

  .service-price {
    align-self: flex-end;
  }
}

@media (max-width: 480px) {
  .price-section {
    padding: 20px 15px;
  }

  .section-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .pricing-text {
    font-size: 18px;
  }

  .clinic-name {
    font-size: 16px;
  }

  .phone-link {
    font-size: 15px;
    padding: 8px 16px;
  }

  .service-item {
    padding: 12px;
  }

  .service-name {
    font-size: 16px;
  }

  .service-price {
    font-size: 18px;
    padding: 6px 12px;
  }
}

@media (max-width: 1200px) {
  .navbar {
    width: calc(100% - 20px);
  }

  .nav-container {
    padding: 6px 25px;
  }
}

@media (max-width: 1024px) {
  .navbar {
    width: calc(100% - 15px);
    height: auto;
    min-height: 57px;
    border-radius: 25px;
  }

  .nav-container {
    padding: 6px 20px;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 57px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-link {
    font-size: 13px;
    padding: 6px 12px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-text-blocks {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .navbar {
    top: 10px;
    width: calc(100% - 10px);
    height: auto;
    min-height: 50px;
    border-radius: 20px;
  }

  .nav-container {
    padding: 8px 15px;
    flex-direction: column;
    gap: 15px;
    min-height: 50px;
    align-items: center;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .nav-link {
    font-size: 12px;
    padding: 8px 15px;
    white-space: nowrap;
  }

  .nav-contact {
    order: 1;
    text-align: center;
  }

  .phone-container {
    gap: 6px;
  }

  .copy-icon {
    font-size: 11px;
  }

  .phone {
    font-size: 14px;
  }

  .phone-desc {
    font-size: 11px;
  }

  .nav-actions {
    order: 2;
  }

  .btn-appointment {
    padding: 10px 20px;
    font-size: 12px;
  }

  .profile-button {
    right: 10px;
    width: 50px;
    height: 50px;
    font-size: 16px;
  }

  .main-content {
    padding-top: 100px;
  }

  .page-title {
    font-size: 24px;
    margin-bottom: 40px;
  }

  .footer {
    padding: 40px 0 30px;
    margin-top: 60px;
  }

  .footer-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 25px;
  }

  .footer-info h4 {
    font-size: 15px;
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-text-blocks {
    gap: 20px;
  }

  .footer-text-blocks p {
    font-size: 13px;
    text-align: center;
    line-height: 1.5;
  }

  .contact-info {
    gap: 12px;
  }

  .contact-item {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px 0;
    text-align: center;
  }

  .contact-item span {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .navbar {
    top: 5px;
    width: calc(100% - 10px);
    border-radius: 15px;
  }

  .nav-container {
    padding: 6px 12px;
    gap: 12px;
  }

  .nav-link {
    font-size: 11px;
    padding: 6px 10px;
  }

  .btn-appointment {
    padding: 8px 15px;
    font-size: 11px;
  }

  .profile-button {
    width: 45px;
    height: 45px;
    font-size: 14px;
  }

  .main-content {
    padding-top: 80px;
  }

  .page-title {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .footer {
    padding: 30px 0 25px;
    margin-top: 40px;
  }

  .footer-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .footer-info h4 {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .footer-text-blocks p {
    font-size: 12px;
    line-height: 1.4;
  }

  .contact-item {
    padding: 10px 0;
    gap: 3px;
  }

  .contact-item span {
    font-size: 12px;
  }
}

.container {
  padding: 40px 20px;
}

.header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.back-btn,
.header {
  align-items: center;
}

.back-btn {
  display: inline-flex;
  gap: 8px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.back-btn:hover {
  transform: translateX(-5px);
  text-decoration: none;
}

.header-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-dark);
}

.create-user-btn {
  background: var(--success-color);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.create-user-btn:hover {
  background: #45a049;
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

.users-table-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.table-header {
  background: var(--primary-color);
  color: #fff;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.users-table {
  width: 100%;
  border-collapse: collapse;
}

.users-table td,
.users-table th {
  text-align: left;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-color);
}

.users-table th {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.users-table th,
.users-table tr:hover {
  background: #f8f9fa;
}

.role-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-active {
  color: var(--success-color);
  font-weight: 600;
}

.status-inactive {
  color: var(--error-color);
  font-weight: 600;
}

.action-btn {
  background: none;
  border: none;
  color: var(--error-color);
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 14px;
}

.action-btn:hover {
  background: var(--error-color);
  color: #fff;
}

.action-btn:disabled {
  color: var(--text-gray);
  cursor: not-allowed;
}

.action-btn:disabled:hover {
  background: none;
  color: var(--text-gray);
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-gray);
}

.empty-state i {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.empty-state p {
  font-size: 16px;
}

.flash-messages {
  margin-bottom: 30px;
}

.flash-message {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.flash-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.flash-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.flash-info {
  background: #cce7ff;
  color: #004085;
  border: 1px solid #b8daff;
}

@media (max-width: 768px) {
  .container {
    padding: 20px 15px;
  }

  .header {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .header-title {
    font-size: 24px;
  }

  .users-table-container {
    overflow-x: auto;
  }

  .users-table {
    min-width: 600px;
  }

  .users-table td,
  .users-table th {
    padding: 10px;
    font-size: 14px;
  }
}

@font-face {
  font-family: Gotham Condensed;
  src: url(/static/font/gotham-cond-ultra.otf) format("opentype");
  font-style: italic;
  font-weight: 400;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero {
  position: relative;
  height: 945px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero {
    align-items: flex-start;
    padding-top: 120px;
  }
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(2px);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--primary-color) 0,
    rgba(74, 144, 226, 0.9) 30%,
    rgba(74, 144, 226, 0.6) 70%,
    transparent
  );
  z-index: 0;
}

.hero-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  gap: 80px;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
  }
}

.hero-text {
  flex: 1;
  max-width: 600px;
  color: var(--text-light);
}

.hero-subtitle {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
  opacity: 0.9;
  background: #082761;
  padding: 8px;
  display: inline-block;
  border-radius: 8px;
  line-height: 1;
}

.hero-title {
  font-family: Gotham Condensed, sans-serif;
  font-size: 48px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.1;
  margin-bottom: 30px;
  letter-spacing: 3px;
}

.hero-description {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 30px;
  opacity: 0.95;
}

.hero-details {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.85;
  max-width: 500px;
}

.consultation-form {
  background: #082761;
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 35px;
  width: 400px;
  flex-shrink: 0;
  box-shadow: 0 15px 40px rgba(8, 39, 97, 0.3);
  border: 1px solid hsla(0, 0%, 100%, 0.1);
  position: relative;
}

.form-title {
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
}

.form-title-line1 {
  font-size: 20px;
  font-weight: 300;
  display: block;
}

.form-title-line2 {
  font-size: 22px;
  font-weight: 500;
  display: block;
}

.form-subtitle {
  font-size: 12px;
  font-weight: 300;
  color: #999;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 15px;
}

.form-input {
  padding: 18px 22px;
  border: 2px solid var(--border-color);
  border-radius: 15px;
  font-size: 16px;
  font-family: Geist, sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
  width: 100%;
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-submit {
  background: var(--primary-color);
  color: var(--text-light);
  border: none;
  padding: 20px 25px;
  border-radius: 15px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: Geist, sans-serif;
  width: 100%;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(40, 113, 252, 0.3);
}

.form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.form-disclaimer {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-gray);
  text-align: left;
}

.services {
  padding: 80px 0;
  background: var(--background-light);
}

.section-title {
  font-size: 36px;
  font-weight: 400;
  text-align: left;
  margin-bottom: 60px;
  color: var(--text-dark);
  font-family: Geist, sans-serif;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.service-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-tab {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 10px 25px;
  border-radius: 15px;
  font-size: 16px;
  font-weight: 600;
  font-family: Geist, sans-serif;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-dark);
}

.service-tab:hover {
  border-color: var(--primary-color);
  background: rgba(40, 113, 252, 0.05);
}

.service-tab.active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(40, 113, 252, 0.25);
}

.service-content {
  display: none;
  max-height: 400px;
  overflow-y: auto;
  padding: 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
}

.service-content.active {
  display: block;
}

.service-content::-webkit-scrollbar {
  width: 6px;
}

.service-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.service-content::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 3px;
}

.service-content::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

.service-info {
  position: relative;
  min-height: 400px;
}

.service-info h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-dark);
  font-family: Geist, sans-serif;
}

.service-description {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-gray);
  font-family: Geist, sans-serif;
}

.lab-table-container {
  margin: 20px 0;
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.lab-services-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  font-family: Geist, sans-serif;
}

.lab-services-table thead {
  background: var(--primary-color);
  color: #fff;
}

.lab-services-table th {
  padding: 15px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--primary-dark);
}

.lab-services-table td {
  padding: 12px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
  vertical-align: top;
}

.lab-services-table tbody tr:hover {
  background-color: rgba(40, 113, 252, 0.05);
  transition: background-color 0.2s ease;
}

.lab-services-table tbody tr:last-child td {
  border-bottom: none;
}

.lab-services-table td:first-child,
.lab-services-table th:first-child {
  width: 8%;
  text-align: center;
  font-weight: 600;
}

.lab-services-table td:nth-child(2),
.lab-services-table th:nth-child(2) {
  width: 35%;
  font-weight: 500;
}

.lab-services-table td:nth-child(3),
.lab-services-table th:nth-child(3) {
  width: 18%;
}

.lab-services-table td:nth-child(4),
.lab-services-table th:nth-child(4) {
  width: 15%;
}

.lab-services-table td:nth-child(5),
.lab-services-table th:nth-child(5) {
  width: 12%;
}

.lab-services-table td:nth-child(6),
.lab-services-table th:nth-child(6) {
  width: 12%;
  text-align: right;
  font-weight: 600;
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .lab-table-container {
    margin: 15px -20px;
    border-radius: 0;
  }

  .lab-services-table {
    border-radius: 0;
    font-size: 12px;
  }

  .lab-services-table td,
  .lab-services-table th {
    padding: 8px 6px;
    font-size: 11px;
  }

  .lab-services-table th {
    font-size: 10px;
  }

  @media (max-width: 480px) {
    .lab-services-table,
    .lab-services-table tbody,
    .lab-services-table td,
    .lab-services-table th,
    .lab-services-table thead,
    .lab-services-table tr {
      display: block;
    }

    .lab-services-table thead tr {
      position: absolute;
      top: -9999px;
      left: -9999px;
    }

    .lab-services-table tr {
      border: 1px solid #ccc;
      margin-bottom: 10px;
      border-radius: 8px;
      background: #fff;
      padding: 10px;
    }

    .lab-services-table td {
      border: none;
      position: relative;
      padding: 8px 8px 8px 35%;
      text-align: left;
    }

    .lab-services-table td:before {
      content: attr(data-label) ": ";
      position: absolute;
      left: 6px;
      top: 8px;
      width: 30%;
      text-align: left;
      font-weight: 600;
      color: var(--primary-color);
      font-size: 10px;
    }
  }
}

.clinic-info {
  padding: 80px 0;
  background: #fff;
}

.clinic-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
}

.clinic-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
}

.clinic-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.building-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clinic-info-card {
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.clinic-name {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  font-family: Geist, sans-serif;
  line-height: 1.2;
  margin: 0 0 15px;
}

.clinic-location {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 25px;
}

.clinic-city {
  font-size: 14px;
  font-weight: 600;
}

.clinic-address,
.clinic-city {
  color: var(--text-gray);
  font-family: Geist, sans-serif;
}

.clinic-address {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.btn-more-clinics {
  background: var(--primary-color);
  color: var(--text-light);
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: Geist, sans-serif;
  width: 100%;
  text-align: center;
}

.btn-more-clinics:hover {
  background: var(--primary-dark);
}

.clinic-features h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
  font-family: Geist, sans-serif;
}

.features-subtitle {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 25px;
  font-family: Geist, sans-serif;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 30px;
}

.features-list li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-family: Geist, sans-serif;
  padding: 20px;
  background: rgba(40, 113, 252, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(40, 113, 252, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.features-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--primary-color),
    var(--accent-color)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.features-list li:hover {
  background: rgba(40, 113, 252, 0.06);
  border-color: rgba(40, 113, 252, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(40, 113, 252, 0.1);
}

.features-list li:hover:before {
  opacity: 1;
}

.features-list .feature-icon {
  font-size: 18px;
  color: var(--primary-color);
  margin-top: 2px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.features-list li:hover .feature-icon {
  transform: scale(1.1);
}

.map-section {
  padding: 80px 0;
  background: var(--background-light);
}

.map-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.map-tab {
  background: #fff;
  border: 2px solid var(--border-color);
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: Geist, sans-serif;
}

.map-tab.active {
  background: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
}

.map-tab.disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.map-tab.disabled,
.map-tab.disabled:hover {
  background: #f5f5f5;
  color: #bbb;
  border-color: #e0e0e0;
}

.map-tab.disabled:hover {
  transform: none;
}

.location-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.location-tab {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: Geist, sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}

.location-tab.active {
  background: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
}

.badge {
  background: var(--accent-color);
  color: var(--text-light);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.location-tab.active .badge {
  background: #fff;
  color: var(--primary-color);
}

.map-embed {
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-embed > div,
.map-embed iframe {
  width: 100%;
  height: 100%;
}

.map-embed iframe {
  border: none;
}

.map-mock {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8f4fd, #b6e5d8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-gray);
}

.footer {
  background: #fff;
  color: var(--text-dark);
  padding: 60px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 60px;
}

.footer-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
}

.footer-info h4,
.highlight {
  color: var(--primary-color);
}

.footer-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-info,
.footer-text-blocks {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-info p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

@media (min-width: 1024px) {
  .footer-text-blocks {
    flex-direction: row;
    gap: 30px;
  }

  .footer-text-blocks p {
    flex: 1;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e5e5e5;
  font-size: 14px;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item span:first-child {
  color: #666;
}

.contact-item span:last-child {
  color: var(--text-dark);
  font-weight: 500;
}

.contact-item a,
.contact-item a:visited {
  text-decoration: none !important;
  color: inherit;
}

@media (max-width: 1200px) {
  .navbar {
    width: calc(100% - 20px);
  }

  .nav-container {
    padding: 6px 25px;
  }

  .hero-content {
    padding: 0 30px;
    gap: 40px;
  }

  .consultation-form {
    width: 320px;
  }
}

@media (max-width: 1024px) {
  .navbar {
    width: calc(100% - 15px);
    height: auto;
    min-height: 57px;
    border-radius: 25px;
  }

  .nav-container {
    padding: 6px 20px;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 57px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-link {
    font-size: 13px;
    padding: 6px 12px;
  }

  .hero {
    height: 700px;
  }

  .hero-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
    padding: 100px 30px 0;
  }

  .hero-title {
    font-size: 40px;
  }

  .consultation-form {
    width: 100%;
    max-width: 420px;
    padding: 40px 35px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-tab {
    padding: 15px 20px;
    font-size: 14px;
  }

  .service-content {
    max-height: 300px;
    padding: 20px;
  }

  .clinic-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .clinic-card {
    max-width: 400px;
    margin: 0 auto;
  }

  .clinic-name {
    font-size: 28px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-text-blocks {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .navbar {
    top: 10px;
    width: calc(100% - 10px);
    height: auto;
    min-height: 50px;
    border-radius: 20px;
  }

  .nav-container {
    padding: 8px 15px;
    flex-direction: column;
    gap: 15px;
    min-height: 50px;
    align-items: center;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .nav-link {
    font-size: 12px;
    padding: 8px 15px;
    white-space: nowrap;
  }

  .nav-contact {
    order: 1;
    text-align: center;
    gap: 2px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
  }

  .phone-container {
    gap: 4px;
    font-size: 0;
  }

  .phone-container:not(:last-of-type):after {
    content: "|";
    color: #fff;
    margin: 0 6px;
    font-size: 12px;
  }

  .copy-icon {
    font-size: 11px;
  }

  .phone {
    font-size: 12px;
  }

  .phone-desc {
    font-size: 10px;
  }

  .nav-actions {
    order: 2;
  }

  .btn-appointment {
    padding: 10px 20px;
    font-size: 12px;
  }

  .profile-button {
    right: 10px;
    width: 50px;
    height: 50px;
    font-size: 16px;
  }

  .hero {
    height: auto;
    min-height: 100vh;
    padding: 100px 0 40px;
  }

  .hero-content {
    padding: 0 20px;
    gap: 30px;
    max-width: 100%;
    height: auto;
    min-height: calc(100vh - 140px);
    justify-content: center;
  }

  .hero-subtitle {
    font-size: 11px;
    padding: 6px 12px;
  }

  .hero-title {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .hero-details {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .consultation-form {
    padding: 30px 25px;
    border-radius: 18px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .form-title-line1 {
    font-size: 18px;
  }

  .form-title-line2 {
    font-size: 20px;
  }

  .form-subtitle {
    font-size: 11px;
    margin-bottom: 25px;
  }

  .form-input {
    padding: 16px 20px;
  }

  .form-input,
  .form-submit {
    font-size: 14px;
    width: 100%;
    border-radius: 12px;
    margin-bottom: 18px;
  }

  .form-submit {
    padding: 18px 22px;
  }

  .form-disclaimer {
    font-size: 11px;
    line-height: 1.4;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
  }

  .services {
    padding: 50px 0;
  }

  .service-tab {
    padding: 12px 18px;
    font-size: 13px;
    border-radius: 12px;
    text-align: center;
  }

  .service-content {
    max-height: 250px;
    padding: 15px;
    border-radius: 12px;
  }

  .service-info h4 {
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
  }

  .service-description {
    font-size: 13px;
    text-align: left;
  }

  .clinic-info {
    padding: 50px 0;
  }

  .clinic-name {
    font-size: 24px;
    text-align: center;
  }

  .clinic-info-card {
    padding: 20px;
    text-align: center;
  }

  .clinic-location {
    text-align: center;
    margin-bottom: 20px;
  }

  .clinic-city {
    font-size: 13px;
  }

  .clinic-address {
    font-size: 14px;
  }

  .clinic-image {
    height: 180px;
  }

  .clinic-features h3 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 15px;
  }

  .features-subtitle {
    font-size: 13px;
    text-align: center;
    margin-bottom: 20px;
  }

  .map-section {
    padding: 50px 0;
  }

  .map-tabs {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
  }

  .map-tab {
    width: 100%;
    max-width: 250px;
    text-align: center;
    padding: 12px 25px;
  }

  .location-tabs {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
  }

  .location-tab {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 10px 20px;
    justify-content: center;
  }

  .map-embed {
    height: 300px;
    border-radius: 15px;
  }

  .footer {
    padding: 40px 0 30px;
  }

  .footer-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 25px;
  }

  .footer-info h4 {
    font-size: 15px;
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-text-blocks {
    gap: 20px;
  }

  .footer-text-blocks p {
    font-size: 13px;
    text-align: center;
    line-height: 1.5;
  }

  .contact-info {
    gap: 12px;
  }

  .contact-item {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px 0;
    text-align: center;
  }

  .contact-item span {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .navbar {
    top: 5px;
    width: calc(100% - 10px);
    border-radius: 15px;
  }

  .nav-container {
    padding: 6px 12px;
    gap: 12px;
  }

  .nav-link {
    font-size: 11px;
    padding: 6px 10px;
  }

  .btn-appointment {
    padding: 8px 15px;
    font-size: 11px;
  }

  .profile-button {
    width: 45px;
    height: 45px;
    font-size: 14px;
  }

  .hero {
    height: auto;
    min-height: 100vh;
    padding: 80px 0 30px;
  }

  .hero-content {
    padding: 0 15px;
    gap: 25px;
    min-height: calc(100vh - 110px);
    justify-content: flex-start;
    align-items: center;
  }

  .hero-text {
    margin-bottom: 20px;
  }

  .hero-subtitle {
    font-size: 10px;
    padding: 5px 10px;
  }

  .hero-title {
    font-size: 22px;
    line-height: 1.1;
  }

  .hero-description {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .hero-details {
    font-size: 12px;
    line-height: 1.5;
  }

  .consultation-form {
    padding: 25px 20px;
    border-radius: 15px;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .form-title-line1 {
    font-size: 16px;
  }

  .form-title-line2 {
    font-size: 18px;
  }

  .form-subtitle {
    font-size: 10px;
    margin-bottom: 20px;
  }

  .form-input {
    padding: 14px 18px;
  }

  .form-input,
  .form-submit {
    font-size: 13px;
    border-radius: 12px;
    width: 100%;
    margin-bottom: 15px;
  }

  .form-submit {
    padding: 16px 20px;
  }

  .form-disclaimer {
    font-size: 10px;
    line-height: 1.3;
  }

  .section-title {
    font-size: 20px;
    margin-bottom: 25px;
  }

  .services {
    padding: 40px 0;
  }

  .service-tab {
    padding: 10px 15px;
    font-size: 12px;
    border-radius: 10px;
  }

  .service-content {
    max-height: 200px;
    padding: 12px;
    border-radius: 10px;
  }

  .service-info h4 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .service-description {
    font-size: 12px;
  }

  .clinic-info {
    padding: 40px 0;
  }

  .clinic-name {
    font-size: 20px;
  }

  .clinic-info-card {
    padding: 15px;
  }

  .clinic-city {
    font-size: 12px;
  }

  .clinic-address {
    font-size: 13px;
  }

  .clinic-image {
    height: 150px;
  }

  .btn-more-clinics {
    padding: 10px 20px;
    font-size: 12px;
  }

  .clinic-features h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .features-subtitle {
    font-size: 11px;
    margin-bottom: 15px;
    opacity: 0.8;
  }

  .features-list {
    gap: 12px;
    margin-top: 15px;
  }

  .features-list li {
    padding: 10px;
    font-size: 11px;
    gap: 8px;
    border-radius: 8px;
  }

  .features-list .feature-icon {
    font-size: 12px;
  }

  .map-section {
    padding: 40px 0;
  }

  .map-tab {
    max-width: 200px;
    padding: 10px 20px;
    font-size: 12px;
  }

  .location-tab {
    max-width: 220px;
    padding: 8px 15px;
    font-size: 12px;
  }

  .badge {
    width: 18px;
    height: 18px;
    font-size: 11px;
  }

  .map-embed {
    height: 250px;
    border-radius: 12px;
  }

  .footer {
    padding: 30px 0 25px;
  }

  .footer-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .footer-info h4 {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .footer-text-blocks p {
    font-size: 12px;
    line-height: 1.4;
  }

  .contact-item {
    padding: 10px 0;
    gap: 3px;
  }

  .contact-item span {
    font-size: 12px;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text,
.consultation-form {
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
}

.hero-text {
  animation-delay: 0.2s;
}

.consultation-form {
  animation-delay: 0.5s;
}

@media (max-width: 360px) {
  .hero {
    min-height: 100vh;
    padding: 70px 0 20px;
  }

  .hero-content {
    padding: 0 10px;
    gap: 20px;
    min-height: calc(100vh - 90px);
  }

  .consultation-form {
    padding: 20px 15px;
    width: 100%;
    margin: 0;
  }

  .form-input {
    padding: 12px 15px;
    font-size: 12px;
    margin-bottom: 12px;
  }

  .form-submit {
    padding: 14px 18px;
    font-size: 12px;
  }

  .hero-title {
    font-size: 20px;
  }

  .hero-description {
    font-size: 13px;
  }

  .hero-details {
    font-size: 11px;
  }
}

@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 60px 0 20px;
  }

  .hero-content {
    flex-direction: row;
    gap: 20px;
    padding: 0 20px;
    min-height: calc(100vh - 80px);
    align-items: flex-start;
  }

  .hero-text {
    flex: 1;
    margin-bottom: 0;
  }

  .consultation-form {
    width: 300px;
    flex-shrink: 0;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-description {
    font-size: 14px;
  }
}

.dcontainer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.dheader {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.dheader-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dlogo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.duser-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.duser-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.duser-details {
  display: flex;
  flex-direction: column;
}

.duser-name {
  font-weight: 600;
  color: var(--text-dark);
}

.duser-role {
  font-size: 12px;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dlogout-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-gray);
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dlogout-btn:hover {
  background: var(--error-color);
  color: white;
  border-color: var(--error-color);
}

/* Chat Widget Styles */
.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
  font-family: Geist, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
}

.chat-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  font-size: 24px;
}

.chat-button:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.chat-container {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.chat-container.active {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.chat-header {
  background: var(--primary-color);
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 18px;
}

.chat-header-text h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.chat-header-text p {
  font-size: 12px;
  opacity: 0.9;
  margin: 3px 0 0;
}

.chat-close {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  max-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.chat-message {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.4;
  position: relative;
}

.chat-message.admin {
  background: #f0f4ff;
  border-bottom-left-radius: 5px;
  align-self: flex-start;
}

.chat-message.user {
  background: var(--primary-color);
  color: white;
  border-bottom-right-radius: 5px;
  align-self: flex-end;
}

.chat-message-time {
  font-size: 10px;
  opacity: 0.7;
  margin-top: 5px;
  text-align: right;
}

.chat-input-container {
  padding: 15px;
  border-top: 1px solid #eee;
  background: white;
}

.chat-input-form {
  display: flex;
  gap: 10px;
}

.chat-input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #e5e5e5;
  border-radius: 25px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease;
}

.chat-input:focus {
  border-color: var(--primary-color);
}

.chat-send-button {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 18px;
}

.chat-send-button:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.chat-welcome {
  text-align: center;
  padding: 20px;
  color: #666;
  font-size: 14px;
  border-bottom: 1px solid #eee;
}

/* Responsive styles for chat widget */
@media (max-width: 768px) {
  .chat-container {
    width: 300px;
    bottom: 70px;
  }

  .chat-message {
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .chat-widget {
    bottom: 15px;
    right: 15px;
  }

  .chat-container {
    width: 280px;
    bottom: 65px;
  }

  .chat-button {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

/* Chat Widget Styles */
.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
  font-family: Geist, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
}

.chat-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  font-size: 24px;
}

.chat-button:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.chat-container {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.chat-container.active {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.chat-header {
  background: var(--primary-color);
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 18px;
}

.chat-header-text h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.chat-header-text p {
  font-size: 12px;
  opacity: 0.9;
  margin: 3px 0 0;
}

.chat-close {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  max-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.chat-message {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.4;
  position: relative;
}

.chat-message.admin {
  background: #f0f4ff;
  border-bottom-left-radius: 5px;
  align-self: flex-start;
}

.chat-message.user {
  background: var(--primary-color);
  color: white;
  border-bottom-right-radius: 5px;
  align-self: flex-end;
}

.chat-message-time {
  font-size: 10px;
  opacity: 0.7;
  margin-top: 5px;
  text-align: right;
}

.chat-input-container {
  padding: 15px;
  border-top: 1px solid #eee;
  background: white;
}

.chat-input-form {
  display: flex;
  gap: 10px;
}

.chat-input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #e5e5e5;
  border-radius: 25px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease;
}

.chat-input:focus {
  border-color: var(--primary-color);
}

.chat-send-button {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 18px;
}

.chat-send-button:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.chat-welcome {
  text-align: center;
  padding: 20px;
  color: #666;
  font-size: 14px;
  border-bottom: 1px solid #eee;
}

/* Responsive styles for chat widget */
@media (max-width: 768px) {
  .chat-container {
    width: 300px;
    bottom: 70px;
  }

  .chat-message {
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .chat-widget {
    bottom: 15px;
    right: 15px;
  }

  .chat-container {
    width: 280px;
    bottom: 65px;
  }

  .chat-button {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}
