body {
    display: flex;
    justify-content: center; /* Horizontally center */
    align-items: center; /* Vertically center */
    height: 100vh; /* Make body take up full height of the screen */
    margin: 0; /* Remove default margin */
    background-image: url('bg.jpg'); /* Background image for the page */
    background-size: cover;
    background-position: center center;
}

.wrapper {
    width: 500px; /* Set a smaller width for the form */
    padding: 30px; /* Reduced padding for a smaller form */
    background-color: #fff; /* Background color for form */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Strong shadow */
    font-family: Arial, sans-serif;
}

/* Form title */
form h1 {
    text-align: center;
    font-size: 28px; /* Slightly smaller title */
    color: #444;
    margin-bottom: 25px; /* Reduced space between title and inputs */
    font-weight: bold;
}

/* Input box styling */
.input-box {
    margin-bottom: 20px; /* Slightly smaller space between inputs */
}

.input-box input {
    width: 100%;
    padding: 15px; /* Reduced padding for input fields */
    border: 1px solid #ddd; /* Light border */
    border-radius: 10px; /* Rounded inputs */
    font-size: 16px; /* Smaller text in inputs */
    box-sizing: border-box;
    transition: 0.3s ease;
}

.input-box input:focus {
    border-color: #007BFF;
    outline: none;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5); /* Subtle glow */
}

/* Remember me and forgot password */
.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    color: #555;
    margin-bottom: 20px; /* Reduced margin */
}

.remember-forgot label {
    display: flex;
    align-items: center;
    gap: 10px; /* More space between checkbox and label */
}

.remember-forgot a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
    margin-left: 20px; /* Space between checkbox and "Forgot password" link */
}

.remember-forgot a:hover {
    text-decoration: underline;
}

/* Button styling */
.btn {
    width: 100%;
    padding: 16px; /* Smaller button */
    background: #007BFF; /* Blue button */
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 18px; /* Slightly smaller text for button */
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn:hover {
    background: #0056b3; /* Darker blue on hover */
}

/* Register link */
.register-link {
    text-align: center;
    margin-top: 20px; /* Reduced margin for better spacing */
    font-size: 16px;
    color: #555;
}

.register-link a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

.register-link a:hover {
    text-decoration: underline;
}
