﻿/*## File 1: assets/css/style.css*/
```css
/* ========================================
   HYDROPURE ADMIN - CUSTOM STYLES
   Bootstrap 5 Based Custom Theme
   ======================================== */
:root
{
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --secondary: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --light: #f1f5f9;
    --white: #ffffff;
    --sidebar-width: 280px;
}

/* Global Styles */
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body
{
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1) 1 );
    min-height: 100vh;
    overflow-x: hidden;
}

/* Sidebar Styles */
.sidebar
{
    width: var(--sidebar-width);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    color: var(--white);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    transition: transform 0.3s ease;
    z-index: 1000;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

    .sidebar::-webkit-scrollbar
    {
        width: 6px;
    }

    .sidebar::-webkit-scrollbar-track
    {
        background: rgba(255, 255, 255, 0.05);
    }

    .sidebar::-webkit-scrollbar-thumb
    {
        background: rgba(255, 255, 255, 0.2);
        border-radius: 3px;
    }

.sidebar-header
{
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo
{
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.brand-text h2
{
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin: 0;
}

.brand-text p
{
    font-size: 11px;
    color: var(--gray);
    margin: 0;
}

.nav-menu
{
    padding: 20px 0;
}

.nav-section
{
    margin-bottom: 25px;
}

.nav-section-title
{
    font-size: 11px;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 20px 10px;
}

.nav-item
{
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
}

    .nav-item:hover
    {
        background: rgba(255, 255, 255, 0.05);
        color: var(--white);
    }

    .nav-item.active
    {
        background: linear-gradient(90deg, rgba(14, 165, 233, 0.2), transparent);
        color: var(--white);
        border-left: 3px solid var(--primary);
    }

        .nav-item.active::before
        {
            content: '';
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 50%;
            background: var(--primary);
            border-radius: 4px 0 0 4px;
        }

.nav-icon
{
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Content */
.main-content
{
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

/* Header */
.header
{
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.page-title
{
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.icon-button
{
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--light);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

    .icon-button:hover
    {
        background: var(--primary);
        color: var(--white);
        transform: translateY(-2px);
    }

.notification-badge
{
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: var(--white);
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.user-profile
{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 15px;
    background: var(--light);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .user-profile:hover
    {
        background: var(--primary);
        color: var(--white);
        transform: translateY(-2px);
    }

.user-avatar
{
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--white);
}

.user-info h6
{
    font-size: 13px;
    font-weight: 600;
    margin: 0;
}

.user-info p
{
    font-size: 11px;
    color: var(--gray);
    margin: 0;
}

/* Content Area */
.content-area
{
    padding: 30px;
}

/* Stats Cards */
.stat-card
{
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

    .stat-card::before
    {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
    }

    .stat-card:hover
    {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    }

.stat-icon
{
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
}

    .stat-icon.primary
    {
        background: rgba(14, 165, 233, 0.1);
        color: var(--primary);
    }

    .stat-icon.success
    {
        background: rgba(16, 185, 129, 0.1);
        color: var(--success);
    }

    .stat-icon.warning
    {
        background: rgba(245, 158, 11, 0.1);
        color: var(--warning);
    }

    .stat-icon.danger
    {
        background: rgba(239, 68, 68, 0.1);
        color: var(--danger);
    }

.stat-value
{
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.stat-label
{
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
}

/* Card Styles */
.custom-card
{
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: none;
    overflow: hidden;
}

    .custom-card .card-header
    {
        background: transparent;
        border-bottom: 1px solid var(--light);
        padding: 20px 25px;
    }

    .custom-card .card-body
    {
        padding: 25px;
    }

.card-title
{
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

/* Table Styles */
.table-responsive
{
    border-radius: 10px;
}

.custom-table
{
    margin: 0;
}

    .custom-table thead
    {
        background: var(--light);
    }

        .custom-table thead th
        {
            padding: 15px;
            font-weight: 600;
            font-size: 13px;
            color: var(--dark);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border: none;
        }

    .custom-table tbody td
    {
        padding: 15px;
        vertical-align: middle;
        border-bottom: 1px solid var(--light);
    }

    .custom-table tbody tr:hover
    {
        background: rgba(14, 165, 233, 0.02);
    }

/* Status Badge */
.status-badge
{
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.status-active
{
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.status-inactive
{
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.status-pending
{
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.status-completed
{
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
}

/* Action Buttons */
.action-btn
{
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin: 0 2px;
}

    .action-btn.view
    {
        background: rgba(139, 92, 246, 0.1);
        color: var(--secondary);
    }

    .action-btn.edit
    {
        background: rgba(14, 165, 233, 0.1);
        color: var(--primary);
    }

    .action-btn.delete
    {
        background: rgba(239, 68, 68, 0.1);
        color: var(--danger);
    }

    .action-btn:hover
    {
        transform: scale(1.1);
    }

/* Custom Buttons */
.btn-primary
{
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-primary:hover
    {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
        background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    }

.btn-success
{
    background: var(--success);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-danger
{
    background: var(--danger);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
}

/* Form Styles */
.form-label
{
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-control, .form-select
{
    border: 2px solid var(--light);
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

    .form-control:focus, .form-select:focus
    {
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
    }

.required
{
    color: var(--danger);
}

/* Breadcrumb */
.breadcrumb
{
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.breadcrumb-item a
{
    color: var(--gray);
    text-decoration: none;
}

.breadcrumb-item.active
{
    color: var(--dark);
    font-weight: 600;
}

/* Animations */
@keyframes fadeInUp
{
    from
    {
        opacity: 0;
        transform: translateY(20px);
    }

    to
    {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in
{
    animation: fadeInUp 0.5s ease forwards;
}

/*New Css */
/* ========================================
   SIDEBAR TOGGLE BUTTON
   ======================================== */

/* Toggle button styling - visible on ALL devices */
/*#sidebarToggle
{
    width: 40px;
    height: 40px;
    border: 2px solid var(--light);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 20px;
    padding: 0;
}

    #sidebarToggle:hover
    {
        background: var(--primary);
        border-color: var(--primary);
        color: var(--white);
        transform: scale(1.05);
    }

    #sidebarToggle:active
    {
        transform: scale(0.95);
    }*/

/* Sidebar States */
/*.sidebar
{
    width: var(--sidebar-width);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    color: var(--white);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    transition: all 0.3s ease;
    z-index: 1000;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    left: 0;
}*/

    /* Desktop: Collapsed state */
    /*.sidebar.collapsed
    {
        width: 80px;
    }

        .sidebar.collapsed .brand-text,
        .sidebar.collapsed .nav-section-title,
        .sidebar.collapsed .nav-item span:not(.nav-icon)
        {
            display: none;
        }

        .sidebar.collapsed .sidebar-header
        {
            justify-content: center;
            padding: 25px 10px;
        }

        .sidebar.collapsed .nav-item
        {
            justify-content: center;
            padding: 12px 10px;
        }

        .sidebar.collapsed .logo
        {
            margin: 0;
        }*/

/* Main content adjustment */
/*.main-content
{
    margin-left: var(--sidebar-width);
    transition: margin-left 0.3s ease;
    width: calc(100% - var(--sidebar-width));
}

    .main-content.expanded
    {
        margin-left: 80px;
        width: calc(100% - 80px);
    }*/

/* Mobile: Hidden by default, shown when active */
/*@media (max-width: 991px)
{
    .sidebar
    {
        transform: translateX(-100%);
        width: var(--sidebar-width);
    }

        .sidebar.show
        {
            transform: translateX(0);
            box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
        }

        .sidebar.collapsed
        {
            width: var(--sidebar-width);*/ /* Full width on mobile */
        /*}

    .main-content,
    .main-content.expanded
    {
        margin-left: 0;
        width: 100%;
    }*/

    /* Overlay when sidebar is open on mobile */
    /*.sidebar-overlay
    {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

        .sidebar-overlay.show
        {
            display: block;
        }
}*/

/* Tablet adjustments */
/*@media (max-width: 768px)
{
    .header
    {
        padding: 15px 20px;
    }

    .page-title
    {
        font-size: 18px;
    }
}*/


/* Responsive */
/*@media (max-width: 991px)
{
    .sidebar
    {
        transform: translateX(-100%);
    }

        .sidebar.show
        {
            transform: translateX(0);
        }

    .main-content
    {
        margin-left: 0;
    }
}

@media (max-width: 768px)
{
    .header
    {
        padding: 15px 20px;
    }

    .page-title
    {
        font-size: 20px;
    }

    .content-area
    {
        padding: 20px 15px;
    }

    .user-info
    {
        display: none;
    }

    .stat-value
    {
        font-size: 24px;
    }
}

@media (max-width: 576px)
{
    .action-btn
    {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}*/


