/* NDC Custom Login & Signup Shortcodes - v1.0.8 */

:root {
    --ndc-auth-brand: #A41013;
    --ndc-auth-brand-hover: #820c0f;
}

html body .ndc-auth-wrapper,
html body .elementor .ndc-auth-wrapper,
html body .entry-content .ndc-auth-wrapper {
    max-width: 920px !important;
    margin: 40px auto !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
}

html body .ndc-auth-box,
html body .elementor .ndc-auth-box,
html body .entry-content .ndc-auth-box {
    background: #ffffff !important;
    border: 1px solid #ead5d6 !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 35px rgba(164, 16, 19, 0.10) !important;
    overflow: hidden !important;
    padding: 25px !important;
    box-sizing: border-box !important;
}

/* Hide top Log In / Sign Up tabs */
html body .ndc-auth-tabs,
html body .elementor .ndc-auth-tabs,
html body .entry-content .ndc-auth-tabs {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
}

html body .ndc-auth-content {
    display: none !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

html body .ndc-auth-content.active {
    display: block !important;
}

html body .ndc-auth-title {
    margin: 0 0 8px 0 !important;
    font-size: 28px !important;
    line-height: 1.2 !important;
    color: #111111 !important;
}

html body .ndc-auth-subtitle {
    margin: 0 0 24px 0 !important;
    color: #666666 !important;
    font-size: 15px !important;
}

html body .ndc-auth-field {
    margin-bottom: 16px !important;
}

html body .ndc-auth-field label {
    display: block !important;
    margin-bottom: 7px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #111111 !important;
}

html body .ndc-auth-field input {
    width: 100% !important;
    min-height: 42px !important;
    padding: 12px 14px !important;
    border: 1px solid #777777 !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    color: #111111 !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
    outline: none !important;
    box-sizing: border-box !important;
}

html body .ndc-auth-field input:focus {
    border-color: #A41013 !important;
    box-shadow: 0 0 0 3px rgba(164, 16, 19, 0.12) !important;
}

html body .ndc-auth-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 18px !important;
    font-size: 14px !important;
}

html body .ndc-auth-row label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    cursor: pointer !important;
}

html body .ndc-auth-row input[type="checkbox"] {
    width: auto !important;
    accent-color: #A41013 !important;
}

html body .ndc-auth-wrapper input.ndc-auth-submit-input,
html body .elementor .ndc-auth-wrapper input.ndc-auth-submit-input,
html body .entry-content .ndc-auth-wrapper input.ndc-auth-submit-input,
html body .ndc-auth-wrapper .ndc-custom-login-form input[type="submit"].ndc-auth-submit-input,
html body .ndc-auth-wrapper .ndc-custom-signup-form input[type="submit"].ndc-auth-submit-input {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    padding: 15px 20px !important;
    margin: 0 !important;
    border: 1px solid #A41013 !important;
    border-radius: 10px !important;
    background: #A41013 !important;
    background-color: #A41013 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-indent: 0 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

html body .ndc-auth-wrapper input.ndc-auth-submit-input:hover,
html body .elementor .ndc-auth-wrapper input.ndc-auth-submit-input:hover {
    background: #820c0f !important;
    background-color: #820c0f !important;
    border-color: #820c0f !important;
    color: #ffffff !important;
}

html body .ndc-auth-link-btn,
html body a.ndc-auth-link-btn {
    display: flex !important;
    width: 100% !important;
    min-height: 52px !important;
    align-items: center !important;
    justify-content: center !important;
    background: #A41013 !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    text-decoration: none !important;
}

html body .ndc-auth-link-btn span {
    color: #ffffff !important;
    font-weight: 800 !important;
}

html body .ndc-auth-message {
    padding: 14px 16px !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

html body .ndc-auth-message.error {
    background: #fff1f1 !important;
    color: #A41013 !important;
    border: 1px solid #eab6b7 !important;
    border-left: 5px solid #A41013 !important;
}

html body .ndc-auth-message.success {
    background: #effaf1 !important;
    color: #087a2f !important;
    border: 1px solid #8ed49f !important;
    border-left: 5px solid #087a2f !important;
}

html body .ndc-auth-hidden {
    display: none !important;
}

html body .ndc-auth-switch {
    margin-top: 20px !important;
    text-align: center !important;
    font-size: 14px !important;
    color: #666666 !important;
}

html body .ndc-auth-switch button {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    min-height: auto !important;
    height: auto !important;
    display: inline !important;
    border: none !important;
    background: transparent !important;
    background-color: transparent !important;
    color: #A41013 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

html body .ndc-auth-switch a {
    color: #A41013 !important;
    font-weight: 800 !important;
}

/* Header login/user icon */
html body .ndc-login-icon-wrap {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

html body .ndc-login-icon {
    width: 42px !important;
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    background: #A41013 !important;
    color: #ffffff !important;
    border: 1px solid #A41013 !important;
    text-decoration: none !important;
}

html body .ndc-login-icon:hover {
    background: #820c0f !important;
    border-color: #820c0f !important;
    color: #ffffff !important;
}

html body .ndc-login-icon .dashicons {
    color: #ffffff !important;
    font-size: 22px !important;
    width: 22px !important;
    height: 22px !important;
    line-height: 22px !important;
}

@media (max-width: 767px) {
    html body .ndc-auth-wrapper {
        margin: 20px auto !important;
        padding: 20px !important;
    }

    html body .ndc-auth-box {
        padding: 20px !important;
    }

    html body .ndc-auth-content {
        padding: 20px !important;
    }

    html body .ndc-auth-title {
        font-size: 24px !important;
    }
}
