/* =========================================================
   RPC Serviso forma — švari DARK versija be klaidų
   ========================================================= */

/* Tipografija ir įžanga */
.rpc-form__title {
  margin: 0 0 6px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #f6f6ff;
  font-size: 22px;
}

.rpc-form__sub {
  margin: 0 0 18px;
  color: #9aa0b3;
  font-size: 14px;
}

/* Tinklelis (layout) */
.rpc-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.rpc-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rpc-col--full {
  grid-column: 1 / -1;
}

@media (min-width: 992px) {
  .rpc-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Etiketės ir įvedimo laukai */
.rpc-label {
  color: #c9c9db;
  font-weight: 600;
  font-size: 14px;
}

.rpc-input,
.rpc-textarea {
  width: 100%;
  background: #15161b;
  color: #f6f6ff;
  border: 1px solid #2b2d3a;
  border-radius: 14px;
  padding: 14px 16px;
  line-height: 1.25;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.rpc-input::placeholder,
.rpc-textarea::placeholder {
  color: #9aa0b3;
}

.rpc-input:focus,
.rpc-textarea:focus {
  border-color: #6f57ff;
  box-shadow: 0 0 0 4px rgba(111, 87, 255, 0.2);
  outline: none;
}

.rpc-textarea {
  min-height: 180px;
  resize: vertical;
}

/* Failų įkėlimo zona */
.rpc-upload {
  position: relative;
  min-height: 170px;
  border-radius: 16px;
  border: 2px dashed #393b55;
  background: linear-gradient(180deg, #111219 0%, #0d0e13 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.rpc-upload:hover {
  border-color: #6f57ff;
}

.rpc-upload__placeholder {
  text-align: center;
  color: #9aa0b3;
  pointer-events: none;
}

.rpc-upload__placeholder strong {
  display: block;
  color: #f6f6ff;
  margin-bottom: 6px;
}

/* Tikras file input – paslėptas, bet veikia visame bloke */
.rpc-file {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  cursor: pointer;
}

/* „Drag & drop“ efektas */
.rpc-upload--drag {
  border-color: #6f57ff;
  box-shadow: 0 0 0 6px rgba(111, 87, 255, 0.2);
}

/* Pasirinktų failų sąrašas (žetonai) */
.rpc-upload__list {
  margin-top: 8px;
}

.rpc-upload__list .rpc-chip {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #1b1d2a;
  border: 1px solid #2f3144;
  color: #c9c9db;
  font-size: 13px;
  margin: 6px 6px 0 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Mygtukas */
.rpc-actions {
  margin-top: 10px;
}

.rpc-btn {
  background: #6f57ff;
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 12px 22px;
  font-weight: 800;
  letter-spacing: 0.2px;
  transition: transform 0.12s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.rpc-btn:hover {
  transform: translateY(-1px);
  background: #5a45e6;
}

@media (max-width: 576px) {
  .rpc-btn {
    width: 100%;
  }
}

/* CF7 būsenos ir klaidos */
.wpcf7-notices,
.wpcf7-response-output {
  background: #1b1010;
  color: #ffd4d4;
  border: 1px solid #4a2323;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 14px 0;
}

/* CF7 pažymėti neteisingi laukai */
.cf7-dark .wpcf7-form-control.wpcf7-not-valid {
  border-color: #ff4d4f;
  box-shadow: 0 0 0 4px rgba(255, 77, 79, 0.18);
  outline: 0;
}

/* CF7 klaidos pranešimo tekstas */
.wpcf7-not-valid-tip {
  color: #ff9b9c;
  font-size: 12px;
  margin-top: 6px;
  display: block;
}

	.wpcf7 form .hidden-fields-container {
margin: 0;
padding: 0;
height: 0;
overflow: hidden;
border: 0;
}

/* Apačios tekstas */
.rpc-legal {
  display: block;
  margin-top: 12px;
  color: #9aa0b3;
  font-size: 12px;
}

.rpc-legal a {
  color: #bdb3ff;
  text-decoration: underline;
}