
.wpesti-wraper {
  background: #ffffff;
  padding: 28px 24px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  width: calc(100% - 20px);
  margin: 20px 0; 
  margin-right: 20px;
  font-family: "Inter", "Segoe UI", sans-serif;
  box-sizing: border-box;
  overflow-x: hidden;  
}

/* Nagłówek */
.wpesti-wraper h1 {
  margin-bottom: 24px;
  margin-top: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e1e1e;
  text-align: left;
}

/* Formularz */
.wpesti-wraper form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 100%; /* ograniczenie szerokości formularza */
}

.wpesti-wraper p{
  margin: 0px;
}


 

/* Pola input */
.wpesti-wraper .input--txt {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #d9d9d9;
  border-radius: 12px; 
  font-size: 14px;
  line-height: 18px; 
  background-color: #fff;
  color: #333; 
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.wpesti-wraper .input--txt::placeholder {
  color: #aaa;
}

.wpesti-wraper .input--txt:focus {
  border: 1.5px solid #d9d9d9!important;
  box-shadow: none!important;
  outline: none!important; 
}

.wpesti-wraper .input--txt[disabled] {
  background-color: #f4f4f4;
  color: #777;
  cursor: not-allowed;
}
 
/* Przycisk */
.wpesti-wraper button {
  margin-top: 6px;
  display: inline-block;       /* dopasowanie do treści */
  align-self: flex-start;      /* przy lewej krawędzi formularza */
  background-color: #764fff;   /* intensywny fiolet */
  color: #fff;
  border: none; 
  border-radius: 12px;
  padding: 11px 15px;          /* szerszy padding, nie na całą szerokość */
  font-size: 14px;
  line-height: 18px; 
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

/* hover - zmiana koloru */
.wpesti-wraper button:hover {
  background-color: #653eee;
}  
 
/* active - ciemniejszy odcień */
.wpesti-wraper button:active {
  background-color: #653eee;
}

.wpesti-wraper button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
 
.wpesti-notice{
    margin-left: 0px;
    margin-top: 20px;
    margin-right: 20px;
}

.wpesti-wraper select {
  width: 100%;
  padding: 12px 16px; 
  border: 1.5px solid #d9d9d9;
  border-radius: 12px;
  font-size: 14px;
  line-height: 18px;
  color: #333;
  background-color: #fff;
  appearance: none; /* usuwa domyślny styl przeglądarki */
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer; 
  box-shadow: none!important;
  outline: none!important;  
  position: relative;
  left: -3px;
  top: -1px;
}

.wpesti-wraper select:hover{
  color: #333; 
}

 
/* placeholder-like dla select (jeśli masz option z disabled i value="") */
.wpesti-wraper select option {
  box-shadow: none!important;
  outline: none!important;  
  border: none!important;    
}

/* focus */
.wpesti-wraper select:focus { 
  border: 1.5px solid #d9d9d9; 
  background-color: #fff;
  box-shadow: none!important;
  outline: none!important;  
}

/* disabled */
.wpesti-wraper select[disabled] {
  background-color: #fff;
  color: #777;
  cursor: not-allowed; 
}

/* dodatkowo: mała strzałka po prawej (opcjonalnie) */
.wpesti-wraper select {
  background-position: right 12px center;
} 


.wpesti-wraper input[type="checkbox"],
.wpesti-wraper input[type="radio"] {
  outline: none !important;
  box-shadow: none !important;
  border: 1.5px solid #d9d9d9!important;
}

.wpesti-wraper input[type="checkbox"]:focus,
.wpesti-wraper input[type="radio"]:focus {
  outline: none !important;
  box-shadow: none !important;
  border: 1.5px solid #d9d9d9!important; 
} 


.wpesti-wraper input[type=checkbox]:checked::before {
  content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M14.83 4.89l1.34.94-5.81 8.38H9.02L5.78 9.67l1.34-1.25 2.57 2.4z' fill='%23000'/></svg>");
  margin: -.1875rem 0 0 -.25rem;
  height: 1.3125rem;
  width: 1.3125rem;
}

.wpesti-wraper a{
  color: #764fff;
} 
 

.wpesti-waiting-message {
  margin-top: 20px;
  font-size: 14px;
  font-weight: 500;
  align-items: center;
  gap: 8px;
  color: #444444;
  display: flex; 
}
 
.wpesti-waiting-counter {
  margin-top: 5px;
  font-size: 13px;
  font-weight: 500;
  align-items: center;
  gap: 4px;
  color: #444444;
}


.wpesti__list { 
  width: 100%;
  flex-direction: column;
  margin-bottom: 0;
  gap: 5px;
  display: none;
}
 
.wpesti__item {
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  gap: 30px;
  background-color: #fff;
  padding: 10px 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  margin-bottom: 0;
}

.wpesti__item-cnt {
  width: 5%;
  min-width: -moz-fit-content;
  min-width: fit-content;
  font-weight: bold;
}

.wpesti__item-name {
  width: 55%;
  font-weight: bold;
}

.wpesti__item-type {
  width: 20%;
}

.wpesti__item-status {
  width: 20%;
}

.wpesti__item.item-1, .wpesti__item.item-2, .wpesti__item.item-3, .wpesti__item.item-4, .wpesti__item.item-5, .wpesti__item.item-6, .wpesti__item.item-7 {
  margin-top: -5px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.wpesti__item.first {
  font-weight: bold;
  border: none;
  background-color: transparent;
  margin-bottom: -5px;
}


.spinner-item {
  width: 20px; 
  height: 20px;
  border: 3px solid #cecece;
  border-top: 3px solid #3e3e3e;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: inline-block; 
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
} 
