:root {
  --primary-color: #07c160;
  --secondary-color: #1989fa;
  --text-color: #333333;
  --text-gray: #999999;
  --bg-color: #f5f5f5;
  --border-color: #e8e8e8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
}

.container {
  max-width: 750px;
  margin: 0 auto;
  padding-bottom: 70px;
}

.ad-banner {
  height: 80px;
  background: #ffffff;
  overflow: hidden;
}

.ad-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-placeholder {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cccccc;
  font-size: 12px;
}

.lang-switcher {
  position: fixed;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  cursor: pointer;
  font-size: 14px;
}

.lang-icon {
  margin-right: 4px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  min-width: 150px;
  overflow: hidden;
}

.menu-title {
  padding: 10px 16px 6px;
  font-size: 12px;
  color: var(--text-gray);
  background: #f8f8f8;
}

.menu-item {
  padding: 12px 16px;
  cursor: pointer;
}

.menu-item:hover {
  background: #f0f0f0;
}

.empty-state, .loading {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-gray);
}

.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-modal .modal-content {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  width: 90%;
  max-width: 400px;
  max-height: 80vh;
  overflow-y: auto;
}

.contact-modal .modal-title {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-color);
}

.contact-modal .modal-close {
  width: 100%;
  height: 44px;
  background: #f5f5f5;
  border: none;
  border-radius: 22px;
  margin-top: 20px;
  font-size: 16px;
  color: var(--text-color);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  padding: 12px;
  background: #f8f8f8;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-item:hover {
  background: #f0f0f0;
}

.contact-item .contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
  margin-right: 12px;
  flex-shrink: 0;
}

.contact-item .contact-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.contact-item .contact-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
}

.contact-item .contact-value {
  font-size: 12px;
  color: var(--text-gray);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.no-contacts {
  text-align: center;
  padding: 30px;
  color: var(--text-gray);
}

.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 3000;
}