/*
 * METALZ Authentication Redesign
 * Login + Register preview pages
 * Version: 1.0.0
 */

body.metalz-auth-preview {
    --metalz-black: #0d1012;
    --metalz-graphite: #171b1e;
    --metalz-gold: #d5aa59;
    --metalz-gold-light: #e7c77f;
    --metalz-paper: #f5f3ef;
    --metalz-white: #ffffff;
    --metalz-text: #1d2429;
    --metalz-muted: #687077;
    --metalz-line: rgba(24, 29, 33, .14);
    background: var(--metalz-paper) !important;
}

/* ---------------------------------------------------------
   OLD THEME CHROME
--------------------------------------------------------- */

body.metalz-auth-preview #Subheader,
body.metalz-auth-preview .subheader,
body.metalz-auth-preview .page-title,
body.metalz-auth-preview .title_wrapper {
    display: none !important;
}

body.metalz-auth-preview #Footer {
    display: none !important;
}

/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */

body.metalz-auth-preview #Header,
body.metalz-auth-preview #Top_bar {
    background: #fff !important;
}

body.metalz-auth-preview #Top_bar {
    min-height: 96px !important;
    border-bottom: 1px solid rgba(0,0,0,.08) !important;
    box-shadow: none !important;
}

body.metalz-auth-preview #Top_bar .container,
body.metalz-auth-preview #Top_bar .column,
body.metalz-auth-preview #Top_bar .top_bar_left {
    min-height: 96px !important;
}

body.metalz-auth-preview #Top_bar .logo {
    height: 96px !important;
    display: flex !important;
    align-items: center !important;
}

body.metalz-auth-preview #Top_bar .logo a,
body.metalz-auth-preview #Header .logo a {
    width: 190px !important;
    height: 72px !important;
    background-image: url("/wp-content/themes/betheme-child/logowithtrademark.png") !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
    background-size: contain !important;
}

/* Hide the original BeTheme logo image.
   The redesigned preview uses the background logo above. */

body.metalz-auth-preview #Top_bar .logo img,
body.metalz-auth-preview #Header .logo img {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

body.metalz-auth-preview #Top_bar .menu > li > a {
    color: #171b1e !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: .02em !important;
}

body.metalz-auth-preview #Top_bar .menu > li.current-menu-item > a,
body.metalz-auth-preview #Top_bar .menu > li > a:hover {
    color: var(--metalz-gold) !important;
}

body.metalz-auth-preview .metalz-auth-header-note {
    display: none;
}

/* ---------------------------------------------------------
   PAGE CONTAINER
--------------------------------------------------------- */

.metalz-auth-page {
    background: var(--metalz-paper);
    color: var(--metalz-text);
}

.metalz-auth-container {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
}

/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */

.metalz-auth-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 20%, rgba(213,170,89,.12), transparent 34%),
        linear-gradient(135deg, #101315 0%, #171b1e 55%, #0d1012 100%);
    color: #fff;
    padding: 92px 0 88px;
}

.metalz-auth-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(213,170,89,.14);
    border-radius: 50%;
    right: -120px;
    top: -220px;
}

.metalz-auth-eyebrow,
.metalz-auth-label {
    display: block;
    color: var(--metalz-gold-light);
    font-size: 11px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.metalz-auth-eyebrow::before,
.metalz-auth-label::before {
    content: "";
    display: inline-block;
    width: 31px;
    height: 1px;
    margin: 0 13px 3px 0;
    background: var(--metalz-gold);
}

.metalz-auth-hero h1 {
    margin: 20px 0 12px !important;
    color: #fff !important;
    font-size: clamp(48px, 6vw, 82px) !important;
    line-height: .98 !important;
    letter-spacing: -.055em !important;
    font-weight: 600 !important;
}

.metalz-auth-hero h1 span {
    color: var(--metalz-gold-light);
}

.metalz-auth-hero p {
    max-width: 650px;
    margin: 0 !important;
    color: rgba(255,255,255,.72) !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
}

/* ---------------------------------------------------------
   AUTH SECTION
--------------------------------------------------------- */

.metalz-auth-section {
    padding: 100px 0 120px;
    background: var(--metalz-paper);
}

.metalz-auth-layout {
    display: grid;
    grid-template-columns: minmax(300px, .82fr) minmax(460px, 1.18fr);
    gap: 90px;
    align-items: start;
}

.metalz-auth-intro {
    padding-top: 8px;
}

.metalz-auth-number {
    display: block;
    margin-bottom: 20px;
    color: #222a2f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
}

.metalz-auth-intro h2 {
    margin: 22px 0 24px !important;
    color: #171d21 !important;
    font-size: clamp(38px, 4vw, 60px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.045em !important;
    font-weight: 600 !important;
}

.metalz-auth-intro h2 span {
    color: #b88b3e;
}

.metalz-auth-intro > p {
    max-width: 470px;
    margin: 0 !important;
    color: #687077 !important;
    font-size: 16px !important;
    line-height: 1.85 !important;
}

.metalz-auth-switch {
    margin-top: 42px;
    padding-top: 25px;
    border-top: 1px solid var(--metalz-line);
}

.metalz-auth-switch span {
    display: block;
    margin-bottom: 9px;
    color: #747b80;
    font-size: 13px;
}

.metalz-auth-switch a {
    color: #a97c31 !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}

.metalz-auth-switch a:hover {
    color: #7f5b22 !important;
}

.metalz-auth-switch strong {
    margin-left: 8px;
}

/* ---------------------------------------------------------
   REGISTER BENEFITS
--------------------------------------------------------- */

.metalz-auth-benefits {
    margin-top: 36px;
    border-top: 1px solid var(--metalz-line);
}

.metalz-auth-benefits div {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--metalz-line);
}

.metalz-auth-benefits strong {
    min-width: 27px;
    color: #b88b3e;
    font-size: 11px;
    letter-spacing: .1em;
}

.metalz-auth-benefits span {
    color: #3f474c;
    font-size: 14px;
}

/* ---------------------------------------------------------
   FORM CARD
--------------------------------------------------------- */

.metalz-auth-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(22,28,31,.1);
    box-shadow: 0 22px 65px rgba(14,18,20,.08);
    padding: 38px 42px 44px;
}

.metalz-auth-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 78px;
    background: var(--metalz-gold);
}

.metalz-auth-card__top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    color: #252c30;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
}

.metalz-auth-card__line {
    flex: 1;
    height: 1px;
    background: var(--metalz-line);
}

/* ---------------------------------------------------------
   ULTIMATE MEMBER FORM
--------------------------------------------------------- */

.metalz-auth-form .um {
    margin: 0 !important;
}

.metalz-auth-form .um-form {
    max-width: none !important;
}

.metalz-auth-form .um-field {
    padding: 0 0 22px !important;
}

.metalz-auth-form .um-field-label {
    margin-bottom: 8px !important;
}

.metalz-auth-form .um-field-label label {
    color: #30383d !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.metalz-auth-form .um-field-area input[type="text"],
.metalz-auth-form .um-field-area input[type="email"],
.metalz-auth-form .um-field-area input[type="password"],
.metalz-auth-form .um-field-area input[type="number"],
.metalz-auth-form .um-field-area input[type="tel"],
.metalz-auth-form .um-field-area textarea,
.metalz-auth-form .um-field-area select {
    width: 100% !important;
    min-height: 52px !important;
    padding: 13px 15px !important;
    border: 1px solid #d7dadd !important;
    border-radius: 0 !important;
    background: #fbfbfa !important;
    color: #20272b !important;
    box-shadow: none !important;
    font-size: 14px !important;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease !important;
}

.metalz-auth-form .um-field-area textarea {
    min-height: 120px !important;
}

.metalz-auth-form .um-field-area input:focus,
.metalz-auth-form .um-field-area textarea:focus,
.metalz-auth-form .um-field-area select:focus {
    border-color: #bd9349 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(213,170,89,.11) !important;
    outline: none !important;
}

.metalz-auth-form .um-field-checkbox,
.metalz-auth-form .um-field-radio {
    margin-bottom: 12px !important;
}

.metalz-auth-form .um-field-checkbox-option,
.metalz-auth-form .um-field-radio-option,
.metalz-auth-form .um-field-block {
    color: #737b80 !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

.metalz-auth-form .um-button,
.metalz-auth-form input[type="submit"],
.metalz-auth-form button[type="submit"] {
    min-height: 52px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #d5a349 !important;
    color: #15191b !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
    transition: background .2s ease, transform .2s ease !important;
}

.metalz-auth-form .um-button:hover,
.metalz-auth-form input[type="submit"]:hover,
.metalz-auth-form button[type="submit"]:hover {
    background: #e2b867 !important;
    transform: translateY(-1px);
}

.metalz-auth-form .um-left,
.metalz-auth-form .um-right {
    margin-top: 8px !important;
}

.metalz-auth-form .um-link-alt,
.metalz-auth-form a {
    color: #a97c31 !important;
}

.metalz-auth-form .um-notice {
    border-radius: 0 !important;
}

.metalz-auth-form .um-field-error {
    font-size: 12px !important;
}

/* reCAPTCHA */
.metalz-auth-form .g-recaptcha {
    margin: 10px 0 22px !important;
}

/* Logged-in Ultimate Member state */
.metalz-auth-form .um-profile,
.metalz-auth-form .um-account {
    max-width: none !important;
}

.metalz-auth-form .um-profile-photo {
    margin-bottom: 15px !important;
}

/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 960px) {

    .metalz-auth-container {
        width: min(100% - 42px, 720px);
    }

    .metalz-auth-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .metalz-auth-intro > p {
        max-width: 680px;
    }

    .metalz-auth-card {
        padding: 32px 28px 36px;
    }
}

@media (max-width: 767px) {

    body.metalz-auth-preview #Top_bar {
        min-height: 76px !important;
    }

    body.metalz-auth-preview #Top_bar .container,
    body.metalz-auth-preview #Top_bar .column,
    body.metalz-auth-preview #Top_bar .top_bar_left {
        min-height: 76px !important;
    }

    body.metalz-auth-preview #Top_bar .logo {
        height: 76px !important;
    }

    body.metalz-auth-preview #Top_bar .logo a,
    body.metalz-auth-preview #Header .logo a {
        width: 145px !important;
        height: 58px !important;
    }

    .metalz-auth-container {
        width: calc(100% - 32px);
    }

    .metalz-auth-hero {
        padding: 64px 0 58px;
    }

    .metalz-auth-hero h1 {
        font-size: 48px !important;
    }

    .metalz-auth-hero p {
        font-size: 15px !important;
    }

    .metalz-auth-section {
        padding: 64px 0 76px;
    }

    .metalz-auth-intro h2 {
        font-size: 39px !important;
    }

    .metalz-auth-card {
        padding: 27px 19px 30px;
    }

    .metalz-auth-card__top {
        font-size: 10px;
    }

    .metalz-auth-form .um-field {
        padding-bottom: 18px !important;
    }
}
