/* Default global css */
.modal-footer.login {
    justify-content: center;
}

.captcha-hidden {
    display: none;
}

.equal-sign {
    font-size: 22px;
}

input#c {
    width: 100%;
}

.c-info {
    font-size: 11px;
    text-align: left;
}

/* template: public1.html */
#public-1 {
    background-image: url('../img/back.jpg');
    background-size: cover;
    background-position: center;
}

#public-1 .card.bg-trans {
    background-color: rgba(255, 255, 255, 0.8);
}

/* template: public2.html */
#public-2 {
    background: linear-gradient(135deg, rgba(0, 86, 179, .45) 0%, rgba(0, 120, 215, .2) 50%, rgba(255, 255, 255, .15) 100%),
        url('../img/back2.jpg') center / cover no-repeat fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

.p2-page {
    display: flex;
    min-height: 100vh;
    position: relative;
}

.p2-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem 1.5rem 2rem 2.5rem;
}

.p2-features {
    width: 100%;
    max-width: calc(100% - 3.5rem);
    align-self: flex-start;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    box-shadow: 0 10px 32px rgba(0, 40, 80, .1);
}

.p2-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .65rem;
}

.p2-feature-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: start;
    column-gap: .55rem;
    row-gap: .1rem;
    text-align: left;
    padding: .7rem .75rem;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff 0%, #f8fbfd 100%);
    border: 1px solid #e2eaf2;
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.p2-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    height: auto;
    background: #0066cc;
    opacity: .85;
}

.p2-feature-card:nth-child(1)::before { background: linear-gradient(180deg, #0066cc, #00a3ff); }
.p2-feature-card:nth-child(2)::before { background: linear-gradient(180deg, #0d9488, #2dd4bf); }
.p2-feature-card:nth-child(3)::before { background: linear-gradient(180deg, #7c3aed, #a78bfa); }
.p2-feature-card:nth-child(4)::before { background: linear-gradient(180deg, #16a34a, #4ade80); }

.p2-feature-card:hover {
    transform: translateY(-2px);
    background: #fff;
    border-color: #c5daf0;
    box-shadow: 0 6px 18px rgba(0, 80, 160, .1);
}

.p2-feature-card strong {
    grid-column: 2;
    grid-row: 1;
    font-size: .72rem;
    font-weight: 700;
    color: #0d3b66;
    line-height: 1.3;
}

.p2-feature-card p {
    grid-column: 2;
    grid-row: 2;
    font-size: .64rem;
    color: #6b7c8f;
    line-height: 1.4;
    margin: 0;
}

.p2-feature-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(0, 60, 120, .08);
}

.p2-feature-icon--blue { background: linear-gradient(135deg, #e8f2ff, #cfe4ff); color: #0066cc; }
.p2-feature-icon--teal { background: linear-gradient(135deg, #e6faf5, #c8f5e8); color: #0d9488; }
.p2-feature-icon--purple { background: linear-gradient(135deg, #f0ebff, #ddd6fe); color: #7c3aed; }
.p2-feature-icon--green { background: linear-gradient(135deg, #e8f8ef, #ccf0d9); color: #16a34a; }

.p2-sidebar {
    flex: 0 0 460px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 1.5rem 3.5rem 1.5rem 0;
    margin-left: -2.5rem;
    background: transparent;
}

.p2-login-card {
    width: 100%;
    max-width: 430px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 14px 48px rgba(0, 40, 80, .18);
    padding: 1.75rem 1.65rem 1.35rem;
}

.p2-login-head {
    text-align: center;
    margin-bottom: 1.25rem;
}

.p2-login-icon {
    width: 3.1rem;
    height: 3.1rem;
    margin: 0 auto .7rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066cc, #0088ee);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 14px rgba(0, 102, 204, .3);
}

.p2-login-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0d3b66;
    margin: 0 0 .3rem;
}

.p2-login-sub {
    font-size: .78rem;
    color: #8896a5;
    margin: 0;
    line-height: 1.45;
}

.p2-field-group {
    margin-bottom: .85rem;
}

.p2-label {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    color: #0d3b66;
    margin-bottom: .35rem;
}

.p2-field {
    position: relative;
}

.p2-field-icon {
    position: absolute;
    left: .65rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa8b5;
    font-size: .78rem;
    z-index: 2;
    pointer-events: none;
}

.p2-field-ok {
    position: absolute;
    right: .55rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    font-size: .55rem;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.p2-field-ok.is-show {
    display: flex;
}

.p2-field-toggle {
    position: absolute;
    right: .5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9aa8b5;
    padding: .2rem .3rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.p2-field-toggle:hover {
    color: #0066cc;
}

#public-2-form .p2-input {
    height: 2.65rem;
    padding: .45rem 2.25rem .45rem 2.25rem;
    font-size: .88rem;
    color: #1a2b3c;
    background: #fff;
    border: 1px solid #dde5ed;
    border-radius: 9px;
    box-shadow: none;
}

#public-2-form .p2-input:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, .1);
    outline: 0;
}

#public-2-form .p2-input::placeholder {
    color: #b0bac4;
}

#public-2-form input:-webkit-autofill,
#public-2-form input:-webkit-autofill:hover,
#public-2-form input:-webkit-autofill:focus {
    -webkit-text-fill-color: #1a2b3c;
    box-shadow: 0 0 0 1000px #fff inset;
}

.p2-captcha {
    margin-bottom: .75rem;
}

.p2-captcha-row {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.p2-captcha-q {
    border: 1px solid #dde5ed;
    border-radius: 9px;
    overflow: hidden;
    background: #f7fafc;
    line-height: 0;
    flex-shrink: 0;
}

.p2-captcha-q img {
    display: block;
    height: 2rem;
    cursor: pointer;
}

.p2-captcha-eq {
    font-size: .9rem;
    font-weight: 600;
    color: #4a5568;
}

.p2-field--captcha .p2-input {
    width: 3.5rem;
    padding-right: 1.6rem !important;
    padding-left: .55rem !important;
    text-align: center;
}

.p2-field--captcha .p2-field-ok {
    right: .35rem;
}

.p2-captcha-refresh {
    background: none;
    border: none;
    color: #0066cc;
    font-size: .62rem;
    font-weight: 600;
    padding: .2rem 0 0;
    cursor: pointer;
}

.p2-captcha-refresh:hover {
    text-decoration: underline;
}

.p2-btn-login {
    width: 100%;
    height: 2.85rem;
    background: linear-gradient(90deg, #005bb5, #0077ee);
    border: none;
    border-radius: 11px;
    color: #fff;
    font-size: .95rem;
    font-weight: 600;
    padding: 0 .35rem 0 .85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .75rem;
}

.p2-btn-login:hover,
.p2-btn-login:focus {
    background: linear-gradient(90deg, #004fa0, #0069d9);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 102, 204, .28);
}

.p2-btn-login-inner {
    display: flex;
    align-items: center;
    gap: .45rem;
}

.p2-btn-login-arrow {
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 50%;
    background: #fff;
    color: #0066cc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
}

.p2-divider {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .65rem;
    color: #aab4be;
    font-size: .62rem;
}

.p2-divider::before,
.p2-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e8edf2;
}

.p2-sso-row {
    display: flex;
    gap: .45rem;
    margin-bottom: .75rem;
}

.p2-btn-sso {
    flex: 1;
    height: 2.45rem;
    background: #fff;
    border: 1px solid #dde5ed;
    border-radius: 9px;
    color: #0d3b66;
    font-size: .72rem;
    font-weight: 600;
    padding: 0 .35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    white-space: nowrap;
    text-decoration: none;
}

.p2-btn-sso:hover,
.p2-btn-sso:focus {
    background: #f5f9fc;
    border-color: #0066cc;
    color: #0066cc;
}

.p2-btn-sso:disabled {
    opacity: .55;
    cursor: not-allowed;
    background: #f5f7fa;
    border-color: #e2eaf2;
    color: #9aa8b5;
}

.p2-btn-sso:disabled:hover,
.p2-btn-sso:disabled:focus {
    background: #f5f7fa;
    border-color: #e2eaf2;
    color: #9aa8b5;
}

.p2-btn-sso:disabled .fa {
    color: #9aa8b5;
}

.p2-btn-sso .fa {
    color: #0066cc;
    font-size: .7rem;
}

.p2-sso-icon {
    width: 14px;
    height: auto;
}

.p2-secure {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    background: #f0f7ff;
    border-radius: 10px;
    padding: .55rem .65rem;
}

.p2-secure-icon {
    color: #0066cc;
    font-size: .9rem;
    line-height: 1;
    margin-top: .1rem;
}

.p2-secure-title {
    font-size: .75rem;
    font-weight: 700;
    color: #0066cc;
}

.p2-secure-sub {
    font-size: .68rem;
    color: #8896a5;
    line-height: 1.35;
}

@media (max-width: 991.98px) {
    .p2-page {
        flex-direction: column;
    }

    .p2-sidebar {
        border-left: none;
        padding: 0 1rem 1.5rem;
    }

    .p2-main {
        padding: 1rem;
    }
}

@media (max-width: 767.98px) {
    .p2-login-card {
        max-width: 100%;
    }
}

/* template: public3.hmtl */
#public-3 {
    /* background-image: url('../img/back2.jpg');
    background-size: cover;
    background-position: center; */
    background-color: #fff;
}

#public-3 .bg-dark-trans {
    background-color: rgba(48, 68, 79, .9);
}

#public-3-form .form-control {
    padding: .75rem .75rem;
    color: #f8f8f8;
    background-color: transparent;
    border: 0px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

#public-3-form .form-control:focus {
    color: #fff;
    background-color: transparent;
    border-color: #8ad4ee;
    outline: 0;
    box-shadow: none;
}

#public-3-form input:-webkit-autofill,
#public-3-form input:-webkit-autofill:hover,
#public-3-form input:-webkit-autofill:focus #public-3-form input:-webkit-autofill {
    background-color: transparent !important;
    background-image: none !important;
    color: #fff !important;
}

#public-4 {
    background-color: #4278A6;
}

#public-4 .boxed {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.12),
        0 2px 4px 0 rgba(0, 0, 0, 0.08);
}

#public-4 .title {
    letter-spacing: 2px;
}

#carousel-indicators h3.title {
    color: #FFEB3B;
    text-shadow: 1px 1px 0px #37474F;
}

#carousel-indicators .desc {
    text-shadow: 1px 1px 2px #000;
    font-size: 16px;
    font-style: italic;
}

#public-4 #login {
    background: #00BCD4;
}

#public-4 #login .form-control {
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 5px;
    padding: .5rem 1rem;
    color: #fff;
}

#public-4 #login input::placeholder {
    color: #fff;
}

#public-4 #login input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset;
}

#public-4 #login .btn {
    background-color: #EF5350;
    border-radius: 5px;
    padding: .5rem .75rem;
    color: rgb(255, 255, 255);
}