/* Ekran kosztu punktu (KosztyDodajUserView) - wartości 1:1 z return-form-v1.css / sale-form-v1.css */

.mytheme .cost-form-view {
  box-sizing: border-box;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 22px 34px;
}

.mytheme .cost-page-header {
  box-sizing: border-box;
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid #ead8b8;
  border-radius: 12px;
  background: linear-gradient(115deg, #fff7e8, #fffdf8 58%, #fff);
}

.mytheme .v-label.cost-page-title {
  color: #282828;
  font-size: 27px !important;
  font-weight: 700;
  line-height: 1.25;
}

.mytheme .v-label.cost-page-subtitle {
  margin-top: 4px;
  color: #666;
  font-size: 13px;
}

.mytheme .cost-workspace,
.mytheme .cost-form-column {
  width: 100%;
}

.mytheme .cost-form-column > .v-spacing {
  height: 14px;
}

.mytheme .v-panel.cost-step-card,
.mytheme .v-panel.cost-summary-card {
  overflow: hidden;
  border: 1px solid #dedede;
  border-top: 2px solid rgba(213, 155, 53, 0.62);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.mytheme .v-panel.cost-step-card > .v-panel-content,
.mytheme .v-panel.cost-summary-card > .v-panel-content {
  border: 0;
  background: transparent;
}

.mytheme .cost-step-card .v-margin-top {
  padding-top: 17px;
}

.mytheme .cost-step-card .v-margin-right {
  padding-right: 19px;
}

.mytheme .cost-step-card .v-margin-bottom {
  padding-bottom: 19px;
}

.mytheme .cost-step-card .v-margin-left {
  padding-left: 19px;
}

.mytheme .cost-step-header {
  box-sizing: border-box;
  padding-bottom: 13px;
  border-bottom: 1px solid #e8e8e8;
}

.mytheme .v-label.cost-step-number {
  box-sizing: border-box;
  width: 34px !important;
  height: 34px;
  padding-top: 6px;
  border-radius: 50%;
  background: #d59b35;
  color: #17130c;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 0 0 4px rgba(213, 155, 53, 0.12);
}

.mytheme .v-label.cost-step-title,
.mytheme .v-label.cost-summary-title {
  color: #303030;
  font-size: 18px !important;
  font-weight: 700;
  line-height: 1.3;
}

.mytheme .v-label.cost-step-description {
  margin-top: 2px;
  color: #6e6e6e;
  font-size: 12px;
}

.mytheme .cost-select-row .v-filterselect {
  min-width: 0;
}

.mytheme .cost-select-row .v-caption {
  color: #555;
  font-size: 12px;
  font-weight: 600;
}

/* kwota - wyróżniona jak "Cena sprzedaży" w sprzedaży */
.mytheme .v-textfield.cost-amount-field {
  border-color: #d59b35;
  background: #fffaf0;
  font-weight: 700;
}

/* "Faktura w KSeF" - checkbox w ramce, jak sale-info-toggle */
.mytheme .v-checkbox.cost-ksef-toggle {
  box-sizing: border-box;
  min-width: 180px;
  padding: 8px 12px;
  border: 1px solid #d8d8d8;
  border-radius: 7px;
  background: #fafafa;
}

:root .mytheme .v-checkbox.cost-ksef-toggle {
  padding-left: 12px;
}

.mytheme .v-checkbox.cost-ksef-toggle > label {
  position: relative;
  padding-left: 29px;
}

.mytheme .v-label.cost-field-help {
  color: #666;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
  white-space: normal;
}

.mytheme .cost-actions {
  box-sizing: border-box;
  padding-top: 2px;
}

.mytheme .cost-actions .v-button {
  height: 46px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
}

/* panel podsumowania */
.mytheme .v-panel.cost-summary-card {
  position: sticky;
  top: 14px;
}

.mytheme .v-label.cost-summary-eyebrow {
  color: #b87c19;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.mytheme .v-label.cost-summary-amount {
  color: #7a2e2e;
  font-size: 28px !important;
  font-weight: 700;
  line-height: 1.2;
}

.mytheme .v-label.cost-summary-details {
  box-sizing: border-box;
  padding: 13px 14px;
  border-left: 3px solid #d59b35;
  border-radius: 5px;
  background: #fff8ec;
  color: #3d3d3d;
  font-size: 12px;
  line-height: 1.45;
  white-space: normal;
}

.mytheme .cost-summary-details b {
  color: #323232;
}

.mytheme .cost-summary-details .cost-summary-missing {
  color: #9a9a9a;
}

.mytheme .v-label.cost-help-title {
  margin-top: 6px;
  padding-top: 15px;
  border-top: 1px solid #e4e4e4;
  color: #3f3f3f;
  font-size: 14px;
  font-weight: 700;
}

.mytheme .v-label.cost-context-help {
  color: #666;
  font-size: 12px;
  line-height: 1.55;
  white-space: normal;
}

.mytheme .cost-context-help p {
  margin: 0 0 12px;
}

.mytheme .cost-context-help p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1240px) {
  .mytheme .cost-form-view {
    padding-right: 14px;
    padding-left: 14px;
  }

  .mytheme .cost-workspace {
    display: block;
  }

  .mytheme .cost-workspace > .v-expand > .v-slot,
  .mytheme .cost-workspace > .v-slot {
    display: block;
    width: 100% !important;
    margin-bottom: 14px;
  }

  .mytheme .v-panel.cost-summary-card {
    position: static;
    width: 100% !important;
  }
}
