/* =======================================================
   Login / Single Column Layout Stylesheet
   (Inline Label + Input + Select Box)
   ======================================================= */

/* --- Base Styles and Typography --- */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Optional: Include link styles for a consistent look */
a {
    color: #1a73e8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* --- Container --- */
.single-column-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
}

/* --- Form --- */
.single-column-form {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-sizing: border-box;
}

.single-column-form p {
    color: #000000;
    text-align: center;
    font-size: 1em;
}

.single-column-form h2 {
    color: #143f77;
    text-align: center;
    font-weight: 500;
    margin-bottom: 3px;
    font-size: 1.5em;
    letter-spacing: 0.5px;
}

.single-column-form h3 {
    color: #1a73e8;
    text-align: center;
    font-weight: 400;
    font-size: 1.3em;
    letter-spacing: 0.5px;
}

/* --- Inline Input Row --- */
.input-row {
    display: flex;
    align-items: left;
    justify-content: space-between;
    gap: 10px;
}

.input-row label {
    flex: 0 0 100px; /* fixed width for labels */
    font-weight: bold;
    font-size: 0.95em;
    color: #333;
    text-align: left;
}

/* --- Input and Select Styling --- */
.input-row input,
.input-row select {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
    appearance: none; /* remove default browser arrow */
    background-image: linear-gradient(45deg, transparent 50%, #1a73e8 50%), 
                      linear-gradient(135deg, #1a73e8 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(1em + 2px), calc(100% - 13px) calc(1em + 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.input-row select {
    cursor: pointer;
}

/* Focus state */
.input-row input:focus,
.input-row select:focus {
    border-color: #1a73e8;
    outline: none;
    box-shadow: 0 0 5px rgba(26, 115, 232, 0.3);
}

/* --- Button --- */
.single-column-form .btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    background-color: #bad2f0;
    color: black;
    transition: background-color 0.3s, transform 0.1s;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.single-column-form .btn:hover {
    background-color: #a8c8ef;
    transform: translateY(-1px);
}

/* --- Helper Links --- */
.single-column-form .helper-links {
    text-align: center;
    margin-top: 10px;
    font-size: 0.9em;
}

.single-column-form .helper-links a {
    color: #1a73e8;
    text-decoration: none;
}

.single-column-form .helper-links a:hover {
    text-decoration: underline;
}

/* --- Mobile Adjustments --- */
@media (max-width: 600px) {
    .input-row {
        flex-direction: column;
        align-items: stretch;
    }

    .input-row label {
        text-align: left;
        flex: unset;
    }

    .single-column-form {
        width: 90%;
        padding: 30px 20px;
    }
}
