/* Login Modal Styles */
.login-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.login-modal.active {
  display: flex;
}

.login-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.login-modal-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.login-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #666;
  transition: color 0.2s, transform 0.2s;
}

.login-modal-close:hover {
  color: #000;
  transform: rotate(90deg);
}

.login-modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-modal-logo {
  width: 120px;
  margin-bottom: 1rem;
}

.login-modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
}

.login-modal-subtitle {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
}

.login-modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-modal-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}

.login-modal-btn-old {
  background: #f5f5f5;
  border-color: #e0e0e0;
}

.login-modal-btn-old:hover {
  background: #ebebeb;
  border-color: #ccc;
  transform: translateX(4px);
}

.login-modal-btn-old .login-modal-btn-icon {
  color: #666;
}

.login-modal-btn-new {
  background: linear-gradient(135deg, #0039c8 0%, #0029a0 100%);
  border-color: #0039c8;
}

.login-modal-btn-new:hover {
  background: linear-gradient(135deg, #0029a0 0%, #001a70 100%);
  transform: translateX(4px);
  box-shadow: 0 8px 20px rgba(0, 57, 200, 0.3);
}

.login-modal-btn-new .login-modal-btn-icon,
.login-modal-btn-new .login-modal-btn-title,
.login-modal-btn-new .login-modal-btn-desc {
  color: #fff;
}

.login-modal-btn-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-modal-btn-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.login-modal-btn-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
}

.login-modal-btn-desc {
  font-size: 0.85rem;
  color: #666;
}

@media screen and (max-width: 479px) {
  .login-modal-content {
    padding: 1.5rem;
    margin: 1rem;
  }

  .login-modal-title {
    font-size: 1.25rem;
  }

  .login-modal-btn {
    padding: 1rem;
  }

  .login-modal-btn-icon svg {
    width: 24px;
    height: 24px;
  }

  .login-modal-btn-title {
    font-size: 0.9rem;
  }

  .login-modal-btn-desc {
    font-size: 0.8rem;
  }
}