body {
  margin-top: 0px;
}

.navbar-header {
  position: relative;
  top: -4px;
}

.navbar-brand > .icon-banner {
  position: relative;
  top: -2px;
  display: inline;
}

.icon {
  position: relative;
  top: -10px;
}

.logged-out iframe {
  display: none;
  width: 0;
  height: 0;
}

.page-consent .client-logo {
  float: left;
}

.page-consent .client-logo img {
  width: 80px;
  height: 80px;
}

.page-consent .consent-buttons {
  margin-top: 25px;
}

#loginbutton2WK 
{
    width:270px;
    margin-right:10px;
}
.page-consent .consent-form .consent-scopecheck {
    display: inline-block;
    margin-right: 5px;
}

.page-consent .consent-form .consent-description {
  margin-left: 25px;
}

.page-consent .consent-form .consent-description label {
  font-weight: normal;
}

.page-consent .consent-form .consent-remember {
  padding-left: 16px;
}

.grants .page-header {
  margin-bottom: 10px;
}

.grants .grant {
  margin-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid lightgray;
}

.grants .grant img {
  width: 100px;
  height: 100px;
}

.grants .grant .clientname {
  font-size: 140%;
  font-weight: bold;
}

.grants .grant .granttype {
  font-size: 120%;
  font-weight: bold;
}

.grants .grant .created {
  font-size: 120%;
  font-weight: bold;
}

.grants .grant .expires {
  font-size: 120%;
  font-weight: bold;
}

.grants .grant li {
  list-style-type: none;
  display: inline;
}

.grants .grant li:after {
  content: ", ";
}

.grants .grant li:last-child:after {
  content: "";
}

body {
  background-color: #FFF!important;
}

.onePanel {
    width: 650px !important;
}

.body-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.page-header-shared {
    border-bottom: 1px solid #d2d2d2;
    height: 66px;
    position: relative;
}

.normal-login {
}

.login-footer {
    border-top: 1px solid #d2d2d2;
    padding:5px;
}

.login-panel-header {
    text-align: center;
}

.login-panel-header-text {
    font-size: 25px;
}

.login-panel-remember {
    font-weight: bold;
    text-align: initial !important;
}

.login-container{
    display: block;
    text-align:center;
}

.page-header-left {
    cursor: pointer;
    float: left;
    margin: 0px 0px 0px 25px;
    position: absolute;
    top: 32%;
    display: flex;
}

.page-header-logo{
    height: 65px;
}

.page-header-left-arrow {
    height: 25px;
}

.page-header-left-text {
    padding-top: 2px;
    font-weight: bold;
}

.login-page {
    margin-top: 75px;
    width: 100%;
}

.register-page {
    margin: 75px 0 50px 0 !important;
}

.login-page .page-header {
  text-align: center;
  border-bottom: 0;
}

.login-page .panel {
  max-width: 900px;
  margin: auto;
  border: 1px solid #dee2e6;
  -webkit-box-shadow: 0 0.76875rem 2.4875rem rgba(52, 58, 64, 0.3), 0 1.3375rem 1.70625rem rgba(52, 58, 64, 0.3), 0 0.55rem 0.53125rem rgba(0, 0, 0, 0.05), 0 0.225rem 0.4375rem rgba(52, 58, 64, 0.3);
          box-shadow: 0 0.76875rem 2.4875rem rgba(52, 58, 64, 0.3), 0 1.3375rem 1.70625rem rgba(52, 58, 64, 0.3), 0 0.55rem 0.53125rem rgba(0, 0, 0, 0.05), 0 0.225rem 0.4375rem rgba(52, 58, 64, 0.3);
}

.login-button {
    background-color: #395F7E !important;
    margin: 0px 0px 0px 10px;
    min-width: 150px;
    float: none;
    font-weight: bold;
}

.login-actions-container {
    height: 50px
}

.login-page .panel-heading {
  padding: 10px;
  background-color: #f8f9fa;
}

.login-password-forgot {
    margin: 8px 66px 0px 0px;
    float: right;
    padding-left: 10px;
}

.login-left {
    border-right: 1px solid #d2d2d2;
    min-width: 50%
}
.login-center {
    width: 100%;
    text-align: center;
    max-width: 450px;
    min-width: 350px;
}

.right-container {
    width: 50%;
    min-width: 330px;
}

.login-right {
    margin: 39px 50px;
    border: 1px solid #d2d2d2;
    height: 60px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
}

.register-right {
    margin: 60px 50px;
    border: 0px solid #d2d2d2;
    height: 60px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
}

.right-border {
    border-bottom: 1px solid #d2d2d2
}

.register-login {
    background-color: #395F7E !important;
    margin-top: 6px;
}

.auth-login {
    background-color: #395F7E !important;
    margin: 30px;
}


.login-wk {
    width:380px;
    padding-bottom: 5px;
    border: 0px solid #d2d2d2;
}

.register-container {
    display: flex;
}

.login-text {
    margin: 16px 0px 0px 0px;
    font-size: 18px;
    font-weight: bold;
    text-align:center;
    vertical-align: top;
}
.login-text2 {
    margin: 16px 0px 0px 0px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    vertical-align: top;
    height:50px;
}
.login-text2center {
    text-align: left;
    vertical-align: top;
    padding: 13px 0px 0px 25px;
}
.login-text2bottom {
    margin: 10px 0px 0px 10px;
    font-size: 18px;
    font-weight: bold;
    text-align: left;
    vertical-align: bottom;
}
@container (min-width: 600px) {
    .login-text2bottom {
        text-align: left;
    }

    .login-text2center {
        text-align: center;
    }
}
.logoFooter {
    margin: -25px 0px 0px 0px;
    font-size: 18px;
    font-weight: bold;
    text-align: right;
    vertical-align: bottom;
    float:right;
}
.nefeni_logo {
    width:80px;
}
.border-auth {
    border-top: 1px solid #dee2e6;
}

.authorization-text{
    margin: 17px;
}

.register-text {
    font-size: 20px;
    padding-top:10px;
}

.pesel-btn-container{
    text-align: center;
}

.rejestracja-pesel {
    margin-right: 12px;
    font-weight: bold;
    float: left;
    min-width: 100px;
    width: 200px;
}

.login-page .panel-heading .panel-title {
    font-size: 20px;
    color: #495057;
}

.rejestracja-pesel-container {
    display: inline-grid;
}

.login-page .panel-body {
    padding: 0;
    container-type: inline-size;
}

.login-page .panel .fields-wrapper {
  padding: 16px;
}

.login-page .panel .fields-wrapper label {
  color: #495057;
  font-size: 14px;
  font-weight: normal;
}

.login-page .panel .fields-wrapper .form-control {
  height: 38px;
  border-color: #ced4da;
}

.login-page .panel .fields-wrapper .login-remember {
  margin-bottom: 0;
}

.login-page .form-buttons {
  margin-bottom: 0;
}

.login-page .form-buttons .btn-primary {
  background-color: #545cd8;
  width: 150px;
  font-weight:bold;
}

.logged-out {
  border-bottom: 0;
}

.logged-out h1 {
  font-size: 64px;
}

.logged-out h1 small {
  display: block;
  font-size: 24px;
  margin-top: 10px;
}

.logged-out .return-cta {
  padding: 10px 30px;
  background-color: white;
  border: 1px solid #dee2e6;
  font-size: 24px;
  margin-top: 30px;
}

.logged-out .return-cta a {
  font-weight: bold;
  text-decoration: underline;
}
/*# sourceMappingURL=site.css.map */
.rejestracja {
    padding-top: 12px;
    margin-right: 12px;
    font-weight: bold;
    float: left;
    min-width: 100px;
    width: 200px;
}

.register-btn {
    width: 200px;
    background-color: #545cd8;
    border-color: #2e6da4;
    color: #fff;
}

.register-lu {
    margin: 0 0 20px 20px;
    background-color: #6C7A06 !important;
}

.pesel-btn {
    margin-top: 15px;
}

.rules-container {
    color: #6C7A06 !important;
    font-size: 14px;
}
.a-rules {
    color: #6C7A06 !important;
}

.forgot-password-btn-container {
    text-align: center;
}

.btn-forgot-password {
    width: 125px;
}

.custom-label {
    font-weight: 100;
}

.forgot-password-body {
    width: 50%;
    margin: auto;
    margin-bottom: 20px;
    margin-top: 20px;
}

.formdod {
}

.redcol {
    font-size: 20px;
    color: red;
}

.rederr {
    color: red;
    float: left;
    width: 100%;
}

#peselBlok {
    display:none;
}

.startoff {
    display:none
}
@media (max-width: 992px) {
    .register-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .login-left,
    .right-container {
        width: 100% !important;
        max-width: 470px;
        margin: 0 0 5px 0 !important;
        border-right: 0px solid #d2d2d2;
        border-bottom: 1px solid #d2d2d2;
    }
    .right-container {
        padding-bottom: 15px !important;
        border-bottom: 0px !important;
    }
    .body-content {
        width: 605px;
    }
    .login-button {
        float: none;
    }
    .onePanel {
        width: 95% !important;
    }
    .login-text2center {
        text-align: left;
        vertical-align: top;
        padding: 0px 0px 0px 0px;
    }
    .login-password-forgot {
        margin: 1px 0px 0px 0px;
        float: right;
        padding-left: 5px;
    }
    .register-login {
        background-color: #395F7E !important;
        margin-top: 6px;
    }
    .login-text2 {
        padding-top: 0px;
    }
    .fields-wrapper {
        margin-bottom: 5px!important;
    }
    .form-group {
        margin-bottom: 2px!important;
    }
    .forgot-password-body {
        width: 80%;
    }
    .login-text2bottom {
        margin: 0px 0px 0px 0px;
    }
  }
* {
    box-sizing: border-box;
}

.alert {
    margin: 15px auto;
    max-width: 400px;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid transparent;
    margin-bottom: 20px;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.validation-summary-errors {
    margin: 0;
}

    .validation-summary-errors ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .validation-summary-errors li {
        font-size: 14px;
        line-height: 1.4;
        margin: 5px 0;
    }

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header responsywny */
.page-header-shared {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
    min-height: 60px;
}

.page-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-header-left-arrow {
    width: 20px;
    height: 20px;
}

.page-header-left-text {
    font-size: 14px;
    color: #333;
}


.page-header-logo {
    max-height: 40px;
    max-width: 120px;
    object-fit: contain;
}

/* Główny kontener logowania */
.login-page {
    padding: 20px 0;
    min-height: calc(100vh - 60px);
}

.row {
    margin: 0;
}

.panel {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 0 auto;
    max-width: 500px;
}

.panel-heading {
    background-color: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.login-panel-header-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.panel-body {
    padding: 20px;
}

/* Formularz logowania */
.login-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.login-left {
    width: 100%;
    margin-bottom: 30px;
}

.login-text {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.4;
}

.fields-wrapper {
    margin-bottom: 2px;
}

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

    .form-group label {
        display: block;
        margin-bottom: 5px;
        font-weight: 500;
        color: #333;
        font-size: 14px;
    }

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background-color: white;
}

    .form-control:focus {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
    }

    .form-control::placeholder {
        color: #999;
    }

/* Przyciski */
.login-button {
    min-width: 100px;
    padding: 10px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 15px;
}

    .login-button:hover {
        background-color: #0056b3;
    }

    .login-button:active {
        transform: translateY(1px);
    }

/* Link resetowania hasła */
.login-password-forgot {
    text-align: center;
    margin-top: 15px;
}

    .login-password-forgot a {
        color: #007bff;
        text-decoration: none;
        font-size: 14px;
    }

        .login-password-forgot a:hover {
            text-decoration: underline;
        }

/* Sekcja logowania przez gov.pl */
.login-text2 {
    font-size: 16px;
    color: #555;
    margin: 20px 0;
    text-align: center;
    padding-top: 20px;
    border-top: 0px solid #e0e0e0;
}

.login-text2center {
    text-align: center;
    margin: 20px 0;
}

.login-wk {
    max-width: 300px;
    height: auto;
    border-radius: 6px;
    transition: transform 0.2s ease;
}

    .login-wk:hover {
        transform: scale(1.05);
    }

.login-text2bottom {
    text-align: center;
    margin-top: 15px;
}

/* Footer */
.login-footer {
    background-color: #f8f9fa;
    padding: 15px 20px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.nefeni_logo {
    max-height: 30px;
    max-width: 150px;
    object-fit: contain;
}

/* Status logowania */
#InfoMiddleScreen {
    display: none;
    text-align: center;
    font-weight: bold;
    color: #007bff;
    margin: 15px 0;
    padding: 10px;
    background-color: #e7f3ff;
    border-radius: 6px;
    font-size: 14px;
}

/* Responsywność dla tabletów */
@media (min-width: 768px) {
    .container {
        padding: 0 30px;
    }

    .login-page {
        padding: 40px 0;
    }

    .panel {
        max-width: 600px;
    }

    .panel-body {
        padding: 30px;
    }

    .login-container {
        max-width: 450px;
    }

    .login-text {
        font-size: 18px;
    }

    .page-header-shared {
        padding: 15px 30px;
    }

    .page-header-logo {
        max-height: 50px;
        max-width: 150px;
    }
}

/* Responsywność dla desktopów */
@media (min-width: 1024px) {
    .login-page {
        padding: 60px 0;
    }

    .panel {
        max-width: 700px;
    }

    .panel-body {
        padding: 40px;
    }

    .login-container {
        max-width: 500px;
    }

    .form-control {
        padding: 14px 18px;
    }

    /*.login-button {
        padding: 14px 14px;
    }*/
}

/* Poprawki dla bardzo małych ekranów */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

    .panel {
        margin: 0 5px;
        border-radius: 4px;
    }

    .panel-body {
        padding: 15px;
    }

    .form-control {
        padding: 10px 12px;
        font-size: 16px; /* Zapobiega zoomowaniu na iOS */
    }

    .login-button {
        padding: 10px 10px;
    }

    .page-header-shared {
        padding: 10px;
    }

    .page-header-left-text {
        font-size: 12px;
    }
}

/* Orientacja pozioma na telefonach */
@media (max-height: 500px) and (orientation: landscape) {
    .login-page {
        padding: 10px 0;
    }

    .panel {
        margin: 10px auto;
    }

    .panel-body {
        padding: 15px;
    }

    .login-left {
        margin-bottom: 15px;
    }

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

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.input-validation-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

    .input-validation-error:focus {
        border-color: #dc3545 !important;
        box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25) !important;
    }

/* Dark mode support */
/*@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212;
        color: #ffffff;
    }

    .panel {
        background-color: #1e1e1e;
        border: 1px solid #333;
    }

    .panel-heading, .login-footer {
        background-color: #2d2d2d;
        border-color: #333;
    }

    .form-control {
        background-color: #2d2d2d;
        border-color: #555;
        color: #ffffff;
    }

        .form-control::placeholder {
            color: #aaa;
        }

    #InfoMiddleScreen {
        background-color: #1a3a52;
        color: #4dabf7;
    }

    .alert-danger {
        color: #f8d7da;
        background-color: #2d1b1d;
        border-color: #3c2528;
    }

    .input-validation-error {
        border-color: #dc3545 !important;
        background-color: #2d1b1d !important;
    }
}
*/