/* Registration Modal Styles - Inspired by GHL PLUS */

:root {
  --modal-bg: #ffffff;
  --modal-overlay: rgba(0, 0, 0, 0.7);
  --primary-blue: #3b5998;
  --google-red: #ea4335;
  --text-dark: #333333;
  --text-muted: #666666;
  --border-color: #eeeeee;
}

.kan-registration-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--modal-overlay);
  z-index: 9999;
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.kan-registration-modal {
  background: var(--modal-bg);
  width: 90%;
  max-width: 900px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  position: relative;
  display: flex;
  flex-direction: row;
  min-height: 500px;
}

.kan-close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  z-index: 10;
  transition: 0.2s;
}

.kan-close-modal:hover {
  color: var(--text-dark);
}

/* Left Column: Login/Signup Actions */
.kan-modal-left {
  flex: 1.2;
  padding: 50px;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.kan-modal-left h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.kan-modal-left p.subtitle {
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  border: 1px solid transparent;
}

.social-btn i {
  margin-right: 15px;
  font-size: 1.2rem;
}

.btn-google {
  background: #fff;
  color: #555;
  border: 1px solid #ddd;
}

.btn-google:hover {
  background: #f8f8f8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-facebook {
  background: var(--primary-blue);
  color: #fff;
}

.btn-facebook:hover {
  background: #2d4373;
}

.btn-email {
  background: #fff;
  border: 1px solid #333;
  color: #333;
}

.btn-email:hover {
  background: #333;
  color: #fff;
}

.login-footer {
  margin-top: auto;
  text-align: center;
  padding-top: 30px;
}

.login-footer a {
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: underline;
}

/* Right Column: Benefits */
.kan-modal-right {
  flex: 1;
  padding: 50px;
  background: #fafafa;
  display: flex;
  flex-direction: column;
}

.loyalty-logo {
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 2px;
  margin-bottom: 30px;
  color: #333;
  text-align: right;
}

.loyalty-logo span {
  color: #3b5998;
  font-style: italic;
}

.kan-modal-right h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 30px;
  line-height: 1.4;
}

.benefits-list {
  list-style: none;
  padding: 0;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.benefit-icon {
  width: 24px;
  height: 24px;
  border: 1.5px solid #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.benefit-icon i {
  font-size: 14px;
  color: #333;
}

.benefit-text {
  font-size: 16px;
  color: #444;
}

/* Form Styles (For "Continue with your data") */
.data-form {
  display: none;
}

.form-group-kan {
  margin-bottom: 20px;
}

.form-group-kan label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group-kan input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
}

.btn-submit-kan {
  width: 100%;
  padding: 14px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* Responsive */
@media (max-width: 768px) {
  .kan-registration-modal {
    flex-direction: column;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
  }
  
  .kan-modal-left {
    padding: 30px;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  
  .kan-modal-right {
    padding: 30px;
  }
  
  .kan-modal-left h2 {
    font-size: 1.5rem;
  }
}
