.login-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.login-modal-overlay.show {
  display: flex;
  opacity: 1;
}

.login-modal-container {
  background: white;
  border-radius: 20px;
  padding: 0;
  width: 90%;
  max-width: 768px;
  position: relative;
  transform: scale(0.7);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.login-modal-overlay.show .login-modal-container {
  transform: scale(1);
}

.login-modal-header {
  text-align: center;
  padding: 30px 30px 20px;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}

.login-modal-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: #333;
  margin: 0;
}

.login-modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
  padding: 5px;
  line-height: 1;
  transition: color 0.2s ease;
}

.login-modal-close-btn:hover {
  color: #333;
}

.login-modal-body {
  padding: 30px;
}

.login-telegram-btn {
  width: 100%;
  background: #0088cc;
  color: white;
  border: none;
  border-radius: 25px;
  padding: 15px 20px;
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.login-telegram-btn:hover {
  background: #007ab8;
  transform: translateY(-1px);
}

.login-telegram-icon {
  width: 20px;
  height: 20px;
}

.login-form-divider {
  text-align: center;
  margin: 25px 0;
  position: relative;
  color: #999;
  font-size: 0.9rem;
}

.login-form-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e0e0e0;
  z-index: 1;
}

.login-form-divider span {
  background: white;
  padding: 0 15px;
  position: relative;
  z-index: 2;
}

.login-form-group {
  margin-bottom: 20px;
}

.login-form-input {
  width: 100%;
  padding: 15px 20px;
  border: none;
  background: #f5f5f5;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.login-form-input:focus {
  background: #f0f0f0;
  transform: translateY(-1px);
}

.login-form-input::placeholder {
  color: #999;
}

.login-submit-btn {
  width: 100%;
  background: #c8e668;
  color: #333;
  border: none;
  border-radius: 10px;
  padding: 15px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.login-submit-btn:hover {
  background: #b8d658;
  transform: translateY(-1px);
}

.login-agreement-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
}

.login-agreement-checkbox {
  margin-top: 2px;
  flex-shrink: 0;
}

.login-agreement-text a {
  color: #0088cc;
  text-decoration: none;
}

.login-agreement-text a:hover {
  text-decoration: underline;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-modal-overlay.show .login-modal-container {
  animation: fadeInUp 0.4s ease;
}
