.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
  background-color: var(--bg-color);
  transition: all 0.3s ease;
}

.login-wrapper {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  width: 100%;
  max-width: 450px;
}

.error-message {
  color: red;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}


.mon {
  border-radius: 100%;
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  float: right;
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-title {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.login-subtitle {
  color: var(--secondary-text);
  font-size: 0.9rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-group label {
  color: var(--label-color);
  font-size: 0.9rem;
  font-weight: 500;
}



.input-group input {
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--label-color) !important;
  font-family: 'Vazirmatn', sans-serif;
  transition: all 0.3s ease;
}

.input-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary-text);
  cursor: pointer;
}

.checkbox-container input {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  position: relative;
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.checkmark:after {
  content: "✓";
  position: absolute;
  display: none;
  color: var(--bg-color);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.8rem;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.forgot-password {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.forgot-password:hover {
  color: var(--primary-hover);
}

.login-btn {
  background: var(--primary-color);
  color: var(--bg-color);
  padding: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 1rem;
  transition:  0.3s ease;
}

.login-btn:hover {
  background: var(--primary-hover);
}

.signup-section {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--secondary-text);
}

.signup-link {
  color: var(--primary-color) !important;
  text-decoration: none;
  margin-right: 0.5rem;
  transition: color 0.3s ease;
}

.signup-link:hover {
  color: var(--primary-hover);
}

:root {
  --bg-color: #ffffff; 
  --text-color: #000000; 
  --label-color: #000000;
  --secondary-text: #555555; 
  --card-bg: #ffffff; 
  --border-color: #dddddd; 
  --input-bg: #ffffff; 
  --primary-color: #000000; 
  --primary-hover: #333333; 
}

.darkmode {
  --bg-color: #000000; 
  --text-color: #ffffff; 
  --label-color: #ffffff;
  --secondary-text: #aaaaaa; 
  --card-bg: #111111; 
  --border-color: #333333; 
  --input-bg: #111111; 
  --primary-color: #ffffff; 
  --primary-hover: #cccccc; 
}

#moon2 {
  color: var(--primary-color);
}

#sun2 {
  color: var(--primary-color);
}

.darkmode #moon2 {
  color: var(--primary-color);
}



.darkmode #sun2 {
  color: var(--primary-color);
}

.pass{
  width: 80%;
border-radius: 0px 8px 8px 0px  !important;
}

.toggle-password{
  width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  border: 1px solid var(--border-color);
  border-radius: 8px 0px 0px 8px !important;

}

.eye{
  display: none;
}
.holder{
/* background-color: aqua; */
display: flex;
}

.error-container {
  margin-top: 5px;
  color: red;
  font-size: 0.8rem;
}
 .history svg{
  color: white !important;
 }

 .arrow-right , .arrow-left  {
  fill: white !important;
}
@media (max-width: 480px) {
  .signup-wrapper {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  

  a{
    font-size: smaller !important;
  }

  .signup-section {
    font-size: smaller !important;
  }
}

html, body {
  font-family: 'Vazirmatn', sans-serif !important;
}