.author-page {
    background: linear-gradient(180deg, #C3E2F4 0%, #FFFDF4 100%);
}

.login-form a {
    color: var(--pr-color-secondary);
}

.login-form a.forgot-pass {
    color: #A3A3A3;
    font-size: 16px;
    font-weight: 700;
    text-decoration: underline;
    padding: 12px 0;
    background: transparent;
}

.login-form a:hover,
.login-form a:focus {
    color: var(--pr-color-secondary-500);
}

.reward-title {
    font-weight: var(--pr-font-weight-heading);
    padding: 10px 0 0;
    line-height: 1.1;
    grid-area: rTitle;
}
.reward-desc {
    font-size: 13px;
    opacity: 0.7;
    text-align: left;
    grid-area: rDesc;
}
.reward-image {
    width: 60px;
    grid-area: rImage;
}

.reward-policy {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 12px;
    padding: 12px 0;
    margin-bottom: 16px;
}

.reward-policy-item {
    border-radius: 8px;
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.04);
}

.reward-policy-item img {
    border-radius: 8px;
}

.main-content {
    --link: #0a66c2;
    --hover: #222fb9;
    --bg: #faf8fd;
    --loginImg: 360px;

    font-family: var(--font);
    color: var(--black);
    scrollbar-color: #999 #d1d1d1;
    scrollbar-width: thin;
    overflow-x: hidden;
    overflow-y: auto;
}

.footer-subscribe {
    margin: 0;
}
.author-page .panel {
    margin: 0 auto;
    max-width: 600px;
    padding: 40px 32px;
}
.main-header {
    text-align: center;
    padding: 0;
    margin-bottom: 8px;
    color: #0A0A0A;
    font-size: 30px;
    font-weight: 700;
    line-height: 120%;
}

.login-subtitle {
    color: #525252;
    text-align: center;
    font-size: 16px;
    line-height: 120%;
    margin-bottom: 28px;
}

.control-label {
    font-size: 16px;
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #0A0A0A;
}

.panel-body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 12px;
    background-color: var(--bg);
    align-items: stretch;
    border-radius: 6px;
}

.login-footer button {
    margin-right: 10px;
}

.form-group {
    margin-bottom: 16px;
}

.login-form .form-control {
    border-radius: 8px;
    border-color: #fff;
    padding: 13px 16px;
}

.login-form .form-control:focus {
    border-color: #0A0A0A;
}

.login-footer .button {
    border-radius: 8px;
    border: 2px solid #F60;
    color: var(--white);
    background-color: #F60;
    width: 100%;
    padding: 14px 16px;
    transition: 300ms ease-in-out;
    font-weight: 700;
}

.login-footer .button:hover {
    background-color: var(--pr-color-secondary-500);
    border-color: var(--pr-color-secondary-500);
}

.social-form-gr,
.social-form-gr .social {
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
}

.strike {
    flex: 0 0 100%;
    position: relative;
}
.strike span {
    color: #0A0A0A;
}
.social .social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    text-decoration: none;
    width: calc((100% - 12px) / 2);
    border-radius: 8px;
    grid-gap: 8px;
    padding: 12px 24px;
    color: #0A0A0A;
    transition: 300ms ease-in-out;
}

.social .social-link:hover {
    color: #0A0A0A;
    background: #ebebeb;
}

.sign-up-link #agree-policy {
    display: none;
}

.sign-up-link {
    padding: 0 0 16px;
    font-size: 14px;
    font-weight: var(--font-body, 400);
    color: #525252;
    display: flex;
    align-items: center;
    grid-gap: 8px;
}

.sign-up-link-content {
    text-align: left;
}

.login-form .sign-up-link a {
    color: #0A0A0A;
    text-decoration: underline;
}

.sign-up-link b {
    font-weight: 700;
}

.social .social-link span {
    margin-left: 6px;
}

.social .social-link svg {
    width: 20px;
    min-width: 20px;
    height: 20px;
}

.social .twitter {
    color: #1daee3;
    border-color: #1daee3;
}
.social .twitter:hover {
    color: #1ca4d6;
}

label[for="remember"] {
    cursor: pointer;
}

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

.login-footer .login {
    display: block;
    padding-top: 28px;
    font-weight: 700;
    color: #A3A3A3;
}

.login-footer .login b {
    font-weight: 700 !important;
}

.error-input {
    border-color: #f00 !important;
    color: #f00 !important;
}

.author-page .help-block {
    margin-top: 4px;
}

.pass-input-wrapper {
    position: relative;
}

.pass-input-wrapper .show-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
    border: 0;
    outline: none;
    box-shadow: none;
    background: transparent;
}

.show-password svg {
    color: #0A0A0A;
}

.login-form .pass-input-wrapper input.form-control {
    padding-right: 40px;
}

.custom-checkbox {
    width: 20px;
    min-width: 20px;
    height: 20px;
    display: block;
    border: 2px solid #d4d4d4;
    border-radius: 2px;
    position: relative;
    transition: border-color 300ms ease-in-out;
}

.custom-checkbox::before,
.custom-checkbox::after {
    content: "";
    width: 2px;
    position: absolute;
    display: block;
    border-radius: 2px;
    background-color: #0A0A0A;
    opacity: 0;
    transition: opacity 300ms ease-in-out;
}

.custom-checkbox::before {
    transform: rotate(-45deg);
    height: 6px;
    left: 4px;
    top: 8px;
}

.custom-checkbox::after {
    transform: rotate(40deg);
    height: 13px;
    left: 9px;
    top: 2px;
}

.remember-label {
    display: flex;
    align-items: center;
    grid-gap: 8px;
}

#remember {
    display: none;
}

input[type="checkbox"]:checked ~ .custom-checkbox::before,
input[type="checkbox"]:checked ~ .custom-checkbox::after {
    opacity: 1;
}

input[type="checkbox"]:checked ~ .custom-checkbox {
    border-color: #0A0A0A;
}

.forgot-pass-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    background: var(--Orange-100, #FEF1D3);
    margin: 12px auto;
}

.mt-28 {
    margin-top: 28px;
}

.author-page .alert {
    border-radius: 8px;
}

.sign-in-link {
    display: block;
    padding-top: 28px;
    font-weight: 700;
    color: #A3A3A3;
    text-align: center;
    font-size: 16px;
}

.sign-in-link b {
    font-weight: 700 !important;
}

.author-page input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px white inset; /* đổi nền */
  -webkit-text-fill-color: #0A0A0A; /* đổi màu chữ */
  transition: background-color 5000s ease-in-out 0s; /* tránh nháy vàng */
}

.author-page .alert.forgot-message {
    padding: 12px 16px;
    text-align: left;
    color: #17803D;
    margin-top: 20px;
    margin-bottom: 0;
}

.author-page .alert.forgot-message .text-bold {
    font-weight: 700;
    margin-bottom: 8px;
}

.author-page .alert.forgot-message a {
    text-decoration: underline;
    color: #17803D;
}

.signup-agreement {
    text-align: left;
    font-size: 14px;
    font-weight: var(--font-body, 400);
    color: #525252;
    margin-bottom: 18px;
}

.agreement-text {
    margin-bottom: 8px;
}

.checkbox-container {
    position: relative;
}

.checkbox-container input {
    /* display: none; */
    opacity: 0;
    width: 1px;
    height: 1px;
    top: 5px;
    left: 6px;
    position: absolute;
}

.checkbox-line {
    display: flex; 
    gap: 5px
}

.checkbox-line label {
    cursor: pointer;
}

@media (min-width: 990px) {
    .login-image {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 48px;
    }

    .login-form {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .login-form-content {
        width: 100%;
    }

    .author-page {
        min-height: 600px;
    }
}

@media (max-width: 900px) {

    .panel-body {
        flex-wrap: wrap;
    }

    .login-form {
        display: block;
        width: 100%;
        padding: 12px 0;
    }

    .btn.btn-link {
        margin-left: 0;
    }

    label[for="remember"] + .btn.btn-link {
        margin-left: auto;
        font-weight: var(--font-body, 400);
        padding: 0;
    }

    .form-group.flex-b {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .social-form-gr, .social-form-gr .social {
        justify-content: center;
    }

    .social .social-link span {
        display: none;
    }

    .login-form-content {
        width: 90%;
        margin: 0 auto
    }
    .login-image {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 760px) {
    .author-page {
        padding: 0;
    }

    .login-form-content {
        width: 100%;
    }

    .login-image {
        display: none;
    }

    .panel-body {
        display: block;
    }
    .reward-title {
        padding: 0;
    }
    .reward-desc {
        margin-top: 0;
    }
    .reward-image {
        width: 45px;
    }
    .reward-policy {
        grid-gap: 12px;
    }

    .author-page .panel {
        padding: 24px 16px;
    }

    .main-header {
        font-size: 26px;
    }

    .main-header {
        padding-bottom: 0;
    }

    .sign-up-link {
        align-items: flex-start;
    }

    .sign-up-link #agree-policy + .custom-checkbox {
        margin-top: 4px;
    }
}
