/*
  Shared chrome for auth-related pages:
  register, thank-you, account-confirmed, reset-password, etc.
  Pairs with fg_membersite.css (form/field styling) and pwdwidget.css (password widget).
*/

@font-face {
    font-family: "Daxline";
    src: url("../fonts/DlCyRgTf.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Daxline";
    src: url("../fonts/DlCyBdTf.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

html, body {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    font-family: Arial, sans-serif;
}

/* --- Site chrome, matching the home page --- */
#logoTop {
    text-align: center;
    background-color: #d1ffd5;
    margin: 0;
    line-height: 0%;
}

#welcomeBanner {
    background-color: black;
    color: white;
    margin: 0;
    text-align: center;
    padding: 8px;
}

#welcomeBanner #title {
    font-family: 'Daxline', Arial, sans-serif;
    font-size: 22px;
    font-weight: bold;
}

/* --- Centered card --- */
#authWrap {
    display: table;
    width: 100%;
    min-height: 70vh;
}

#authCell {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

#authCard {
    display: inline-block;
    text-align: left;
    background-color: whitesmoke;
    border: 1px solid dimgray;
    border-radius: 15px;
    padding: 25px 35px 30px 35px;
    margin: 25px 15px;
    max-width: 480px;
}

#authCard h2 {
    font-family: 'Daxline', Arial, sans-serif;
    font-size: 1.4em;
    font-weight: bold;
    color: #333;
    margin: 0 0 12px 0;
}

#authCard p {
    font-size: 0.95em;
    line-height: 150%;
    margin: 0 0 12px 0;
    color: #000;
}

#authCard a,
#authFooter a {
    color: navy;
    text-decoration: underline;
}

/* --- Footer link area --- */
#authFooter {
    text-align: center;
    margin: 10px 0 30px 0;
}

/* --- Form tweaks layered on top of fg_membersite.css --- */
#fg_membersite fieldset {
    width: auto;
    border: 0;
    padding: 0;
    margin: 0;
    border-radius: 0;
}

#fg_membersite legend {
    display: none;
}

#fg_membersite .container {
    margin-top: 10px;
    margin-bottom: 12px;
}

#fg_membersite input[type="text"],
#fg_membersite input[type="password"] {
    width: 220px;
}

#fg_membersite input[type="text"]:focus,
#fg_membersite input[type="password"]:focus,
#fg_membersite textarea:focus {
    color: #000;
    border: 1px solid #990000;
    background-color: #ffffe0;
    font-weight: normal;
}

/* --- Narrow screens: let the card fill more width --- */
@media (max-width: 520px) {
    #authCard {
        display: block;
        margin: 15px 10px;
        padding: 20px 18px 25px 18px;
        max-width: none;
    }
}