:root {
    --primary-color: #c8191a;
    --secondary-color:#082b4c;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f6f8fa;
  color: #082b4c;
}

.container {
  max-width: 700px;
  margin: auto;
  padding: 30px 16px;
}

header {
  text-align: center;
  margin-bottom: 30px;
}

.form-header {
  text-align: center;
  margin-bottom: 32px;
    background: #fff;
  border-radius: 8px;
  padding: 20px;
  border-radius: 10px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.brand img {
  height: 72px; /* kecil & profesional */
  width: auto;
}

.brand-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-color);
}

.form-header h1 {
  margin-top: 8px;
}

.card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
}

h1 {
  color: var(--primary-color);
  font-size: 2.5em;
  margin: 16px 0;
}

.card h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 6px;
}

.summary h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 6px;
}

h2 {
  margin-top: 0;
}

p {
  margin: 6px 0;
}


.money-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.label-text {
  flex: 1;
  font-size: 15px;
  line-height: 1.4;
}

.input-wrapper {
  position: relative;
  width: 160px;
}

.input-wrapper .currency {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #777;
  font-size: 14px;
  pointer-events: none;
}

.input-wrapper input {
  width: 100%;
  height: 38px;
  box-sizing: border-box;
  padding-left: 24px; /* space for $ */
  text-align: center;
  
}

label {
  font-size: 14px;
}

input {
  border-radius: 4px;
  padding: 8px;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 1px rgba(8, 43, 76, 0.15);
}

.total {
  margin-top: 10px;
  font-weight: bold;
}

.summary {
  background: var(--secondary-color);
  color: #ffffff;
  border-radius: 8px;
  padding: 24px;
}

.summary-list {
  margin-top: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 6px 0;
}

.summary-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
  margin: 16px 0;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
}

.grand-total {
  font-size: 28px;
  margin-top: 10px;
}

.step {
  display: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}

.step-indicator {
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

.nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

button {
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 6px;
  border: none;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}

button:disabled {
  background-color: #cfd6dc;
  color: #7a8792;
  cursor: not-allowed;
}

button:hover:not(:disabled) {
  opacity: 0.9;
}

.note {
  font-size: 14px;
  color: var(--secondary-color);
  margin-bottom: 40px;
}

.step-warning {
  background: rgba(200, 25, 26, 0.08); /* soft red */
  color: var(--primary-color);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  margin-top: 14px;
  text-align: center;
  display: none;
}

.sticky-total {
  position: sticky;
  bottom: 0;
  background: #f9fafb;
  padding: 12px 16px;
  margin-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.1);

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-weight: 600;
  color: var(--secondary-color);

  box-shadow: 0 -2px 6px rgba(0,0,0,0.05);
}

.confirmation {
  border: 2px solid rgba(8, 43, 76, 0.08);
}

.confirmation-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.confirmation-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--secondary-color);
}

.confirmation input {
  height: 40px;
  padding: 8px 12px;
  font-size: 14px;
}

.confirm-hint {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin-top: 10px;
}

.submit-btn {
  width: 100%;
  margin-top: 30px;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  background: var(--primary-color);
}

input[readonly] {
  background: #f4f6f8;
  cursor: not-allowed;
}

.form-contact {
  margin-top: 40px;
  padding: 16px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 13px;
  color: #555;
  text-align: center;
}

.form-contact strong {
  color: var(--secondary-color);
  font-weight: 600;
}

.form-contact a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 480px) {
  .input-wrapper {
    width: 100%;
    max-width: 120px;
  }

  .nav-bar {
    flex-direction: column;
    gap: 20px;
  }
}