/* base styles
================================================== */
* {
    margin: 0;
    padding: 0;
    outline: 0;
}

body,
html {
    height: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #FFFFFF;
    background-color: #000000;
}

:focus {
    outline: 0
}

img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: middle;
    border: none;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset;
}


/* typography
================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    color: #FFFFFF;
}

h1 {
    font-size: 26px;
    line-height: 32px;
}

h2 {
    font-size: 22px;
    line-height: 28px;
}

h3 {
    font-size: 18px;
    line-height: 28px;
}

h4 {
    font-size: 18px;
    line-height: 28px;
}

h5 {
    font-size: 18px;
    line-height: 28px;
}

h6 {
    font-size: 18px;
    line-height: 28px;
}

strong {
    font-weight: 700;
}

a {
    color: #FFFFFF;
    text-decoration: none;

    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
}

a:hover,
a:active,
a:focus {
    color: #FFFFFF;
    outline: 0;
    text-decoration: none;
}

p {
    color: #FFFFFF;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}


.btn {
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    border-radius: 0;
}

.btn-dark {
    background-color: #000000;
}

.btn-light {
    background-color: #FFFFFF;
}

.form-group {
    margin: 0 0 20px 0;
}

.form-control {
    font-size: 16px;
    padding: 0 15px;
    height: 45px;
    border: 0;
    border-radius: 0;
}

label {
    margin: 0 0 5px 0;
}

.heading {
    color: #FFFFFF;
    font-size: 18px;
    line-height: 22px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0 0 15px 0;
}

.starter form {
    width: 80%;
}

.register {
    padding: 30px 0;
}

.login .page-content,
.login .container,
.login .row {
    min-height: 100vh;
}

.login .login-panel {
    max-width: 360px;
    margin: 0 auto;
}

.login .vertical-center {
    min-height: 100vh;
    width: 100%;
}

.login.starter form,
.login .pin-form {
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.vertical-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: column;
}

.logo-icn {
    font-family: "Fira Sans", sans-serif;
    color: #000000;
    font-size: 60px;
    line-height: 60px;
    font-weight: 500;
    font-style: italic;
    width: 70px;
    height: 70px;
    text-align: center;
    background-color: #fff;
    margin: 0 auto 10px;
    display: table;
}

.logo {
    font-family: "Fira Sans", sans-serif;
    font-size: 50px;
    line-height: 60px;
    font-weight: 500;
    font-style: normal;
    text-align: center;
    margin: 0 0 10px 0;
}

.logo-text {
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0 30px;
    margin: 0 0 20px 0;
}

.logo-text span {
    font-size: 20px;
    letter-spacing: 3px;
}

.forgot-password-link {
    text-align: center;
    display: table;
    margin: 0 auto 10px;
}

.btn-form {
    display: block;
    margin: 30px auto 30px auto;
    width: 60%;
}

.register-link {
    text-align: center;
    display: table;
    margin: 0 auto;
}

.register-link a {
    text-decoration: underline;
}

.pin-form {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.pin-entry,
.pin-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

.pin-entry {
    font-size: 32px;
    line-height: 1;
    font-weight: 600;
    min-height: 40px;
    margin: 0 auto 12px;
    font-variant-numeric: tabular-nums;
}

.pin-dots {
    margin: 0 auto 28px;
}

.pin-slot {
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pin-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: transparent;
    transition: background 0.15s ease;
}

.pin-dot.is-filled {
    background: #ffffff;
}

.pin-pad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 280px;
    max-width: 100%;
    margin: 0 auto;
}

.pin-key {
    width: 100%;
    height: 64px;
    min-height: 64px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
    -webkit-tap-highlight-color: transparent;
}

.pin-key:active,
.pin-key.is-active {
    transform: scale(0.96);
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.pin-key-empty {
    visibility: hidden;
    pointer-events: none;
}

.pin-key-back {
    font-size: 22px;
}

.pin-error {
    text-align: center;
    color: #ff6b6b;
    margin: 0 0 15px;
    font-size: 14px;
}

@keyframes pin-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-6px); }
    80% { transform: translateX(6px); }
}

.pin-shake {
    animation: pin-shake 0.45s ease;
}
