/* General Page Styling */
body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Main Login Container */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    max-width: 1000px;
    background: #343434;
    padding: 30px;
    border-radius: 10px;
}

/* Left Box: Form and Logo */
.login-box {
    flex: 1;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Logo Styling */
.login-box .logo img {
    width: 150px;
}

/* Headings */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 10px 0;
}

h2 {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 20px;
}

/* Form Styling */
form {
    width: 100%;
    max-width: 300px;
    margin: auto;
}

/* Form Fields - Align labels left, inputs stacked */
form p {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 15px;
}

/* Labels */
form label {
    font-weight: 600;
    margin-bottom: 5px;
}

/* Input Fields */
form input {
    width: 100%;
    padding: 8px;
    border: 0;
    border-bottom: 1px solid #ccc;
    font-size: 1rem;
    background: #343434;
    color: white;
}

form input {
    width: 100%;
    padding: 8px;
    border: 0;
    border-bottom: 1px solid #ccc;
    font-size: 1rem;
}

/* Remove border when input is focused */
form input:focus {
    outline: none; /* Removes the default browser outline */
    border-bottom: 1px solid #00aaff; /* Optional: Change color to blue or match theme */
}


/* Submit Button */
.login-btn {
    background: #222;
    color: white;
    border: none;
    padding: 20px 20px;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    margin-top: 15px;
    width: 60%;
    height: 60%;
    transition: background 0.3s;
}

.login-btn:hover {
    background: #0088cc;
}

/* Right Box: Traffic Light Image */
.traffic-light {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.traffic-light img {
    width: 300px;
    border-radius: 10px;
}


@media (max-width: 600px) {
    .login-container {
        flex-direction: column;
    }
    .traffic-light {
        display: none;
    }
}