/* ==========================
   Architectural Record News Link & Button Colors
   ========================== */
/* Default link/button state (unvisited & visited) */
a:link,
a:visited,
.register-link,
.register-link:visited,
.forgot-password,
.forgot-password:visited,
.account-content .links a,
.account-content .links a:visited,
.copyright a,
.copyright a:visited {
  color: #114B8C !important; 
  text-decoration: none !important;
}

/* Hover state */
a:hover,
.register-link:hover,
.forgot-password:hover,
.account-content .links a:hover,
.copyright a:hover {
  color: #008DD2 !important;
  text-decoration: underline !important;
}

/* ==========================
   Global Styles
   ========================== */
form {
    margin-bottom: 0;
}

#main,
#bottom,
.test-version-message {
    display: none !important;
}

#container,
#main,
.account-wrapper {
    width: 100vw;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Interstate, sans-serif !important;
    background: #f9f9f9;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ==========================
   Layout: Wrapper & Sections
   ========================== */
.account-wrapper {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

@media only screen and (max-width: 1081px) {
  #container {
    width: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* ==========================
   Left Section: Background & Branding
   ========================== */
.account-visual {
    flex: 1;
    background: url('https://cdn.omeda.com/hosted/images/CLIENT_BNP/BNPCD/AR_Welcome_My_Account_Login.png') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 50px;
    color: white;
    text-align: left;
    position: relative;
}

/* Logo Placement */
.account-visual .logo {
    width: 300px;
    position: absolute;
    bottom: 40px;
    left: 50px;
}

/* ==========================
   Right Section: Login Panel
   ========================== */
.account-content {
    width: 450px;
    background: white;
    padding: 10px 40px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Push footer down */
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    max-height: 100vh;
    flex-shrink: 0;
    min-height: 100vh; /* Ensures full height */
}

/* ==========================
   Login Form
   ========================== */
.login-box {
    width: 100%;
    background: #f4f4f4;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: left;
}

/* Form Headings */
.login-box h3 {
    font-size: 20px;
    text-align: center;
    color: #114B8C;
    margin-bottom: 15px;
}

/* Bold Welcome Text */
.account-visual h1 {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.2;
}

/* Responsive Headings */
@media (min-width: 1024px) {
    .account-visual h1 {
        font-size: 4rem;
    }
}

@media (min-width: 1440px) {
    .account-visual h1 {
        font-size: 5rem;
    }
}

/* Input Fields */
.input-group {
    margin-bottom: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* ==========================
   Password Field & Toggle
   ========================== */
.password-container {
    display: flex;
    align-items: center;
    position: relative;
}

.password-container input {
    width: 100%;
    padding-right: 40px;
}

/* Password Toggle Icon */
.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #555;
    font-size: 18px;
}

.password-toggle:hover {
    color: #333;
}

/* ==========================
   Buttons
   ========================== */
.login-btn {
    width: 100%;
    padding: 12px;
    background: #114B8C !important; 
    color: white !important;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.login-btn:hover {
    background: #FDB813 !important;
}

/* ==========================
   Links
   ========================== */
.links {
    text-align: center;
    margin-top: 15px;
}

.register-link,
.forgot-password {
    display: block;
    font-size: 16px;
    font-weight: bold;
    margin-top: 8px;
}

/* ==========================
   Feature List
   ========================== */
.features-list {
    margin-top: 18px;
    text-align: left;
    width: 100%;
}

.features-list h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    margin-bottom: 8px;
}

.feature-item i {
    font-size: 28px;
    color: #717C83;
    min-width: 35px;
    text-align: center;
}

.feature-item p {
    font-size: 16px;
    color: #555;
}

/* ==========================
   Footer (Fixed at Bottom)
   ========================== */
copyright {
    margin-top: auto;
    text-align: center;
    padding: 15px 0;
    width: 100%;
}

/* ==========================
   Responsive Layout (Mobile)
   ========================== */
@media (max-width: 768px) {
    .account-wrapper {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .account-visual {
        width: 100%;
        height: 50vh;
        padding: 30px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        justify-content: center;
    }

    .account-visual .logo {
        position: relative;
        bottom: auto;
        left: auto;
        width: 250px;
        margin-top: 20px;
    }

    .account-content {
        width: 100%;
        max-width: none;
        padding: 30px;
        box-shadow: none;
        height: auto;
        max-height: none;
        overflow-y: visible;
        justify-content: flex-start;
    }
}

::selection {
    background-color: #008DD2;
    color: #ffffff;
}

::-webkit-selection {
    background-color: #008DD2;
    color: #ffffff;
}

::-moz-selection {
    background-color: #008DD2;
    color: #ffffff;
}

@media (max-width: 559px) {
  #container {
    padding: 0 !important;
  }
}

header h3 {
  margin-top: 2px !important;
}
