html {
  font-size: 0.875rem; /* 14px base */
}

body { 
  background:#eff2fa; 
  font-family: 'Lato', sans-serif;
}
* {
  font-family: 'Lato', sans-serif;
}
.card { box-shadow: 0 6px 16px rgba(0,0,0,.08); border: none; }
.spinner { width: 2rem; height: 2rem; border: .25rem solid #e9ecef; border-top-color: #0d6efd; border-radius: 50%; animation: spin 1s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg);} }
.code { font-weight: 700; letter-spacing: .2rem; }
.auth-tabs {
    margin: 0 auto 2.571rem; /* 36px / 14px = 2.571rem */
    background: #fff;
    border: 1px solid #d2d6dc;
    border-radius: 0.714rem; /* 10px / 14px = 0.714rem */
    width: 100%;
    max-width: 40.214rem; /* 563px / 14px = 40.214rem */
    overflow: hidden;
}
.auth-tab {
    flex: 1;
    text-align: center;
    padding: 0.786rem 1.5rem; /* 11px / 14px = 0.786rem, 21px / 14px = 1.5rem */
    background: #FFF;
    color: #2b2f36;
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-right: 1px solid #d2d6dc;
    font-size: 1.2rem;
}
.auth-tab:hover {
  background:#e0e4eb;
}
.auth-tab:last-child {
    border-right: none;
}
.auth-tab.active { 
  background:#4c6cb7; 
  color:#fff; 
}
.auth-tab.active:hover {
  background:#3558a0;
}
.page-title {
    font-weight: 600;
    font-size: 2.5rem; /* 35px / 14px = 2.5rem */
    text-align: center;
    margin: 1.714rem 0 0; /* 24px / 14px = 1.714rem */
    letter-spacing: -0.036rem; /* -0.5px / 14px = -0.036rem */
    line-height: 1.5;
}
.page-subtitle {    
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 2.5rem; /* 35px / 14px = 2.5rem */
    letter-spacing: -0.04rem;
    font-weight: 500;
    color: #444;
}
.justify-content-center {
    width: 100%;
    max-width: 41.857rem; /* 586px / 14px = 41.857rem */
    margin-left: auto;
    margin-right: auto;
}

main.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 2rem);
}

.form-label {
    margin-bottom: .15rem;
    font-size: 1rem;
    letter-spacing: 0.02rem;
    font-weight: 500;
}
.form-control{
    font-size: 1.24rem;
    padding: 0.786rem 0.929rem; /* 11px / 14px = 0.786rem, 13px / 14px = 0.929rem */
    margin-bottom: 0.786rem; /* 11px / 14px = 0.786rem */
    border-radius: 0.714rem; /* 10px / 14px = 0.714rem */
    width: 100%;
}
.btn-outline-secondary.hidden {
    display: none;
}
.btn-primary {
    margin: auto;
    font-size: 1.25rem;
    padding: 0.714rem 1.643rem; /* 10px / 14px = 0.714rem, 23px / 14px = 1.643rem */
    background: #4c6cb7;
    border-radius: 0.714rem; /* 10px / 14px = 0.714rem */
}

.list-group-item {
    font-size: 1.2rem;
    padding: 1.143rem 1.429rem; /* 16px / 14px = 1.143rem, 20px / 14px = 1.429rem */
    border: 1px solid #d2d6dc;
    border-radius: 0.714rem; /* 10px / 14px = 0.714rem */
    margin-bottom: 0.857rem; /* 12px / 14px = 0.857rem */
    transition: all 0.2s ease;
    text-decoration: none;
    color: #2b2f36;
}

.list-group-item:hover {
    background-color: #f8f9fa;
    border-color: #4c6cb7;
    transform: translateX(0.286rem); /* 4px / 14px = 0.286rem */
}

.list-group-item .badge {
    font-size: 1rem;
    padding: 0.429rem 0.714rem; /* 6px / 14px = 0.429rem, 10px / 14px = 0.714rem */
}

.field-error,
.idCode-required-error {
    margin-top: 4px;
    font-size: 0.875rem;
    color: #d32f2f;
}

.hidden {
    display: none;
}

input.input-error {
    border-color: #d32f2f;
}
