.reader-header > a {
    display: flex !important;
    align-items: center;
    min-height: 46px;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}

.reader-header-body {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    min-height: 32px;
    line-height: 16px;
    text-align: left;
}

.reader-header-line {
    display: block;
    white-space: nowrap;
}

.reader-header-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    border-radius: 50%;
    vertical-align: middle;
    background: #bbb;
}

.reader-header-dot-green {
    background: #26a69a;
}

.reader-header-dot-yellow {
    background: #f2b70a;
}

.reader-header-dot-red {
    background: #e7505a;
}

.reader-header-dot-blue {
    background: #3598dc;
    animation: reader-header-pulse 1.2s ease-in-out infinite;
}

@keyframes reader-header-pulse {
    50% {
        opacity: .35;
    }
}

.reader-header-progress {
    display: flex !important;
    align-items: center;
}

.reader-header-bar {
    flex: 1 1 auto;
    height: 4px;
    border-radius: 2px;
    overflow: hidden;
    background: rgba(127, 127, 127, .35);
}

.reader-header-bar > span {
    display: block;
    height: 100%;
    background: #26a69a;
}

.reader-header-percent {
    flex: 0 0 auto;
    min-width: 34px;
    margin-left: 6px;
    text-align: right;
}

.reader-widget-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10060;
    background: rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center;
}

.reader-widget-dialog {
    background: #fff;
    border-radius: 4px;
    padding: 25px 30px;
    width: 380px;
    max-width: 92%;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .3);
}

.reader-widget-dialog .reader-card-prompt {
    padding: 0;
}

.reader-card-prompt {
    text-align: center;
    padding: 20px 15px 30px;
}

.reader-card-prompt h3 {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.reader-card-prompt p {
    margin-bottom: 0;
    color: #888;
}

.reader-card-prompt-alert {
    display: inline-block;
    max-width: 520px;
    margin-bottom: 20px;
    text-align: left;
}

.reader-pin-form {
    margin-top: 25px;
}

.reader-pin-actions {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.reader-pin-actions .btn {
    margin: 0;
}

.reader-pin-actions .btn + .btn {
    margin-left: 8px;
}

.reader-pin-field + .reader-pin-field {
    margin-top: 22px;
}

.reader-pin-caption {
    display: block;
    margin-bottom: 8px;
    color: #888;
    font-weight: 400;
}

.reader-pin-input {
    font-family: monospace;
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: .6ch;
    width: calc(1.6ch * 4);
    display: block;
    margin: 0 auto;
    padding: 0 0 4px;
    border: none;
    outline: none;
    box-shadow: none;
    color: #555;
    background: repeating-linear-gradient(90deg, #b3b3b3 0, #b3b3b3 1ch, transparent 0, transparent 1.6ch) 0 100%/100% 2px no-repeat;
}

.reader-pin-input-puk {
    width: calc(1.6ch * 8);
}

.reader-page {
    position: relative;
}

.reader-page .btn-block {
    margin-top: 10px;
}

.reader-page-lock {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .75);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 15px 0;
}

.reader-page-lock-card {
    width: 460px;
    max-width: 100%;
    background: #fff;
    border-radius: 4px;
    padding: 25px 30px;
    box-shadow: 0 3px 18px rgba(0, 0, 0, .25);
}

.reader-page-lock-card h4 {
    margin-top: 0;
}

.reader-page .progress {
    height: 14px;
    margin-bottom: 15px;
}

.reader-help .portlet-body > :last-child {
    margin-bottom: 0;
}

.reader-progress-value {
    margin-bottom: 6px;
    font-size: 18px;
    font-weight: 600;
    color: #26a69a;
}

.reader-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 15px;
}

.reader-layout-logo {
    margin-bottom: 25px;
}

.reader-layout-logo img {
    max-height: 60px;
    max-width: 220px;
}

.reader-layout-copyright {
    margin-top: auto;
    padding-top: 25px;
    color: #999;
    font-size: 12px;
}

.reader-connect-page {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 0;
}

.reader-connect-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 4px;
    padding: 30px;
    box-shadow: 0 2px 18px rgba(0, 0, 0, .25);
    color: #333;
}

.reader-connect-card h3 {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 400;
    color: #333;
}

.reader-connect-card p {
    color: #666;
}

.reader-connect-card .form-actions {
    margin-top: 20px;
    padding: 0;
    background: none;
    border: none;
}

.reader-connect-user {
    padding: 10px 0;
    border-top: 1px solid #eee;
}

.reader-connect-user + .reader-connect-user {
    border-top: none;
}

.reader-connect-user-role {
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.reader-connect-user-company {
    margin: 10px 0 0;
    color: #888;
}

.reader-connect-choice {
    white-space: normal;
    word-break: break-word;
}

.reader-connect-card .reader-connect-hint {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.5;
    color: #888;
}

.reader-connect-spinner {
    text-align: center;
    padding: 10px 0;
    color: #26a69a;
}

.reader-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10040;
    background: rgba(0, 0, 0, .45);
    overflow-y: auto;
}

.reader-settings {
    width: 520px;
    max-width: 92%;
    margin: 60px auto;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .3);
}

.reader-settings .modal-header {
    padding: 15px 20px;
}

.reader-settings .modal-body {
    padding: 20px;
}

.reader-settings .modal-footer {
    margin-top: 0;
    padding: 15px 20px;
}

.reader-settings .modal-footer .btn {
    margin-right: 0;
}

.reader-settings .modal-footer .btn + .btn {
    margin-left: 8px;
}

.reader-settings-section {
    margin-top: 25px;
}

.reader-settings-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 12px;
}

.reader-settings-section-head h4 {
    margin: 0;
}

.reader-settings-status {
    margin-bottom: 12px;
}

.reader-settings .radio-list label {
    display: block;
    margin-bottom: 8px;
}

.reader-settings .checkbox {
    padding-left: 20px;
}

.reader-help-steps {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #eee;
}

.reader-help-steps h5 {
    margin: 0 0 8px;
    font-weight: 600;
}

.reader-path-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
}

.reader-path-row .form-control {
    font-family: Consolas, "Courier New", monospace;
    background: #f7f7f7;
}

.reader-path-row .btn {
    white-space: nowrap;
}

.reader-help-list {
    padding-left: 20px;
    margin-bottom: 12px;
}

.reader-help-list li {
    margin-bottom: 6px;
}

.reader-help-list kbd {
    padding: 2px 6px;
    font-size: 12px;
}

.reader-help-note {
    color: #888;
    font-size: 12px;
    margin-bottom: 0;
}

.reader-help-phone {
    float: left;
    line-height: 34px;
    color: #666;
}

.reader-help-button {
    margin-top: 14px;
    background: #fff;
    color: #26a69a;
    border: 1px solid #26a69a;
    font-weight: 600;
}

.reader-help-button:hover,
.reader-help-button:focus,
.reader-help-button:active {
    background: #26a69a;
    color: #fff;
    border-color: #26a69a;
}
