/* ============================
   TRACK PAGE LAYOUT
============================ */

.track-order-page {
    display: flex;
    justify-content: center;
    padding: 40px 15px;
    background: #f8fafc;
}

.track-container {
    width: 100%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ============================
   HEADINGS
============================ */

.track-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
}

.order-id {
    text-align: center;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 10px;
}

.section-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* ============================
   DRIVER CARD
============================ */

.driver-card {
    background: linear-gradient(135deg, #e0e7ff, #f8fafc);
    padding: 22px;
    border-radius: 18px;
    border: 1px solid #dbeafe;
    text-align: center;
}

.driver-avatar-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.driver-img,
.driver-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.driver-placeholder {
    background: #e5e7eb;
    font-size: 12px;
    color: #64748b;
}

.driver-info h3 {
    font-size: 16px;
}

.driver-info a {
    display: inline-block;
    margin-top: 6px;
    font-size: 14px;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

/* ============================
   TRACK CARDS
============================ */

.track-card {
    background: white;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.items-list {
    padding-left: 18px;
    margin: 6px 0 10px;
}

\items-list li
    font-size: 13px;
    color: #334155;


/* ============================
   PROGRESS BAR
============================ */

.progress-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    width: 25%;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    transition: width 0.4s ease;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #64748b;
}

/* ============================
   STATUS GUIDE
============================ */

.status-guide {
    text-align: left;
}

.status-row {
    margin-top: 12px;
}

.status-row strong {
    display: block;
    font-size: 14px;
    color: #0f172a;
}

.status-row span {
    font-size: 13px;
    color: #475569;
}

.status-note {
    margin-top: 14px;
    padding: 12px;
    background: #f1f5f9;
    border-left: 4px solid #3b82f6;
    font-size: 13px;
}

/* ================ General Reset & Layout ================ */
.driver-profile-container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 0 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

form {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

input[type="text"],
input[type="tel"],
input[type="file"] {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1.2rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="file"]:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

input[type="file"] {
  padding: 0.5rem;
}

button[type="submit"] {
  background: #007bff;
  color: white;
  border: none;
  padding: 0.9rem 1.8rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

button[type="submit"]:hover {
  background: #0056b3;
  transform: translateY(-1px);
}

button[type="submit"]:active {
  transform: translateY(0);
}

hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 2.5rem 0;
}

/* ================ Driver Card Preview ================ */
.driver-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.driver-card:hover {
  transform: translateY(-5px);
}

.section-title {
  margin-top: 0;
  color: #2c3e50;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.driver-avatar-wrapper {
  margin-bottom: 1.5rem;
}

.driver-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.driver-placeholder {
  width: 150px;
  height: 150px;
  background: #dee2e6;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #6c757d;
  border: 5px solid white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.driver-info h3 {
  margin: 0.5rem 0;
  font-size: 1.6rem;
  color: #212529;
}

.driver-info p {
  margin: 0;
  color: #495057;
  font-size: 1.1rem;
  font-weight: 500;
}

/* ============================
   PROGRESS SYSTEM
============================ */

.progress-wrapper{
    margin-top:14px;
}

.progress-bar{
    height:8px;
    background:#e5e7eb;
    border-radius:6px;
    overflow:hidden;
}

.progress-fill{
    height:100%;
    background:#3b82f6;
    transition:width 0.6s ease;
}

.progress-labels{
    display:flex;
    justify-content:space-between;
    font-size:11px;
    margin-top:8px;
    color:#64748b;
}

.progress-labels span.active{
    font-weight:700;
    color:#3b82f6;
}



/* Drivers Wallet */
.wallet-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    font-family: sans-serif;
}

.wallet-container h2, .wallet-container h3 {
    color: #333;
    margin-bottom: 15px;
}

.wallet-container p {
    font-size: 18px;
    margin-bottom: 20px;
}

.wallet-container form input[type="number"] {
    padding: 10px;
    width: 100%;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

.wallet-container form button {
    padding: 12px;
    width: 100%;
    background-color: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.wallet-container form button:hover {
    background-color: #2563eb;
}

.transaction-list {
    list-style: none;
    padding-left: 0;
}

.transaction-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}


.wallet-summary {
    border-left: 4px solid #f39c12;
}

.balance-highlight {
    font-size: 1.4em;
    margin: 15px 0;
    text-align: center;
}

.balance-amount {
    color: #27ae60;
    font-weight: bold;
    font-size: 1.6em;
}

.transaction-list.compact li {
    font-size: 0.9em;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.view-full-wallet {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #3498db;
    font-weight: bold;
}


.step" id="step1 h3 {text-align: center;}
.step" id="step1 p {text-align: center;}
.step" id="step1 h4 {text-align: center;}
