```css
* {
  box-sizing: border-box;
}

:root {
  --navy: #102a43;
  --navy-dark: #0b1f33;
  --navy-soft: #eaf1f7;

  --yellow: #ffd12f;
  --yellow-dark: #f4bf00;

  --text: #111827;
  --muted: #667085;
  --line: #e7e9ed;
  --soft: #f5f6f8;
  --white: #fff;

  --border: #d9e0e7;
}

/* =========================================================
   GLOBAL
========================================================= */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
               BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.login-page {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, #f6f8fa, #edf2f6);
  color: var(--text);
}

body.login-page .login-wrapper {
  width: 100%;
  max-width: 1040px;
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(16, 42, 67, 0.15);
}
.logout-success {
    margin-bottom: 18px;
    padding: 13px 16px;
    border: 1px solid #b7dfc8;
    border-radius: 9px;
    background: #effaf3;
    color: #176b45;
    font-size: 14px;
    font-weight: 600;
}

.account-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.register-button-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 44px;
    padding: 0 20px;
    border: 1px solid var(--navy);
    border-radius: 8px;
    background: #fff;
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.15s ease;
}

.register-button-top:hover {
    background: var(--navy-soft);
    transform: translateY(-1px);
}
.forgot-password {
    display: block;
    margin-top: 16px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}


/* =========================================================
   AUCTION PAGE
========================================================= */

.page {
  width: min(1500px, calc(100% - 40px));
  margin: 10px auto 50px;
}


/* =========================================================
   ACCOUNT BAR
========================================================= */
 .top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo img {
    display: block;
    max-width: 220px;
    max-height: 60px;
    width: auto;
    height: auto;
}

.account-bar {
    display: flex;
    align-items: center;
} 

.login-button-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.15s ease;
}

.login-button-top:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.user-info strong {
  color: var(--navy);
  font-size: 14px;
}

.user-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy-soft);
  color: var(--navy);
  font-size: 16px;
}

.logout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.15s ease;
}

.logout-button:hover {
  border-color: var(--navy);
  background: var(--navy-soft);
}

.tabs {
    width: 100%;
}

.tabs-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    border-bottom: 1px solid #ddd;
}

.tab-button {
    border: 0;
    background: #f3f3f3;
    padding: 15px 25px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.tab-button:hover {
    background: #e8e8e8;
}

.tab-button.active {
    background: #222;
    color: #fff;
}

.tabs-content {
    padding: 30px 0;
}

.tab-content {
    display: none;
    opacity: 0;
}
.tab-content a {
    color: #000;
}

.tab-content.active {
    display: block;
    animation: tabFade 0.3s ease forwards;
}

@keyframes tabFade {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.responsywny-box {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
.responsywny-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* =========================================================
   ADMIN PANEL
   ========================================================= */

body.admin-page {
    margin: 0;
    min-height: 100vh;
    background: #f4f6f8;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

.admin-container {
    width: 100%;
    min-height: 100vh;
}

/* HEADER */

.admin-header {
    min-height: 74px;
    padding: 0 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;

    background: #ffffff;
    border-bottom: 1px solid var(--line);
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.admin-brand a {
    color: var(--navy);
    font-size: 21px;
    font-weight: 800;
    letter-spacing: .02em;
    text-decoration: none;
}

.admin-brand span {
    padding-left: 18px;
    border-left: 1px solid var(--line);

    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
}

.admin-account {
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-user {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}

.admin-user strong {
    color: var(--navy);
    font-size: 14px;
}

.admin-user span {
    color: var(--muted);
    font-size: 12px;
}

.admin-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;
    padding: 0 15px;

    border: 1px solid var(--border);
    border-radius: 7px;

    background: #ffffff;
    color: var(--navy);

    font-size: 13px;
    font-weight: 700;
    text-decoration: none;

    transition: all .15s ease;
}

.admin-logout:hover {
    background: var(--navy-soft);
    border-color: #c9d4df;
}

/* CONTENT */

.admin-content {
    width: calc(100% - 84px);
    max-width: 1380px;
    margin: 0 auto;
    padding: 42px 0 70px;
    box-sizing: border-box;
}

/* TITLE */

.admin-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 26px;
}

.admin-title h1 {
    margin: 0;

    color: var(--navy);
    font-size: 29px;
    line-height: 1.2;
    font-weight: 800;
}

.admin-title p {
    margin: 8px 0 0;

    color: var(--muted);
    font-size: 14px;
}

.admin-counter {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 44px;
    height: 44px;
    padding: 0 12px;

    box-sizing: border-box;

    border-radius: 50%;
    background: var(--yellow);

    color: var(--navy-dark);
    font-size: 15px;
    font-weight: 800;

    box-shadow: 0 3px 10px rgba(16, 42, 67, .08);
}

/* ALERTS */

.admin-success,
.admin-error {
    display: flex;
    align-items: center;

    margin-bottom: 20px;
    padding: 13px 16px;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;
}

.admin-success {
    border: 1px solid #b7dfc8;
    background: #effaf3;
    color: #176b45;
}

.admin-error {
    border: 1px solid #f0c3c3;
    background: #fff4f4;
    color: #a32929;
}

/* CARD */

.admin-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--line);
    border-radius: 12px;

    box-shadow:
        0 4px 18px rgba(16, 42, 67, .035);
}

.admin-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 23px 28px;

    border-bottom: 1px solid var(--line);
}

.admin-card-header h2 {
    margin: 0;

    color: var(--navy);
    font-size: 17px;
    font-weight: 800;
}

.admin-card-header p {
    margin: 6px 0 0;

    color: var(--muted);
    font-size: 13px;
}

/* TABLE */

.admin-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.admin-table th {
    padding: 13px 28px;

    background: #fafbfc;

    border-bottom: 1px solid var(--line);

    color: #7a8694;

    font-size: 10px;
    font-weight: 800;
    text-align: left;

    text-transform: uppercase;
    letter-spacing: .07em;
    white-space: nowrap;
}

.admin-table td {
    padding: 17px 28px;

    border-bottom: 1px solid #edf0f2;

    color: #344054;

    font-size: 14px;
    vertical-align: middle;
}

.admin-table tbody tr {
    transition: background .12s ease;
}

.admin-table tbody tr:hover {
    background: #fbfcfd;
}

.admin-table tbody tr:last-child td {
    border-bottom: 0;
}

/* USER */

.admin-user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-avatar {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;
    flex: 0 0 38px;

    border-radius: 50%;

    background: var(--navy-soft);
    color: var(--navy);

    font-size: 13px;
    font-weight: 800;
}

.admin-user-cell strong {
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
}

/* ACTION */

.admin-action {
    width: 130px;

    text-align: right !important;
}

.admin-action form {
    margin: 0;
}

.admin-activate {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;
    padding: 0 15px;

    border: 0;
    border-radius: 7px;

    background: var(--navy);
    color: #ffffff;

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition: all .15s ease;
}

.admin-activate:hover {
    background: var(--navy-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(16, 42, 67, .15);
}

.admin-activate:active {
    transform: translateY(0);
}

/* EMPTY */

.admin-empty {
    padding: 72px 30px;

    text-align: center;
}

.admin-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;
    margin: 0 auto 18px;

    border-radius: 50%;

    background: #effaf3;
    color: #176b45;

    font-size: 21px;
    font-weight: 800;
}

.admin-empty h3 {
    margin: 0;

    color: var(--navy);
    font-size: 17px;
    font-weight: 800;
}

.admin-empty p {
    margin: 7px 0 0;

    color: var(--muted);
    font-size: 13px;
}

/* MOBILE */

@media (max-width: 800px) {

    .admin-header {
        min-height: auto;
        padding: 18px 20px;

        align-items: flex-start;
        gap: 18px;

        flex-direction: column;
    }

    .admin-account {
        width: 100%;

        justify-content: space-between;
    }

    .admin-user {
        align-items: flex-start;
    }

    .admin-content {
        width: calc(100% - 40px);
        padding: 28px 0 50px;
    }

    .admin-title h1 {
        font-size: 25px;
    }

    .admin-table th,
    .admin-table td {
        padding: 14px 16px;
    }
}

@media (max-width: 520px) {

    .admin-brand {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .admin-brand span {
        padding-left: 0;
        border-left: 0;
    }

    .admin-account {
        align-items: center;
    }

    .admin-title {
        align-items: flex-start;
    }

    .admin-counter {
        min-width: 38px;
        height: 38px;
    }

    .admin-card-header {
        padding: 20px;
    }
    
}




/* =========================================================
   AUCTION TOP
========================================================= */

.auction-top {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(470px, 1fr);
  gap: 32px;
  align-items: start;
}
  ```css
/* =========================================================
   ADMIN - EDYCJA AUKCJI
   ========================================================= */

.admin-auction-page {
    background: #f5f6f8;
}

.admin-page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.admin-title {
    margin: 0;
}

.admin-description {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.admin-back {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--navy);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 22px;
    transition: .2s ease;
}

.admin-back:hover {
    background: var(--navy-soft);
    border-color: var(--navy);
}

.admin-form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
}

.admin-form-card-header {
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.admin-form-card-header h2 {
    margin: 0;
    color: var(--navy);
    font-size: 18px;
}

.admin-form-card-header p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: 24px;
}

.admin-form-group {
    min-width: 0;
}

.admin-form-full {
    grid-column: 1 / -1;
}

.admin-form-group label {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

.admin-form-group label span {
    color: #d92d20;
}

.admin-form-group label small {
    color: var(--muted);
    font-weight: 500;
    margin-left: 3px;
}

.admin-form-group input,
.admin-form-group textarea,
.admin-form-group select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.admin-form-group input,
.admin-form-group select {
    height: 46px;
    padding: 0 13px;
}

.admin-form-group textarea {
    padding: 13px;
    resize: vertical;
    min-height: 150px;
    line-height: 1.55;
}

.admin-form-group input:focus,
.admin-form-group textarea:focus,
.admin-form-group select:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(16, 42, 67, .08);
}

.admin-form-group input::placeholder,
.admin-form-group textarea::placeholder {
    color: #98a2b3;
}

.admin-input-suffix {
    position: relative;
}

.admin-input-suffix input {
    padding-right: 45px;
}

.admin-input-suffix span {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 13px;
    pointer-events: none;
}

.admin-readonly-card {
    background: #fafbfc;
}

.admin-auction-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.admin-stat {
    padding: 22px 24px;
    border-right: 1px solid var(--line);
}

.admin-stat:last-child {
    border-right: 0;
}

.admin-stat-label {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.admin-stat strong {
    color: var(--navy);
    font-size: 17px;
}

.admin-form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    padding-bottom: 40px;
}

.admin-form-cancel,
.admin-form-save {
    min-height: 46px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: .2s ease;
}

.admin-form-cancel {
    color: var(--navy);
    background: #fff;
    border: 1px solid var(--border);
}

.admin-form-cancel:hover {
    background: var(--navy-soft);
    border-color: var(--navy);
}

.admin-form-save {
    color: var(--navy-dark);
    background: var(--yellow);
    border: 1px solid var(--yellow);
    box-shadow: 0 3px 8px rgba(16, 42, 67, .08);
}

.admin-form-save:hover {
    background: var(--yellow-dark);
    border-color: var(--yellow-dark);
    transform: translateY(-1px);
}

.admin-error ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

@media (max-width: 700px) {

    .admin-form-grid {
        grid-template-columns: 1fr;
        padding: 18px;
        gap: 17px;
    }

    .admin-form-full {
        grid-column: auto;
    }

    .admin-form-card-header {
        padding: 18px;
    }

    .admin-auction-stats {
        grid-template-columns: 1fr;
    }

    .admin-stat {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .admin-stat:last-child {
        border-bottom: 0;
    }

    .admin-form-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .admin-form-cancel,
    .admin-form-save {
        width: 100%;
    }

    .admin-page-heading {
        align-items: flex-start;
    }

}


/* =========================================================
   GALLERY
========================================================= */

.gallery {
  min-width: 0;
}

.main-photo {
  position: relative;
  height: 470px;
  overflow: hidden;
  border-radius: 10px;
  background: #eee;
}

.main-photo > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.94);
  color: #18202c;
  font-size: 38px;
  line-height: 1;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.gallery-arrow.prev {
  left: 16px;
}

.gallery-arrow.next {
  right: 16px;
}

.photo-count {
  position: absolute;
  right: 14px;
  bottom: 12px;
  padding: 5px 9px;
  border-radius: 7px;
  color: white;
  background: rgba(0, 0, 0, 0.62);
  font-size: 14px;
  font-weight: 700;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.thumb {
  position: relative;
  height: 100px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 9px;
  overflow: hidden;
  background: #eee;
}

.thumb.active {
  border-color: var(--navy);
}

.thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.thumb.more::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
}

.thumb.more span {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}


/* =========================================================
   AUCTION PANEL
========================================================= */

.auction-panel {
  position: relative;
  padding: 8px 0 0;
}

.auction-panel::before {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin-bottom: 12px;
  border-radius: 5px;
  background: var(--navy);
}

.favorite {
  position: absolute;
  top: 0;
  right: 0;
  width: 49px;
  height: 49px;
  border: 0;
  border-radius: 50%;
  background: #f1f3f5;
  color: #17202d;
  font-size: 33px;
  line-height: 1;
}

.badge {
  display: inline-block;
  padding: 7px 13px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

h1 {
  margin: 12px 70px 3px 0;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.subtitle {
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
  color: #263142;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 23px 0 25px;
  color: #4c5667;
  font-size: 15px;
}


/* =========================================================
   COUNTDOWN
========================================================= */

.countdown {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 17px 20px;
  border-radius: 10px;
  background: #eef4f8;
  border-left: 4px solid var(--navy);
}

.clock {
  color: var(--navy);
  font-size: 42px;
}

.countdown small,
.current-price small {
  display: block;
  font-size: 15px;
}

.countdown strong {
  display: block;
  margin: 2px 0;
  font-size: 27px;
}

.countdown span {
  color: #687282;
  font-size: 14px;
}


/* =========================================================
   CURRENT PRICE
========================================================= */

.current-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 15px 17px;
  border-radius: 10px;
  background: var(--soft);
  border-left: 4px solid var(--navy);
}

.current-price strong {
  display: block;
  margin-top: 2px;
  font-size: 36px;
  line-height: 1.1;
}

.current-price > span {
  color: #586273;
  font-size: 15px;
}

.current-price b {
  color: #111827;
}


/* =========================================================
   BID FORM
========================================================= */

.bid-form {
  margin-top: 17px;
}

.bid-form label {
  display: block;
  margin-bottom: 7px;
  font-size: 16px;
  font-weight: 600;
}

.bid-row {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 10px;
}

.bid-row input {
  min-width: 0;
  height: 54px;
  padding: 0 15px;
  border: 1px solid #d6dbe2;
  border-radius: 9px;
  outline: none;
  font-size: 16px;
}

.bid-row input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(16, 42, 67, 0.14);
}

.bid-row button {
  height: 54px;
  border: 0;
  border-radius: 9px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  transition: transform 0.15s, background 0.15s;
}

.bid-row button:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
}

.bid-form.disabled {
  opacity: 0.65;
}

.bid-form button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.minimum {
  display: block;
  margin-top: 7px;
  color: #596475;
  font-size: 13px;
}

.bid-message {
  margin-top: 10px;
  min-height: 20px;
  font-size: 14px;
}

.bid-message.success {
  color: #176b45;
}

.bid-message.error {
  color: #b42318;
}


/* =========================================================
   TRUST
========================================================= */

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 22px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.trust div {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: #283342;
  font-size: 13px;
  line-height: 1.35;
}

.trust b {
  color: var(--navy);
  font-size: 22px;
}


/* =========================================================
   DETAILS
========================================================= */

.details {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 1fr);
  gap: 70px;
  margin-top: 55px;
  padding: 30px 4px 0;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 14px;
  font-size: 27px;
  letter-spacing: -0.025em;
}

.description p {
  margin: 0 0 18px;
  color: #273140;
  font-size: 17px;
  line-height: 1.65;
}


/* =========================================================
   QUESTION BOX
========================================================= */

.question-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
  padding: 20px 25px;
  border-radius: 10px;
  background: #f6f7f9;
}

.question-icon {
  font-size: 30px;
}

.question-box strong,
.question-box span {
  display: block;
}

.question-box span {
  margin-top: 3px;
  color: #657083;
  font-size: 14px;
}

.question-box button {
  padding: 12px 18px;
  border: 1px solid #d9dee5;
  border-radius: 9px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
}

.question-box button:hover {
  border-color: var(--navy);
  background: var(--navy-soft);
}


/* =========================================================
   SPECIFICATION
========================================================= */

.spec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 38px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: #5c6676;
  font-size: 15px;
}

.spec b {
  color: #222b38;
  font-weight: 500;
}


/* =========================================================
   LOGIN PAGE
========================================================= */

/*
   login.php powinien mieć:
   <body class="login-page">
*/

body.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, #f6f8fa, #edf2f6);
  color: var(--text);
}


/* =========================================================
   LOGIN WRAPPER
========================================================= */

.login-wrapper {
  width: 100%;
  max-width: 1040px;
  min-height: 620px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(16, 42, 67, 0.15);
  margin: 50px auto;
}


/* =========================================================
   LOGIN VISUAL
========================================================= */

.login-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      rgba(11, 31, 51, 0.9),
      rgba(16, 42, 67, 0.65)
    ),
    url("auction-image.png") center / cover no-repeat;
}

.login-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(5, 18, 30, 0.85),
      rgba(5, 18, 30, 0.1) 65%,
      transparent
    );
}

.visual-content {
  position: absolute;
  z-index: 2;
  left: 42px;
  right: 42px;
  bottom: 42px;
  color: #fff;
}

.visual-label {
  display: inline-flex;
  padding: 7px 12px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 700;
}

.visual-content h1 {
  margin: 0 0 12px;
  font-size: 38px;
  line-height: 1.08;
}

.visual-content p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.6;
}


/* =========================================================
   LOGIN PANEL
========================================================= */

.login-panel {
  display: flex;
  align-items: center;
  padding: 55px;
}

.login-content {
  width: 100%;
  max-width: 410px;
  margin: auto;
}

.brand {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 24px;
}

.login-content h2 {
  margin: 0 0 8px;
  font-size: 32px;
  letter-spacing: -0.03em;
}

.intro {
  margin: 0 0 30px;
  color: var(--muted);
  line-height: 1.5;
}


/* =========================================================
   LOGIN FORM
========================================================= */

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

.login-content label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 700;
}

.login-content input {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 9px;
  outline: none;
  font-size: 15px;
}

.login-content input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(16, 42, 67, 0.12);
}

.login-button {
  width: 100%;
  height: 53px;
  margin-top: 4px;
  border: 0;
  border-radius: 9px;
  background: var(--navy);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.15s ease;
}

.login-button:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
}


/* =========================================================
   LOGIN ERROR
========================================================= */

.error {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid #f1b8b4;
  border-radius: 9px;
  background: #fff3f2;
  color: #b42318;
  font-size: 14px;
}


/* =========================================================
   DEMO ACCOUNT
========================================================= */

.demo {
  margin-top: 24px;
  padding: 15px;
  border-radius: 10px;
  background: var(--navy-soft);
  color: #415164;
  font-size: 13px;
  line-height: 1.6;
}

.demo strong {
  color: var(--navy);
}


/* =========================================================
   BACK TO AUCTION
========================================================= */

.back {
  display: inline-block;
  margin-top: 25px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.back:hover {
  text-decoration: underline;
}


/* =========================================================
   RESPONSIVE — AUCTION
========================================================= */

@media (max-width: 1100px) {

  .auction-top {
    grid-template-columns: 1fr;
  }

  .auction-panel {
    padding-top: 0;
  }

  .main-photo {
    height: 500px;
  }

  .details {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


/* =========================================================
   RESPONSIVE — LOGIN
========================================================= */

@media (max-width: 800px) {

  body.login-page {
    padding: 12px;
  }

  .login-wrapper {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .login-visual {
    min-height: 280px;
  }

  .visual-content {
    left: 28px;
    right: 28px;
    bottom: 28px;
  }

  .visual-content h1 {
    font-size: 28px;
  }

  .login-panel {
    padding: 35px 25px;
  }
}


/* =========================================================
   RESPONSIVE — SMALL SCREENS
========================================================= */

@media (max-width: 700px) {

  .page {
    width: min(100% - 20px, 1500px);
    margin-top: 5px;
  }

  .main-photo {
    height: 300px;
    border-radius: 8px;
  }

  .thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .thumb {
    height: 72px;
  }

  .thumb:nth-child(n + 5) {
    display: none;
  }

  h1 {
    font-size: 31px;
  }

  .subtitle {
    font-size: 17px;
  }

  .meta {
    gap: 10px 18px;
  }

  .countdown strong {
    font-size: 22px;
  }

  .current-price strong {
    font-size: 30px;
  }

  .bid-row {
    grid-template-columns: 1fr;
  }

  .trust {
    grid-template-columns: repeat(2, 1fr);
  }

  .question-box {
    grid-template-columns: auto 1fr;
  }

  .question-box button {
    grid-column: 1 / -1;
  }

  .details {
    margin-top: 35px;
    padding-top: 25px;
  }

  .account-bar {
    min-height: 48px;
  }

  .user-info {
    margin-right: 8px;
  }

  .login-button-top {
    min-width: 120px;
    height: 42px;
    padding: 0 15px;
  }

}

@media (max-width: 400px) {
  .top-bar {
  display: block;
  }
  
}