 /* General Reset and Body Styles */
 body {
    margin: 0;
    padding: 0;
    font-family: "Libre Franklin", sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #EAEAEA;
}

/* Sign-in Container */
.signin-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 480px;
    margin: auto 0;
    position: relative;
}

/* Form Group Styles */
.form-group {
    margin-bottom: 1rem;
    text-align: left;
    position: relative;
    width: 100%;
}

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

.header .logo img {
    width: 90px;
    height: 100px;
}

/* Label Styles */
label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

/* Icon Styles */
.user-icon {
    position: absolute;
    padding-top: 12px;
    padding-left: 15px;
    pointer-events: none;
    color: #a60f00;
}

.password-icon {
    position: absolute;
    padding-top: 42px;
    padding-left: 15px;
    transform: translateY(-52%);
    pointer-events: none;
    color: #a60f00;
}

.toggle-icon {
    position: absolute;
    right: 10px;
    padding-top: 12px;
    cursor: pointer;
}

/* Input Styles */
input {
    padding: 10px 10px 10px 40px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

input:focus {
    border-color: #a60f00;
    box-shadow: 0 0 5px rgba(166, 15, 0, 0.5);
    outline: none;
}

input::placeholder {
    color: #aaa;
    opacity: 1;
}

input:hover {
    border-color: #555555;
}

/* Button Styles */
.signin-btn {
    padding: 10px;
    background-color: #a60f00;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 10px auto;
    width: 100%;
}

.signin-btn:hover {
    background-color: #800000;
   
}

/* Link Styles */
a {
    color: #2575fc;
    text-decoration: none;
    margin: 1rem 0;
    display: inline-block;
}

a:hover {
    text-decoration: underline;
}

/* Error Message Styles */
.error-message {
    color: red;
    margin-top: 5px;
    display: block;
    font-size: small;
    height: 20px;
    overflow: hidden;
    margin-left: 18px;
}

/* Input State Styles */
.input-error {
    border-bottom: 1px solid red;
}

.input-success {
    border-bottom: 1px solid green;
}

/* Loading State */
.loading {
    background-color: #f0f0f0;
    cursor: wait;
}

/* Responsive Styles */
@media only screen and (max-width: 768px) {
    .signin-form {
        width: 80%;
        padding: 1.5rem;
     
    }

    .header .logo img {
        width: 70px;
        height: 80px;
    }

    input {
        font-size: 14px;
        /* Smaller font size for inputs */
    }

    .signin-btn {
        font-size: 14px;
        /* Smaller button font size */
    }
}

.signup-redirect {
    margin-top: 1.5rem;
    font-size: 14px;
}

.signup-redirect a {
    color: #ff0000;
    text-decoration: none;
    font-weight: bold;
    margin-left: 0.5rem;
}

.signup-redirect a:hover {
    text-decoration: underline;
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .signin-form {
        width: 60%;
        padding: 1.5rem;
        /* Adjust padding for medium screens */
    }

    .header .logo img {
        width: 80px;
        /* Adjust logo size */
        height: 90px;
    }
}

@media only screen and (min-width: 1025px) {
    .signin-form {
        width: 40%;
        padding: 2rem;
        /* Maintain padding for larger screens */
    }

    .header .logo img {
        width: 90px;
        /* Original logo size */
        height: 100px;
    }
}