/* ==========================================================================
   Login chooser page (login/chooser.jsp)
   ========================================================================== */

.locationBar {
    display: none;
}

#page_content {
    background-image: url(../image/home/new-icreate-imgs/collections_bgr.png);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 90px);
    box-sizing: border-box;
}

#inner_content,
#inner_content.wrap,
.wrap {
    width: 100% !important;
    max-width: none !important;
    background: transparent !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* ---- Outer wrapper — makes room for the floating logo ---- */
.login-wrap {
    position: relative;
    box-sizing: border-box;
    width: 580px;
    max-width: 92vw;
    padding: 70px 0 70px;
    margin-top: 90px;
}

/* ---- Logo floating above the card ---- */
.login-logo-float {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 130px;
    width: auto;
    z-index: 2;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

/* ---- White card ---- */
.login-card {
    background: #fff;
    border-radius: 56px;
    padding: clamp(70px, 9vw, 90px) clamp(32px, 6vw, 41px) clamp(32px, 5vw, 48px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    text-align: center;
}

.login-title {
    font-size: 17px;
    color: #444;
    margin: 0 0 32px;
    font-weight: 400;
    font-family: Helvetica, Arial, sans-serif;
}

/* ---- CAS button ---- */
.login-btn {
    display: block;
    width: 76%;
    padding: 16px;
    margin: 0 auto;
    background: #235264 ;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    transition: background 0.2s;
    margin-bottom: 28px;
    font-family: Helvetica, Arial, sans-serif;
}

.login-btn:hover {
    background: #243f40;
}

/* ---- Hint text ---- */
.login-hint {
    font-size: 16px;
    color: #555;
    text-align: left;
    line-height: 1.75;
    margin: 0;
    font-family: Helvetica, Arial, sans-serif;
}

.login-hint a {
    color: #315758;
    text-decoration: underline;
}

.login-hint a:hover {
    color: #243f40;
}

/* ---- Divider ---- */
.login-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 24px 0;
}

/* ==========================================================================
   Local email/password login form (shared with login/incorrect.jsp)
   ========================================================================== */

.login-error {
    color: #d9001a;
    font-size: 14px;
    margin: 0 0 18px;
    font-family: Helvetica, Arial, sans-serif;
}

.login-input {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 14px;
    padding: 14px 16px;
    box-sizing: border-box;
    font-size: 15px;
    font-family: Helvetica, Arial, sans-serif;
    color: #444;
    border: 1px solid #d5d5d5;
    border-radius: 10px;
    background: #fafafa;
}

.login-input:focus {
    outline: none;
    border-color: #235264;
    background: #fff;
}

/* ==========================================================================
   Forgotten password page (register/forgot-password.jsp) — same card
   ========================================================================== */

/* h1 instead of the login page's <p>, so reset the global heading styles */
h1.login-title {
    font-size: 17px;
    line-height: 1.4;
    letter-spacing: normal;
    text-transform: none;
}

/* explanatory text above the field */
.login-intro {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    text-align: left;
    max-width: 320px;
    margin: 0 auto 20px;
    font-family: Helvetica, Arial, sans-serif;
}

.login-error {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

/* label kept for screen readers; the field shows a placeholder like the login form */
.login-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Placeholders of the card inputs (login and forgotten password): without this
   they get the global 22px italic #333 placeholder from styles.css. */
.login-input::placeholder {
    font-size: 15px;
    font-style: normal;
    color: #888;
    opacity: 1;
}
