/* ==================================================================
 * Paddy Reilly's — self-contained auth/login styling.
 * Reproduces the legacy "header-5" theme look: a fixed black left
 * sidebar (logo + vertical menu), a bright-green members-club content
 * area framed with decorative corners, and a dark footer.
 * No dependency on the external WordPress theme CSS; blade markup
 * keeps the legacy class names.
 * ================================================================== */

:root {
    --sidebar-w: 200px;
    --green: #b9e771;          /* members-club panel green */
    --green-text: #283f03;     /* dark green text on the panel */
    --green-deep: #143a23;     /* submenu flyout */
    --gold: #d9a441;           /* active/hover accent */
    --black: #0a0a0a;
    --ink: #232323;
    --muted: #5d6b46;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--black);
}

html,
body {
    margin: 0;
    padding: 0;
}

.paddys-auth-body {
    font-family: "Josefin Sans", "Segoe UI", system-ui, sans-serif;
    color: var(--ink);
    background: var(--black);
    line-height: 1.5;
    min-height: 100vh;
}

.paddys-auth-body #page.site {
    background: var(--black);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.clearfix {
    clear: both;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ===================== Left sidebar header ===================== */
#rs-header {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-w);
    background: var(--black);
    color: #fff;
    z-index: 200;
    /* visible so submenu fly-outs aren't clipped (menu is short) */
    overflow: visible;
}

/* Flatten the deeply nested legacy wrappers into a simple vertical stack */
#rs-header .sticky-wrapper,
#rs-header .header-inner,
#rs-header .menu-area.header-wrap,
#rs-header .menu-responsive,
#rs-header .nav.navbar,
#rs-header .navbar-menu,
#rs-header .menu-zurich-container {
    display: block;
    width: 100%;
}

.header-logo {
    padding: 18px 10px 72px;
    text-align: center;
}

.header-logo .logo-area.sticky-logo {
    display: none;
}

.header-logo .logo-area img {
    width: 100% !important;
    height: auto !important;
    max-width: 192px;
    margin: 0 auto;
    display: block;
}

/* Vertical menu — sits below the enlarged logo */
.navbar-menu .menu {
    padding: 12px 0 16px;
}

.navbar-menu .menu > li {
    position: relative;
}

.navbar-menu .menu > li > a {
    display: block;
    padding: 10px 14px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.35;
    transition: color 0.15s;
}

.navbar-menu .menu > li > a:hover {
    color: var(--gold);
}

.navbar-menu .menu > li.current-menu-item > a,
.navbar-menu .menu > li.current_page_item > a {
    color: var(--gold);
}

/* Chevron for items with children — points down when sub-menu opens below */
.navbar-menu .menu > li.menu-item-has-children > a::after {
    content: "\25BE";
    display: inline-block;
    margin-left: 0.2rem;
    font-size: 0.85rem;
    line-height: 1;
    opacity: 0.85;
    vertical-align: middle;
}

/* Sub-menu expands below the parent item */
.navbar-menu .menu .sub-menu {
    position: static;
    display: none;
    min-width: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border-top: 2px solid var(--gold);
    box-shadow: none;
    padding: 0.25rem 0 0.5rem;
    margin: 0;
}

.navbar-menu .menu > li:hover > .sub-menu {
    display: block;
}

.navbar-menu .menu .sub-menu li a {
    display: block;
    padding: 0.6rem 14px 0.6rem 1.25rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.35;
}

.navbar-menu .menu .sub-menu li a:hover {
    background: rgba(217, 164, 65, 0.2);
    color: #fff;
}

/* Hide the bits only used by the mobile/legacy layouts on desktop */
.mobile-menu-link,
.mobile-menu-container,
.menu-bottom {
    display: none;
}

/* The legacy locations bar is hidden on this page */
.header-top-style {
    display: none !important;
}

.nav-menu-link {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    cursor: pointer;
}

.nav-menu-link span {
    display: block;
    width: 26px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

/* ===================== Main content (green panel) ===================== */
.main-contain {
    margin-left: var(--sidebar-w);
    background: var(--green);
    padding: 2rem 1.5rem 150px;
    background-image:
        url("../img/paddys/corner_top.png"),
        url("../img/paddys/corner_right.png"),
        url("../img/paddys/corner_bottom.png"),
        url("../img/paddys/corner_left.png");
    background-position: top left, top right, bottom left, bottom right;
    background-repeat: no-repeat;
}

.main-contain .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.site-content {
    width: 100%;
}

.welcome {
    background: transparent;
}

.welcome .wl {
    padding: 0.5rem 1.5rem 0.75rem;
}

/* "Welcome to the Life of Reilly" heading image */
.welcome .prLogo {
    display: block;
    max-width: 440px;
    width: 100%;
    height: auto;
    margin: 0 auto 1.5rem;
}

.welcome .row {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 992px) {
    .welcome .row {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 3rem;
    }

    .welcome .w35 {
        flex: 0 0 40%;
        max-width: 40%;
        display: flex;
        justify-content: flex-start;
    }

    .welcome .w75 {
        flex: 1;
        max-width: 480px;
    }
}

.welcome .w35 img {
    display: block;
    width: 100%;
    max-width: 360px;
    height: auto;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .welcome .w35 img {
        margin-left: 80px;
        margin-right: auto;
    }
}

/* ===================== Login form (grazieform) ===================== */
.grazieform {
    margin: 0;
}

.grazieform h4,
.grazieform label,
.reset-password {
    color: var(--green-text);
}

.grazieform h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.grazieform .btn-contaier {
    margin: 0.5rem 0 1.5rem;
}

.grazieform .btn-contaier img {
    max-width: 200px;
    width: 100%;
    height: auto;
    cursor: pointer;
}

.form-wrapper {
    border-top: 1px solid rgba(40, 63, 3, 0.25);
    padding-top: 1.5rem;
}

.input-group.input-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
}

.input-group.input-field label {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Legacy pill-shaped fields (white centre + rounded mask ends) */
.input-group.input-field .wrap-test {
    width: 100%;
    background-color: #fff;
    background-image: url("../img/paddys/lmask.png"), url("../img/paddys/rmask.png");
    background-position: top left, top right;
    background-repeat: no-repeat;
    border-radius: 26px;
    overflow: hidden;
}

.input-group.input-field .wrap-test input[type="text"],
.input-group.input-field .wrap-test input[type="email"],
.input-group.input-field .wrap-test input[type="password"] {
    width: 100%;
    border: 0 none;
    background: transparent;
    padding: 0.85rem 1.5rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--ink);
}

.input-group.input-field .wrap-test input:focus {
    outline: none;
}

.login-btn {
    cursor: pointer;
    height: 50px;
    width: auto;
}

.reset-password {
    font-size: 0.9rem;
}

.reset-password:hover {
    text-decoration: underline;
}

/* ===================== Alerts & helpers ===================== */
.paddys-alert {
    max-width: 760px;
    margin: 0 auto 1.5rem;
    padding: 0.85rem 1.1rem;
    border-radius: 6px;
    font-size: 0.92rem;
}

.paddys-alert-success {
    background: #e7f3ec;
    border: 1px solid #b8dcc6;
    color: var(--green-text);
}

.paddys-error {
    color: #b02a37;
    font-size: 0.85rem;
    margin-top: 0.35rem;
}

.paddys-muted {
    color: var(--muted);
    font-size: 0.9rem;
}

.paddys-center {
    text-align: center;
}

.paddys-mt {
    margin-top: 1rem;
}

.paddys-link {
    color: var(--green-text);
    font-size: 0.9rem;
    font-weight: 600;
}

.paddys-link:hover {
    text-decoration: underline;
}

.paddys-divider {
    border: none;
    border-top: 1px solid rgba(40, 63, 3, 0.25);
    margin: 1.75rem 0;
}

/* Verify / register reuse a simpler themed panel on the green area */
.paddys-welcome {
    max-width: 720px;
    margin: 0 auto;
}

.paddys-welcome-inner {
    padding: 1rem 1.5rem 2rem;
}

.paddys-life-logo {
    display: block;
    max-width: 360px;
    width: 100%;
    height: auto;
    margin: 0 auto 1.75rem;
}

.paddys-welcome-row {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 992px) {
    .paddys-welcome-row {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
    }

    .paddys-welcome-card {
        flex: 0 0 38%;
        max-width: 38%;
    }

    .paddys-welcome-form {
        flex: 1;
        max-width: 480px;
    }
}

.paddys-welcome-card img {
    width: 100%;
    max-width: 320px;
    display: block;
    margin: 0 auto;
}

.paddys-form-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--green-text);
    margin: 0 0 0.5rem;
}

.paddys-form-subtitle {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0 0 1.25rem;
}

.paddys-field {
    margin-bottom: 1.1rem;
}

.paddys-field label {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    color: var(--green-text);
}

.paddys-input {
    width: 100%;
    padding: 0.75rem 1.25rem;
    border: 0 none;
    border-radius: 26px;
    font-family: inherit;
    font-size: 1rem;
    background: #fff;
    color: var(--ink);
}

.paddys-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(40, 63, 3, 0.18);
}

.paddys-input-code {
    text-align: center;
    letter-spacing: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.paddys-btn-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.paddys-btn {
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}

.paddys-btn:hover {
    opacity: 0.9;
}

.paddys-btn-register img {
    max-width: 200px;
    width: 100%;
    height: auto;
}

.paddys-btn-text {
    background: var(--green-text);
    color: #fff;
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 999px;
}

.paddys-btn-ghost {
    background: transparent;
    color: var(--green-text);
    border: 1px solid var(--green-text);
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 999px;
}

.paddys-register-block {
    text-align: center;
}

.paddys-register-block h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--green-text);
}

/* ===================== Footer (matches sidebar black) ===================== */
#rs-footer {
    margin-left: var(--sidebar-w);
    background: var(--black);
    color: #cfcfcf;
    /* Fill any viewport gap below the footer with the same dark grey */
    box-shadow: 0 100vh 0 100vh var(--black);
}

#rs-footer .footer-top {
    padding: 2.5rem 0 2rem;
    background: var(--black);
}

#rs-footer .inner-container {
    margin: 0 auto;
    padding: 0 1.25rem;
}

#rs-footer .row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

#rs-footer .col-lg-3 {
    flex: 1 1 220px;
}

#rs-footer .col-lg-6 {
    flex: 1 1 320px;
    text-align: center;
}

#rs-footer .footer-title {
    color: #fff;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

#rs-footer .footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

#rs-footer .f-hours {
    font-size: 0.9rem;
    line-height: 1.9;
    color: #b9b9b9;
}

#rs-footer .f-logo img {
    max-width: 180px;
    width: 100%;
    height: auto;
    margin: 0 auto 1rem;
}

#rs-footer .logo-widget p {
    font-size: 0.9rem;
    color: #b9b9b9;
    max-width: 440px;
    margin: 0 auto;
}

#rs-footer .fa-ul {
    font-size: 0.9rem;
    line-height: 1.6;
}

#rs-footer .fa-ul li {
    margin-bottom: 0.6rem;
    color: #b9b9b9;
}

#rs-footer .fa-ul a {
    color: #b9b9b9;
}

#rs-footer .fa-ul a:hover {
    color: var(--gold);
}

#rs-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 0;
    background: var(--black);
}

#rs-footer .footer-bottom .row {
    align-items: center;
    justify-content: space-between;
}

#rs-footer .copyright p {
    margin: 0;
    font-size: 0.85rem;
    color: #9a9a9a;
}

#rs-footer .footer_social {
    display: flex;
    gap: 0.6rem;
    justify-content: flex-end;
}

#rs-footer .footer_social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: background 0.2s;
}

#rs-footer .footer_social a:hover {
    background: var(--gold);
    color: var(--black);
}

/* ===================== Mobile: collapse sidebar to top bar ===================== */
@media (max-width: 991px) {
    #rs-header {
        position: static;
        width: 100%;
        height: auto;
        overflow: visible;
    }

    #rs-header .menu-area.header-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 0.5rem 1rem;
    }

    #rs-header .header-logo {
        padding: 0;
        text-align: left;
    }

    #rs-header .header-logo .logo-area img {
        max-width: none;
        height: 46px !important;
        width: auto !important;
    }

    #rs-header .menu-responsive {
        width: auto;
        margin-left: auto;
    }

    /* Hide desktop vertical menu, show hamburger + dropdown */
    .navbar-menu {
        display: none;
    }

    .mobile-menu-link {
        display: block;
    }

    .mobile-menu-container {
        display: block;
        width: 100%;
        order: 3;
    }

    .mobile-menu-container .sidenav {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: var(--green-deep);
        border-radius: 6px;
    }

    .mobile-menu-container .sidenav.nav-active-menu-container {
        max-height: 1200px;
        padding: 0.5rem 0;
        margin-top: 0.5rem;
    }

    .mobile-menu-container .sidenav .menu li a {
        display: block;
        padding: 0.7rem 1.25rem;
        color: rgba(255, 255, 255, 0.92);
        font-weight: 600;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

    .mobile-menu-container .sidenav .sub-menu li a {
        padding-left: 2.25rem;
        font-weight: 500;
        opacity: 0.9;
    }

    .mobile-menu-container .offcanvas_social {
        display: flex;
        gap: 0.5rem;
        padding: 0.75rem 1.25rem;
    }

    .mobile-menu-container .offcanvas_social a {
        display: inline-flex;
        width: 34px;
        height: 34px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
    }

    .mobile-menu-container .btn_quote {
        padding: 0.5rem 1.25rem 1rem;
    }

    .mobile-menu-container .quote-button {
        display: inline-block;
        background: var(--gold);
        color: var(--black);
        font-weight: 700;
        padding: 0.6rem 1.2rem;
        border-radius: 999px;
    }

    .main-contain {
        margin-left: 0;
        min-height: 0;
        background-size: 80px, 80px, 80px, 80px;
    }

    #rs-footer {
        margin-left: 0;
    }
}
