body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #121212;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    overflow-y: auto;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    color: #ff6f00;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    margin-top: 60px;
}

.form-container {
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    max-width: 450px;
    width: 100%;
    margin: 20px 0;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.form-container:hover {
    transform: translateY(-5px);
}

.button-container {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* Adds spacing between buttons */
    margin-top: 20px; /* Adds spacing between the form and the buttons */
}

button {
    padding: 12px 25px;
    border: none;
    background-color: #ff6f00;
    color: #fff;
    cursor: pointer;
    border-radius: 25px;
    transition: background-color 0.3s, box-shadow 0.3s;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1; /* Makes both buttons the same width */
}

button:hover {
    background-color: #ff8f00;
    box-shadow: 0 5px 15px rgba(255, 111, 0, 0.3);
}

.form {
    display: none;
}

.form.hidden {
    display: none;
}

.form:not(.hidden) {
    display: block;
}

.input-group {
    position: relative;
    margin: 20px 0; /* Increased margin for better spacing */
}

.input-group input {
    width: 100%;
    padding: 15px 15px 15px 40px;
    margin: 0;
    border-radius: 8px;
    border: 1px solid #444;
    background-color: #333;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.input-group input:focus {
    border-color: #ff6f00;
    outline: none;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #ff6f00;
    font-size: 1rem;
}

button[type="submit"] {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background-color: #6200ea;
    border-radius: 25px;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

button[type="submit"]:hover {
    background-color: #3700b3;
    box-shadow: 0 5px 15px rgba(98, 0, 234, 0.3);
}

@media (max-width: 768px) {
    .form-container {
        padding: 20px;
    }

    button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .button-container {
        flex-direction: column; /* Stacks buttons vertically on smaller screens */
        gap: 15px; /* Adds spacing between buttons */
    }

    h2 {
        font-size: 1.6rem;
    }

    .input-group input {
        padding: 12px 12px 12px 35px;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 15px;
    }

    button {
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .input-group input {
        padding: 10px 10px 10px 30px;
        font-size: 0.9rem;
    }
}


.already-user {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

.already-user a {
  color: #ff6600;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.already-user a:hover {
  color: #e65c00;
}


.forgot-pass {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
  }
  
  .forgot-pass a {
    color: #ff6600;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
  }
  
  .forgot-pass a:hover {
    color: #e65c00;
  }



  .new-user {
    color: white; /* Sets the color of the entire paragraph text */
    font-size: 18px; /* Adjust the font size as needed */
    text-align: center;
    margin-top: 10px;
  }
  
  .new-user a {
    color: #007bff; /* Sets the color of the link text */
    text-decoration: none; /* Removes underline from the link */
    font-weight: bold; /* Optional: Makes the link text bold */
    transition: color 0.3s ease; /* Smooth transition for color change on hover */
  }
  
  .new-user a:hover {
    color: #0056b3; /* Sets the color of the link text on hover */
  }
  