/* =========================
   IFC ORDER PAGE STYLING
   GFX DESIGN LOOK
========================= */

#ifc-order-app {
  max-width: 1400px;
  margin: 40px auto;
  padding: 30px;
  background: #111;
  border: 1px solid #222;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  color: #fff;
  font-family: Arial, sans-serif;
}

#ifc-order-app h2,
#ifc-order-app h3 {
  color: #ff2b2b;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

#ifc-order-app label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ddd;
}

#ifc-order-app select,
#ifc-order-app input[type="number"],
#ifc-order-app textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #333;
  border-radius: 10px;
  background: #1a1a1a;
  color: #fff;
  font-size: 15px;
  transition: all 0.2s ease;
}

#ifc-order-app select:focus,
#ifc-order-app input[type="number"]:focus,
#ifc-order-app textarea:focus {
  border-color: #ff2b2b;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 43, 43, 0.15);
}

#ifc-order-app table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 25px;
  background: #181818;
  border-radius: 14px;
  overflow: hidden;
}

#ifc-order-app thead th {
  background: #1f1f1f;
  color: #fff;
  padding: 16px 12px;
  font-size: 15px;
  text-transform: uppercase;
  border-bottom: 1px solid #2a2a2a;
}

#ifc-order-app tbody td {
  padding: 14px 12px;
  border-bottom: 1px solid #262626;
  color: #f2f2f2;
  vertical-align: middle;
}

#ifc-order-app tbody tr:hover {
  background: rgba(255,255,255,0.03);
}

#ifc-order-app tbody td:first-child {
  font-weight: 600;
  color: #fff;
}

#ifc-order-app .qty-input {
  width: 90px;
  max-width: 100%;
  text-align: center;
  font-weight: 700;
  background: #101010;
  border: 1px solid #444;
}

#ifc-order-app .qty-input:focus {
  border-color: #ff2b2b;
}

#ifc-order-app .ifc-total-bar {
  margin-top: 25px;
  padding: 18px 24px;
  background: linear-gradient(135deg, #1a1a1a, #101010);
  border: 1px solid #2c2c2c;
  border-radius: 14px;
  text-align: right;
  font-size: 28px;
  font-weight: 800;
  color: #ff2b2b;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

#ifc-order-app .ifc-submit-wrap {
  margin-top: 28px;
}

#ifc-order-app button,
#ifc-order-app .ifc-btn {
  display: inline-block;
  padding: 14px 26px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff2b2b, #c40000);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 10px 30px rgba(255,43,43,0.25);
}

#ifc-order-app button:hover,
#ifc-order-app .ifc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(255,43,43,0.35);
}

#ifc-order-app button:active,
#ifc-order-app .ifc-btn:active {
  transform: translateY(0);
}

#ifc-order-app #orderOutput {
  margin-top: 35px;
}

#ifc-order-app #orderSummaryText {
  min-height: 300px;
  resize: vertical;
  font-family: Consolas, monospace;
  font-size: 14px;
  line-height: 1.6;
  background: #121212;
  border: 1px solid #2d2d2d;
}

#ifc-order-app .ifc-section {
  margin-bottom: 30px;
}

#ifc-order-app .ifc-card {
  background: #151515;
  border: 1px solid #252525;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

#ifc-order-app .ifc-muted {
  color: #aaa;
  font-size: 14px;
}

#ifc-order-app .ifc-brand-select {
  max-width: 420px;
}

#ifc-order-app .ifc-table-wrap {
  overflow-x: auto;
  margin-top: 20px;
}

#ifc-order-app .ifc-summary-title {
  margin-top: 10px;
  margin-bottom: 15px;
}

/* Highlight rows with entered quantities */
#ifc-order-app tr.ifc-has-order {
  background: rgba(255, 43, 43, 0.08) !important;
}

/* Mobile */
@media (max-width: 768px) {
  #ifc-order-app {
    padding: 20px 16px;
    border-radius: 12px;
  }

  #ifc-order-app table {
    min-width: 700px;
  }

  #ifc-order-app .ifc-total-bar {
    font-size: 22px;
    text-align: center;
  }

  #ifc-order-app button,
  #ifc-order-app .ifc-btn {
    width: 100%;
    text-align: center;
  }
}