
/* Registration Page Styles */

.register-section {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background-color: #fff;
  padding: 0;
  margin: 0;
}

.register-container {
  display: flex;
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 100vh;
  background-color: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

/* Left Side - Marketing Content */
.register-left {
  flex: 0 0 45%;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

.register-left::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.3; }
}

.register-content {
  position: relative;
  z-index: 1;
  text-align: left;
  color: #fff;
}

.register-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
}

.register-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
}

/* Right Side - Registration Form */
.register-right {
  flex: 0 0 55%;
  padding: 60px 50px;
  position: relative;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #666;
  cursor: pointer;
  padding: 5px;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #000;
}

.register-form-wrapper {
  width: 100%;
  max-width: 450px;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: #333;
  text-align: center;
}

/* Form Styles */
.register-form .form-group {
  margin-bottom: 20px;
}

.register-form .form-control {
  width: 100%;
  height: 55px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.register-form .form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
  outline: none;
}

.register-form .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 12px;
  padding-right: 40px;
}

/* Phone Input */
.phone-input {
  display: flex;
  gap: 10px;
}

.country-code {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 8px;
  min-width: 90px;
}

.flag-icon {
  width: 20px;
  height: auto;
}

.phone-number {
  flex: 1;
}

/* CAPTCHA */
.captcha-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.captcha-label {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.captcha-input-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.captcha-input {
  flex: 1;
}

.captcha-code {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 3px;
  font-size: 1.1rem;
  min-width: 120px;
  justify-content: center;
}

.refresh-captcha {
  background: none;
  border: none;
  color: #007bff;
  cursor: pointer;
  padding: 0;
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.refresh-captcha:hover {
  transform: rotate(180deg);
}

/* Checkbox */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-check-input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.form-check-label {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  cursor: pointer;
}

.terms-link {
  color: #007bff;
  text-decoration: none;
}

.terms-link:hover {
  text-decoration: underline;
}

/* Submit Button */
.btn-submit {
  width: 100%;
  height: 50px;
  background-color: #007bff;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  margin-top: 10px;
}

.btn-submit:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.btn-submit:active {
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .register-container {
    flex-direction: column;
    max-width: 100%;
    min-height: 100vh;
  }

  .register-left {
    flex: 0 0 auto;
    padding: 40px 30px;
    min-height: 250px;
  }

  .register-title {
    font-size: 2rem;
  }

  .register-right {
    flex: 1;
    padding: 40px 30px;
  }

  .form-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 575.98px) {
  .register-left {
    padding: 30px 20px;
  }

  .register-title {
    font-size: 1.75rem;
  }

  .register-right {
    padding: 30px 20px;
  }

  .phone-input {
    flex-direction: column;
  }

  .country-code {
    width: 100%;
  }
}

/* Success Screen Styles */
.registration-success {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.success-icon .icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 0 10px 25px rgba(25, 135, 84, 0.3);
}

.success-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    font-family: 'Montserrat', sans-serif;
}

.info-card {
    border: 1px solid transparent;
    transition: all 0.2s ease;
    border-radius: 16px !important; /* Ensure rounded corners */
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.info-card-blue {
    background-color: #e0f2fe; /* Distinct Light Blue */
    color: #0369a1;
}

.info-card-green {
    background-color: #dcfce7; /* Distinct Light Green */
    color: #15803d;
}

.info-card-orange {
    background-color: #fef9c3; /* Distinct Light Yellow/Orange */
    color: #a16207;
}

.info-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #64748b !important;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 700 !important;
    letter-spacing: -0.5px;
}

/* Text colors for values - overriding bootstrap if needed */
.info-card-blue .info-value { color: #0284c7; }
.info-card-green .info-value { color: #16a34a; }
.info-card-orange .info-value { color: #d97706; }

.btn-copy {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0,0,0,0.05);
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.1rem;
}

.btn-copy:hover {
    background-color: #fff;
    color: #0f172a;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transform: scale(1.05);
}

/* Confetti placeholder */
.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}