﻿.auth-container {
    display: flex;
    min-height: 100vh;
    background: #f8fafc;
}

.auth-brand {
    text-align: center;
    color: white;
}

.brand-logo {
    height: 80px;
    margin-bottom: 1rem;
}

.auth-brand h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.auth-brand p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.auth-right-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-form-container {
    width: 100%;
    max-width: 500px;
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo-mobile {
    margin-bottom: 1rem;
}

.logo-mobile {
    height: 50px;
}

.auth-title h1 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.auth-title p {
    color: #718096;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.input-with-icon {
    position: relative;
}
.input-icon {
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    cursor: pointer;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #374151;
}

.checkmark {
    margin-right: 0.5rem;
}

.forgot-link {
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.9rem;
}

    .forgot-link:hover {
        text-decoration: underline;
    }

.form-actions {
    margin-bottom: 1.5rem;
}


.btn-primary {
    background: #3b82f6;
    color: white;
    width: 100%;
}

    .btn-primary:hover:not(:disabled) {
        background: #2563eb;
    }

    .btn-primary:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

.btn-block {
    width: 100%;
}

.spinner-border {
    margin-right: 0.5rem;
}

.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    color: #9ca3af;
    font-size: 0.9rem;
}

    .auth-divider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: #e5e7eb;
    }

    .auth-divider span {
        background: white;
        padding: 0 1rem;
    }

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn-google, .btn-microsoft {
    background: white;
    color: #374151;
    border: 1px solid #d1d5db;
    font-size: 0.9rem;
}

    .btn-google:hover, .btn-microsoft:hover {
        background: #f9fafb;
        border-color: #9ca3af;
    }

.auth-footer {
    text-align: center;
    color: #718096;
    font-size: 0.9rem;
}

.signup-link {
    color: #3b82f6;
    font-weight: 500;
    text-decoration: none;
    margin-left: 0.25rem;
}

    .signup-link:hover {
        text-decoration: underline;
    }

.text-danger {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.validation-summary-errors {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
/* Sidebar Modern Design */
.sidebar {
    background: linear-gradient(180deg, #1e3c72 0%, #2a5298 100%);
    border-right: none;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-inner {
    background: transparent;
}

.sidebar-menu ul {
    padding: 0;
    margin: 0;
}

.sidebar-menu > ul > li {
    margin: 2px 0;
    position: relative;
}

    .sidebar-menu > ul > li > a {
        color: rgba(255, 255, 255, 0.9);
        font-weight: 500;
        padding: 12px 20px;
        margin: 2px 15px;
        border-radius: 12px;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
        position: relative;
        overflow: hidden;
    }

        .sidebar-menu > ul > li > a::before {
            content: '';
            position: absolute;
            left: -100%;
            top: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            transition: left 0.6s ease;
        }

        .sidebar-menu > ul > li > a:hover::before {
            left: 100%;
        }

        .sidebar-menu > ul > li > a:hover {
            background: rgba(255, 255, 255, 0.15);
            color: #fff;
            transform: translateX(5px);
            box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
        }

    .sidebar-menu > ul > li.active > a {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: #fff;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    }

    .sidebar-menu > ul > li > a i {
        font-size: 1.1rem;
        width: 24px;
        text-align: center;
        color: rgba(255, 255, 255, 0.8);
        transition: all 0.3s ease;
    }

    .sidebar-menu > ul > li > a:hover i,
    .sidebar-menu > ul > li.active > a i {
        color: #fff;
        transform: scale(1.1);
    }

/* Submenu Styles */
.sidebar-menu li.submenu ul {
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid #667eea;
    margin: 5px 15px;
    border-radius: 0 8px 8px 0;
    padding: 8px 0;
}

    .sidebar-menu li.submenu ul li a {
        color: rgba(255, 255, 255, 0.8);
        padding: 10px 20px 10px 45px;
        margin: 1px 0;
        border-radius: 6px;
        transition: all 0.3s ease;
        text-decoration: none;
        display: block;
        position: relative;
        font-size: 0.9rem;
    }

        .sidebar-menu li.submenu ul li a::before {
            content: '';
            position: absolute;
            left: 25px;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 4px;
            background: rgba(255, 255, 255, 0.5);
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .sidebar-menu li.submenu ul li a:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            padding-left: 50px;
        }

            .sidebar-menu li.submenu ul li a:hover::before {
                background: #fff;
                transform: translateY(-50%) scale(1.5);
            }

/* Menu Arrow */
.menu-arrow {
    border: solid rgba(255, 255, 255, 0.7);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    transition: all 0.3s ease;
    margin-left: auto;
}

.submenu.active .menu-arrow {
    transform: rotate(-135deg);
    border-color: #fff;
}

/* Slimscroll customization */
.slimscroll {
    background: transparent;
}

    .slimscroll::-webkit-scrollbar {
        width: 4px;
    }

    .slimscroll::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
    }

    .slimscroll::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 10px;
    }

        .slimscroll::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.5);
        }

/* Logo Area (if added later) */
.sidebar-logo {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

    .sidebar-logo img {
        max-height: 40px;
        transition: transform 0.3s ease;
    }

    .sidebar-logo:hover img {
        transform: scale(1.05);
    }

/* Active state indicator */
.sidebar-menu > ul > li > a::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: linear-gradient(135deg, #00b894, #00a085);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.sidebar-menu > ul > li.active > a::after {
    height: 20px;
}

/* Mobile Responsive */
@@media (max-width: 768px) {
    .sidebar {
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    }

    .sidebar-menu > ul > li > a {
        margin: 2px 10px;
        padding: 10px 15px;
    }

    .sidebar-menu li.submenu ul {
        margin: 5px 10px;
    }
}

/* Animation for menu items */
@@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sidebar-menu > ul > li {
    animation: fadeInUp 0.5s ease forwards;
}

    .sidebar-menu > ul > li:nth-child(1) {
        animation-delay: 0.1s;
    }

    .sidebar-menu > ul > li:nth-child(2) {
        animation-delay: 0.2s;
    }

    .sidebar-menu > ul > li:nth-child(3) {
        animation-delay: 0.3s;
    }

    .sidebar-menu > ul > li:nth-child(4) {
        animation-delay: 0.4s;
    }

    .sidebar-menu > ul > li:nth-child(5) {
        animation-delay: 0.5s;
    }

    .sidebar-menu > ul > li:nth-child(6) {
        animation-delay: 0.6s;
    }

    .sidebar-menu > ul > li:nth-child(7) {
        animation-delay: 0.7s;
    }

    .sidebar-menu > ul > li:nth-child(8) {
        animation-delay: 0.8s;
    }

    .sidebar-menu > ul > li:nth-child(9) {
        animation-delay: 0.9s;
    }

    .sidebar-menu > ul > li:nth-child(10) {
        animation-delay: 1.0s;
    }
.header {
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border-bottom: 1px solid rgba(145, 158, 171, 0.2);
    height: 70px;
    z-index: 999;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    padding: 0 15px;
}

/* Logo and Branding */
.header-left.active {
    background: transparent;
    padding: 0 1rem;
    margin-right: 1rem;
}

.logo-header {
    max-height: 45px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    margin-right: 15px;
}

.logo:hover .logo-header {
    transform: scale(1.05);
}

/* Financial Year Badge */
.financial-year {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    border: none;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 8px;
}

/* POS Button - Enhanced */
#select-plt {
    background: linear-gradient(135deg, #00b894 0%, #00a085 100%);
    color: white !important;
    border: none;
    border-radius: 25px;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
    position: relative;
    overflow: hidden;
    margin: 0 8px;
}

    #select-plt::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }

    #select-plt:hover::before {
        left: 100%;
    }

    #select-plt:hover {
        background: linear-gradient(135deg, #00a085 0%, #008c75 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 184, 148, 0.4);
    }

/* User Profile */
.user-img {
    margin: 0 8px;
}

    .user-img img {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid #e9ecef;
        transition: all 0.3s ease;
    }

.userset:hover .user-img img {
    border-color: #667eea;
    transform: scale(1.1);
}

.status.online {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #00b894, #00a085);
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Dropdown Menu */
.menu-drop-user {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 260px;
    border: 1px solid rgba(145, 158, 171, 0.1);
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    margin-top: 10px;
}

.profileset {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    margin: -0.5rem -0.5rem 0.5rem -0.5rem;
    color: white;
}

.profilesets h6 {
    margin: 0;
    font-weight: 700;
    color: white;
    font-size: 1rem;
}

.profilesets small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    margin: 0.1rem 0;
}

    .dropdown-item i {
        width: 20px;
        text-align: center;
        color: #667eea;
    }

    .dropdown-item:hover {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        transform: translateX(5px);
    }

        .dropdown-item:hover i {
            color: white;
        }

    .dropdown-item.logout {
        color: #e74c3c;
    }

        .dropdown-item.logout:hover {
            background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
            color: white;
        }

/* Search Bar */
.top-nav-search {
    position: relative;
    margin-right: 1rem;
    margin-left: 1rem;
}

    .top-nav-search .form-control {
        border-radius: 25px;
        border: 1px solid rgba(145, 158, 171, 0.2);
        padding: 0.6rem 1rem 0.6rem 2.5rem;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
        width: 280px;
    }

        .top-nav-search .form-control:focus {
            background: white;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
            border-color: #667eea;
        }

    .top-nav-search::before {
        content: "🔍";
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 5;
        opacity: 0.6;
    }

/* Notification Bell */
.notification-bell {
    position: relative;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #495057;
    margin: 0 8px;
}

    .notification-bell:hover {
        background: rgba(102, 126, 234, 0.1);
        color: #667eea;
    }

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Mobile Menu */
.mobile-user-menu {
    margin-left: 15px;
}

    .mobile-user-menu .dropdown-menu {
        border: none;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        border-radius: 12px;
        background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
        margin-top: 10px;
    }

.bar-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
    margin: 0 10px;
}

    .bar-icon span {
        display: block;
        height: 2px;
        width: 100%;
        background: linear-gradient(135deg, #667eea, #764ba2);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

.user-menu {
    gap: 0.5rem;
}

/* Container fluid padding adjustment */
.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

/* Row alignment */
.row.align-items-center {
    margin-left: -8px;
    margin-right: -8px;
}

/* Column padding adjustments */
.col-auto {
    padding-left: 8px;
    padding-right: 8px;
}

.col {
    padding-left: 8px;
    padding-right: 8px;
}

.language-selector {
    margin: 0 8px;
}

/* Pulse animation for POS button */
.pulse {
    animation: pulse 2s infinite;
}

@@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 184, 148, 0.5);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
    }
}

/* ========== RESPONSIVE DESIGN ========== */

/* Hide search bar on tablets and mobile */
@@media (max-width: 1199px) {
    .nav-searchinputs {
        display: none !important;
    }
}

/* Mobile styles (768px and below) */
@@media (max-width: 768px) {
    .header {
        padding: 0 10px;
        height: 60px;
    }

    .header-left.active {
        padding: 0 0.5rem;
        margin-right: 0;
    }

    .logo-header {
        max-height: 35px;
        margin-right: 10px;
    }
    /* Hide elements on mobile */
    .nav-searchinputs,
    .notification-bell,
    .financial-year,
    #select-plt {
        display: none !important;
    }
    /* Show only language and user menu on mobile */
    .user-menu {
        gap: 0.1rem;
    }

    .language-selector {
        margin: 0 4px;
    }

    .user-img {
        margin: 0 4px;
    }

        .user-img img {
            width: 36px;
            height: 36px;
        }
    /* Adjust mobile menu button */
    .mobile-user-menu {
        margin-left: 10px;
    }

    .bar-icon {
        margin: 0 8px;
    }
    /* Ensure user dropdown is visible */
    .dropdown-toggle {
        display: flex !important;
    }
}

/* Small mobile devices (576px and below) */
@@media (max-width: 576px) {
    .header {
        height: 55px;
        padding: 0 8px;
    }

    .logo-header {
        max-height: 30px;
    }

    .user-img img {
        width: 32px;
        height: 32px;
    }

    .container-fluid {
        padding-left: 8px;
        padding-right: 8px;
    }
}

.content {
    background: #f8f9fa;
    min-height: calc(100vh - 70px);
}

.section {
    padding: 20px 0;
}

.section-body {
    padding: 0 15px;
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    border-radius: 12px;
    padding: 8px 10px;
    margin-bottom: 25px;
    color: white;
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.3);
}

.page-block {
    width: 100%;
}

.page-header-title h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 12px 20px;
    margin-bottom: 0;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

    .breadcrumb-item a {
        color: white;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .breadcrumb-item a:hover {
            color: #e74c3c;
        }

    .breadcrumb-item.active {
        color: rgba(255, 255, 255, 0.7);
    }

/* Action Buttons */
.float-end {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn {
    border-radius: 8px;
    padding: 7px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
}

    .btn:first-child {
        
    }

        .btn:first-child:hover {
           
        }

.btn-added {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}

    .btn-added:hover {
        background: linear-gradient(135deg, #229954 0%, #27ae60 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(39, 174, 96, 0.5);
    }

/* Card Styles */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    background: white;
    overflow: hidden;
}

.card-body {
    padding: 0;
}

/* Table Styles */
.table-responsive {
    border-radius: 15px;
}

/* Radzen Data Grid Customization */
.rz-datatable {
    border: none !important;
    border-radius: 15px !important;
}

.rz-datatable-thead > tr > th {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%) !important;
    color: white !important;
    font-weight: 600 !important;
    border: none !important;
    padding: 15px 12px !important;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rz-datatable-tbody > tr > td {
    padding: 15px 12px !important;
    border-bottom: 1px solid #ecf0f1 !important;
    vertical-align: middle !important;
    font-size: 0.9rem;
}

.rz-datatable-tbody > tr:hover > td {
    background: #f8f9fa !important;
    transition: all 0.3s ease;
}

.rz-datatable-tbody > tr:nth-child(even) > td {
    background: #fafbfc !important;
}

/* Product Name Link */
.item_me {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

    .item_me:hover {
        color: #3498db;
        text-decoration: underline;
    }

/* Action Column */
.btn-light {
    background: #ecf0f1 !important;
    border: 1px solid #bdc3c7 !important;
    color: #2c3e50 !important;
    border-radius: 6px !important;
    padding: 6px 12px !important;
}

    .btn-light:hover {
        background: #d5dbdb !important;
        border-color: #95a5a6 !important;
    }

.dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 8px;
    min-width: 150px;
}

.dropdown-item {
    border-radius: 6px;
    padding: 8px 12px;
    margin: 2px 0;
    font-size: 0.85rem;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .dropdown-item:hover {
        background: #3498db;
        color: white;
        transform: translateX(5px);
    }

    .dropdown-item:first-child:hover {
        background: #3498db;
    }

    .dropdown-item:last-child:hover {
        background: #e74c3c;
    }

/* Price Columns */
.rz-datatable-tbody > tr > td:nth-last-child(3),
.rz-datatable-tbody > tr > td:nth-last-child(2) {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    text-align: right !important;
}

.rz-datatable-tbody > tr > td:nth-last-child(3) {
    color: #e74c3c; /* Purchase Rate - Red */
}

.rz-datatable-tbody > tr > td:nth-last-child(2) {
    color: #27ae60; /* Sales Rate - Green */
}

/* Loading State */
.rz-component.rz-datatable .rz-datatable-loading {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(5px);
}

/* Pagination Styles */
.rz-paginator {
    background: #f8f9fa !important;
    border-top: 1px solid #ecf0f1 !important;
    padding: 15px !important;
    border-radius: 0 0 15px 15px !important;
}

/* Responsive Design */
@@media (max-width: 768px) {
    .page-header {
        padding: 20px;
    }

    .page-header-title h4 {
        font-size: 1.5rem;
    }

    .float-end {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .breadcrumb {
        padding: 10px 15px;
    }

    .rz-datatable-thead > tr > th,
    .rz-datatable-tbody > tr > td {
        padding: 12px 8px !important;
        font-size: 0.8rem;
    }
}

/* Animation for table rows */
@@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rz-datatable-tbody > tr {
    animation: fadeInUp 0.5s ease forwards;
}

    .rz-datatable-tbody > tr:nth-child(1) {
        animation-delay: 0.1s;
    }

    .rz-datatable-tbody > tr:nth-child(2) {
        animation-delay: 0.2s;
    }

    .rz-datatable-tbody > tr:nth-child(3) {
        animation-delay: 0.3s;
    }

    .rz-datatable-tbody > tr:nth-child(4) {
        animation-delay: 0.4s;
    }

    .rz-datatable-tbody > tr:nth-child(5) {
        animation-delay: 0.5s;
    }
.action-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.action-list li {
    margin: 0;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

    .btn-action:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

.btn-edit {
    background-color: #ffc107;
    color: #212529;
    border-color: #ffc107;
}

    .btn-edit:hover {
        background-color: #e0a800;
        border-color: #d39e00;
        color: #212529;
    }

.btn-print {
    background-color: #17a2b8;
    color: white;
    border-color: #17a2b8;
}

    .btn-print:hover {
        background-color: #138496;
        border-color: #117a8b;
        color: white;
    }

.btn-pdf {
    background-color: #dc3545;
    color: white;
    border-color: #dc3545;
}

    .btn-pdf:hover {
        background-color: #c82333;
        border-color: #bd2130;
        color: white;
    }

.btn-approve {
    background-color: #28a745;
    color: white;
    border-color: #28a745;
}

    .btn-approve:hover {
        background-color: #218838;
        border-color: #1e7e34;
        color: white;
    }

.btn-email {
    background-color: #6f42c1;
    color: white;
    border-color: #6f42c1;
}

    .btn-email:hover {
        background-color: #5a2d91;
        border-color: #4a2581;
        color: white;
    }

.btn-payment {
    background-color: #20c997;
    color: white;
    border-color: #20c997;
}

    .btn-payment:hover {
        background-color: #1ba87e;
        border-color: #189870;
        color: white;
    }

.btn-return {
    background-color: #fd7e14;
    color: white;
    border-color: #fd7e14;
}

    .btn-return:hover {
        background-color: #e66a00;
        border-color: #d66300;
        color: white;
    }

.btn-action i {
    margin-right: 8px;
    font-size: 14px;
}

.btn-action .ml-2 {
    margin-left: 8px;
}

@@media (max-width: 768px) {
    .action-list {
        flex-direction: column;
        gap: 8px;
    }

    .btn-action {
        width: 100%;
        justify-content: center;
    }
}
