/* Login Page Styles */

@font-face {
  font-family: "Behove";
  src: url("../fonts/Behove.woff2") format("woff2"),
    url("../fonts/Behove.ttf") format("truetype"),
    url("../fonts/Behove.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.login-page {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  min-height: 100vh;
}

.login-container {
  display: flex;
  min-height: 100vh;
  background: white;
  max-width: 1400px;
  margin: 0 auto;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
}

/* Left Side - Hero Section */
.login-hero {
  flex: 1;
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  padding: 60px 80px;
  color: white;
  position: relative;
  overflow: hidden;
}

/* Floating Bubbles */
.bubbles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.badge-icon {
  width: 26px;
  height: 32px;
  object-fit: contain;
}

.badge-text {
  font-family: "Behove", sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-highlight {
  display: block;
  font-size: 64px;
  font-weight: 800;
  font-family: "Behove", sans-serif;
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-image {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 40px 0;
}

.dog-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.rating-badge {
  position: absolute;
  bottom: 20px;
  right: -20px;
  background: #1a1b1c;
  color: white;
  padding: 20px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.rating-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.rating-subtitle {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.rating-stars {
  font-size: 14px;
  letter-spacing: 2px;
}

.hero-arrow {
  margin: 40px 0 20px;
  color: rgba(255, 255, 255, 0.6);
}

.how-it-works-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  background: white;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.step-number {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 32px;
  height: 32px;
  background: #1a1b1c;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  display: block;
  object-fit: contain;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.step-description {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* Right Side - Login Form */
.login-form-section {
  flex: 0 0 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: white;
}

.login-form-wrapper {
  width: 100%;
  max-width: 400px;
}

.login-header {
  margin-bottom: 40px;
}

.login-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.login-subtitle {
  font-size: 15px;
  color: #666;
  margin: 0;
}

.login-form {
  width: 100%;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  transition: all 0.3s ease;
  background: #fafafa;
}

.form-control:focus {
  outline: none;
  border-color: #4caf50;
  background: white;
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

.form-control::placeholder {
  color: #999;
}

.form-text {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #666;
}

.btn-login {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  background: #1a1b1c;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.btn-login:hover {
  background: #2a2b2c;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 27, 28, 0.5);
}

.btn-login:active {
  transform: translateY(0);
}

.btn-login {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-login:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

.btn-text,
.btn-loader,
.btn-success {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Success Overlay */
.success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
}

.success-content {
  text-align: center;
  color: white;
}

.success-icon {
  margin: 0 auto 30px;
  width: 80px;
  height: 80px;
}

.success-icon svg {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.success-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  font-family: "Behove", sans-serif;
}

.success-message {
  font-size: 18px;
  opacity: 0.95;
  margin: 0;
}

.login-footer {
  margin-top: 30px;
  text-align: center;
}

.signup-text {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.signup-link {
  color: #1a1b1c;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.signup-link:hover {
  color: #2a2b2c;
  text-decoration: underline;
}

/* Alert Styles */
.alert {
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 24px;
  font-size: 14px;
}

.alert-danger {
  background: #ffebee;
  border: 1px solid #ef5350;
  color: #c62828;
}

.alert-success {
  background: #e8f5e9;
  border: 1px solid #66bb6a;
  color: #2e7d32;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .login-hero {
    padding: 40px 60px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-highlight {
    font-size: 52px;
  }

  .hero-image {
    width: 320px;
    height: 320px;
  }

  .steps-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .step-card {
    padding: 20px 15px;
  }

  .step-icon {
    font-size: 36px;
  }

  .step-title {
    font-size: 16px;
  }

  .step-description {
    font-size: 12px;
  }
}

@media (max-width: 992px) {
  .login-container {
    flex-direction: column;
  }

  .login-hero {
    padding: 40px 30px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-highlight {
    font-size: 48px;
  }

  .hero-image {
    width: 280px;
    height: 280px;
    margin: 30px auto;
  }

  .rating-badge {
    right: 50%;
    transform: translateX(50%);
    bottom: -74px;
    width: 250px;
  }

  .steps-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 50px;
  }

  .login-form-section {
    flex: 1;
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .login-hero {
    padding: 30px 20px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-highlight {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-image {
    width: 240px;
    height: 240px;
  }

  .how-it-works-title {
    font-size: 28px;
  }

  .steps-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .step-card {
    padding: 25px 20px;
  }

  .login-form-section {
    padding: 30px 20px;
  }

  .login-title {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    font-size: 12px;
    padding: 6px 16px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-highlight {
    font-size: 36px;
  }

  .hero-image {
    width: 200px;
    height: 200px;
  }

  .rating-badge {
    padding: 15px 20px;
    width: 250px;
  }

  .rating-title {
    font-size: 16px;
  }

  .how-it-works-title {
    font-size: 24px;
  }

  .login-title {
    font-size: 24px;
  }

  .login-subtitle {
    font-size: 14px;
  }
}
