/* =====================================================
   OFFBEAT PARCEL MANAGEMENT SYSTEM
   Mobile First Dashboard
   Part 1
   Developed by Nisite Webcraft
===================================================== */

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* =========================
        ROOT VARIABLES
========================= */

:root{

    --primary:#ff6b35;
    --primary-dark:#ff4d00;

    --secondary:#1f2937;

    --white:#ffffff;

    --bg:#f6f7fb;

    --card:rgba(255,255,255,.78);

    --border:rgba(255,255,255,.35);

    --shadow:0 12px 30px rgba(0,0,0,.10);

    --radius:22px;

    --transition:.35s ease;

}

/* =========================
        RESET
========================= */

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

    font-family:'Poppins',sans-serif;

}

html{

    scroll-behavior:smooth;

}

.baby{

    background:var(--bg);

    color:#222;

    min-height:100vh;

    overflow-x:hidden;

    position:relative;

}

/* Hide Scrollbar */

::-webkit-scrollbar{

    width:0;

}

/* =========================
    ANIMATED BACKGROUND
========================= */

.bg-circle{

    position:fixed;

    border-radius:50%;

    filter:blur(70px);

    z-index:-1;

    animation:float 12s infinite ease-in-out;

}

.circle1{

    width:220px;

    height:220px;

    background:#ffb08d;

    top:-70px;

    left:-60px;

}

.circle2{

    width:180px;

    height:180px;

    background:#ffd89a;

    right:-60px;

    top:35%;

}

.circle3{

    width:240px;

    height:240px;

    background:#ffd2bf;

    bottom:-90px;

    left:40%;

}

/* =========================
    MOBILE CONTAINER
========================= */

.mobile-container{

    width:100%;

    max-width:430px;

    margin:auto;

    padding:22px 18px 110px;

}

/* =========================
        HEADER
========================= */

header{

    display:flex;

    align-items:center;

    gap:15px;

    margin-bottom:28px;

}

.logo-box{

    width:70px;

    height:70px;

    background:#f6f7fb00;

    border-radius:20px;

    display:flex;

    justify-content:center;

    align-items:center;

    box-shadow:var(--shadow);

    overflow:hidden;

}

.logo-box img{

    width:80%;

    object-fit:contain;

}

.title{

    flex:1;

}

.title h2{

    font-size:26px;

    color:var(--secondary);

    font-weight:700;

    letter-spacing:1px;

}

.title p{

    color:#777;

    font-size:14px;

}

/* =========================
        WELCOME CARD
========================= */

.welcome-card{

    background:var(--card);

    backdrop-filter:blur(15px);

    border:1px solid var(--border);

    border-radius:var(--radius);

    padding:24px;

    box-shadow:var(--shadow);

    margin-bottom:28px;

    position:relative;

    overflow:hidden;

}

.welcome-card::before{

    content:"";

    position:absolute;

    width:140px;

    height:140px;

    border-radius:50%;

    background:rgba(255,107,53,.10);

    right:-50px;

    top:-50px;

}

.welcome-card h3{

    font-size:24px;

    color:#222;

    margin-bottom:8px;

}

.welcome-card p{

    font-size:14px;

    color:#666;

    line-height:1.7;

}

/* Small Highlight Line */

.welcome-card::after{

    content:"";

    position:absolute;

    left:24px;

    bottom:18px;

    width:70px;

    height:4px;

    background:linear-gradient(to right,var(--primary),transparent);

    border-radius:20px;

}

/* =========================
      COMMON HEADINGS
========================= */

section h3{

    font-size:18px;

    font-weight:600;

    color:#222;

    margin-bottom:18px;

}

/* =========================
      CARD ANIMATION
========================= */

header,
.welcome-card{

    animation:fadeUp .8s ease;

}

/* =========================
        KEYFRAMES
========================= */

@keyframes float{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(35px);

    }

    100%{

        transform:translateY(0px);

    }

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}
/*======================================================
                PART 2
      Statistics + Quick Actions + Orders
======================================================*/

/*==========================
        STATISTICS
==========================*/

.stats{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:16px;

    margin-bottom:30px;

}

.card{

    background:rgba(255,255,255,.78);

    backdrop-filter:blur(15px);

    border:1px solid rgba(255,255,255,.35);

    border-radius:22px;

    padding:22px 15px;

    text-align:center;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    transition:.35s;

    cursor:pointer;

    animation:fadeUp .9s ease;

}

.card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 40px rgba(0,0,0,.12);

}

.card i{

    font-size:28px;

    color:var(--primary);

    margin-bottom:12px;

}

.card h2{

    font-size:28px;

    font-weight:700;

    color:#222;

    margin-bottom:6px;

}

.card span{

    font-size:13px;

    color:#777;

}

/*==========================
      QUICK ACTIONS
==========================*/

.quick-actions{

    margin-bottom:30px;

}

.action-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:16px;

}

.action-card{

    text-decoration:none;

    background:#fff;

    border-radius:22px;

    padding:24px 15px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.35s;

    position:relative;

    overflow:hidden;

}

.action-card::before{

    content:"";

    position:absolute;

    width:120px;

    height:120px;

    background:rgba(255,107,53,.08);

    border-radius:50%;

    right:-60px;

    top:-60px;

}

.action-card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 40px rgba(0,0,0,.12);

}

.action-card:active{

    transform:scale(.96);

}

.action-card i{

    font-size:30px;

    color:var(--primary);

    margin-bottom:12px;

    z-index:2;

}

.action-card span{

    color:#333;

    font-size:15px;

    font-weight:600;

    z-index:2;

}

/*==========================
      SECTION TITLE
==========================*/

.section-title{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:18px;

}

.section-title a{

    text-decoration:none;

    color:var(--primary);

    font-size:14px;

    font-weight:600;

}

/*==========================
      RECENT ORDERS
==========================*/

.recent-orders{

    margin-bottom:90px;

}

.order-list{

    display:flex;

    flex-direction:column;

    gap:16px;

}

.order-card{

    background:#fff;

    border-radius:20px;

    padding:18px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.3s;

}

.order-card:hover{

    transform:translateY(-5px);

}

.order-card h4{

    font-size:17px;

    margin-bottom:5px;

    color:#222;

}

.order-card small{

    color:#777;

    font-size:13px;

}

/*==========================
        STATUS
==========================*/

.status{

    padding:8px 14px;

    border-radius:30px;

    font-size:12px;

    font-weight:600;

}

.pending{

    background:#fff3cd;

    color:#9a6700;

}

.shipped{

    background:#d4edda;

    color:#0f5132;

}

.delivered{

    background:#d1ecf1;

    color:#055160;

}

.cancelled{

    background:#f8d7da;

    color:#842029;

}

/*==========================
     SMALL CLICK EFFECT
==========================*/

.card:active,
.order-card:active{

    transform:scale(.97);

}
/*======================================================
                PART 3
      Bottom Navigation • FAB • Footer • Effects
======================================================*/

/*==========================
      FLOATING BUTTON
==========================*/

.fab{

    position:fixed;

    right:22px;

    bottom:88px;

    width:62px;

    height:62px;

    background:linear-gradient(135deg,var(--primary),var(--primary-dark));

    color:#fff;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    text-decoration:none;

    font-size:24px;

    box-shadow:0 18px 35px rgba(255,107,53,.35);

    z-index:1000;

    transition:.3s;

    animation:floating 3s infinite;

}

.fab:hover{

    transform:translateY(-5px);

}

.fab:active{

    transform:scale(.92);

}

.fab::after{

    content:"";

    position:absolute;

    width:100%;

    height:100%;

    border-radius:50%;

    border:2px solid rgba(255,107,53,.4);

    animation:pulse 2s infinite;

}

/*==========================
      BOTTOM NAVIGATION
==========================*/

nav{

    position:fixed;

    left:50%;

    transform:translateX(-50%);

    bottom:0;

    width:100%;

    max-width:430px;

    height:74px;

    background:rgba(255,255,255,.9);

    backdrop-filter:blur(18px);

    border-top:1px solid rgba(0,0,0,.08);

    display:flex;

    justify-content:space-around;

    align-items:center;

    z-index:999;

}

nav a{

    text-decoration:none;

    color:#999;

    display:flex;

    flex-direction:column;

    align-items:center;

    font-size:12px;

    transition:.3s;

}

nav a i{

    font-size:20px;

    margin-bottom:5px;

}

nav a.active{

    color:var(--primary);

}

nav a:hover{

    color:var(--primary);

    transform:translateY(-3px);

}

/*==========================
        FOOTER
==========================*/

footer{

    text-align:right;

    padding:18px 10px 90px;

    color:#888;

    font-size:12px;

}

footer strong{

    color:var(--primary);

}

/*==========================
     INPUT DEFAULT STYLE
(Used on next pages too)
==========================*/

input,
select,
textarea{

    width:100%;

    padding:14px 16px;

    border:none;

    outline:none;

    background:#fff;

    border-radius:16px;

    font-size:15px;

    color:#222;

    box-shadow:0 8px 20px rgba(0,0,0,.06);

    transition:.3s;

}

input:focus,
select:focus,
textarea:focus{

    box-shadow:0 0 0 3px rgba(255,107,53,.15);

    border:1px solid var(--primary);

}

/*==========================
        BUTTONS
==========================*/

button{

    border:none;

    outline:none;

    cursor:pointer;

    border-radius:18px;

    padding:15px 20px;

    font-size:15px;

    font-weight:600;

    transition:.3s;

}

.primary-btn{

    background:linear-gradient(135deg,var(--primary),var(--primary-dark));

    color:#fff;

}

.primary-btn:hover{

    transform:translateY(-3px);

}

.primary-btn:active{

    transform:scale(.96);

}

.secondary-btn{

    background:#fff;

    color:#333;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

}

/*==========================
       SCROLL ANIMATION
==========================*/

.fade-up{

    opacity:0;

    transform:translateY(25px);

    animation:fadeUp .8s forwards;

}

/*==========================
       KEYFRAMES
==========================*/

@keyframes floating{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-10px);

    }

    100%{

        transform:translateY(0px);

    }

}

@keyframes pulse{

    0%{

        transform:scale(1);

        opacity:1;

    }

    100%{

        transform:scale(1.7);

        opacity:0;

    }

}

/*==========================
     RESPONSIVE MOBILE
==========================*/

@media (max-width:390px){

    .mobile-container{

        padding:18px 14px 110px;

    }

    .stats{

        gap:12px;

    }

    .card{

        padding:18px 12px;

    }

    .card h2{

        font-size:24px;

    }

    .action-card{

        padding:20px 10px;

    }

    .logo-box{

        width:60px;

        height:60px;

    }

    .title h2{

        font-size:22px;

    }

    .fab{

        width:56px;

        height:56px;

        font-size:20px;

    }

}

@media (min-width:431px){

    body{

        display:flex;

        justify-content:center;

        background:#ececec;

    }

    .mobile-container{

        box-shadow:0 0 40px rgba(0,0,0,.08);

        min-height:100vh;

        background:var(--bg);

    }

}
/* ==========================================
   Premium Recent Orders
========================================== */

.recent-order-card{

    background:#ffffff;

    border-radius:18px;

    padding:18px;

    margin-bottom:16px;

    cursor:pointer;

    border:1px solid rgba(0,0,0,.08);

    transition:.3s;

    box-shadow:0 8px 25px rgba(0,0,0,.06);

}

.recent-order-card:hover{

    transform:translateY(-4px);

    box-shadow:0 15px 35px rgba(0,0,0,.12);

}

.recent-top{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    margin-bottom:15px;

}

.recent-top h4{

    margin:0;

    font-size:17px;

    font-weight:700;

    color:#111;

}

.recent-top span{

    font-size:12px;

    color:#888;

}

.status-pending,
.status-shipped,
.status-delivered{

    padding:6px 12px;

    border-radius:30px;

    font-size:12px;

    font-weight:600;

}

.status-pending{

    background:#FFF4CC;

    color:#B8860B;

}

.status-shipped{

    background:#D9F5FF;

    color:#0078D7;

}

.status-delivered{

    background:#DDF8E7;

    color:#14833B;

}

.recent-middle{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:10px;

    margin-bottom:15px;

}

.recent-middle div{

    display:flex;

    align-items:center;

    gap:8px;

    color:#555;

    font-size:14px;

}

.recent-bottom{

    display:flex;

    align-items:center;

    gap:15px;

    color:#444;

    font-size:14px;

}

.recent-bottom .arrow{

    margin-left:auto;

    color:#0D6EFD;

    font-size:18px;

}

.empty-orders{

    text-align:center;

    padding:40px 20px;

    color:#777;

}

.empty-orders i{

    font-size:45px;

    margin-bottom:15px;

    color:#0D6EFD;

}

.empty-orders h4{

    margin-bottom:8px;

}