/* Global styles */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.form-heading {
    margin-bottom: 20px;
}

.login-form .btn-primary {
    width: 100%;
    margin-top: 20px;
}

.login-form label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.error-message {
    color: #dc3545;
    margin-top: 15px;
}

input {
    width: 100%;
}

/* Styles specific for devices with max-width of 768px (e.g., phones) */
@media (max-width: 768px) {
    .container {
        height: auto;  /* Not full viewport height */
        margin-top: 50px; /* Top margin to not start at the very top */
    }
    .login-container {
        border: none;  /* No border for phone version */
        box-shadow: none;  /* No shadow for phone version */
        padding: 10px; /* Reduced padding */
    }
    .login-form .btn-primary {
        margin-top: 10px;  /* Reduced margin above the button */
    }
}

/* Optionally, you can adjust the font sizes for smaller screens */
@media (max-width: 768px) {
    body {
        font-size: 16px; /* Increased font size for readability on small devices */
    }
    .form-heading {
        font-size: 24px; /* Larger heading for emphasis */
    }
}

.login-con {
    font-family: system-ui;
    font-size: 16px;
    font-weight: 500;
}
.illustration img {
    width: 800px;
    height: 553.5px;
}

@media (max-width: 767px) {
    .illustration img {
        width: 100%;
        height: 553.5px;
    }
    .login-con {
margin-top:-150px ;
}
}
.login-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 70px;
}
@media (max-width: 767px) {
    .login-form {
        margin-top: 0px;
    }
}
.social-links a {
    color: #495057;
    margin: 0 10px;
    font-size: 1.5rem;
}
.social-links a:hover {
    color: #007bff;
}
.background-image {
    position: absolute;
    top: -206px;
    left: 0px;
    width: 66%;
    height: 100%;
    transform: skew(7deg);
    background: #007BFF;
    border-bottom-left-radius: 78px;
    z-index: -2;
}
.background-image1 {
    position: absolute;
    top: -206px;
    left: 21px;
    width: 66%;
    height: 585px;
    background: #A6AAFF;
    border-bottom-left-radius: 78px;
    z-index: -1;
    opacity: 0.6;
}
.button-height {
    height: 50px;
    color: white;
    background-color: #007BFF;
    border: 1px solid #007BFF;
    transition: color 0.3s, background-color 0.3s;
}
.button-height:hover {
    color: #007BFF;
    background-color: white;
}
@media (max-width: 430px) {
    .illustration img {
        width: 100%;
        height: 400px;
    }
    .background-image {
        height: 470px;
    }
    .background-image1 {
        height: 495px;
    }
}
.headingData{
    margin: -47px 0px;
    text-align: center;
}
@media (max-width: 759px) {
    .headingData{
        margin: 0px 0px 0px 50px;

    }
}
