/* ===========================
   DASHBOARD LAYOUT
=========================== */

.dashboard-page{
    background:rgba(0, 0, 255, 0.05);
    padding:35px 15px;
    display:flex;
    justify-content:center;
}
.dashboard-page h2, h3{
          justify-content:center;
}

.dashboard-container{
    width:100%;
    max-width:820px;
}


.dashboard-container h2{
    text-align:center;
    margin-bottom:8px;
    color: black;
}

.dash-subtitle{
    text-align:center;
    color:black;
    margin-bottom:18px;
    font-size:14px;
}

.dashboard-container p{
    text-align:center;
    font-size:14px;
}

/* ===========================
   SUMMARY STATS
=========================== */

.summary-stats{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
    margin:25px 0;
}

.stat-box{
    background:white;
    padding:18px 26px;
    border-radius:14px;
    text-align:center;
    min-width:160px;
    box-shadow:0 3px 10px rgba(0,0,0,0.06);
}

.stat-box h4{
    font-size:14px;
    margin-bottom:6px;
    color:#374151;
}

.stat-number{
    font-size:1.9rem;
    font-weight:700;
    color:#3b82f6;
}

/* ===========================
   DASH CARDS
=========================== */

.dash-card{
    background:white;
    padding:22px;
    border-radius:16px;
    box-shadow:0 3px 12px rgba(0,0,0,0.08);
    margin-bottom:22px;
}

/* ===========================
   CURRENT ORDER
=========================== */

.order-status-box{
    background:#eef3ff;
    padding:16px;
    border-radius:12px;
    text-align:left;
}

.order-status-box p{
    font-size:14px;
    margin:6px 0;
}

.order-status-box ul{
    padding-left:18px;
    margin-top:6px;
}

.order-status-box li{
    font-size:14px;
    margin:4px 0;
}

/* ===========================
   PROGRESS TRACKER
=========================== */

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

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

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

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

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

/* ===========================
   BUTTONS
=========================== */

.btn-primary{
    display:block;
    width:100%;
    text-align:center;
    margin-top:16px;
    padding:12px;
    background:#3b82f6;
    color:white;
    border-radius:10px;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

.btn-primary:hover{
    background:#1e40af;
}

.btn-reorder{
    display:inline-block;
    margin-top:8px;
    background:#8b5cf6;
    color:white;
    padding:8px 14px;
    border-radius:8px;
    text-decoration:none;
    font-size:13px;
    transition:0.3s;
}

.btn-reorder:hover{
    opacity:0.85;
}

/* ===========================
   HISTORY
=========================== */

.history-item{
    background:#eef3ff;
    padding:14px;
    border-radius:12px;
    margin-bottom:12px;
    box-shadow:0 2px 6px rgba(0,0,0,0.05);
}

.history-item p{
    font-size:13px;
}

/* ===========================
   QUICK ACTIONS
=========================== */

.quick-actions{
    display:flex;
    gap:12px;
    justify-content:center;
    flex-wrap:wrap;
    margin:28px 0 10px;
}

.qa-btn{
    padding:12px 22px;
    border-radius:10px;
    text-decoration:none;
    color:white;
    font-weight:600;
    font-size:14px;
    transition:0.3s;
}

.qa-btn.blue{background:#3b82f6}
.qa-btn.green{background:#10b981}
.qa-btn.red{background:#ef4444}

.qa-btn:hover{
    transform:translateY(-2px);
    opacity:0.95;
}

/* ===========================
   MOBILE
=========================== */

@media(max-width:600px){
    .summary-stats{
        flex-direction:column;
        align-items:center;
    }

    .stat-box{
        width:100%;
    }

    .quick-actions{
        flex-direction:column;
    }

    .qa-btn{
        width:100%;
        text-align:center;
    }
}

/* =============================
   DRIVER DASHBOARD STYLESHEET
   ============================= */

.dashboard-page{
    min-height:100vh;
    background:;
    padding:30px 15px;
    font-family:'Segoe UI',Arial,sans-serif;
}

.dashboard-container{
    max-width:1100px;
    margin:0 auto;
}

h2,h3,h4,p{
    color:black;
    margin-bottom:10px;
}
h2,h3,h4{
     justify-content: center;

}
.dash-subtitle{
    color:black;
    margin-bottom:25px;
}


.dash-card{
    background:#ffffff;
    border-radius:16px;
    padding:20px;
    margin-bottom:20px;
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
    animation:fadeIn 0.6s ease;
}

.dash-card complete{
       background:rgba(0, 0, 255, 0.05);
       color: black;

       }

@keyframes fadeIn{
    from{opacity:0;transform:translateY(10px)}
    to{opacity:1;transform:translateY(0)}
}


/* =============================
   AVAILABILITY
   ============================= */

.availability-row{
    display:flex;
    align-items:center;
    gap:15px;
    flex-wrap:wrap;
}

.online-text{color:#2ecc71;}
.offline-text{color:#e74c3c;}

.switch{
    position:relative;
    display:inline-block;
    width:50px;
    height:26px;
}

.switch input{display:none;}

.slider{
    position:absolute;
    cursor:pointer;
    top:0;left:0;right:0;bottom:0;
    background:#ccc;
    transition:0.4s;
    border-radius:34px;
}

.slider:before{
    position:absolute;
    content:"";
    height:20px;width:20px;
    left:3px;bottom:3px;
    background:white;
    transition:0.4s;
    border-radius:50%;
}

input:checked + .slider{background:#2ecc71;}
input:checked + .slider:before{transform:translateX(24px);}

/* =============================
   STATS
   ============================= */

.stats-row{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:15px;
    margin-bottom:20px;
}

.stat-card{
    background:rgba(0, 0, 255, 0.05);
    color:black;
    padding:20px;
    border-radius:14px;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,0.2);
}

.stat-number{
    font-size:2rem;
    font-weight:700;
    margin-top:8px;
}

/* Full Page Centering */
.wallet-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.03); /* subtle overlay */
    padding: 20px;
}

/* Main Card */
.wallet-card {
    width: 100%;
    max-width: 600px;
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Title */
.wallet-title {
    text-align: center;
    margin-bottom: 20px;
}

/* Balance */
.wallet-balance {
    text-align: center;
    margin-bottom: 30px;
}

.wallet-balance span {
    font-size: 14px;
    color: #777;
}

.wallet-balance h1 {
    font-size: 40px;
    color: #007bff; /* keeps your natural blue theme */
    margin: 5px 0;
}

/* Sections */
.wallet-section {
    margin-top: 25px;
}

/* Button */
.wallet-btn {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.wallet-btn:hover {
    background: #0056b3;
}

/* Transactions */
.transaction-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.transaction-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.transaction-info strong {
    display: block;
}

.transaction-info small {
    font-size: 12px;
    color: #888;
}

.transaction-amount {
    font-weight: bold;
    color: #28a745;
}

.no-transactions {
    text-align: center;
    color: #777;
}


.quick-actions{
    display:flex;
    gap:12px;
    justify-content:center;
    flex-wrap:wrap;
    margin:28px 0 10px;
}

.qa-btn{
    padding:12px 22px;
    border-radius:10px;
    text-decoration:none;
    color:white;
    font-weight:600;
    font-size:14px;
    transition:0.3s;
}

.qa-btn.blue{background:#3b82f6}
.qa-btn.green{background:#10b981}
.qa-btn.red{background:#ef4444}

.qa-btn:hover{
    transform:translateY(-2px);
    opacity:0.95;
}

/* ===========================
   MOBILE
=========================== */

@media(max-width:600px){
    .summary-stats{
        flex-direction:column;
        align-items:center;
    }

    .stat-box{
        width:100%;
    }

    .quick-actions{
        flex-direction:column;
    }

    .qa-btn{
        width:100%;
        text-align:center;
    }
}
