
/* Global Styles */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif; /* Using Poppins as an example - see instructions below to change */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(to right, #2c3e50, #27ae60);
}

/* Layout */
.container {
    display: flex;
    width: 70%;
    background: rgba(255, 255, 255, 0.1); /* makes it semi-transparent */
    backdrop-filter: blur(8px);           /* optional: blur background behind box */
    height: 500px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Left Panel */
.left-panel {
    width: 40%;
    background: #1d2d3c;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.branding img {
    width: 100px; /* Increased logo size */
}

.branding h2 {
    margin: 10px 0;
    font-weight: bold; /* Making the heading bold */
}

/* Right Panel */
.right-panel {
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-box {
    width: 70%;
}

h2 {
    margin-bottom: 20px;
    font-weight: bold; /* Making the subheading bold */
}

.input-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold; /* Making the labels bold */
}

input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em; /* Ensuring input text is readable */
}

button {
    width: 100%;
    padding: 12px; /* Slightly increased button padding */
    border: none;
    background: #27ae60;
    color: white;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold; /* Making the button text bold */
    transition: background-color 0.3s ease; /* Adding a smooth hover transition */
}

button:hover {
    background: #219150;
}

/* =========================
   MOBILE RESPONSIVENESS
   (SHOW ALL CONTENT)
   ========================= */

@media (max-width: 768px) {

    body {
        height: auto;
        min-height: 100vh;
        padding: 15px;
        display: flex;
        justify-content: center;  /* center container horizontally */
        align-items: flex-start;
    }

    .container {
        width: 95%;
        max-width: 400px;        /* keep container centered and not too wide */
        height: auto;
        flex-direction: column;
        border-radius: 8px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;     /* center content inside container */
    }

    .left-panel,
    .right-panel {
        width: 100%;
        padding: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;     /* center content inside panels */
    }

    .branding img {
        width: 70px;
        display: block;
        margin: 0 auto;
    }

    .branding p {
        font-size: 14px;
        line-height: 1.5;
        text-align: center;
    }

    .login-box {
        width: 100%;
        max-width: 350px;
        display: flex;
        flex-direction: column;
        align-items: center;     /* center all content inside login-box */
        margin: 0 auto;
    }

    h2 {
        text-align: center;
        font-size: 20px;
        margin-bottom: 20px;
    }

    label {
        font-size: 14px;
        width: 100%;
        text-align: left;        /* labels aligned to left inside centered box */
    }

    /* Inputs and button */
    .login-box input,
    .login-box select,
    .login-box button {
        width: 90%;             /* take full width of login-box */
        max-width: 300px;
        margin: 8px auto;           /* vertical spacing between inputs */
        display: block;
    }

    input,
    select {
        padding: 14px;
        font-size: 15px;
    }

    button {
        padding: 15px;
        font-size: 16px;
    }
}

/* Extra small phones */
@media (max-width: 480px) {
    body {
        padding: 10px;
        justify-content: center;
    }

    .login-box {
        width: 95%;
        max-width: 300px;
    }
}
