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

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url('clothes.jpg'); /* Path to your background image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.login-container {
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background to make text stand out */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    z-index: 10;
    margin-right: 50px; /* This moves the form slightly left from the far right */
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #333;
}

.input-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 5px;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    color: #333;
    background-color: #f9f9f9;
}

input:focus {
    outline: none;
    border-color: #4aa3b2; /* Teal Blue Color */
    background-color: #fff;
}

.forgot-password {
    text-align: right;
    margin-bottom: 20px;
}

.forgot-password a {
    font-size: 0.9rem;
    color: #4aa3b2; /* Teal Blue Color */
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.btn {
    width: 100%;
    padding: 12px;
    background-color: #4aa3b2; /* Teal Blue Color */
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #398f8f; /* Darker Teal Blue on hover */
}

.login {
    text-align: center;
    margin-top: 15px;
}

.login p {
    font-size: 0.9rem;
    color: #555;
}

.login a {
    color: #4aa3b2; /* Teal Blue Color */
    text-decoration: none;
}

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

.error-message {
    color: #d9534f;
    font-size: 0.8rem;
    display: block;
    margin-top: 5px;
    visibility: hidden;
}

.error-message.active {
    visibility: visible;
}

/* Red border when there's an error */
input.error {
    border-color: #d9534f; /* Red border on error */
}




@media (max-width: 768px) {
    body {
      justify-content: center;
      align-items: center;
    }
  
    .login-container {
      margin: 0 20px;          /* Remove right margin */
      width: 90%;              /* Smaller width on mobile */
      max-width: 320px;        /* Limit max width */
      padding: 20px;           /* Slightly less padding */
      margin-right: 0;         /* Remove any right margin */
    }
  
    h2 {
      font-size: 1.2rem;       /* Smaller heading */
    }
  
    input {
      font-size: 0.95rem;      /* Slightly smaller input text */
      padding: 10px;           /* Smaller input padding */
    }
  
    .btn {
      font-size: 1rem;         /* Smaller button text */
      padding: 10px;           /* Smaller button padding */
    }
  }
  