/* ==========================================================================
   SKYSTONE WIDGET - ACCOUNT PANEL
   Width: 220px / Height in Feature: 268px.
   This file is the ONLY CSS owner of Login/Account Panel.
   ========================================================================== */

body.template-skystone .sky-account-panel {
    width: 100%;
    height: 268px;

    position: relative;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background:
        url("../../images/fon-bg-account-top.png") center top / 100% auto no-repeat,
        url("../../images/fon-bg-account-bottom.png") center bottom / 100% auto no-repeat,
        #fff;
}

body.template-skystone .sky-account-panel__header {
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 10px 12px 0;
}

body.template-skystone .sky-account-panel__header h2 {
    margin: 0;

    color: #075e77;

    font-family: "Times New Roman", Times, serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;

    text-align: center;
}

body.template-skystone .sky-account-panel__content {
    height: calc(100% - 54px);

    padding: 0 18px 14px;

    overflow: hidden;
}

/* Core structure is now only a data/form carrier. */
body.template-skystone .sky-account-panel .home-builder-login,
body.template-skystone .sky-account-panel .user-account-widget {
    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;
}

body.template-skystone .sky-account-panel .widget-body {
    margin: 0;
    padding: 0;
}

/* Logged out ------------------------------------------------------------- */

body.template-skystone .sky-account-panel .login-form {
    width: 100%;

    margin: 0;
    padding: 0;
}

body.template-skystone .sky-account-panel .form-group {
    position: relative;

    margin: 0 0 9px;
    padding: 0;
}

body.template-skystone .sky-account-panel .form-group label {
    display: block;

    margin: 0 0 2px;

    color: #9bc5ce;

    font-size: 7px;
    font-weight: 400;
    line-height: 10px;

    text-align: center;
    text-transform: uppercase;
}

body.template-skystone .sky-account-panel .form-group input {
    width: 100%;
    height: 30px;

    margin: 0;
    padding: 3px 8px 7px;

    border: 0 !important;
    border-radius: 0 !important;

    background:
        url("../../images/input-account.png")
        center center / 100% 100%
        no-repeat !important;

    color: #182c38;

    font-size: 9px;
    line-height: 18px;
    text-align: center;

    outline: 0;
    box-shadow: none !important;
}

body.template-skystone .sky-account-panel .login-button {
    width: 164px;
    height: 42px;

    margin: 5px auto 7px;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0 !important;

    background:
        url("../../images/button-login.png")
        center center / 164px 42px
        no-repeat !important;

    color: #fff;

    font-size: 9px;
    font-weight: 700;
    line-height: 1;

    text-align: center;

    cursor: pointer;
}

body.template-skystone .sky-account-panel .login-links {
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    font-size: 7px;
    line-height: 1;
}

body.template-skystone .sky-account-panel .login-links a {
    color: #37a7bf;
    text-decoration: none;
}

body.template-skystone .sky-account-panel .login-links a + a::before {
    content: "|";

    margin-right: 7px;

    color: #a8c8cf;
}

/* Logged in -------------------------------------------------------------- */

body.template-skystone .sky-account-panel .user-login-alert {
    margin: 0 0 6px !important;
    padding: 5px !important;

    font-size: 7px !important;
}

body.template-skystone .sky-account-panel .user-welcome {
    margin: 0 0 7px !important;

    color: #7098a5 !important;

    font-size: 7px !important;
    text-align: center !important;
}

body.template-skystone .sky-account-panel .user-welcome strong {
    color: #075e77 !important;
    font-size: 9px !important;
}

body.template-skystone .sky-account-panel .user-account-lines {
    display: flex !important;
    flex-direction: column !important;

    gap: 3px !important;
}

body.template-skystone .sky-account-panel .user-account-line {
    min-height: 23px !important;

    padding: 0 7px !important;

    border: 1px solid #d7e8eb !important;
    border-radius: 0 !important;

    background: #f7fbfc !important;

    color: #769ba7 !important;

    font-size: 7px !important;
}

body.template-skystone .sky-account-panel .user-account-line strong {
    color: #075e77 !important;
    font-size: 7px !important;
}

body.template-skystone .sky-account-panel .user-account-actions {
    margin-top: 6px !important;

    display: flex !important;
    flex-direction: column !important;

    gap: 3px !important;
}

body.template-skystone .sky-account-panel .user-panel-button,
body.template-skystone .sky-account-panel .user-logout-button {
    min-height: 25px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 0 !important;

    font-size: 7px !important;
    font-weight: 700 !important;
}

@media (max-width: 620px) {
    body.template-skystone .sky-account-panel {
        min-height: 268px;
        height: auto;
    }
}
