﻿/* Set the viewport to be responsive */
body,
html {
    height: 100vh;
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-image: url('./loginbg.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: flex-end;
}

/* Responsive background image */
.background,
.background-image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Responsive login container */
.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10%; /* Use padding instead of margin for better responsiveness */
}

/* Responsive margins and logo size */
.logo-container {
    margin: 1rem auto; /* Use auto margins for centering on all devices */
}

.hw-logo {
    width: 70vw; /* Use viewport width for responsive sizing */
    max-width: 273px; /* Set a maximum width for larger screens */
    height: auto; /* Maintain aspect ratio */
}

/* Responsive login box width */
.login-box {
    background: #fff;
    padding: 2rem;
    border-radius: 30px;
    width: 100%; /* Use percentage for responsiveness */
    max-width: 687px; /* Set a maximum width for smaller screens */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    margin-top:50px;
}

/* Responsive font sizes */
.login-title,
.login-subtitle,
.input-label {
    font-size: calc(1rem + 0.5vw); /* Use calc for responsive font sizes */
}

.login-title {
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
}

.login-subtitle {
    font-weight: 400;
    color: #000;
    margin-bottom: 2rem;
}

.input-label {
    display: block;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
}

/* Responsive input field width */
.input-field {
    width: 90%; /* Use 100% for full width */
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 20px;
    border: none;
    background-color: #d9d9d94d;
    font-size: 16px;
    
}

/* Responsive button width */
.login-button {
    display: block;
    width: 100%; /* Use 100% for full width */
    height: 57px;
    background-color: #015da6;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 20px;
    font-weight: 600;
    margin: 2rem auto;
    cursor: pointer;
}

/* Responsive login links positioning */
.login-links {
    position: absolute;
    bottom: 20px; /* Use bottom for fixed positioning from the bottom */
    left: 50%;
    transform: translateX(-50%);
}

/* Responsive link styles */
.register-link,
.forgot-password-link {
    font-size: calc(1rem + 0.3vw); /* Use calc for responsive font sizes */
    font-weight: 600;
    color: #015da6;
    text-decoration: none;
    display: block;
}

.forgot-password-link {
    margin-top: 10px;
}

   
