/* Auth form styles - m-account classes extracted from core/css/style.css */

.m-account-w {
    display: flex !important;
    min-height: auto;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap;
    padding: 60px 15px;
    position: relative;
    /*background-color: #1b2223;*/
}

.m-account-w::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("/static/frontend/img/bg/2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.05;
}

.m-account-w > .m-account {
    margin-left: auto !important;
    margin-right: auto !important;
    position: relative;
    z-index: 1;
}

.m-account {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
}

.m-account-lock {
    max-width: 420px;
}

.m-account--content-w {
    display: flex;
    min-height: 100%;
    padding: 60px 30px;
    color: #fff;
    background-color: #4285f4 !important;
    justify-content: center;
    align-items: flex-end;
    text-align: center;
}

.m-account--content {
    max-width: 280px;
}

.m-account--content > .h2 {
    margin-bottom: 7px;
    margin-top: 30px;
    font-weight: 300;
    color: #fff;
}

.m-account--content > p {
    margin-bottom: 15px;
    color: #fff;
}

.m-account--content > .btn,
.m-account--content > a.btn,
.m-account--content .btn {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.3) !important;
    border: none !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
    background-image: none !important;
    box-shadow: none !important;
}

.m-account--content > .btn:hover,
.m-account--content > .btn:focus,
.m-account--content > .btn:active,
.m-account--content > a.btn:hover,
.m-account--content > a.btn:focus,
.m-account--content > a.btn:active {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.4) !important;
    background-image: none !important;
    box-shadow: none !important;
}

.m-account--user {
    margin-bottom: 40px;
    text-align: center;
}

.m-account--user > img {
    max-width: 80px;
    margin-bottom: 17px;
    border-radius: 50%;
}

.m-account--user > .h3 > i {
    min-width: 30px;
    color: #fff;
    background-color: #e74c3c;
    border-radius: 50%;
    font-size: 14px;
    line-height: 30px;
    vertical-align: middle;
}

.m-account--form-w {
    display: flex;
    min-height: 100%;
    padding: 60px 25px;
    color: #ccc;
    background-color: #1b2223 !important;
    align-items: center;
    justify-content: center;
}

.m-account--form {
    width: 100%;
    max-width: 300px;
}

.m-account--form .logo {
    margin-bottom: 39px;
    text-align: center;
}

.m-account--title {
    display: block;
    margin-bottom: 33px;
    color: #4285f4;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    font-weight: normal;
}

.m-account--subtitle {
    margin-top: -20px;
    margin-bottom: 33px;
    text-align: center;
    color: #999 !important;
    font-size: 14px;
}

.m-account--form .form-group {
    margin-bottom: 5px;
}

/* Override Material Kit floating labels - use solid input blocks */
.m-account--form .form-group.label-floating,
.m-account--form .form-group {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.m-account--form .form-group.label-floating label.control-label,
.m-account--form .form-group label.control-label {
    display: none;
}

.m-account--form .input-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100%;
    align-items: stretch !important;
    margin-top: 0 !important;
}

.m-account--form .input-group > * {
    height: 44px !important;
}

.m-account--form .input-group-prepend,
.m-account--form .input-group-addon,
.m-account--form .input-group .input-group-addon,
.m-account--form .input-group > .input-group-prepend {
    display: flex !important;
    margin-right: 0;
    padding: 0 20px !important;
    color: #b3b5b5 !important;
    background-color: #494f50 !important;
    border: none !important;
    border-right: 1px solid #757575 !important;
    border-radius: 4px 0 0 4px !important;
    align-items: center !important;
    min-width: 56px;
    height: 44px !important;
    max-height: 44px !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.m-account--form .input-group-prepend i,
.m-account--form .input-group-addon i,
.m-account--form .input-group .input-group-addon i {
    color: #b3b5b5;
    font-size: 14px;
}

.m-account--form .form-control,
.m-account--form .input-group .form-control {
    flex: 1;
    height: 44px !important;
    padding: 10px 15px !important;
    margin-top: 0 !important;
    color: #fff !important;
    background-color: #494f50 !important;
    border: none !important;
    border-radius: 0 4px 4px 0 !important;
    box-shadow: none !important;
    font-size: 14px;
    background-image: none !important;
}

.m-account--form .form-control:focus,
.m-account--form .input-group .form-control:focus {
    background-color: #494f50 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.m-account--form .form-control::-webkit-input-placeholder { color: #999 !important; }
.m-account--form .form-control::-moz-placeholder { color: #999 !important; }
.m-account--form .form-control:-ms-input-placeholder { color: #999 !important; }
.m-account--form .form-control::placeholder { color: #999 !important; }

.m-account--form .form-check {
    color: #ccc;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: normal;
    cursor: pointer;
}

.m-account--form .form-check-input {
    width: 16px;
    height: 16px;
    margin-top: 3px;
}

.m-account--form .form-check-label {
    font-size: 14px;
    line-height: 1.5;
}

.m-account--form .form-check a,
.m-account--form .checkbox-group a {
    color: #4285f4;
}

.m-account--actions {
    display: flex;
    margin-top: 15px;
    align-items: center;
}

.m-account--actions > .btn-link,
.m-account--actions > a.btn-link {
    color: #999 !important;
    text-decoration: none !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    font-size: 14px;
    text-transform: none;
}

.m-account--actions > .btn-link:hover,
.m-account--actions > a.btn-link:hover {
    color: #4285f4 !important;
    text-decoration: none !important;
}

.m-account--actions > .btn {
    margin-left: auto;
}

.m-account--alt {
    margin-top: 43px;
}

.m-account--alt > p {
    position: relative;
    margin-bottom: 23px;
    color: #999;
    text-align: center;
    z-index: 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.m-account--alt > p:before {
    content: " ";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px dotted #777;
    z-index: -1;
}

.m-account--alt > p > span {
    display: inline-block;
    padding: 0 15px;
    background-color: #1b2223;
}

.m-account--alt > .btn-list {
    display: flex;
    gap: 10px;
}

.m-account--alt > .btn-list > .btn {
    flex: 1;
}

.m-account--footer {
    margin-top: 51px;
    text-align: center;
    font-size: 13px;
}

.m-account--footer,
.m-account--footer p {
    color: #999 !important;
}

/* Button styles - use frontend classes (btn-blue, btn-orange) */
.m-account .btn,
.m-account-w .btn {
    text-transform: uppercase !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
    transition: all 0.2s ease !important;
}

.m-account .btn-block,
.m-account .btn.btn-block {
    display: block !important;
    width: 100% !important;
}

/* Make sure block buttons in actions area span full width */
.m-account--actions .btn.btn-block {
    margin-left: 0 !important;
}

/* Alert styles */
.m-account .alert {
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.m-account .alert-danger {
    background-color: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

.m-account .alert-info {
    background-color: rgba(66, 133, 244, 0.2);
    border: 1px solid rgba(66, 133, 244, 0.3);
    color: #4285f4;
}

.m-account .alert-success {
    background-color: rgba(46, 204, 113, 0.2);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}

/* Bootstrap 3 utilities that may be missing */
.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.no-gutters > .col,
.no-gutters > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

.flex-row-reverse {
    flex-direction: row-reverse;
}

/* Responsive */
@media (min-width: 768px) {
    .m-account--content-w {
        justify-content: flex-start;
        text-align: inherit;
    }

    .m-account .row {
        display: flex;
        justify-content: center;
    }

    .m-account .row > [class*="col-"] {
        display: flex;
        flex-direction: column;
    }

    .m-account--content-w,
    .m-account--form-w {
        flex: 1;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .m-account {
        max-width: 100%;
    }

    .m-account .row {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .m-account-w {
        padding: 30px 15px;
    }

    .m-account--content-w,
    .m-account--form-w {
        padding: 40px 20px;
    }

    .m-account--form {
        max-width: 100%;
    }

    .m-account--alt > .btn-list {
        flex-direction: column;
    }

    .m-account .row {
        display: flex;
        flex-direction: column;
    }

    .m-account .row > .col-md-6:last-child {
        order: -1;
    }

    .flex-row-reverse {
        flex-direction: column-reverse;
    }
}

/* Turnstile captcha styles */
.m-account--form .turnstile-group {
    margin-top: 15px;
    margin-bottom: 15px;
}

.m-account--form .turnstile-group iframe {
    max-width: 100%;
}

/* Social login section */
.m-account--social {
    margin-bottom: 20px;
}

.m-account--social.m-account--social-bottom {
    margin-top: 25px;
    margin-bottom: 0;
}

.m-account--social-bottom .m-account--divider {
    margin-top: 0;
}

.m-account--social .btn-list {
    display: flex;
    gap: 10px;
}

.m-account--social .btn-list > .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px !important;
    font-size: 13px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.m-account--social .btn-google {
    background-color: #db4437 !important;
    color: #fff !important;
    border: none !important;
}

.m-account--social .btn-google:hover {
    background-color: #c33d2e !important;
}

.m-account--social .btn-facebook {
    background-color: #4267b2 !important;
    color: #fff !important;
    border: none !important;
}

.m-account--social .btn-facebook:hover {
    background-color: #365899 !important;
}

.m-account--social .btn {
    position: relative;
}

.m-account--social .btn .last-used {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #2ecc71;
    color: #fff;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: bold;
}

.m-account--divider {
    position: relative;
    margin: 20px 0 15px;
    color: #999;
    text-align: center;
    font-size: 12px;
}

.m-account--divider:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px dotted #555;
    z-index: 0;
}

.m-account--divider > span {
    display: inline-block;
    padding: 0 15px;
    background-color: #1b2223;
    position: relative;
    z-index: 1;
}
