
/* Custom CSS for Registration Page */
:root {
  --primary-color: #6C63FF;
  --secondary-color: #2A265F;
  --gradient-start: #6C63FF;
  --gradient-end: #4641FF;
  --error-color: #FF6B6B;
  --text-color: #2A265F;
  --light-color: #f5f5f5;
  --box-shadow: 0 15px 30px rgba(108, 99, 255, 0.1);
}


input[type="search"], input[type="text"], input[type="url"], input[type="number"], input[type="password"], input[type="email"], input[type="file"] {
    background: none;
    border: 1px solid #d4d4d4;
    background-color: #fff;
    height: 40px;
    line-height: 40px;
    padding: 0 10px 0px 40px;
    color: #666;
    font-size: 12px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-family: 'Montserrat';
}



/* Card styling */
.reg-container {
  position: relative;
}

.reg-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: all 0.4s ease;
  background: white;
  position: relative;
}

.reg-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(108, 99, 255, 0.2);
}

.reg-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
}

.reg-card-header {
  background: white;
  padding: 30px 25px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  text-align: center;
}

.reg-card-header h3 {
  margin: 0;
  font-weight: 700;
  font-size: 28px;
  color: var(--secondary-color);
  letter-spacing: 0.5px;
}

.reg-header-icon {
  display: inline-block;
  width: 80px;
  height: 80px;
  line-height: 80px;
  text-align: center;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 50%;
  margin-bottom: 20px;
  color: white;
  font-size: 32px;
  box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}

.reg-card-body {
  padding: 40px 30px;
  background-color: white;
}

/* Form styling */
.reg-form-group {
  position: relative;
  margin-bottom: 35px;
}

.reg-form-control {
  height: 58px;
  padding: 10px 20px 10px 50px;
  border-radius: 12px;
  border: 2px solid #e7eaf3;
  font-size: 16px;
  transition: all 0.3s;
  background-color: #f9fafc;
  width: 100%;
  font-weight: 500;
  color: var(--secondary-color);
}

.reg-form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.1);
  background-color: white;
}

.reg-form-icon {
  position: absolute;
  left: 18px;
  top: 39px;
  color: var(--primary-color);
  font-size: 18px;
}

.reg-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--secondary-color);
  margin-bottom: 8px;
  display: block;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Button styling */
.reg-btn-primary {
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  border: none;
  border-radius: 12px;
  padding: 16px 30px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  box-shadow: 0 10px 20px rgba(108, 99, 255, 0.25);
  transition: all 0.3s;
  color: white;
  text-transform: uppercase;
  width: 100%;
  cursor: pointer;
}

.reg-btn-primary:hover {
  background: linear-gradient(to right, #5A51D4, #413DCA);
  box-shadow: 0 12px 25px rgba(108, 99, 255, 0.35);
  transform: translateY(-3px);
}

.reg-btn-primary:active, .reg-btn-primary:focus {
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.2) !important;
  outline: none;
}

/* Error styling */
.reg-invalid-feedback {
  font-size: 13px;
  color: var(--error-color);
  margin-top: 6px;
  font-weight: 500;
  padding-left: 5px;
}

.reg-is-invalid {
  border-color: var(--error-color) !important;
}

/* Animation */
@keyframes regFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reg-card {
  animation: regFadeIn 0.7s ease-out forwards;
}

.reg-separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 30px 0;
  color: #97a4b0;
  font-size: 14px;
}

.reg-separator::before,
.reg-separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e7eaf3;
}

.reg-separator::before {
  margin-right: 15px;
}

.reg-separator::after {
  margin-left: 15px;
}

.reg-social-login {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.reg-social-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e7eaf3;
  color: #97a4b0;
  font-size: 20px;
  transition: all 0.3s;
}

.reg-social-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.reg-login-link {
  text-align: center;
  margin-top: 25px;
  font-size: 15px;
  color: #7e8ca0;
}

.reg-login-link a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.reg-login-link a:hover {
  text-decoration: underline;
}

.reg-form-subtitle {
  text-align: center;
  color: #7e8ca0;
  font-size: 16px;
  margin-bottom: 30px;
  font-weight: 400;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .reg-card {
    margin: 20px;
  }
  
  .reg-card-header {
    padding: 25px 20px 15px;
  }
  
  .reg-card-body {
    padding: 30px 20px;
  }
  
  .reg-header-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    font-size: 28px;
  }
}
