/*login.css*/
:root {
   --primary-color: #587964;
  --primary-color-hover: #29372e;
  --text: #1f2937;
  --light: #f8fafc;
  --dark: #0f172a;
  --gradient: linear-gradient(135deg, rgba(41,55,46,1) 0%, rgba(88,121,100,1) 50%, rgba(126,210,157,1) 100%);
  --glass: rgba(255, 255, 255, 0.1);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --social-btn-size: 48px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

.login-body {
  min-height: 100vh;
  background: var(--gradient);
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.auth-container {
  background: var(--glass);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 0px solid rgba(255, 255, 255, 0.2);
  width: 90%;
  max-width: 900px;
  min-height: 550px;
  display: flex;
  overflow: hidden;
}



.auth-illustration {
  flex: 1;
  background: url('../assets/auth-vector.svg') no-repeat center center/cover;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}


.auth-illustration img {
  width: 180px; /* Adjust size as needed */
  height: 180px; /* Must match width for perfect circle */
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin: 0 auto 1.5rem;
  display: block;
}

.auth-illustration h2 {
  color: white;
  font-size: 1.5rem;
  margin-top: rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.auth-illustration a{
    text-decoration: none;
}

.auth-illustration p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  max-width: 80%;
  margin: 0 auto;
  line-height: 1.5;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.auth-content {
  flex: 1;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
}
.dash-content .auth-content{
	background: var(--panel-color);
}

.auth-header {
  text-align: center;
  margin-bottom: 1rem;
}

.auth-header h1 {
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.dash-content .auth-header h1{
	color: var(--text-color);
}

.dash-content .auth-container .form-group input,
.dash-content .auth-container .form-group textarea
{
	background: var(--panel-color);
}

.dash-contect .auth-container .btn-auth{
	background: var(--primary-color);
	color: var(--text-color);
}

.auth-header p {
  color: #64748b;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 0.8rem;
  position: relative;
}

.input-wrapper {
  position: relative;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding-left: 2.8rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1.2rem;
}

.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  font-size: 1.2rem;
}

.btn-auth {
  width: 100%;
  padding: 1rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.btn-auth:hover {
  background: var(--primary-color-hover);
  transform: translateY(-1px);
}

.social-auth {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin: 1rem 0;
}

.social-btn {
  width: var(--social-btn-size);
  height: var(--social-btn-size);
  border-radius: 50%;
  background: white;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 0.3s ease;
  font-size: 1.3rem;
}

.social-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.auth-footer {
  text-align: center;
/*  margin-top: auto;
  /*padding-top: 1.5rem;*/
}

.auth-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.auth-link:hover {
  color: var(--primary-color-hover);
}

.error-message, .success-message {
  padding: 0.8rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.error-message {
  background: #fee2e2;
  color: #dc2626;
}

.success-message {
  background: #dcfce7;
  color: #16a34a;
}

/* Add these styles */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark);
    font-size: 0.9rem;
}

.remember-me input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
}

.forgot-pass {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.forgot-pass:hover {
    color: var(--primary-color-hover);
    text-decoration: underline;
}

@media (max-width: 768px) {
  .auth-container {
    flex-direction: column;
    min-height: 100vh;
    border-radius: 0;
    margin: 0;
    width: 100%;
  }

  .auth-illustration {
    padding:  1rem;
    min-height: 150px;
  }

  .auth-content {
    padding: 2rem 1.5rem;
    flex-grow: 1;
  }

  .auth-header h1 {
    font-size: 1.5rem;
  }

  .form-control {
    padding: 0.8rem 1rem;
    padding-left: 2.5rem;
  }

  .social-btn {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }
	.auth-illustration img {
    width: 120px;
    height: 120px;
  }
  
  .auth-illustration h2 {
    font-size: 1.5rem;
  }
	.auth-illustration p {
    font-size: 0.8rem;
  }
	
}

@media (max-width: 480px) {
  .auth-header h1 {
    font-size: 1.4rem;
  }

  .auth-header p {
    font-size: 0.9rem;
  }

  .form-control {
    font-size: 0.95rem;
  }

  .btn-auth {
    font-size: 0.95rem;
    padding: 0.9rem;
  }
}