/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-image: url('bg.jpg'); /* Replace 'background.jpg' with your image file name */
    background-size: cover; /* Makes the image cover the entire screen */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 10px;
}

/* Login Container */
.login-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    padding: 20px;
    position: relative;
}

/* Centered Logo */
/* Centered Logo */
.logo {
    display: block;
    margin: 0 auto 20px; /* Center the logo and add space below it */
    width: 80px; /* Adjust the size of the logo */
    height: auto;
}

/* Login Box */
.login-box {
    text-align: center;
}

h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 24px;
}

p {
    color: #777;
    margin-bottom: 20px;
}

.red-text {
    color: red;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
    position: relative;
}

.input-group label {
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
    display: block;
}

.input-group input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}

.input-group input:focus {
    border-color: #4caf50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

/* View Password Icon */
.view-password {
    position: absolute;
    right: 10px;
    top: 70%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #555;
    cursor: pointer;
}

.view-password:hover {
    color: #4caf50;
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.options label {
    font-size: 12px;
    color: #555;
}

.options .forgot-password {
    font-size: 12px;
    color: #4caf50;
    text-decoration: none;
}

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

.btn {
    background-color: #4caf50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
}

.btn:hover {
    background-color: #45a049;
}

.register {
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}

.register a {
    color: #4caf50;
    text-decoration: none;
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .login-container {
        padding: 15px;
    }

    .logo {
        width: 60px; /* Adjust for smaller screens */
    }

    h1 {
        font-size: 20px;
    }

    .btn {
        font-size: 14px;
        padding: 8px 16px;
    }
}
