/* Info Text */
.info-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  color: var(--neutral-dark);
  font-size: 0.9rem;
  padding: 0.8rem;
  background-color: rgba(102, 126, 234, 0.1);
  border-radius: var(--border-radius-sm);
  border-left: 3px solid var(--accent-color);
}

.info-text i {
  color: var(--accent-color);
  font-size: 1.1rem;
} /* =================================================== 
   KENES MENDENGAR PAGE STYLES
   =================================================== */

/* Base Styles */
:root {
  --primary-color: #62411e;
  --primary-light: #8b5a3c;
  --secondary-color: #e78b26;
  --accent-color: #667eea;
  --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --primary-gradient: linear-gradient(135deg, #62411e 0%, #8b5a3c 100%);
  --neutral-light: #f8f9fa;
  --neutral-medium: #e9ecef;
  --neutral-dark: #6c757d;
  --success-color: #28a745;
  --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 20px;
  --border-radius-sm: 12px;
  --container-width: 1200px;
}

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

body {
  font-family: var(--font-primary);
  color: #333;
  line-height: 1.6;
}

.container-modern {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Kenesmendengar Page */
.kenesmendengar-page-modern {
  min-height: 100vh;
  background-color: var(--neutral-light);
  position: relative;
}

/* Hero Section */
.kenesmendengar-hero-section {
  background: var(--primary-gradient);
  color: white;
  padding: 5rem 0;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.kenesmendengar-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.1;
}

.kenesmendengar-hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.kenesmendengar-main-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  color: white;
  letter-spacing: -0.5px;
}

.kenesmendengar-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  color: white;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Registration Container */
.registration-container {
  max-width: 650px;
  margin: 0 auto 4rem;
}

/* Registration Card */
.registration-card-modern {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  border: 1px solid #eee;
  transition: var(--transition);
  margin-bottom: 2.5rem;
}

.registration-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.registration-header-modern {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 3rem 2rem;
  text-align: center;
  border-bottom: 1px solid #eee;
  position: relative;
}

.registration-header-modern::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-gradient);
}

.registration-icon-wrapper {
  width: 90px;
  height: 90px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 6px 20px rgba(98, 65, 30, 0.3);
  position: relative;
  z-index: 1;
}

.registration-icon-wrapper::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: var(--primary-gradient);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.3;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.2;
  }
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
}

.registration-icon-wrapper i {
  font-size: 2.2rem;
  color: white;
}

.registration-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.registration-description {
  color: var(--neutral-dark);
  font-size: 1.1rem;
  margin: 0;
  opacity: 0.9;
}

/* Form Container */
.form-container {
  padding: 3rem 2rem;
}

/* Form Groups */
.form-group-modern {
  margin-bottom: 1.8rem;
  position: relative;
}

.form-label-modern {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  transition: var(--transition);
}

.form-label-modern i {
  color: var(--secondary-color);
  font-size: 1.1rem;
  transition: var(--transition);
}

.form-label-modern .required {
  color: #e74c3c;
  margin-left: 3px;
}

/* Form Controls */
.form-control-modern {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid var(--neutral-medium);
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--neutral-light);
  font-family: var(--font-primary);
}

.form-control-modern:focus {
  outline: none;
  border-color: var(--secondary-color);
  background: white;
  box-shadow: 0 0 0 3px rgba(231, 139, 38, 0.15);
}

.form-control-modern:focus + .form-label-modern i {
  color: var(--primary-color);
}

.form-select-modern {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid var(--neutral-medium);
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--neutral-light);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236c757d' 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 1rem center;
  background-size: 1.2rem;
  font-family: var(--font-primary);
}

.form-select-modern:focus {
  outline: none;
  border-color: var(--secondary-color);
  background-color: white;
  box-shadow: 0 0 0 3px rgba(231, 139, 38, 0.15);
}

/* Input Group */
.input-group-modern {
  display: flex;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  border: 2px solid var(--neutral-medium);
  transition: var(--transition);
}

.input-group-modern:focus-within {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(231, 139, 38, 0.15);
}

.input-group-text-modern {
  background: var(--neutral-light);
  border: none;
  padding: 1rem 1.2rem;
  color: var(--neutral-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
}

.input-group-modern input {
  border: none;
  padding: 1rem 1.2rem;
  flex: 1;
  background: white;
  font-size: 1rem;
  font-family: var(--font-primary);
}

.input-group-modern input:focus {
  outline: none;
}

/* Help Text */
.form-help-text {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #999;
}

/* Buttons */
.btn-primary-modern {
  width: 100%;
  padding: 1.1rem;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  position: relative;
  overflow: hidden;
}

.btn-primary-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: var(--transition);
}

.btn-primary-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(98, 65, 30, 0.4);
}

.btn-primary-modern:hover::before {
  left: 100%;
  transition: 0.7s;
}

.btn-secondary-modern {
  width: 100%;
  padding: 1.1rem;
  background: var(--neutral-medium);
  color: #333;
  border: none;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}

.btn-secondary-modern:hover {
  background: #dee2e6;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Location Button */
.location-button {
  width: 100%;
  background: var(--accent-gradient);
  color: white;
  border: none;
  padding: 1rem 1.2rem;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  margin-bottom: 1.5rem;
  transition: var(--transition);
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}

.location-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.location-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Map Styling */
.map-container {
  margin: 1.5rem 0;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

#outletMap {
  height: 400px;
  width: 100%;
  z-index: 1;
}

.map-legend {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: white;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  font-size: 12px;
}

.legend-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.legend-item:last-child {
  margin-bottom: 0;
}

.legend-color {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 10px;
}

/* Custom Leaflet Styling */
.custom-div-icon {
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.leaflet-popup-content-wrapper {
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.leaflet-popup-content {
  margin: 10px;
  font-size: 14px;
}

.leaflet-container {
  font-family: var(--font-primary);
}

/* Outlet Info Box */
.outlet-info-box {
  background: var(--accent-gradient);
  color: white;
  padding: 1.2rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: 1.5rem;
  display: none;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.outlet-info-box.show {
  display: block;
  animation: slideDown 0.4s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

.mr-2 {
  margin-right: 0.8rem;
}

.outlet-address {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 0.3rem;
}

.outlet-distance {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin-left: 5px;
}

.nearest-badge {
  background: var(--success-color);
  color: white;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  margin-left: 10px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* OTP Verification Container */
.otp-verification-container {
  display: none;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.verification-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.verification-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #28a745, #20c997);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.2rem;
  color: white;
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
  position: relative;
}

.verification-icon::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(135deg, #28a745, #20c997);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.3;
  animation: pulse 2s infinite;
}

.verification-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.verification-description {
  color: var(--neutral-dark);
  font-size: 1rem;
}

.phone-display {
  color: var(--primary-color);
  font-weight: 600;
}

/* OTP Input */
.otp-input-container {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin: 2rem 0;
}

.otp-input {
  width: 55px;
  height: 55px;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  border: 2px solid var(--neutral-medium);
  border-radius: var(--border-radius-sm);
  background: var(--neutral-light);
  transition: var(--transition);
  font-family: var(--font-primary);
}

.otp-input:focus {
  outline: none;
  border-color: var(--secondary-color);
  background: white;
  box-shadow: 0 0 0 3px rgba(231, 139, 38, 0.15);
}

/* Countdown Timer */
.countdown-container {
  text-align: center;
  margin: 2rem 0;
}

.countdown-text {
  color: var(--neutral-dark);
  font-size: 0.95rem;
}

.countdown-timer {
  font-size: 1.1rem;
  font-weight: 600;
  color: #e74c3c;
  margin-top: 0.5rem;
}

.resend-link {
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  padding: 2px 5px;
}

.resend-link:hover:not(.disabled) {
  color: var(--primary-color);
  text-decoration: underline;
}

.resend-link.disabled {
  color: #ccc;
  cursor: not-allowed;
  pointer-events: none;
}

/* Form Actions */
.form-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* Invalid Feedback */
.invalid-feedback {
  display: none;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #e74c3c;
}

.form-control-modern.is-invalid,
.form-select-modern.is-invalid,
.input-group-modern.is-invalid {
  border-color: #e74c3c;
}

.form-control-modern.is-invalid:focus,
.form-select-modern.is-invalid:focus,
.input-group-modern.is-invalid:focus-within {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.is-invalid ~ .invalid-feedback,
.is-invalid + .invalid-feedback {
  display: block;
}

/* Benefits Section */
.benefits-section {
  margin-top: 3rem;
  padding: 2rem 0;
}

.benefits-title {
  text-align: center;
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.benefits-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 10px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: white;
  border-radius: var(--border-radius-sm);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border: 1px solid #eee;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(98, 65, 30, 0.2);
}

.benefit-card h4 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
}

.benefit-card p {
  color: var(--neutral-dark);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 992px) {
  .kenesmendengar-main-title {
    font-size: 3rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .kenesmendengar-main-title {
    font-size: 2.5rem;
  }

  .kenesmendengar-hero-section {
    padding: 4rem 0;
  }

  .registration-header-modern,
  .form-container {
    padding: 2rem 1.5rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .map-container {
    margin: 1rem 0;
  }

  #outletMap {
    height: 300px;
  }

  .map-legend {
    bottom: 10px;
    right: 10px;
    padding: 8px;
    font-size: 11px;
  }

  .otp-input-container {
    gap: 0.5rem;
  }

  .otp-input {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }

  .form-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .kenesmendengar-main-title {
    font-size: 2rem;
  }

  .kenesmendengar-subtitle {
    font-size: 1rem;
  }

  .kenesmendengar-hero-section {
    padding: 3rem 0;
  }

  .registration-title {
    font-size: 1.5rem;
  }

  .registration-description {
    font-size: 0.9rem;
  }

  .registration-icon-wrapper {
    width: 70px;
    height: 70px;
  }

  .registration-icon-wrapper i {
    font-size: 1.8rem;
  }

  .otp-input {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }

  .verification-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .verification-title {
    font-size: 1.5rem;
  }

  .benefits-title {
    font-size: 1.5rem;
  }
}
