﻿<style >
body {
    background: linear-gradient(135deg, #0F172A, #1E293B, #334155);
    color: #F8FAFC;
}
.sidebar {
    background: linear-gradient(to bottom,#0A2540,#133B5C,#0F172A);
    min-height: 100vh;
}

.offcanvas.sidebar {
    width: 280px;
}

@media (max-width:991.98px) {

    .dashboard-title {
        font-size: 2rem;
    }

    .edit-profile {
        display: none;
    }

    .dashboard-card {
        margin-bottom: 20px;
    }
}
.dashboard-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}
.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.main-content {
    flex: 1;
    padding: 35px;
    overflow-x: hidden;
}

/* Sidebar */
.sidebar {
    width: 300px;
    min-width: 300px;
    background: linear-gradient(to bottom,#0A2540,#133B5C,#0F172A);
    border-right: 3px solid #42A5F5;
}

    .sidebar .nav-link {
        color: #F8FAFC;
        font-size: 18px;
        padding: 15px 20px;
        margin: 6px;
        border-radius: 12px;
        transition: .3s;
    }

        .sidebar .nav-link:hover {
            background: linear-gradient(90deg,#0B5ED7,#42A5F5);
            color: white;
        }

    .sidebar h6 {
        color: #7DD3FC;
        font-weight: bold;
        line-height: 1.5;
    }

/* Cards */

/*.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 25px;
    margin-top: 30px;
}*/

.dashboard-card {
    background: #1E293B;
    border: 1px solid #2563EB;
    border-radius: 20px;
    color: white;
    transition: .3s;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .dashboard-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(66,165,245,.35);
    }

    .dashboard-card h1 {
        color: #42A5F5;
        font-size: 55px;
        font-weight: bold;
    }
    .dashboard-card h5 {
        color: #7DD3FC;
    }

/* Admin section */
.admin-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid #ff8c00;
    color: white;
    border-radius: 20px;
}

    .admin-card .card-header {
        background-color: #ff8c00;
        color: black;
        font-weight: bold;
        border-radius: 20px 20px 0 0 !important;
    }

.btn-orange {
    background: linear-gradient(45deg,#1565C0,#42A5F5);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
}

    .btn-orange:hover {
        background: linear-gradient(45deg,#42A5F5,#1565C0);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(66,165,245,.5);
    }

.dashboard-title {
    color: linear-gradient(to bottom,#0A2540,#133B5C,#0F172A);
    font-size: 38px;
    font-weight: 700;
}

img.company-logo {
    max-width: 200px;
    border-radius: 15px;
    background: white;
    padding: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,.35);
    width: 230px;
    height: auto;
}
.edit-profile {
    color: #0F172A ;
    border: none;
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 600;
    transition: 0.3s;
}

    .edit-profile:hover {
        transform: translateY(-2px);
        box-shadow: #0F172A;
        color: #7DD3FC;
    }

.btn-logout {
    color: #0F172A;
    border: none;
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 600;
    transition: 0.3s;
}
        .btn-logout:hover {
            transform: translateY(-2px);
            box-shadow: #0F172A;
            color: #7DD3FC;
        }

</style >
