/* Site User Login Gateway - designed to sit naturally inside the Total theme */
.sulg-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px auto;
}

.sulg-login-container {
    width: 100%;
    max-width: 430px;
    text-align: center;
}

.sulg-logo {
    margin: 0 auto 16px;
    text-align: center;
}

.sulg-logo img {
    display: block;
    width: 75px;
    height: 75px;
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto;
}

.sulg-box {
    width: 100%;
    max-width: 430px;
    box-sizing: border-box;
    padding: 30px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 4px;
    box-shadow: 0 8px 28px rgba(0,0,0,.08);
}

.sulg-title {
    margin: 0 0 22px;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 600;
    text-align: center;
}

.sulg-field {
    margin: 0 0 18px;
}

.sulg-field label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
}

.sulg-field input[type="text"],
.sulg-field input[type="password"] {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    box-sizing: border-box;
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    background: #fff;
    font-size: 16px;
}

.sulg-field input:focus {
    outline: none;
    border-color: #888;
    box-shadow: 0 0 0 2px rgba(0,0,0,.06);
}

.sulg-remember {
    margin: 0 0 20px;
    font-size: 14px;
}

.sulg-button {
    display: inline-block;
    width: 100%;
    min-height: 46px;
    padding: 11px 18px;
    border: 0;
    border-radius: 3px;
    background: #222;
    color: #fff !important;
    text-align: center;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-sizing: border-box;
}

.sulg-button:hover {
    opacity: .9;
}

.sulg-error {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-left: 4px solid #d63638;
    background: #fbeaea;
    color: #7a1f20;
    font-size: 14px;
}

.sulg-logged-in {
    text-align: center;
}

.sulg-welcome {
    margin-bottom: 22px;
}

.sulg-actions {
    display: grid;
    gap: 12px;
}

.sulg-logout {
    text-decoration: none;
}

@media (max-width: 480px) {
    .sulg-box {
        padding: 22px;
    }
}
