/**
 * EVM Vendor Dashboard V2
 *
 * Modern App Dashboard
 */

/*--------------------------------------------------------------
# Dashboard Wrapper
--------------------------------------------------------------*/

.evm-dashboard {
    max-width: 1200px;
    margin: 20px auto;
    padding: 16px;
}

/*--------------------------------------------------------------
# Welcome Card
--------------------------------------------------------------*/

.evm-welcome-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #0a6d63 !important;
    color: #ffffff;
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 30px;
    box-shadow: 0 12px 35px rgba(0,0,0,.10);
}

.evm-welcome-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    flex-shrink: 0;
}

.evm-welcome-icon svg {
    width: 34px;
    height: 34px;
    stroke-width: 2;
}

.evm-welcome-content {
    flex: 1;
}

.evm-welcome-content h2 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
}

.evm-welcome-content p {
    margin: 8px 0 0;
    opacity: .95;
    font-size: 16px;
}

/*--------------------------------------------------------------
# Statistics Grid
--------------------------------------------------------------*/

.evm-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

/*--------------------------------------------------------------
# Statistics Card
--------------------------------------------------------------*/

.evm-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,.06);
    transition: all .30s ease;
    border: 1px solid #eef2f7;
    min-height: 135px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.evm-card:hover,
.evm-card-active {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.evm-card svg {
    width: 38px;
    height: 38px;
    color: #0a6d63 !important;
    margin: 0 auto 14px;
}

.evm-card h3 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 600;
}

.evm-card p {
    margin: 0;
    font-size: 30px;
    font-weight: 800;
}

/*--------------------------------------------------------------
# Action Buttons
--------------------------------------------------------------*/

.evm-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
    gap: 18px;
}

.evm-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px;
    border-radius: 14px;
    background: #ffffff;
    color: #111827;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #e5e7eb;
    transition: all .30s ease;
}

.evm-action-btn:hover {
    background: #2563eb;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(37,99,235,.25);
}

.evm-action-btn svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.evm-btn-click {
    transform: scale(.97);
}

/*--------------------------------------------------------------
# Logout Button
--------------------------------------------------------------*/

.evm-logout-btn {
    background: #dc2626;
    color: #ffffff;
    border: none;
}

.evm-logout-btn:hover {
    background: #b91c1c;
    color: #ffffff;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media (max-width: 992px) {

.evm-stats-grid {
    grid-template-columns: repeat(2, 1fr);
}

.evm-actions {
    grid-template-columns: 1fr;
}

}

@media (max-width: 768px) {

    .evm-dashboard {
        padding: 15px;
    }

    .evm-welcome-card {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .evm-welcome-content h2 {
        font-size: 24px;
    }

    .evm-card {
        padding: 20px;
    }

    .evm-card p {
        font-size: 26px;
    }

.evm-stats-grid {
    grid-template-columns: repeat(2, 1fr);
}

.evm-actions {
    grid-template-columns: 1fr;
}

    .evm-action-btn {
        padding: 16px;
    }

}






/*==============================================================
# Top Bar
==============================================================*/

.evm-topbar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.evm-page-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.evm-menu-toggle {
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 14px;
    background: #157a6e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
    transition: .3s;
}

.evm-menu-toggle:hover {
    transform: scale(1.05);
}

.evm-menu-toggle svg {
    width: 26px;
    height: 26px;
}

/*==============================================================
# Overlay
==============================================================*/

.evm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 9998;
}

.evm-overlay.active {
    opacity: 1;
    visibility: visible;
}

/*==============================================================
# Sidebar
==============================================================*/

.evm-sidebar {
    position: fixed;
    top: 0;
    left: -320px;   /* Hide completely */
    width: 300px;
    height: 100vh;
    background: #ffffff;
    z-index: 9999;
    transition: left .35s ease;
    overflow-y: auto;
    box-shadow: 8px 0 30px rgba(0,0,0,.20);
}

.evm-sidebar.active {
    left: 0;
}

/*==============================================================
# Sidebar Header
==============================================================*/

.evm-sidebar-header {
    background: #157a6e;
    color: #fff;
    text-align: center;
    padding: 35px 20px;
}

.evm-sidebar-avatar {
    width: 70px;
    height: 70px;
    margin: auto;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.evm-sidebar-avatar svg {
    width: 38px;
    height: 38px;
}

.evm-sidebar-header h3 {
    margin: 18px 0 5px;
    color: #fff;
    font-size: 22px;
}

.evm-sidebar-header p {
    margin: 0;
    opacity: .9;
}

/*==============================================================
# Menu
==============================================================*/

.evm-sidebar-menu {
    padding: 15px;
}

.evm-sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px;
    margin-bottom: 8px;
    border-radius: 12px;
    color: #222;
    text-decoration: none;
    font-weight: 600;
    transition: .25s;
}

.evm-sidebar-menu a:hover {
    background: #157a6e;
    color: #fff;
}

.evm-sidebar-menu svg {
    width: 22px;
    height: 22px;
}

/* Logout */

.evm-sidebar-menu a:last-child {
    color: #d32f2f;
}

.evm-sidebar-menu a:last-child:hover {
    background: #d32f2f;
    color: #fff;
}