body{
  background: linear-gradient(135deg, #4f39f6 0%, #432dd7 100%);
  color: #000;
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before{
  content: "";
  background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  position: fixed;
  top: -50%;
  left: -50%;
  height: 200%;
  width: 200%;
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
  z-index: -1;
}

body::after{
  content: "";
  background: linear-gradient(-45deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
  position: fixed;
  bottom: -50%;
  right: -50%;
  height: 150%;
  width: 150%;
  border-radius: 50%;
  animation: float 25s ease-in-out infinite reverse;
  z-index: -1;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* Modern heading styles */
h5, h4, h6 {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Invalid feedback styling */
.invalid-feedback {
  color: #ff6b6b;
  font-weight: 500;
  background: rgba(255, 107, 107, 0.1);
  padding: 5px 10px;
  border-radius: 10px;
  margin-top: 5px;
}

/* Form control invalid state */
.form-control.is-invalid {
  border-color: rgba(255, 107, 107, 0.6);
  background: rgba(255, 107, 107, 0.05);
}

@media (max-width:768px){
  body::before{
    top: -30%;
    left: -30%;
    height: 120%;
    width: 120%;
  }
  
  body::after{
    bottom: -30%;
    right: -30%;
    height: 100%;
    width: 100%;
  }
  
  .card-signin .card-body {
    padding: 1.5rem 1.5rem;
  }
  
  .logo {
    max-width: 150px;
  }
}

.logo{
	max-width: 180px;
	border-radius: 20px;
	transform: translateX(-50%);
	margin-left: 50%;
	margin-bottom: 20px;
	filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
	transition: all 0.3s ease;
}

.logo:hover {
	transform: translateX(-50%) scale(1.05);
	filter: drop-shadow(0 6px 12px rgba(0,0,0,0.3));
}

.custom-control-label {
    margin-bottom: 0;
    margin-top: 1px;
	-webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none; 
            user-select: none; 
}
 
.card-signin {
  border: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  transition: all 0.3s ease;
}

.card-signin:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 45px 0 rgba(31, 38, 135, 0.5);
}

.card-signin .card-header {
  font-weight: 300;
  font-size: 1.5rem;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.login-form-head {
    text-align: center;
    background: #ffffff;
    padding: 30px 15px;
    border-bottom: 1px solid #e8e8e8;
}

.login-form-head h4 {
    letter-spacing: 0;
    text-transform: uppercase;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.card-signin .card-body {
  padding: 2rem 2.5rem;
}

.form-signin {
  font-family: 'Poppins', sans-serif;
  width: 100%;
  text-align: center;
}

.form-signin .btn {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1rem;
  padding: 15px 30px;
  border-radius: 50px;
  background: linear-gradient(135deg, #4f39f6 0%, #432dd7 100%);
  border: none;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px 0 rgba(79, 57, 246, 0.4);
}

.form-signin .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px 0 rgba(79, 57, 246, 0.6);
}

.form-signin .form-control {
	padding: 15px 25px;
	text-align: center;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 50px;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	height: auto;
	color: #333;
	transition: all 0.3s ease;
}

.form-signin .form-control::placeholder {
	color: rgba(51, 51, 51, 0.7);
	font-weight: 400;
}

.form-signin .form-control:focus {
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  outline: none;
}


.form-signup {
  font-family: 'Poppins', sans-serif;
  width: 100%;
}

.form-signup .btn {
  font-size: 14px;
  letter-spacing: .1rem;
  padding: 12px 20px;
  transition: all 0.2s;
}

.form-signup .form-control {
    padding: 12px 20px;
    height: auto;
}

.form-signup .form-control:focus {
  border: 1px solid #4f39f6;
  box-shadow: none;
}

select.form-control {
    padding: 15px 25px;
    height: auto !important;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #333;
}

.custom-control-label:before {
  background: rgba(255, 255, 255, 0.3);
	border: 2px solid rgba(255, 255, 255, 0.5);
	border-radius: 50% !important;
}

.custom-control-input:checked~.custom-control-label::before {
  background: linear-gradient(135deg, #4f39f6 0%, #432dd7 100%);
  border-color: rgba(255, 255, 255, 0.8);
}

.custom-control {
   display: inline-block;
}

.custom-control-label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.btn-register{
	text-align: center;
  display: block;
  color: #000000;
	font-size: 16px !important;
}

.btn-register:hover{
	color: #000000;
}

.alert-success {
  color: #363636;
  background-color: #d3ffdd;
  border-color: #2cba4d;
}

.btn-primary {
  color: #fff;
  background-color: #4f39f6;
  border-color: #4f39f6;
}

.btn-primary:hover {
  background-color: #432dd7;
  border-color: #432dd7;
}