body{
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #000;
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  position: relative;
}

body::before{
  content: "";
  background: rgba(255, 255, 255, 0.1);
  position: fixed;
  top: -200px;
  left: -250px;
  height: 800px;
  width: 800px;
  border-radius: 50%;
  backdrop-filter: blur(10px);
}

body::after{
  content: "";
  background: rgba(255, 255, 255, 0.08);
  position: fixed;
  bottom: -300px;
  right: -300px;
  height: 700px;
  width: 700px;
  border-radius: 50%;
  z-index: -1;
}

@media (max-width:768px){
  body::before{
    top: -100px;
    left: -100px;
    height: 300px;
    width: 300px;
  }
  
  body::after{
    bottom: -100px;
    right: -100px;
    height: 300px;
    width: 300px;
  }
}

.logo{
	max-width: 130px;
	height: auto;
	border-radius: 12px;
	display: block;
	margin: 0 auto 35px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.custom-control-label {
    margin-bottom: 0;
    margin-top: 0;
    font-size: 14px;
    color: #666;
    cursor: pointer;
	-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.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
}

.card-signin .card-header {
  font-weight: 300;
  font-size: 1.5rem;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  background: #FFFFFF;
}

.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: 3.5rem 4rem;
}

.card-signin h5 {
  color: #333;
  font-weight: 600;
  font-size: 1.85rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

@media (max-width: 768px) {
  .card-signin .card-body {
    padding: 2.5rem 2rem;
  }
  
  .card-signin h5 {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .card-signin .card-body {
    padding: 2rem 1.5rem;
  }
  
  .card-signin h5 {
    font-size: 1.35rem;
  }
}

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

.form-signin .btn {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .5px;
  padding: 18px 20px;
  transition: all 0.3s;
}

.form-signin .form-control {
	padding: 18px 22px;
	text-align: left;
	border: 2px solid #e0e0e0;
	border-radius: 10px;
	height: auto;
	transition: all 0.3s ease;
	background: #f8f9fa;
	font-size: 16px;
}

.form-signin .form-control:focus {
  border: 2px solid #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
  background: #fff;
}

.form-signin .form-control::placeholder {
  color: #999;
  font-size: 15px;
}

.form-group {
  margin-bottom: 1.75rem;
}


.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 #2d7bff;
  box-shadow: none;
}

select.form-control {
    padding: 12px 20px;
    height: 51px !important;
}


.custom-control-label:before {
  background: #e0e0e0;
	border-radius: 4px !important;
	border: 2px solid #d0d0d0;
	transition: all 0.3s ease;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: #667eea;
}

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

.btn-register{
	text-align: center;
  display: block;
  color: #667eea;
	font-size: 15px !important;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.3s ease;
	margin-top: 10px;
}

.btn-register:hover{
	color: #764ba2;
	text-decoration: none;
	transform: translateX(5px);
}

.btn-link {
  color: #667eea;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
}

.btn-link:hover {
  color: #764ba2;
  text-decoration: none;
}

.d-flex {
  display: flex;
}

.justify-content-between {
  justify-content: space-between;
}

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

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 10px;
  font-weight: 500;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 10px;
  font-weight: 500;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

#app {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

main.py-4 {
  padding: 0 !important;
  width: 100%;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}


/* OTP Input Styling */
input[type="text"]#otp {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 8px;
  text-align: center;
  padding: 20px;
}

input[type="text"]#otp:focus {
  letter-spacing: 8px;
}

.form-control-lg {
  font-size: 1.25rem;
  padding: 0.75rem 1.25rem;
}

.btn-lg {
  padding: 14px 20px;
  font-size: 16px;
}

/* 2FA Page specific styles */
.card-signin h5 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
}

.card-signin p.text-muted {
  font-size: 14px;
  line-height: 1.6;
}

.card-signin .alert {
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 14px;
}
