/* =========================================================
   MyRJ Delivery System - Mobile First CSS
   ========================================================= */

/* Main Wrapper */
.myrj-driver-wrap {
    max-width: 600px;
    margin: 20px auto;
    padding: 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* Typography & Headings */
.myrj-driver-wrap h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}

.myrj-driver-wrap p {
    font-size: 15px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 10px;
}

/* Stat Cards (Deliveries & Pickups) */
.myrj-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.myrj-stat-card {
    background: #fff;
    padding: 20px 10px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.04);
    border: 1px solid #eaeaea;
}

.myrj-stat-card h2 {
    margin: 0;
    font-size: 28px;
    color: #2271b1;
}

/* Task List Items */
.myrj-task-item {
    background: #fff;
    padding: 18px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.myrj-task-delivery { border-left: 5px solid #28a745; }
.myrj-task-return { border-left: 5px solid #dc3545; }

/* Buttons (Touch Friendly) */
.myrj-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 12px 15px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.3s ease;
}

.myrj-btn-green { background: #28a745; color: #fff; }
.myrj-btn-red { background: #dc3545; color: #fff; }
.myrj-btn-blue { background: #17a2b8; color: #fff; }
.myrj-btn-dark { background: #343a40; color: #fff; }
.myrj-btn-whatsapp { background: #25D366; color: #fff; }

/* Action Button Grid (Call & WhatsApp) */
.myrj-action-buttons {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

/* OTP & File Inputs (Prevent iOS Zoom & Full Width) */
.myrj-driver-wrap input[type="number"],
.myrj-driver-wrap input[type="file"] {
    width: 100%;
    box-sizing: border-box;
    padding: 15px;
    font-size: 16px !important; /* Prevents iPhone auto-zoom */
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: 2px;
}

/* Verification Box */
.myrj-otp-box {
    background: #fff;
    border: 2px dashed #17a2b8;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
}

.myrj-otp-box-return {
    border-color: #dc3545;
}
