:root {
  --primary-color: #f05f99;
  --secondary-color: #000;
  /* --accent-color: #4cc9f0;
	--light-color: #f8f9fa;
	--dark-color: #212529;
	--success-color: #4ade80;
	--warning-color: #f59e0b;
	--danger-color: #ef4444;
	--radius: 12px;
	--shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
	--transition: all 0.3s ease; */
  --body-bg: #f5f5f5;

  --accent-color: #4cc9f0;
  --light-color: #64748b;
  --dark-color: #212529;

  --success-color: #4ade80;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --bs-border-color: #f0ecf0;

  --radius: 12px;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  /* background: linear-gradient(135deg, #e4e9ff 0%, #764ba2 100%); */
  background: linear-gradient(135deg, #f5f5f5 0%, #f0d7d8 100%);

  /* background: linear-gradient(
		135deg,
		#b0181e 0%,
		#1a1a1a 100%
	); */
  /*
	background: linear-gradient(
		135deg,
		#f3f4f6 0%,
		#e5e7eb 100%
	); */

  /* background: linear-gradient(
		135deg,
		#121212 0%,
		#2a2a2a 100%
	); */

  background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);

  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow-x: hidden;
}

.background-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  /* background: rgba(255, 255, 255, 0.1); */
  background: #f0ecf0;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -150px;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -100px;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  left: 10%;
}

.login-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
  background: #fff;
  box-shadow: 0 15px 35px #f0ecf0;
  border-radius: 15px;
}

.login-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 600px;
  transition: var(--transition);
}

.login-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.login-left {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

.login-left::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,192C672,181,768,139,864,128C960,117,1056,139,1152,149.3C1248,160,1344,160,1392,160L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  opacity: 0.1;
}

.login-left h1 {
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
}

.login-left p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.features-list li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.features-list i {
  font-size: 1.2rem;
  margin-right: 15px;
  background: rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.login-right {
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-container {
  text-align: center;
  margin-bottom: 10px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
}

.logo i {
  margin-right: 10px;
  font-size: 2.2rem;
}

.logo-text {
  font-size: 1rem;
  /*color: #6c757d;*/
  color: var(--light-color);
  font-weight: 500;
}

.login-header {
  text-align: center;
  margin-bottom: 5px;
}

.login-header h2 {
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 10px;
}

.login-header p {
  /*color: #6c757d;*/
  color: var(--light-color);
}

.form-group {
  margin-bottom: 10px;
}

.input-group {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #dee2e6;
  transition: var(--transition);
}

.input-group:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem #f0ecf0;
}

.input-group-text {
  background-color: #f8f9fa;
  border: none;
  padding: 0 20px;
  color: #6c757d;
}

.form-control {
  border: none;
  padding: 15px;
  font-size: 1rem;
  height: auto;
}

.form-control:focus {
  box-shadow: none;
}

.form-control-lg {
  padding: 15px;
}

.form-check-label {
  /*color: #6c757d;*/
  font-size: 0.9rem;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: #f0ecf0 !important;
  box-shadow: 0 0 0 0.25rem #f0ecf0;
}

.form-check-input:focus {
  border-color: #f0ecf0;
  outline: 0;
  box-shadow: 0 0 0 0.25rem #f0ecf0;
}

/* .form-check-input:focus{
	border-color: #f0ecf0 !important;
} */

.btn-login {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border: none;
  color: white;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--radius);
  width: 100%;
  transition: var(--transition);
  margin-top: 2px;
}

.btn-login:hover {
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 5px 5px #f0ecf0;
  color: #fff;
}

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

.divider {
  text-align: center;
  margin: 30px 0;
  position: relative;
  color: #6c757d;
}

.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 45%;
  height: 1px;
  background: #dee2e6;
}

.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 45%;
  height: 1px;
  background: #dee2e6;
}

.social-login {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.btn-social {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-google {
  background-color: white;
  color: #3c4043;
  border: 1px solid #dadce0;
}

.btn-google:hover {
  background-color: #f8f9fa;
  border-color: #c8ccd0;
}

.btn-microsoft {
  background-color: white;
  color: #5e5e5e;
  border: 1px solid #dadce0;
}

.btn-microsoft:hover {
  background-color: #f8f9fa;
  border-color: #c8ccd0;
}

.login-footer {
  text-align: center;
  margin-top: 10px;
  color: #6c757d;
  /* color: #fff; */
  font-size: 0.9rem;
}

.login-footer a {
  color: var(--primary-color);
  /* color: #ebe6e6; */
  text-decoration: none;
  font-weight: 500;
}

.login-footer a:hover {
  text-decoration: underline;
}

.alert {
  border-radius: var(--radius);
  padding: 15px;
  margin-bottom: 25px;
  border: none;
}

.alert-danger {
  background-color: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
}

.alert-success {
  background-color: rgba(74, 222, 128, 0.1);
  color: #065f46;
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  z-index: 5;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .login-left {
    display: none;
  }
  .login-left,
  .login-right {
    padding: 40px 30px;
  }

  .login-left h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .login-card {
    min-height: auto;
  }

  .login-left {
    display: none;
  }

  .login-left {
    padding: 40px 30px;
  }

  .login-right {
    padding: 40px 30px;
  }

  .social-login {
    flex-direction: column;
  }

  .logo {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  body {
    padding: 10px;
  }

  .login-left {
    display: none;
  }

  .login-left,
  .login-right {
    padding: 30px 20px;
  }

  .login-left h1 {
    font-size: 1.8rem;
  }

  .login-header h2 {
    font-size: 1.5rem;
  }
}

/* Animation for form inputs */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animated-form {
  animation: fadeInUp 0.5s ease-out;
}

/* Custom checkbox styling */
.form-check {
  display: flex;
  align-items: center;
}

.form-check-input {
  width: 1.2em;
  height: 1.2em;
  margin-right: 5px;
  margin-top: 0;
}

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Language selector */
.language-selector {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
}

.language-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  border-radius: 20px;
  padding: 5px 15px;
  font-size: 0.9rem;
  transition: var(--transition);
}

.language-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.form-label {
  margin-bottom: 0.2rem;
}
