/* =====================================================
   BMS public authentication pages
   ===================================================== */

.bms-auth-card {
    width: calc(100% - 32px);
    max-width: 440px;
    margin: 8vh auto 30px auto;
}

.bms-auth-card.t-Region,
.bms-auth-card .t-Region {
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 35px rgba(0,0,0,.10);
    overflow: hidden;
}

.bms-auth-card .t-Region-body {
    padding: 32px 34px 30px;
}

/* Registration needs more room */

.bms-auth-card.bms-auth-wide {
    max-width: 620px;
}


/* Header inside card */

.bms-auth-intro {
    text-align: center;
    margin: 0 0 28px 0;
}

.bms-auth-logo {
    width: 58px;
    height: 58px;
    margin: 0 auto 14px auto;
    display: block;
    border-radius: 7px;
}

.bms-auth-intro h1,
.bms-auth-intro h2 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 600;
}

.bms-auth-intro p {
    max-width: 350px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}


/* Form */

.bms-auth-card .t-Form-fieldContainer {
    margin-bottom: 15px;
}

.bms-auth-card input,
.bms-auth-card select {
    min-height: 42px;
}


/* Buttons */

.bms-auth-card .t-Button--hot {
    width: 100%;
    min-height: 42px;
    margin-top: 5px;
}

.bms-auth-back {
    margin-top: 20px;
    text-align: center;
}

.bms-auth-back a {
    color: #333;
    font-size: 13px;
    text-decoration: none;
}

.bms-auth-back a:hover {
    text-decoration: underline;
}


/* Mobile */

@media (max-width: 640px) {

    .bms-auth-card,
    .bms-auth-card.bms-auth-wide {
        width: calc(100% - 24px);
        max-width: none;
        margin: 24px auto;
    }

    .bms-auth-card .t-Region-body {
        padding: 24px 20px;
    }
}


.bms-auth-button {
    background: #185a9d !important;
    border-color: #185a9d !important;
    color: #fff !important;
}

.bms-auth-button:hover {
    background: #124779 !important;
    border-color: #124779 !important;
}
