@import url('https://fonts.googleapis.com/css2?family=Recursive:wght@400;500;600;700;800;900&display=swap');

html {
    scroll-behavior: smooth;
}

*{ padding:0; margin: 0; box-sizing: border-box; }

body{ font-family: 'Recursive', sans-serif; overflow-x: hidden; }

.container{position: relative; max-height: none; width: 100%; background-color: #131414;
    background-image: linear-gradient(135deg, #131414 0%, #000000
    100%); transform-style: preserve-3d; overflow: visible;
}

.navbar{ position: fixed; top: 0; left: 0; width: 100%; z-index: 10000;
    height: 5rem;
}

.menu{ max-width: 72rem; width: 100%; height: 100%; margin: 0 auto;
    padding: 0 2rem; display: flex; justify-content: space-between;
    align-items: center; color: #fff; z-index: 20;
}

.menu.active {
  transform: translateX(0);
}

.menu-right {
    display: flex;
    align-items: center;
    gap: 15px;
  }

.logo{
    font-size: 1.8rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 2px; line-height: 4rem; margin-top: 20px;
}

.login a {
    padding: 8px 15px;
    background-color: #ff6f61; 
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }
  
  .login a:hover {
    background-color: #ff3b2e;
  }

  .register a {
    padding: 8px 15px;
    background-color: #72ca6e; 
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }
  
  .register a:hover {
    background-color: #1cbd13;
  }

.logo span{ font-size: 1.8rem; margin-left: 5px; color: #160ca5fb; }

.hamburger-menu
{ 
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    top: 0;
    flex-direction: column;
    transform: translateY(-2px);
    height: 40px;
    z-index: 20000;
}

.bar{ width: 1.9rem; height: 1.5px; border-radius: 2px;
    background-color: #eee; transition: 0.5s; position: relative; }

.bar::before, .bar::after{ content: ""; position: absolute;
    width: inherit; height: inherit; background-color: #eee;
    transition: 0.5s; }

.bar::before{ transform: translateY(-9px); }

.bar::after{ transform: translateY(9px); }

.main-container{ overflow: visible; transform: none; }

.main{ position: relative; width: 100%; left: 0; z-index: 5;
    overflow: visible; transform-origin: left; 
    transform-style: preserve-3d; transition: 0.5s;
}
main{
  position: relative;
  }

header {
  padding-top: 100px;
  min-height: auto;
  width: 100%;
  /* background: url("https://i.postimg.cc/0Q09GwLQ/image.jpg") no-repeat top center / cover; */
  position: relative;
}

.overlay {
  position: relative; /* zamiast absolute */
  height: auto; /* usuń height 100% */
  padding: 2rem 1rem; /* dodaj padding dla przestrzeni wewnątrz */
  background-color: rgba(0, 0, 0, 0.7); /* półprzezroczyste tło */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* ew. center, ale może flex-start lepiej */
  color: white;
  box-sizing: border-box;
}

.inner{ max-width: 35rem; text-align: center; color: #fff;
    padding: 0 2rem;
}

.title { 
  margin: 0 0 0.5rem 0;
  font-size: 3rem;
  text-align: center;
 }

.description{ margin: 10px 0; text-align: center; width: 50%;
    font-size: 1.5rem;
}

.btn {
  margin-top: 1rem;
  padding: 0.6rem 1.8rem;
  background-color: #e20f2f;
  border: none;
  border-radius: 25px;
  color: #fff;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: #b30c26;
  transform: scale(1.03);  
}

.container.active .bar{ transform: rotate(360deg);
    background-color: transparent;
}

.container.active .bar::before{ 
    transform: translateY(0) rotate(45deg);
}

.container.active .bar::after{
    transform: translateY(0) rotate(-45deg);
}

.container.active .main{
    animation: main-animation 0.5s ease; cursor: pointer;
    transform: perspective(1300px) rotateY(20deg) translateY(10px) 
                translateZ(310px) scale(0.5);
}

/* .container.active .main, */
.container.active .shadow {
  pointer-events: none;
}

@keyframes main-animation{
    from{ transform: translate(0); }
    to{
        transform: perspective(1300px) rotateY(20deg) translateY(10px) 
                    translateZ(310px) scale(0.5);
    }
}

.links
{
    display: none;
    position: absolute;
    width: 30%;
    right: 0;
    top: 70px; 
    height: auto;
    z-index: 1000;
    overflow: hidden;
    justify-content: flex-start;
    align-items: center;
    margin-left: 10px;
}

.container.active .links {
  display: flex; /* pokazane po aktywacji */
}

ul{ list-style: none; }

ul li.active a{ color: #e20f2f; }

.links a{ text-decoration: none; color: #eee; padding: 0.7rem 0;
    display: inline-block; font-size: 1.8rem; font-weight: 300;
    text-transform: uppercase; letter-spacing: 1px; transition: 0.3s;
    opacity: 0; transform: translateY(10px);
    animation: hide 0.5s forwards ease;
}

.links a:hover{ color: #e20f2f; }

.container.active .links a{ 
    animation: appear 0.5s forwards ease var(--i);
}

@keyframes appear{
    from { opacity: 0; transform: translateY(20px); }
    to{ opacity: 1; transform: translateY(0); }
}

@keyframes hide{
    from { opacity: 1; transform: translateY(0px); }
    to{ opacity: 0; transform: translateY(10px); }
}

.shadow{ position: absolute; width: 100%; height: 100vh; top: 0;
    left: 0; transform-style: preserve-3d; transform-origin:left;
    transition: 0.5s; background-color: #fff; }

.shadow.one{ z-index: -1; opacity: 0.15; }

.shadow.two{ z-index: -2; opacity: 0.1; }

.container.active .shadow.one{
    animation: shadow-one 0.6s ease-out;
    transform: perspective(1300px) rotateY(20deg) translateY(10px) 
                translateZ(215px) scale(0.5);
}

@keyframes shadow-one{
    0%{
        transform: translate(0);
    }
    5%{
        transform: perspective(1300px) rotateY(20deg) translateY(10px) 
                    translateZ(310px) scale(0.5);
    }
    100%{
        transform: perspective(1300px) rotateY(20deg) translateY(10px) 
                    translateZ(215px) scale(0.5);
    }
}

@keyframes shadow-two{
    0%{
        transform: translate(0);
    }
    20%{
        transform: perspective(1300px) rotateY(20deg) translateY(10px) 
                    translateZ(310px) scale(0.5);
    }
    100%{
        transform: perspective(1300px) rotateY(20deg) translateY(10px) 
                    translateZ(120px) scale(0.5);
    }
}

.container.active .main:hover + .shadow.one{
    transform: perspective(1300px) rotateY(20deg) translateY(10px) 
                translateZ(230px) scale(0.5);
}
.container.active .main:hover{
    transform: perspective(1300px) rotateY(20deg) translateY(10px) 
                translateZ(340px) scale(0.5);
}
          
.no-js .links {
  display: none; /* jeśli JS nie działa, menu jest ukryte */
}

.js .links {
  display: none; /* domyślnie ukryte */
}

.container.active .links {
  display: flex; /* pokazane po kliknięciu */
}

.user-info-panel {
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 100;
  max-width: 400px;
  margin-left: 1rem;

}

.user-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 11000;
}

.user-info-panel.active {
  transform: translateX(0);
}

.user-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ikonka widoczna tylko na mobile */
.user-toggle {
  display: block;
}


@media (min-width: 768px) {
  .user-info-panel {
    position: static;
    width: auto;
    max-width: none;
    height: auto;
    transform: none;
    box-shadow: none;
  }
  .user-overlay {
    display: none;
  }

  .user-toggle {
    display: none;
  }
}




.user-info-panel .greetings {
  margin: 0;
  line-height: 1.4;
}

.user-info-panel strong {
  color: #18a0fb;
}

.logout-form {
  margin: 0;
}

.btn-logout {
  background-color: #ff4d4d;
  border: none;
  color: white;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-logout:hover {
  background-color: #cc0000;
}

/* Na telefonach - pionowo i 100% szerokości */
@media (max-width: 600px) {
  .user-info-panel {
    flex-direction: column;
    align-items: flex-start;
    max-width: 90%;
    right: 0.5rem;
    left: 0.5rem;
  }

  .btn-logout {
    width: 100%;
    text-align: center;
  }

  .auth-panel {
  padding: 1.5rem;
  width: 90%;
}

.auth-title {
  font-size: 1.8rem;
}

}

.auth-title {
  color: #fff;
  text-align: center;
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.auth-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 1.5rem 1.5rem;
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.auth-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.auth-btn {
  text-align: center;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s ease;
  color: white;
}

.login-btn {
  background-color: #ff6f61;
}

.login-btn:hover {
  background-color: #e84336;
}

.register-btn {
  background-color: #4caf50;
}

.register-btn:hover {
  background-color: #43a047;
}

.logout-form {
  width: 100%;
  text-align: center;
}

.logout-form .btn-logout {
  width: 100%;
}

.auth-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 4rem;               
  padding-left: 1rem;
  padding-right: 1rem;
}

.back-link {
  align-self: flex-start;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #18a0fb;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(24, 160, 251, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 1px solid rgba(24, 160, 251, 0.4);
}

.back-link:hover {
  background-color: #18a0fb;
  color: #fff;
  border-color: #18a0fb;
}

.search-form {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  width: 100%;
  max-width: 500px;
}

.shop-search-wrapper {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0; /* marginesy góra/dół */
}

.shop-search-input {
  width: 300px;
  color: #fff !important;
  background-color: #131414 !important;
  border: 2px solid rgb(37, 199, 224);
  border-radius: 25px 0 0 25px;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  outline: none;
  box-shadow: 0 0 5px rgba(37, 199, 224, 0.7);
  transition: border-color 0.3s ease;
}

.shop-search-input::placeholder {
  color: #bbb;
}

.shop-search-input:focus {
  border-color: #18a0fb;
  box-shadow: 0 0 8px #18a0fb;
}

.shops-list-button {
  color: rgb(37, 199, 224);
  background: transparent;
  border: 2px solid rgb(37, 199, 224);
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 1rem;
}

.shops-list-button:hover {
  background-color: rgb(37, 199, 224);
  color: white;
  transform: scale(1.05);
}

#search-input {
  width: 100%;
  padding: 0.8rem 1.2rem;
  border-radius: 25px;
  border: none;
  outline: none;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#search-input::placeholder {
  color: #ccc;
}

.search-results {
  position: absolute;
  top: 120%;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.95);
  border-radius: 12px;
  padding: 1rem;
  display: none;
  z-index: 50;
  max-height: 300px;
  overflow-y: auto;
}

.search-results ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.search-results li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 500;
}

.search-container {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.category-panel {
  display: none;
  position: absolute;
  background: #1a1a1a;
  padding: 15px;
  border-radius: 5px;
  top: 100%;
  left: 0;
  z-index: 1000;
  color: white;
}

.category-panel.visible {
  display: block;
}

.main-category {
  margin-bottom: 10px;
}

.subcategory-list {
  list-style: none;
  padding-left: 15px;
}

.subcategory-list li a {
  color: #ddd;
  text-decoration: none;
}

.subcategory-list li a:hover {
  text-decoration: underline;
}

/* Styl dla kontenera rozwijanego z kategoriami */
.category-dropdown {
  position: static; /* naturalny flow */
  display: none;   /* domyślnie ukryte */
  background-color: #222;
  padding: 1rem;
  margin-top: 0.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  color: white;
  max-height: 400px;
  overflow-y: auto; /* przewijanie, jeśli dużo kategorii */
}

.category-dropdown.active {
  display: block;
}

.category-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

#category-toggle {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  text-decoration: none;
  color: rgb(37, 199, 224);
  background-color: transparent;
  border: 2px solid rgb(37, 199, 224);
  cursor: pointer;
  transition: all 0.3s ease;
}

#category-toggle:hover {
  background-color: rgb(37, 199, 224);
  color: white;
  transform: scale(1.05);
}

/* Dashboard css */

admin-buttons {
    margin: 20px 0;
  }
  .btn-dashboard {
    display: inline-block;
    margin-right: 10px;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
  }
  .btn-dashboard:hover {
    background-color: #0056b3;
  }

  /* Styl dla nagłówka i linków */
h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #333;
  font-weight: 700;
}

a {
  color: #007bff;
  text-decoration: none;
  margin-right: 15px;
  font-weight: 600;
  transition: color 0.3s ease;
}

a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Styl tabeli */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

thead {
  background-color: #007bff;
  color: white;
}

thead th {
  padding: 12px 15px;
  text-align: left;
  font-weight: 600;
}

tbody tr {
  border-bottom: 1px solid #ddd;
  transition: background-color 0.2s ease;
}

tbody tr:hover {
  background-color: #f1f7ff;
}

tbody td {
  padding: 12px 15px;
  vertical-align: middle;
  color: #444;
}

/* Styl dla kolumny akcji (form i linki) */
td form {
  display: flex;
  align-items: center;
  gap: 10px;
}

td form button {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

td form button:hover {
  background-color: #b02a37;
}

td form a {
  color: #28a745;
  font-weight: 600;
}

td form a:hover {
  text-decoration: underline;
}

/* Link na dole strony */
a[href="/admin/dashboard"] {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: #007bff;
}

a[href="/admin/dashboard"]:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Sekcja o nas i jak to działa */
.info-section {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 2rem;
  margin: 3rem auto;
  max-width: 900px;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.info-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #18a0fb;
  letter-spacing: 1px;
}

.info-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #2a2626;
  max-width: 800px;
  margin: 0 auto;
}

.info-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.steps-section {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 2rem;
  margin: 3rem auto;
  max-width: 900px;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.steps-section h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: #18a0fb;
  margin-bottom: 2rem;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-number {
  flex-shrink: 0;
  background-color: #18a0fb;
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #2a2626;
}

/* Responsywność */
@media (max-width: 600px) {
  .steps-container {
    gap: 1rem;
  }
  .step-text {
    font-size: 1rem;
  }
}

/* Sekcja kontaktu */
#contact-section {
  max-width: 600px;
  margin: 4rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

#contact-section h1 {
  text-align: center;
  color: #e20f2f;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  text-transform: uppercase;
}

#contact-section form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

#contact-section label {
  font-weight: bold;
  color: #333;
  margin-bottom: 0.3rem;
  display: block;
}

#contact-section input,
#contact-section textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  resize: none;
}

#contact-section input:focus,
#contact-section textarea:focus {
  border-color: #e20f2f;
  outline: none;
  box-shadow: 0 0 5px rgba(226, 15, 47, 0.3);
}

#contact-section button {
  background-color: #e20f2f;
  color: #fff;
  padding: 0.8rem 1.8rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#contact-section button:hover {
  background-color: #c20d28;
}


.form-feedback {
    background-color: #e6ffed;
    border: 2px solid #38a169;
    color: #2f855a;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
}

@media (max-width: 600px) {
  /* Menu - przełącz na kolumnę, schowaj menu po prawej, pokaż hamburger */
  .menu {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    height: 4rem;
  }

  .menu-right {
   display: flex; 
    justify-content: flex-end;
    align-items: center;
  }

  .links {
    position: fixed;
    top: 4rem;
    right: 0;
    width: 70vw;
    height: calc(100vh - 5rem);
    background-color: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    padding: 2rem 1rem;
    border-radius: 0 0 0 10px;
    box-shadow: -2px 0 12px rgba(0,0,0,0.7);
    display: none;
    z-index: 11000;
    overflow-y: auto;
  }

  .hamburger-menu {
    display: flex;
    cursor: pointer;
    z-index: 11000;
  }

  /* Logo mniejsze i z mniejszym marginesem */
  .logo {
    font-size: 1rem;
    margin-top: 10px;
    line-height: 1.5rem;
  }

  /* Linki w menu hamburgera wyświetlone pionowo */
  .container.active .links {
    display: flex;
  }

  .links a {
    font-size: 1.4rem;
    padding: 1rem 0;
    color: white;
    opacity: 1 !important; /* na wszelki wypadek */
    transform: none !important;
    animation: none !important;
  }

  /* Przyciski logowania / rejestracji mniejsze i szerokości 100% */
  .login a, .register a {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
    width: 100%;
    text-align: center;
  }
/* Nagłówki w nagłówku i sekcjach mniejsze */
  .title {
    font-size: 2rem;
  }

  .description {
    width: 90%;
    font-size: 1.2rem;
  }

  /* Formularz kontaktowy - mniejsze paddingi i rozciągnięty na szerokość */
  #contact-section {
    max-width: 90%;
    margin: 2rem auto;
    padding: 1.2rem;
  }

  #contact-section input,
  #contact-section textarea {
    font-size: 1rem;
    padding: 0.6rem 1rem;
  }

  #contact-section button {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    width: 100%;
  }

  /* Kontenery info i steps lekko węższe i z mniejszym paddingiem */
  .info-section, .steps-section {
    max-width: 95%;
    padding: 1rem 1rem;
  }

  .steps-container {
    gap: 1rem;
    flex-direction: column;
  }

  /* Step text mniejsze */
  .step-text {
    font-size: 1rem;
  }

  /* User info panel ustawiona na kolumnę i mniejsza szerokość */
  .user-info-panel {
    flex-direction: column;
    align-items: flex-start;
    max-width: 90%;
    right: 0.5rem;
    left: 0.5rem;
  }

  .btn-logout {
    width: 100%;
    text-align: center;
  }

  /* Elementy nawigacyjne typu linki na dole też ułożone pionowo */
  a[href="/admin/dashboard"] {
    display: block;
    margin-top: 1rem;
    font-size: 1.1rem;
  }
 .user-info-panel {
      display: flex;
    flex-direction: row;      /* w jednej linii */
    align-items: center;
    justify-content: flex-end;
    font-size: 10px;          /* zmniejszona czcionka */
    padding: 2px 6px;         /* mniejszy padding */
    gap: 5px;
    max-width: 50%;  
  }

  .user-info-panel .greetings {
    font-size: 9px;       /* jeszcze mniejszy tekst powitalny */
    line-height: 1.2;
  }

  .user-info-panel strong {
    font-size: 10px;
  }

  .user-info-panel .logout {
    margin: 0px;
  }

  .user-info-panel .btn-logout {
    font-size: 12px;
    padding: 2px 6px;
  }
}




