:root {
    --somerset-navy: #0a2240;
    --somerset-orange: rgb(255, 137, 46);
    --somerset-orange-hover: rgb(209, 92, 2);
    --somerset-white: #ffffff;
    --somerset-white2: rgba(248,248,248,1);
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Open Sans', sans-serif;
}

/* Header Layout: Logo Left, Phone Right */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    z-index: 2;
}

.logo img {
    height: 60px; /* Approximate site height */
}

.phone-contact {
    color: var(--somerset-white);
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    text-decoration: none;
    font-weight: 400;
}

.phone-contact i {
    color: var(--somerset-orange);
    margin-right: 10px;
}

.phone-svg {
    color: var(--somerset-gold);
    margin-right: 12px;
    width: 18px;
    height: 18px;
}

/* Login Container */
.login-section {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 100px; /* Offset for visual centering */
}

.login-card {
    width: 100%;
    max-width: 400px;
    text-align: center;
    z-index: 2;
}

h1 {
    color: var(--somerset-white2);
    font-family: 'Oswald', sans-serif;
    line-height: 1.6;
    letter-spacing: 0;
    font-size: 40px;
    font-style: normal;
    /* margin-bottom: 40px; */
    font-weight: 350;
}

.input-group {
    margin-bottom: 15px;
}

input[type="text"], 
input[type="password"] {
    font-family: 'Oswald', sans-serif;
    width: 100%;
    padding: 12px 20px;
    border-radius: 25px; /* Rounded corners as requested */
    border: none;
    font-size: 1rem;
    box-sizing: border-box;
    outline: none;
    background-color: white;
    text-align: center;
    /* The Thin Orange Border */
    border: 1px solid var(--somerset-orange);
}

input::placeholder {
    /* color: #0a2240; */
    text-align: center;
    opacity: 0.6; /* Higher opacity makes the font look sharper */
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
}

/* Login Button - Matching site's CTA style */
.btn-login {
    background-color: var(--somerset-orange);
    color: var(--somerset-white);
    border: none;
    padding: 4px 34px;
    border-radius: 25px;
    font-family: 'Oswald', sans-serif;
    font-size: 21px;
    font-weight: 350;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 30px;
    transition: background-color 0.3s ease;
}

.btn-login:hover {
    background-color: var(--somerset-orange-hover);
}

/* Footer Text */
.login-footer {
    margin-top: 40px;
    color: var(--somerset-white);
}

.forgot-link {
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
    color: var(--somerset-white);
    font-family: 'Oswald', sans-serif;
    line-height: 1.6;
    letter-spacing: 0;
    font-size: medium;
    font-style: normal;
    font-weight: 400;
}

.contact-details {
    margin-top: 10px;
    text-transform: uppercase;
    color: var(--somerset-white);
    font-family: 'Oswald', sans-serif;
    line-height: 1.6;
    letter-spacing: 0;
    font-size: 11px;
    font-weight: 350;
}

.email-text {
    font-size: 0.8rem; /* Smaller text as requested */
    display: block;
    margin-top: 5px;
    opacity: 0.9;
}

.form-wrapper {
    width: 60%;
    margin: auto;
}

/* ERROR MESSAGE */

.error-message {
    color: #e74c3c;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    min-height: 20px; /* To prevent layout shift if message appears/disappears */
}

/* NO SCRIPT */

.noscript-warning {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    display: none; /* Hidden by default, will be shown if JS is disabled */
}

/* Show noscript warning if JavaScript is disabled */
body:not(.js-enabled) .noscript-warning {
    display: block;
}

/* PASSWORD */

/* New styles for password toggle */
.password-wrapper {
    position: relative;
    display: flex; /* Ensures input and toggle are on the same line */
    align-items: center; /* Vertically aligns them */
}

.password-wrapper input {
    width: 100%; /* Take full width of the wrapper */
    padding-right: 40px; /* Make space for the toggle icon */
}

.password-toggle {
    position: absolute;
    right: 10px;
    cursor: pointer;
    color: #888;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #333;
}

.password-icon {
    width: 24px; /* Set your desired width */
    height: 24px; /* Set your desired height */
    xcolor: blue; /* Example: change the icon color */
    vertical-align: middle; /* Helps with alignment in text */
}

#icon-eye-slash {
    display: none;
}

/* RESPONSIVE */

/* Basic responsiveness */
@media (max-width: 399px) {
    header{
        padding: 20px 10px;
    }
}
