/* =====================================================
   METRO VENDOR DASHBOARD
   DASHBOARD.CSS
===================================================== */

/* =====================================================
   HEADER
===================================================== */

.mvd-header{
    margin-bottom:30px;
}

.mvd-header h1{
    margin:0;
    font-size:50px;
    font-weight:800;
    line-height:1;
    color:#111827;
}

.mvd-header p{
    margin:15px 0 0;
    font-size:20px;
    color:#6B7280;
}

/* =====================================================
   TOPBAR
===================================================== */
.mvd-header-row{
    width:100%;
    margin:0;
    padding:0;
}


.mvd-header-actions{
    display:flex;
    align-items:center;
    gap:18px;
    flex-shrink:0;
}


.mvd-subtitle{
    margin-top:18px;
    font-size:25px;
    color:#7b7b90;
}


.mvd-profile{
    display:flex;
    align-items:center;
    gap:14px;
}

.mvd-profile img{
    width:62px;
    height:62px;
    border-radius:50%;
    object-fit:cover;
}

.mvd-add-service span:first-child{
    font-size:22px;
    font-weight:400;
    margin-right:10px;
    line-height:1;
}
/* =====================================================
   STATISTICS
===================================================== */

.mvd-stats{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:24px;
    margin-top:30px;
}

/* 5 cartes */
@media(min-width:1700px){

    .mvd-stats{
        grid-template-columns:repeat(5,1fr);
    }
}

/* 3 + 2 */
@media(max-width:1699px){

    .mvd-stats{
        grid-template-columns:repeat(3,1fr);
    }
}

/* tablette */
@media(max-width:1200px){

    .mvd-stats{
        grid-template-columns:repeat(2,1fr);
    }
}

/* mobile */
@media(max-width:768px){

    .mvd-stats{
        grid-template-columns:1fr;
    }
}

.mvd-stat-card{
    background:#fff;
    border-radius:24px;
    padding:28px;
    min-height:165px;
    display:flex;
    gap:18px;
    box-shadow:
        0 12px 30px rgba(0,0,0,.05);
}

.mvd-stat-icon{
    width:58px;
    height:58px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    flex-shrink:0;
}

.earnings .mvd-stat-icon{
    background:#EAF9EF;
}

.wallet .mvd-stat-icon{
    background:#F1EBFF;
}

.pending .mvd-stat-icon{
    background:#FFF2E7;
}

.completed .mvd-stat-icon{
    background:#EAF8EE;
}

.rating .mvd-stat-icon{
    background:#FFF7DD;
}

.mvd-stat-body{
    flex:1;
}

.mvd-stat-body h4{
    margin:0;
    color:#6B7280;
    font-size:17px;
    font-weight:500;
}

.mvd-stat-body h2{
    margin:10px 0;
    font-size:40px !important;
    font-weight:800;
    line-height:1;
    color:#111827;
}

.mvd-stat-body p{
    margin:0;
    font-size:16px;
}

.mvd-green{
    color:#16A34A;
}

.mvd-purple{
    color:#7047EB;
}

.mvd-orange{
    color:#F97316;
}

.mvd-stars{
    margin-top:12px;
    color:#FBBF24;
    letter-spacing:3px;
}

/* =====================================================
   CONTENT GRID
===================================================== */

.mvd-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:25px;
    margin-top:10px;
}

@media(max-width:1200px){

    .mvd-grid{
        grid-template-columns:1fr;
    }
}

/* =====================================================
   PANELS
===================================================== */

.mvd-panel{
    background:#fff;
    border-radius:24px;
    padding:30px;
    box-shadow:
        0 12px 30px rgba(0,0,0,.05);
}

.mvd-panel h3{
    margin:0 0 25px;
    font-size:32px;
    font-weight:800;
}

.mvd-item{
    padding:20px 0;
    border-bottom:1px solid #F3F4F6;
}

.mvd-item:last-child{
    border-bottom:none;
}

.mvd-item strong{
    display:block;
    font-size:24px;
    font-weight:700;
    color:#111827;
}

.mvd-item span{
    display:block;
    margin-top:6px;
    font-size:18px;
    color:#6B7280;
}

.mvd-content{
    flex:1;
    width:100%;
    max-width:none;
    padding:10px 20px !important;
    margin:0;
}

/* LARGE DESKTOP */

@media (max-width:1600px){

    .mvd-stats{
        grid-template-columns:repeat(3,1fr);
    }

}

/* TABLET */

@media (max-width:1100px){

    .mvd-stats{
        grid-template-columns:repeat(2,1fr);
    }

}

/* MOBILE */

@media (max-width:700px){

    .mvd-stats{
        grid-template-columns:1fr;
    }

}

.mvd-topbar{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:24px;
    margin-bottom:35px;
}

.mvd-top-icons{
    display:flex;
    align-items:center;
    gap:16px;
}

.mvd-user{
    display:flex;
    align-items:center;
    gap:14px;
}

.mvd-user img{
    width:72px;
    height:72px;
    border-radius:50%;
    object-fit:cover;
}

.mvd-user-info{
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.mvd-user-name{
    font-size:20px;
    font-weight:700;
    line-height:1.2;
}

.mvd-user-role{
    font-size:14px;
    color:#73778B;
    margin-top:4px;
}


.mvd-user-box{
    display:flex;
    align-items:center;
    gap:16px;
    margin-left:12px;
    margin-right:24px;
}

.mvd-user-avatar{
    width:72px;
    height:72px;
    border-radius:50%;
    object-fit:cover;
}


.mvd-top-icons{
    display:flex;
    align-items:center;
    gap:20px;
    margin-right:18px;
}

.mvd-top-right{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:20px;
}

.mvd-user-row{
    display:flex;
    align-items:center;
    gap:22px;
}

.mvd-profile{
    display:flex;
    align-items:center;
    gap:14px;
}

.mvd-profile img{
    width:58px;
    height:58px;
    border-radius:50%;
}

.mvd-profile-name{
    font-size:18px;
    font-weight:700;
    display:flex;
    align-items:center;
    gap:8px;
}

.mvd-profile-role{
    font-size:14px;
    color:#7c8192;
}


/* ==========================================
   FINAL TOPBAR LAYOUT
========================================== */

.mvd-header-top{
    display:flex !important;
    justify-content:space-between !important;
    align-items:flex-start !important;
    gap:40px;
    width:100%;
}



.mvd-header-left{
   
	  flex:1;
    min-width:0;
}

.mvd-greeting{
    margin:0;
    font-size:58px;
    line-height:1;
    font-weight:800;
    white-space:nowrap;
}



.mvd-header-actions{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:20px;
    flex-shrink:0;
}


.mvd-topbar-icon{
    width:54px;
    height:54px;
    border:none;
    border-radius:50%;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    font-size:22px;
    box-shadow:0 8px 20px rgba(0,0,0,.06);
}


.mvd-profile{
    display:flex;
    align-items:center;
    gap:14px;
    background:none;
}

.mvd-profile img{
    width:62px !important;
    height:62px !important;
    border-radius:50%;
    object-fit:cover;
}

.mvd-profile-info{
    display:flex;
    flex-direction:column;
}

.mvd-profile-name{
    font-size:18px;
    font-weight:700;
    line-height:1.2;
}

.mvd-profile-role{
    font-size:14px;
    color:#7b7b90;
}

.mvd-profile-arrow{
    font-size:16px;
    margin-left:6px;
}

/* ==========================================
   ADD NEW SERVICE
========================================== */

.mvd-add-service{
    display:flex;
    align-items:center;
    justify-content:center;

    width:175px !important;
    height:45px !important;

    padding:0 22px;
    margin:0 !important;

    border:none;
    border-radius:6px;

    background:linear-gradient(
        135deg,
        #7B4DFF,
        #6B46F6
    );

    color:#fff;
    font-size:14px;
    font-weight:700;

    cursor:pointer;

    box-shadow:
        0 10px 25px rgba(107,70,246,.18);

    transition:.2s;
}

.mvd-add-service:hover{
    transform:translateY(-2px);
}

.mvd-add-service span:first-child{
    font-size:22px;
    margin-right:8px;
}

/* =====================================================
   PREMIUM DASHBOARD GRID
===================================================== */

.mvd-dashboard-grid{
    display:grid;
    grid-template-columns:2fr 2fr 1.3fr;
    gap:24px;
    margin-top:28px;
}

.mvd-dashboard-card{
    background:#fff;
    border-radius:24px;
    padding:28px;
    box-shadow:0 12px 30px rgba(0,0,0,.05);
}

.mvd-card-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:28px;
}

.mvd-card-header h3{
    margin:0;
    font-size:28px;
    font-weight:800;
    color:#14162E;
}

.mvd-card-header a{
    color:#6D4AFF;
    text-decoration:none;
    font-size:15px;
    font-weight:700;
}

/* ==========================
   REQUESTS
========================== */

.mvd-request{
    display:grid;
    grid-template-columns:60px 1fr auto auto auto;
    gap:18px;
    align-items:center;
    padding:22px 0;
    border-bottom:1px solid #F2F2F7;
}

.mvd-request:last-child{
    border-bottom:none;
}

.mvd-request img{
    width:54px;
    height:54px;
    border-radius:50%;
    object-fit:cover;
}

.mvd-request-info strong{
    display:block;
    font-size:18px;
    font-weight:700;
    color:#14162E;
}

.mvd-request-info span{
    display:block;
    color:#6B7280;
    margin-top:4px;
}

.mvd-request-info small{
    display:inline-block;
    margin-top:8px;
    padding:6px 12px;
    background:#F1EBFF;
    color:#6D4AFF;
    border-radius:999px;
    font-size:13px;
    font-weight:700;
}

.mvd-request-duration{
    font-weight:600;
    color:#4B5563;
}

.mvd-request-price{
    font-size:28px;
    font-weight:800;
    color:#16A34A;
}

.mvd-request-actions{
    display:flex;
    gap:10px;
}

.mvd-btn-accept{
    background:#6D4AFF;
    color:#fff;
    border:none;
    border-radius:10px;
    padding:12px 18px;
    font-weight:700;
    cursor:pointer;
}

.mvd-btn-decline{
    background:#F7F7FB;
    border:none;
    border-radius:10px;
    padding:12px 18px;
    font-weight:700;
    cursor:pointer;
}

/* ==========================
   EARNINGS
========================== */

.mvd-earnings-total{
    font-size:52px;
    font-weight:800;
    color:#14162E;
    margin:20px 0 10px;
}

.mvd-earnings-growth{
    color:#16A34A;
    font-size:18px;
    font-weight:700;
}

.mvd-chart-placeholder{
    margin-top:40px;
    height:260px;
    border-radius:18px;
    background:linear-gradient(
        180deg,
        rgba(109,74,255,.15),
        rgba(109,74,255,.03)
    );
    display:flex;
    align-items:center;
    justify-content:center;
    color:#6D4AFF;
    font-weight:700;
}

/* ==========================
   SCHEDULE
========================== */

.mvd-schedule-item{
    display:flex;
    align-items:center;
    gap:18px;
    padding:22px 0;
    border-bottom:1px solid #F2F2F7;
}

.mvd-schedule-item:last-child{
    border-bottom:none;
}

.mvd-calendar-icon{
    width:54px;
    height:54px;
    border-radius:14px;
    background:#F1EBFF;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
}

.mvd-schedule-info{
    flex:1;
}

.mvd-schedule-info small{
    display:block;
    color:#6B7280;
    margin-bottom:6px;
}

.mvd-schedule-info strong{
    display:block;
    font-size:20px;
    color:#14162E;
}

.mvd-schedule-info span{
    color:#6B7280;
}

.mvd-status{
    background:#DCFCE7;
    color:#16A34A;
    padding:8px 14px;
    border-radius:999px;
    font-size:13px;
    font-weight:700;
}

.mvd-card-footer{
    margin-top:24px;
}

.mvd-card-footer a{
    color:#6D4AFF;
    text-decoration:none;
    font-weight:700;
}

/* ==========================
   RESPONSIVE
========================== */

/* GRAND ECRAN */

.mvd-dashboard-grid{
    display:grid;
    grid-template-columns:1.8fr 1.4fr 1.2fr;
    gap:24px;
    margin-top:28px;
}

/* LAPTOP */

@media(max-width:1400px){

    .mvd-dashboard-grid{
        grid-template-columns:1fr 1fr;
    }

    .mvd-schedule{
        grid-column:1/-1;
    }
}

/* TABLETTE */

@media(max-width:1100px){

    .mvd-dashboard-grid{
        grid-template-columns:1fr;
    }
}

/* MOBILE */

@media(max-width:700px){

    .mvd-request{
        grid-template-columns:60px 1fr;
    }

    .mvd-request-duration,
    .mvd-request-price,
    .mvd-request-actions{
        margin-top:12px;
    }
}

/*=====================================================
SERVICES / REVIEWS / ACTIONS
=====================================================*/

.mvd-services-section{
    display:grid;
    grid-template-columns:2fr 1.2fr 1fr;
    gap:24px;
    margin-top:28px;
}

.mvd-services-card,
.mvd-reviews-card,
.mvd-actions-card{
    background:#fff;
    border-radius:24px;
    padding:28px;
    box-shadow:0 12px 30px rgba(0,0,0,.05);
}

.mvd-card-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:24px;
}

.mvd-card-header h3{
    margin:0;
    font-size:28px;
    font-weight:700;
    color:#14162E;
}

.mvd-card-header a{
    color:#6C47FF;
    text-decoration:none;
    font-weight:600;
}

/* SERVICES */

/*=====================================================
MY SERVICES
=====================================================*/

.mvd-services-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
}

.mvd-service-item{
    background:#fff;
    border:1px solid #F2F2F7;
    border-radius:18px;
    padding:12px;
    transition:.2s;
}

.mvd-service-item:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 30px rgba(0,0,0,.06);
}

.mvd-service-image{
    position:relative;
    overflow:hidden;
    border-radius:14px;
    margin-bottom:14px;
}

.mvd-service-image img{
    width:100%;
    height:110px;
    object-fit:cover;
    display:block;
    border-radius:14px;
}

.mvd-service-badge{
    position:absolute;
    top:8px;
    left:8px;
    background:#31C56B;
    color:#fff;
    font-size:10px;
    font-weight:700;
    padding:4px 8px;
    border-radius:30px;
}

.mvd-service-new{
    background:#6C47FF;
}

.mvd-service-item h4{
    margin:0 0 8px;
    font-size:17px;
    font-weight:700;
    color:#14162E;
}

.mvd-service-rating{
    margin-bottom:10px;
    color:#7B8195;
    font-size:14px;
}

.mvd-service-price{
    font-size:28px;
    font-weight:800;
    color:#14162E;
    margin-bottom:14px;
}

.mvd-service-price small{
    font-size:16px;
    font-weight:500;
    color:#7B8195;
}

.mvd-switch{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.mvd-switch span{
    font-size:15px;
    font-weight:600;
    color:#14162E;
}

.mvd-switch input{
    width:18px;
    height:18px;
}

.mvd-footer-link{
    display:inline-block;
    margin-top:20px;
    color:#6C47FF;
    text-decoration:none;
    font-weight:700;
    font-size:15px;
}

/* REVIEWS */

.mvd-review-item{
    display:flex;
    gap:16px;
    margin-bottom:30px;
}

.mvd-review-item img{
    width:64px;
    height:64px;
    border-radius:50%;
    object-fit:cover;
    flex-shrink:0;
}

.mvd-review-item h4{
    margin:0 0 8px;
    font-size:20px;
}

.mvd-review-item p{
    margin:8px 0;
    color:#6B7280;
    line-height:1.6;
}

.mvd-review-item span{
    color:#9CA3AF;
    font-size:14px;
}

/* ACTIONS */

.mvd-actions-grid{
    display:grid;
    gap:18px;
    margin-top:24px;
}

.mvd-action{
    border:1px solid #F1F1F5;
    border-radius:18px;
    padding:22px;
    display:flex;
    align-items:center;
    gap:16px;
    color:#14162E;
    text-decoration:none;
    font-weight:600;
    transition:.2s;
}

.mvd-action:hover{
    background:#F8F7FF;
}

.mvd-action span{
    width:48px;
    height:48px;
    border-radius:14px;
    background:#F5F3FF;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
}

.mvd-footer-link{
    display:inline-block;
    margin-top:24px;
    color:#6C47FF;
    text-decoration:none;
    font-weight:700;
}

/* RESPONSIVE */

@media(max-width:1400px){

    .mvd-services-section{
        grid-template-columns:1fr;
    }

    .mvd-services-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:768px){

    .mvd-services-grid{
        grid-template-columns:1fr;
    }
}


.mvd-sidebar i[data-lucide]{
    width:22px;
    height:22px;
    stroke-width:2;
    flex-shrink:0;
    transition:.25s;
}

.mvd-sidebar li.active i[data-lucide]{
    transform:scale(1.08);
}

.mvd-sidebar li:hover i[data-lucide]{
    transform:scale(1.08);
}


/* ======================================
   FOOTER LUCIDE FIX
====================================== */

.mvd-upgrade-icon svg,
.mvd-help-icon svg{

    position:relative !important;
    left:auto !important;
    top:auto !important;

    width:24px !important;
    height:24px !important;

    min-width:24px;
    min-height:24px;

    stroke-width:2;

    overflow:visible;
}

.mvd-upgrade-icon svg{
    color:#ffffff;
}

.mvd-help-icon svg{
    color:#61D6FF;
}

/* =====================================
   SIDEBAR FOOTER
===================================== */

.mvd-sidebar-footer{
    margin-top:30px;
    padding:0 20px 20px;
}

/* PRO */

.mvd-upgrade{
    display:flex;
    flex-direction:column;
min-height:160px;
    gap:18px;

    padding:32px;

    background:linear-gradient(
        135deg,
        #7B4DFF,
        #6C47F6
    );

    border-radius:24px;

    text-decoration:none;

    color:#fff;

    overflow:hidden;
}

.mvd-upgrade-content h4{
    margin:0 0 18px;
    font-size:20px;
    font-weight:700;
	line-height:1.4;
	 white-space:normal;
}

.mvd-upgrade-content p{
    margin:0;
    font-size:14px;
    line-height:1.7;
    color:rgba(255,255,255,.85);
}

/* HELP */

.mvd-help{
    margin-top:20px;
    display:flex;
    align-items:center;
	justify-content:flex-start;
    gap:18px;

    padding:24px;

    background:#32197A;

    border-radius:24px;

    text-decoration:none;

    color:#fff;

    overflow:hidden;
}

.mvd-help-content{
    display:flex;
    flex-direction:column;
	justify-content:center;
}

.mvd-help-content strong{
    font-size:18px;
    font-weight:700;
    margin-bottom:6px;
}

.mvd-help-content span{
    color:#CFC7F5;
    font-size:14px;
}

.mvd-help-icon{
    flex-shrink:0;
}

.mvd-help-icon svg{
    width:26px !important;
    height:26px !important;
}

