@font-face {
    font-family: 'LeagueSpartan';
    src: url('LeagueSpartan.ttf') format('truetype');
    font-display: swap;
}


/* ============================================================
   CORE VARIABLES
============================================================ */

:root {

    /* HOPS BRAND */

    --hops-dark: #343140;
    --hops-blue: #343140;
    --hops-pink: #e84f7b;

    --hops-green: #687a47;
    --hops-green-light: #a9bb75;
    --hops-green-dark: #465334;
    --hops-gold: #c7b477;


    /* CORE SURFACES */

    --core-header: rgba(16, 24, 39, 0.86);
    --core-panel: rgba(16, 24, 39, 0.86);
    --core-panel-soft: rgba(16, 24, 39, 0.70);

    --core-glass: rgba(52, 49, 64, 0.60);
    --core-glass-strong: rgba(52, 49, 64, 0.82);

    --core-input: rgba(255, 255, 255, 0.045);
    --core-input-focus: rgba(255, 255, 255, 0.065);

    --core-hover: rgba(255, 255, 255, 0.04);


    /* TEXT */

    --core-text: #f8fafc;
    --core-text-soft: rgba(255, 255, 255, 0.81);
    --core-text-muted: rgba(255, 255, 255, 0.62);
    --core-text-faint: rgba(255, 255, 255, 0.30);

    --hops-text: #e3e4df;
    --hops-muted: #a9aaa6;


    /* BORDERS */

    --core-border: rgba(255, 255, 255, 0.08);
    --core-border-soft: rgba(255, 255, 255, 0.055);

    --hops-border: rgba(255, 255, 255, 0.10);
    --hops-border-soft: rgba(255, 255, 255, 0.06);


    /* DIMENSIONS */

    --core-radius: 14px;
    --core-radius-sm: 9px;


    /* SHADOWS */

    --core-shadow:
        0 14px 36px rgba(0, 0, 0, 0.16);

    --core-shadow-large:
        0 18px 45px rgba(0, 0, 0, 0.18);
}


/* ============================================================
   GLOBAL
============================================================ */

html,
body {
    min-height: 100%;
}


body {
    margin: 0;

    background: #ffffff;

    font-family:
        'LeagueSpartan',
        sans-serif;
}


.bg-hops-blue {
    background-color:
        var(--hops-dark) !important;
}


.bg-hops-pink {
    background-color:
        var(--hops-pink) !important;
}


.text-light-grey {
    color:
        lightgray !important;
}


.text-small {
    font-size: 12px;
}


.text-muted {
    color:
        var(--core-text-muted) !important;
}


.min-w-0 {
    min-width: 0;
}


.badge {
    line-height: 1.6 !important;
}

.text-secondary {
      color: 
        var(--hops-muted) !important;
}

/* ============================================================
   MAIN APPLICATION LAYOUT
============================================================ */

.main {
    min-width: 0;

    background-image:
        url('https://hopscrm.co.uk/core/uploads/corebg3.jpg');

    background-size:
        cover;

    background-position:
        center;

    background-repeat:
        no-repeat;

    background-attachment:
        fixed;
}


.content {
    padding: 30px;
}


.content-header {
    padding:
        10px
        30px
        0;
}




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

.sidebar {
    width: 260px;
    height: 100vh;

    min-height: 0;

    flex-shrink: 0;

    overflow: hidden;
}


.logo img {
    max-width: 180px;
}


.main-nav-scroll {
    flex:
        1
        1
        0;

    min-height: 0;

    overflow-y: auto;
    overflow-x: hidden;

    flex-wrap:
        nowrap !important;
}


.sidebar .nav {
    flex-wrap: nowrap;
}


.nav-link {
    padding:
        12px
        20px;

    margin:
        3px
        10px;

    border-radius: 8px;

    color:
        var(--hops-text);

    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}


.nav-link:hover,
.nav-link.active {
    background:
        var(--hops-pink);

    color: #ffffff;
}


/* ============================================================
   TOP BAR
============================================================ */

.topbar {
    height: 60px;

    background:
        rgba(52, 49, 64, 0.70);

    border-bottom:
        1px solid var(--hops-border);

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);
}


.transparent-hops {
    background:
        var(--core-glass);

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);
}


/* ============================================================
   CORE PAGE HEADERS
============================================================ */

.core-page-header,
.tasks-page-header,
.tasks-dashboard-header,
.winequotes-page-header,
.wine-builder-header,
.wine-admin-header,
.wine-tag-header,
.core-home-hero {

    padding:
        1.35rem
        1.5rem;

    background:
        var(--core-header);

    border:
        1px solid
        var(--core-border);

    border-radius:
        var(--core-radius);

    box-shadow:
        var(--core-shadow);

    backdrop-filter:
        blur(12px);

    -webkit-backdrop-filter:
        blur(12px);
}


.core-page-kicker,
.tasks-page-kicker,
.tasks-panel-kicker,
.dashboard-panel-kicker,
.winequotes-page-kicker,
.winequotes-card-kicker,
.wine-builder-kicker,
.wine-builder-panel-kicker,
.wine-admin-kicker,
.wine-admin-panel-kicker,
.wine-admin-section-kicker,
.wine-tag-kicker,
.wine-tag-panel-kicker,
.wine-tag-section-kicker,
.core-modal-kicker,
.customer-header-kicker,
.timeline-card-kicker,
.customers-page-kicker,
.customers-card-kicker {

    color:
        var(--core-text-muted);

    font-size:
        0.68rem;

    font-weight:
        700;

    text-transform:
        uppercase;

    letter-spacing:
        0.10em;

    margin-bottom:
        0.15rem;
}


.core-page-header h1,
.core-page-header h2,
.core-page-header h3,
.tasks-page-header h2,
.tasks-dashboard-header h2,
.winequotes-page-header h2,
.wine-builder-header h2,
.wine-admin-header h2,
.wine-tag-header h2 {

    margin-top: 0;

    color:
        var(--core-text);

    font-weight: 700;
}


.core-page-subtitle,
.tasks-page-subtitle,
.tasks-dashboard-header-subtitle,
.winequotes-page-subtitle,
.wine-builder-subtitle,
.wine-admin-subtitle,
.wine-tag-subtitle,
.customers-page-subtitle {

    color:
        var(--core-text-soft);

    font-size:
        0.88rem;
}


/* ============================================================
   CORE PANELS / CARDS
============================================================ */

.card,
.core-panel,
.tasks-panel,
.tasks-stat-card,
.dashboard-panel,
.dashboard-kpi-card,
.winequotes-card,
.wine-builder-customer-card,
.wine-products-panel,
.wine-list-panel,
.wine-admin-products,
.wine-admin-detail,
.wine-tag-panel,
.customer-header,
.customer-tabs,
.timeline-card,
.customers-page-header,
.customers-card,
.customer-info-card,
.customer-contacts-card {

    color:
        var(--core-text);

    border:
        1px solid
        var(--core-border);

    border-radius:
        var(--core-radius);

    box-shadow:
        var(--core-shadow);

    overflow: hidden;
}


.card,
.core-panel,
.tasks-panel,
.tasks-stat-card,
.dashboard-panel,
.dashboard-kpi-card,
.winequotes-card,
.wine-builder-customer-card,
.wine-products-panel,
.wine-list-panel,
.wine-admin-products,
.wine-admin-detail,
.wine-tag-panel {

    background:
        var(--core-panel);
}


/* ============================================================
   WINE BUILDER PANELS
============================================================ */

.wine-builder-customer-card,
.wine-products-panel,
.wine-list-panel {

    background:
        var(--core-panel);

    border:
        1px solid
        var(--core-border);

    border-radius:
        var(--core-radius);

    box-shadow:
        var(--core-shadow);

    overflow:
        hidden;

    color:
        var(--core-text);
}


.wine-builder-customer-body {

    padding:
        1.25rem;
}


.wine-products-body {

    background:
        transparent;
}


/* ============================================================
   ACTIVE QUOTE WINE LISTS
============================================================ */

.wine-category-list {

    margin:
        0;

    padding:
        0;

    background:
        transparent;

    border:
        0;

    border-radius:
        0;

    color:
        var(--core-text);

    overflow:
        visible;
}


/*
|--------------------------------------------------------------------------
| KILL BOOTSTRAP WHITE LIST ITEMS
|--------------------------------------------------------------------------
*/

.wine-category-list .list-group-item {

    background:
        rgba(255, 255, 255, 0.035) !important;

    color:
        var(--core-text) !important;

    border:
        1px solid
        var(--core-border-soft) !important;

    border-radius:
        10px !important;

    margin-bottom:
        0.55rem;

    padding:
        0.85rem
        1rem;

    box-shadow:
        none !important;
}


.wine-category-list .list-group-item:hover {

    background:
        rgba(255, 255, 255, 0.055) !important;

    border-color:
        rgba(255, 255, 255, 0.10) !important;
}


/*
|--------------------------------------------------------------------------
| BOOTSTRAP FIRST/LAST CHILD ROUNDING
|--------------------------------------------------------------------------
*/

.wine-category-list .list-group-item:first-child,
.wine-category-list .list-group-item:last-child {

    border-radius:
        10px !important;
}


/*
|--------------------------------------------------------------------------
| TEXT INSIDE GENERATED WINE ROWS
|--------------------------------------------------------------------------
*/

.wine-category-list .list-group-item,
.wine-category-list .list-group-item label,
.wine-category-list .list-group-item span,
.wine-category-list .list-group-item div {

    color:
        inherit;
}


/*
|--------------------------------------------------------------------------
| INPUTS INSIDE WINE ROWS
|--------------------------------------------------------------------------
*/

.wine-category-list .form-control,
.wine-category-list .form-select {

    background:
        rgba(0, 0, 0, 0.14);

    border-color:
        var(--core-border);

    color:
        var(--core-text);
}


.wine-category-list .form-control:focus,
.wine-category-list .form-select:focus {

    background:
        rgba(0, 0, 0, 0.20);

    border-color:
        rgba(255, 255, 255, 0.16);

    color:
        #ffffff;
}


/*
|--------------------------------------------------------------------------
| PRODUCT CATALOGUE
|--------------------------------------------------------------------------
*/

.wine-product-list .list-group-item {

    background:
        transparent !important;

    color:
        var(--core-text) !important;

    border-color:
        var(--core-border-soft) !important;
}


.wine-product-list .list-group-item:hover {

    background:
        var(--core-hover) !important;
}
.customer-header,
.customer-tabs,
.timeline-card,
.customers-page-header,
.customers-card,
.customer-info-card,
.customer-contacts-card {

    background:
        var(--core-panel);
}


.card-header,
.core-panel-header,
.tasks-panel-header,
.dashboard-panel-header,
.winequotes-card-header,
.wine-builder-panel-header,
.wine-admin-panel-header,
.wine-tag-panel-header {

    padding:
        1rem
        1.15rem;

    background:
        rgba(255, 255, 255, 0.025);

    color:
        var(--core-text);

    border-bottom:
        1px solid
        var(--core-border-soft);
}


.card-body {
    color:
        var(--core-text);
}


.dashboard-panel h5,
.winequotes-card-header h5,
.wine-builder-panel-header h5,
.wine-admin-panel-header h5,
.wine-tag-panel-header h5 {

    color: #ffffff;
}


/* ============================================================
   BUTTONS
============================================================ */

.btn-hops-primary {

    background:
        rgba(52, 49, 64, 0.75);

    color: #ffffff;

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    backdrop-filter:
        blur(6px);

    -webkit-backdrop-filter:
        blur(6px);

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}


.btn-hops-primary:hover,
.btn-hops-primary:focus {

    background:
        var(--hops-pink);

    border-color:
        rgba(217, 119, 145, 0.60);

    color: #ffffff;
}


.btn-hops-pink {

    background:
        var(--hops-pink);

    color: #ffffff;

    border:
        1px solid transparent;
}


.btn-hops-pink:hover,
.btn-hops-pink:focus {

    background:
        var(--hops-dark);

    color:
        var(--hops-pink);
}


.btn-core-primary,
.btn-core-secondary,
.btn-core-tertiary {

    border-radius:
        var(--core-radius-sm);
}


.btn-core-primary {

    background:
        var(--hops-pink);

    border-color:
        var(--hops-pink);

    color: #ffffff;

    font-weight: 600;
}


.btn-core-primary:hover {

    background:
        #d9446f;

    border-color:
        #d9446f;

    color: #ffffff;
}


.btn-core-secondary {

    background:
        rgba(255, 255, 255, 0.06);

    border:
        1px solid
        rgba(255, 255, 255, 0.20);

    color:
        rgba(255, 255, 255, 0.85);
}


.btn-core-secondary:hover {

    background:
        rgba(255, 255, 255, 0.10);

    color: #ffffff;
}


.btn-core-tertiary {

    background:
        rgba(40, 167, 69, 0.15);

    border:
        1px solid
        rgba(40, 167, 69, 0.40);

    color:
        #8bd49d;
}


.btn-core-tertiary:hover {

    background:
        rgba(255, 255, 255, 0.08);

    border-color:
        rgba(40, 167, 69, 0.70);

    color:
        #8bd49d;
}


.border-hops {
    border-color:
        rgba(169, 187, 117, 0.45) !important;
}


/* ============================================================
   CORE FORMS
============================================================ */

.form-control,
.form-select {

    background:
        var(--core-input);

    border:
        1px solid
        var(--core-border);

    border-radius:
        var(--core-radius-sm);

    color:
        var(--core-text);

    box-shadow: none;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease;
}


.form-control::placeholder {

    color:
        var(--core-text-faint);

    opacity: 1;
}


.form-control:focus,
.form-select:focus {

    background:
        var(--core-input-focus);

    border-color:
        rgba(255, 255, 255, 0.16);

    color:
        #ffffff;

    box-shadow: none;
}


.form-select option {

    background:
        #151b26;

    color:
        #ffffff;
}


.form-label {

    color:
        var(--core-text-soft);

    font-size:
        0.8rem;
}


/* ============================================================
   CORE SEARCH INPUTS
============================================================ */

.core-search,
.winequotes-search,
.wine-product-search,
.wine-admin-search,
.wine-admin-food-search,
.wine-tag-search,
.wine-tag-icon-search {

    position:
        relative;
}


.winequotes-search {
    width: 300px;
    max-width: 100%;
}


.winequotes-search i,
.wine-product-search i,
.wine-admin-search i,
.wine-admin-food-search i,
.wine-tag-search i,
.wine-tag-icon-search > i {

    position:
        absolute;

    top:
        50%;

    transform:
        translateY(-50%);

    color:
        var(--core-text-muted);

    pointer-events:
        none;
}


.winequotes-search i,
.wine-admin-food-search i,
.wine-tag-icon-search > i {

    left:
        0.9rem;
}


.wine-product-search i,
.wine-admin-search i,
.wine-tag-search i {

    left:
        1.9rem;
}


.winequotes-search .form-control,
.wine-product-search .form-control,
.wine-admin-search .form-control,
.wine-admin-food-search .form-control,
.wine-tag-search .form-control,
.wine-tag-icon-search .form-control {

    padding-left:
        2.5rem;
}


/* ============================================================
   CORE MODALS
============================================================ */

.modal-content,
.core-modal {

    background:
        var(--core-panel);

    color:
        var(--core-text);

    border:
        1px solid
        var(--core-border);

    border-radius:
        var(--core-radius);

    box-shadow:
        0 20px 50px
        rgba(0, 0, 0, 0.35);

    backdrop-filter:
        blur(14px);

    -webkit-backdrop-filter:
        blur(14px);

    overflow: hidden;
}


.modal-header,
.core-modal .modal-header {

    padding:
        1.25rem
        1.5rem;

    background:
        var(--core-header);

    border-bottom:
        1px solid
        var(--core-border);
}


.modal-footer,
.core-modal .modal-footer {

    padding:
        1rem
        1.5rem;

    border-top:
        1px solid
        var(--core-border);
}


.core-modal .modal-body {
    padding: 1.5rem;
}


.core-modal .modal-title {

    margin: 0;

    color: #ffffff;

    font-size: 1.3rem;

    font-weight: 700;
}


.core-modal .form-label {

    color:
        var(--core-text-soft);

    font-size:
        0.82rem;

    font-weight: 600;
}


.core-modal .form-text {

    color:
        var(--core-text-muted);

    font-size:
        0.75rem;
}


/* ============================================================
   QUICK ACTIONS
============================================================ */

.quick-actions-title {

    color:
        var(--core-text-muted);

    font-size:
        0.8rem;

    text-transform:
        uppercase;

    letter-spacing:
        0.08em;
}


.quick-actions .btn {

    min-height: 42px;

    white-space: nowrap;
}


/* ============================================================
   TASKS / ACTIVITIES PAGE
============================================================ */

#tasksActivitiesApp {

    color:
        rgba(255, 255, 255, 0.88);
}


#tasksActivitiesApp .container-fluid {
    padding: 0;
}


#tasksActivitiesApp h3 {

    color:
        rgba(255, 255, 255, 0.94);

    font-weight: 700;

    letter-spacing:
        -0.02em;
}


#tasksActivitiesApp small {

    color:
        var(--core-text-muted) !important;
}


#tasksActivitiesApp .card {

    background:
        var(--core-panel-soft);

    border-color:
        var(--core-border);
}


#tasksActivitiesApp .card-header {

    color:
        var(--core-text-soft);

    font-size:
        0.78rem;

    text-transform:
        uppercase;

    letter-spacing:
        0.08em;
}


#tasksActivitiesApp .btn-hops-primary {

    border-radius:
        var(--core-radius-sm);

    background:
        rgba(255, 255, 255, 0.075);

    border:
        1px solid
        var(--core-border);

    font-size:
        0.8rem;

    font-weight:
        600;

    padding:
        0.55rem
        0.8rem;
}


#tasksActivitiesApp .btn-hops-primary:hover {

    background:
        rgba(255, 255, 255, 0.12);

    color: #ffffff;
}


#tasksActivitiesApp .card-body hr {

    border-color:
        var(--core-border-soft);

    opacity: 1;
}


#tasksActivitiesApp .badge {

    min-width: 30px;

    padding:
        0.32rem
        0.5rem;

    border-radius: 7px;

    font-size:
        0.7rem;

    font-weight: 700;
}


/* TASK SUMMARY */

#taskSummaryOpen {

    background:
        rgba(116, 192, 252, 0.13) !important;

    color:
        #74c0fc;
}


#taskSummaryToday {

    background:
        rgba(255, 212, 59, 0.13) !important;

    color:
        #ffd43b !important;
}


#taskSummaryOverdue {

    background:
        rgba(255, 135, 135, 0.13) !important;

    color:
        #ff8787;
}


#taskSummaryCompleted {

    background:
        rgba(105, 219, 124, 0.13) !important;

    color:
        #69db7c;
}


#taskList {

    background:
        transparent;
}


#taskList .list-group-item {

    background:
        transparent;

    color:
        var(--core-text-soft);

    border-color:
        var(--core-border-soft);

    padding:
        0.95rem
        1rem;

    transition:
        background 0.15s ease,
        transform 0.15s ease;
}


#taskList .list-group-item:hover {

    background:
        var(--core-hover);

    transform:
        translateX(2px);
}


#taskList .task-title {

    color:
        rgba(255, 255, 255, 0.92);

    font-weight: 600;

    font-size:
        0.9rem;
}


#taskList .task-meta {

    color:
        var(--core-text-muted);

    font-size:
        0.72rem;

    margin-top:
        0.2rem;
}


#taskList .priority-low {
    color: #74c0fc;
}


#taskList .priority-normal {
    color: rgba(255, 255, 255, 0.55);
}


#taskList .priority-high {
    color: #ffa94d;
}


#taskList .priority-urgent {
    color: #ff8787;
}


/* ============================================================
   TODAY ACTIVITIES
============================================================ */

#todayActivitiesList {
    background: transparent;
}


#todayActivitiesList .list-group-item {

    background:
        transparent;

    color:
        var(--core-text);

    border-color:
        var(--core-border);

    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}


#todayActivitiesList .list-group-item:hover {

    background:
        rgba(104, 122, 71, 0.22);

    color: #ffffff;
}


#todayActivitiesCount {

    background:
        var(--hops-pink) !important;

    color:
        #ffffff !important;
}


.task-list-item {

    background:
        var(--core-panel-soft);

    color:
        var(--core-text);

    border-color:
        var(--core-border);
}


/* ============================================================
   ACTIVITY CALENDAR
============================================================ */

#calendarTitle {
    color: #d4dda9;
}


.activity-calendar-table {

    width: 100%;

    table-layout: fixed;

    margin: 0;

    --bs-table-bg:
        transparent;

    --bs-table-color:
        var(--core-text);

    --bs-table-border-color:
        var(--core-border);

    --bs-table-striped-bg:
        rgba(255, 255, 255, 0.02);

    --bs-table-striped-color:
        var(--core-text);

    --bs-table-hover-bg:
        rgba(104, 122, 71, 0.18);

    --bs-table-hover-color:
        #ffffff;

    background:
        transparent;
}


.activity-calendar-table thead th {

    width: 14.2857%;

    padding:
        13px
        8px;

    background:
        var(--core-panel);

    color:
        #cad5a2;

    border-color:
        var(--core-border);

    font-size:
        0.78rem;

    font-weight: 600;

    text-transform:
        uppercase;

    letter-spacing:
        0.08em;
}


.activity-calendar-table th,
.activity-calendar-table td {

    width:
        14.2857%;

    max-width:
        14.2857%;

    overflow: hidden;

    border-color:
        var(--core-border);
}


.activity-calendar-table td {

    height: 140px;

    padding: 8px;

    vertical-align: top;

    background:
        rgba(16, 24, 39, 0.52);

    transition:
        background-color 0.15s ease,
        box-shadow 0.15s ease;
}


.activity-calendar-table td:hover {

    background:
        rgba(104, 122, 71, 0.28);
}


.activity-calendar-table td.calendar-today {

    background:
        rgba(104, 122, 71, 0.30);

    box-shadow:
        inset
        0
        0
        0
        1px
        rgba(199, 217, 137, 0.35);
}


.activity-calendar-table td.calendar-other-month {

    background:
        rgba(16, 24, 39, 0.28);

    color:
        rgba(255, 255, 255, 0.30);
}


.activity-calendar-table .calendar-day-number {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-width: 28px;

    height: 28px;

    margin-bottom: 6px;

    border-radius: 8px;

    color:
        #d8ddce;

    font-size:
        0.8rem;

    font-weight: 600;
}


.activity-calendar-table td.calendar-today .calendar-day-number {

    background:
        var(--hops-green);

    color:
        #ffffff;
}


.activity-calendar-table td.table-primary {

    --bs-table-bg:
        rgba(217, 119, 145, 0.20) !important;

    --bs-table-color:
        #ffffff !important;

    --bs-table-border-color:
        rgba(217, 119, 145, 0.45) !important;

    background:
        rgba(217, 119, 145, 0.20) !important;

    color:
        #ffffff !important;

    box-shadow:
        inset
        0
        0
        0
        2px
        rgba(217, 119, 145, 0.65);
}


.activity-calendar-table td.table-primary .badge.bg-primary {

    background:
        var(--hops-pink) !important;

    color:
        #ffffff !important;
}


.activity-calendar-item {

    display: block;

    width: 100%;

    min-width: 0;

    margin-bottom: 5px;

    padding:
        6px
        8px;

    overflow: hidden;

    background:
        rgba(104, 122, 71, 0.8);

    border-left:
        3px solid
        var(--hops-green-light);

    border-radius: 6px;

    color:
        #f3f4ed;

    cursor: pointer;
}


.activity-calendar-item:hover {

    background:
        rgba(121, 143, 80, 0.78);

    transform:
        translateX(2px);
}


.activity-calendar-item .fw-semibold,
.activity-calendar-item .small {

    display: block;

    overflow: hidden;

    white-space: nowrap;

    text-overflow:
        ellipsis;
}


/* ============================================================
   TASKS ISSUES / COMPLAINTS
============================================================ */

.tasks-issues-page {

    color:
        var(--core-text);
}


.tasks-stat-card {

    padding: 1rem;
}


.tasks-stat-label {

    margin-bottom:
        0.4rem;

    color:
        var(--core-text-muted);

    font-size:
        0.72rem;

    font-weight: 600;
}


.tasks-stat-value {

    color:
        var(--core-text);

    font-size:
        1.9rem;

    font-weight: 700;

    line-height: 1;
}


.tasks-stat-danger {
    color: #ff8787;
}


.tasks-stat-warning {
    color: #ffd43b;
}


.tasks-stat-success {
    color: #69db7c;
}


.tasks-panel-header {

    display: flex;

    justify-content:
        space-between;

    align-items:
        center;
}


.tasks-panel-title {

    margin:
        0.15rem
        0
        0;

    color:
        var(--core-text);

    font-size:
        1rem;

    font-weight: 700;
}


.tasks-panel-body {
    padding: 1rem;
}


.tasks-issues-table {

    --bs-table-bg:
        transparent;

    --bs-table-color:
        #dce3eb;

    --bs-table-border-color:
        var(--core-border-soft);

    margin: 0;
}


.tasks-issues-table thead th {

    background:
        rgba(255, 255, 255, 0.025);

    color:
        #aeb7c4;

    padding:
        0.8rem
        0.9rem;

    font-size:
        0.69rem;

    font-weight: 700;

    text-transform:
        uppercase;

    letter-spacing:
        0.06em;
}


.tasks-issues-table tbody td {

    padding:
        0.8rem
        0.9rem;

    background:
        transparent;

    color:
        #dce3eb;

    border-color:
        var(--core-border-soft);
}


.tasks-issues-table tbody tr:hover td {

    background:
        var(--core-hover);
}


/* ============================================================
   TASKS DASHBOARD
============================================================ */

.tasks-dashboard-page {

    color:
        var(--core-text);
}


.tasks-dashboard-header-icon {

    width: 50px;
    height: 50px;

    flex:
        0
        0
        50px;

    display: flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius: 10px;

    background:
        rgba(255, 255, 255, 0.10);

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    color: #ffffff;

    font-size:
        1.15rem;
}


.tasks-dashboard-date {

    min-height: 40px;

    display:
        flex;

    align-items:
        center;

    padding:
        0.45rem
        0.85rem;

    background:
        rgba(0, 0, 0, 0.12);

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-radius: 7px;

    color:
        rgba(255, 255, 255, 0.75);

    font-size:
        0.82rem;

    white-space:
        nowrap;
}


.tasks-dashboard-action {

    min-height: 40px;

    padding:
        0.45rem
        0.9rem;

    background:
        rgba(255, 255, 255, 0.10);

    border:
        1px solid
        rgba(255, 255, 255, 0.20);

    color:
        #ffffff;

    font-weight: 500;
}


.tasks-dashboard-action:hover {

    background:
        rgba(255, 255, 255, 0.18);

    color:
        #ffffff;
}


.tasks-dashboard-action:first-of-type {

    background:
        var(--hops-pink);

    border-color:
        var(--hops-pink);
}


.dashboard-kpi-card .card-body {

    padding:
        1.15rem
        1.25rem;
}


.dashboard-kpi-icon {

    display: flex;

    align-items:
        center;

    justify-content:
        center;

    width: 46px;
    height: 46px;

    flex:
        0
        0
        46px;

    border-radius: 12px;

    background:
        rgba(232, 79, 123, 0.14);

    color:
        var(--hops-pink);

    font-size:
        1.05rem;
}


.dashboard-kpi-icon-danger {

    background:
        rgba(220, 53, 69, 0.14);

    color:
        #dc3545;
}


.dashboard-kpi-icon-success {

    background:
        rgba(25, 135, 84, 0.14);

    color:
        #42c98a;
}


.dashboard-kpi-icon-warning {

    background:
        rgba(255, 193, 7, 0.14);

    color:
        #ffc107;
}


.dashboard-kpi-label {

    color:
        var(--core-text-muted);

    font-size:
        0.78rem;
}


.dashboard-kpi-value {

    color:
        #ffffff;

    font-size:
        1.8rem;

    font-weight:
        700;
}


.dashboard-list {

    --bs-list-group-bg:
        transparent;

    --bs-list-group-color:
        #ffffff;

    --bs-list-group-border-color:
        var(--core-border-soft);
}


.dashboard-list-item {

    background:
        transparent !important;

    color:
        #ffffff !important;

    border-color:
        var(--core-border-soft) !important;

    padding:
        0.95rem
        1.15rem;
}


.dashboard-list-item:hover {

    background:
        var(--core-hover) !important;
}


.dashboard-item-title {

    color:
        #ffffff;

    font-weight: 600;
}


.dashboard-item-meta,
.dashboard-issue-ref {

    color:
        var(--core-text-muted);

    font-size:
        0.78rem;
}


.dashboard-empty {

    color:
        var(--core-text-muted);

    text-align:
        center;

    padding:
        2rem
        1rem;

    font-size:
        0.85rem;
}


.dashboard-week {
    padding: 0;
}


.dashboard-week-row {

    display: flex;

    min-height: 64px;

    border-bottom:
        1px solid
        var(--core-border-soft);
}


.dashboard-week-date {

    width: 76px;

    flex:
        0
        0
        76px;

    display: flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        0.45rem;

    border-right:
        1px solid
        var(--core-border-soft);
}


.dashboard-week-day {

    color:
        var(--core-text-muted);

    font-size:
        0.72rem;

    text-transform:
        uppercase;
}


.dashboard-week-number {

    color:
        #ffffff;

    font-size:
        1.2rem;

    font-weight:
        700;
}


.dashboard-week-content {

    flex: 1;

    display: flex;

    flex-wrap:
        wrap;

    align-items:
        center;

    gap:
        0.55rem
        1rem;

    padding:
        0.75rem
        1rem;
}


.dashboard-week-line {

    color:
        var(--core-text-soft);

    font-size:
        0.8rem;
}


.dashboard-week-line i {

    color:
        var(--hops-pink);
}


.dashboard-week-clear {

    color:
        var(--core-text-faint);

    font-size:
        0.8rem;
}


/* ============================================================
   OOS
============================================================ */

.oos-product-results {

    position:
        absolute;

    top:
        calc(100% + 4px);

    left: 0;
    right: 0;

    z-index: 1060;

    max-height:
        320px;

    overflow-y:
        auto;

    background:
        rgba(16, 24, 39, 0.98);

    border:
        1px solid
        var(--core-border);

    border-radius:
        var(--core-radius-sm);

    box-shadow:
        var(--core-shadow);
}


.oos-product-result {

    padding:
        10px
        12px;

    cursor:
        pointer;

    border-bottom:
        1px solid
        var(--core-border-soft);
}


.oos-product-result:hover {

    background:
        var(--core-hover);
}


.oos-product-code,
.oos-product-stock {

    font-size:
        0.75rem;

    opacity:
        0.65;
}


.tasks-oos-table {

    --bs-table-bg:
        transparent;

    --bs-table-color:
        #f1f1f1;

    --bs-table-border-color:
        var(--core-border);

    --bs-table-hover-bg:
        var(--core-hover);

    --bs-table-hover-color:
        #ffffff;

    background:
        transparent;
}


.tasks-oos-table > :not(caption) > * > * {

    background:
        transparent;

    color:
        inherit;

    border-color:
        var(--core-border);
}


.tasks-oos-table thead th {

    background:
        rgba(255, 255, 255, 0.025);

    color:
        #ffffff;
}


/* ============================================================
   DOCUMENT DROPZONE
============================================================ */

.document-dropzone {

    display: flex;

    align-items:
        center;

    gap: 1rem;

    padding: 1rem;

    background:
        var(--core-input);

    border:
        1px dashed
        rgba(255, 255, 255, 0.18);

    border-radius:
        12px;
}


.document-dropzone:hover {

    background:
        var(--core-input-focus);

    border-color:
        rgba(232, 79, 123, 0.55);
}


.document-dropzone-icon {

    display: flex;

    align-items:
        center;

    justify-content:
        center;

    width: 44px;
    height: 44px;

    flex:
        0
        0
        44px;

    border-radius: 10px;

    background:
        rgba(232, 79, 123, 0.14);

    color:
        var(--hops-pink);

    font-size:
        1.1rem;
}


.document-dropzone-content {

    flex: 1;

    min-width: 0;
}


.document-dropzone-title {

    font-weight: 600;

    margin-bottom:
        0.15rem;
}


.document-dropzone-filename {

    color:
        var(--core-text-muted);

    font-size:
        0.78rem;

    overflow:
        hidden;

    text-overflow:
        ellipsis;

    white-space:
        nowrap;
}


/* ============================================================
   CORE HOME
============================================================ */

.core-home {

    min-height: 100%;

    display: flex;

    flex-direction:
        column;

    justify-content:
        center;

    padding-left:
        3rem !important;

    padding-right:
        3rem !important;
}


.core-home-hero {

    width: 100%;

    padding: 3rem;
}


.core-home-content {

    display: flex;

    align-items:
        center;

    gap: 1.5rem;
}


.core-home-mark {

    width: 72px;
    height: 72px;

    flex:
        0
        0
        72px;

    display: flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        16px;

    background:
        rgba(255, 255, 255, 0.10);

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    color:
        #ffffff;

    font-size:
        1.7rem;

    padding: 10px;
}


.core-home-eyebrow {

    color:
        var(--core-text-muted);

    font-size:
        0.75rem;

    text-transform:
        uppercase;

    letter-spacing:
        0.16em;
}


.core-home-title {

    margin: 0;

    color:
        #ffffff;

    font-size:
        3.2rem;

    font-weight:
        700;

    line-height: 1;
}


.core-home-subtitle {

    margin-top:
        0.45rem;

    color:
        var(--core-text-soft);

    font-size:
        1rem;
}


.core-home-message {

    margin-top:
        2rem;

    padding-top:
        1.25rem;

    border-top:
        1px solid
        var(--core-border);

    color:
        var(--core-text-soft);

    font-size:
        0.9rem;
}


.core-home-message i {

    color:
        var(--hops-pink);
}


.core-home-footer {

    display: flex;

    align-items:
        center;

    justify-content:
        center;

    flex-wrap:
        wrap;

    gap:
        0.8rem;

    margin-top:
        1.5rem;

    color:
        var(--core-text-faint);

    font-size:
        0.75rem;
}


.core-home-dot {

    width: 3px;
    height: 3px;

    border-radius:
        50%;

    background:
        var(--hops-pink);
}


/* ============================================================
   CUSTOMERS
============================================================ */

.customer-header {

    padding:
        1.5rem;
}


.customer-name,
.customers-page-title,
.customers-card-title {

    color:
        #ffffff;

    font-weight:
        700;
}


.customer-meta {

    color:
        var(--core-text-muted);
}


.customer-tabs {

    display: flex;

    flex-wrap:
        wrap;

    gap:
        0.4rem;

    padding:
        0.5rem;
}


.customer-tab {

    border: 0;

    background:
        transparent;

    color:
        var(--core-text-muted);

    padding:
        0.7rem
        1rem;

    border-radius:
        var(--core-radius-sm);
}


.customer-tab:hover {

    background:
        var(--core-hover);

    color:
        #ffffff;
}


.customer-tab.active {

    background:
        rgba(232, 79, 123, 0.15);

    color:
        var(--hops-pink);
}


.customers-page-header {

    padding:
        1.5rem;
}


.customers-card-body {

    padding:
        1.25rem;
}


.customers-card-header {

    display: flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap: 1rem;

    padding:
        1.25rem
        1.35rem;

    border-bottom:
        1px solid
        var(--core-border-soft);
}


.customers-card-title {

    margin: 0;

    font-size:
        1.15rem;
}


.customers-count {

    color:
        var(--core-text-muted);

    font-size:
        0.85rem;
}


.customers-table {

    --bs-table-bg:
        transparent;

    --bs-table-color:
        rgba(255, 255, 255, 0.82);

    --bs-table-border-color:
        var(--core-border-soft);

    --bs-table-hover-bg:
        var(--core-hover);

    --bs-table-hover-color:
        #ffffff;

    margin: 0;
}


.customers-table > :not(caption) > * > * {

    background:
        transparent;

    color:
        inherit;

    border-color:
        var(--core-border-soft);
}


.customers-table thead th {

    background:
        rgba(255, 255, 255, 0.025) !important;

    color:
        var(--core-text-muted);

    font-size:
        0.75rem;

    text-transform:
        uppercase;

    letter-spacing:
        0.06em;

    padding:
        0.9rem
        1rem;
}


.customers-table tbody td {

    padding:
        0.9rem
        1rem;
}


.customer-list-name {

    color:
        #ffffff;

    font-weight: 600;

    text-decoration:
        none;
}


.customer-list-name:hover {

    color:
        var(--hops-pink);
}


.customer-status-active {

    background:
        rgba(40, 167, 69, 0.15);

    color:
        #8bd49d;

    border:
        1px solid
        rgba(40, 167, 69, 0.20);
}


.customer-status-inactive {

    background:
        rgba(255, 255, 255, 0.07);

    color:
        var(--core-text-muted);

    border:
        1px solid
        var(--core-border);
}


.customers-pagination {

    display: flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        1rem;

    padding:
        1rem
        1.35rem;

    border-top:
        1px solid
        var(--core-border-soft);
}


.customers-pagination-info {

    color:
        var(--core-text-muted);

    font-size:
        0.82rem;
}


/* ============================================================
   CUSTOMER INFO / CONTACTS
============================================================ */

.customer-info-card {

    height: 100%;

    padding:
        1.2rem;
}


.customer-info-label {

    color:
        var(--core-text-muted);

    font-size:
        0.7rem;

    text-transform:
        uppercase;

    letter-spacing:
        0.1em;
}


.customer-info-value {

    color:
        #ffffff;

    font-weight:
        600;
}


.customer-info-meta {

    color:
        var(--core-text-muted);

    font-size:
        0.82rem;
}


.customer-status-pill {

    display:
        inline-block;

    padding:
        0.3rem
        0.55rem;

    border-radius:
        999px;

    font-size:
        0.76rem;

    font-weight:
        600;
}


.customer-group-badge {

    display:
        inline-block;

    padding:
        0.35rem
        0.6rem;

    border-radius:
        8px;

    background:
        rgba(232, 79, 123, 0.14);

    color:
        var(--hops-pink);

    font-size:
        0.82rem;
}


.customer-contacts-header {

    padding:
        1.2rem
        1.3rem;

    border-bottom:
        1px solid
        var(--core-border-soft);
}


.customer-contacts-title {

    margin: 0;

    color:
        #ffffff;

    font-size:
        1.1rem;
}


.customer-contacts-grid {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(220px, 1fr)
        );

    gap: 1rem;

    padding: 1.2rem;
}


.customer-contact-card {

    padding:
        1rem;

    border-radius:
        12px;

    background:
        var(--core-input);

    border:
        1px solid
        var(--core-border-soft);
}


.customer-contact-card.is-erp {
    opacity: 0.68;
}


.customer-contact-card.is-core {
    opacity: 1;
}


.customer-contact-header {

    display: flex;

    justify-content:
        space-between;

    align-items:
        flex-start;

    gap:
        0.75rem;
}


.customer-contact-type {

    color:
        var(--hops-pink);

    text-transform:
        capitalize;

    font-size:
        0.72rem;

    font-weight:
        600;
}


.customer-contact-name {

    color:
        #ffffff;

    font-weight:
        600;
}


.customer-contact-link {

    display:
        block;

    color:
        var(--core-text-muted);

    font-size:
        0.82rem;

    text-decoration:
        none;

    margin-top:
        0.3rem;
}


.customer-contact-link:hover {

    color:
        var(--hops-pink);
}


.customer-contact-source {

    display:
        inline-block;

    padding:
        0.12rem
        0.35rem;

    border-radius:
        5px;

    background:
        var(--core-hover);

    color:
        var(--core-text-faint);

    font-size:
        0.58rem;
}


/* ============================================================
   CUSTOMER OVERVIEW / GROUPS
============================================================ */

.customer-overview-stat {

    font-size:
        1.35rem;

    font-weight:
        700;

    color:
        rgba(255, 255, 255, 0.92);
}


.customer-overview-section {
    padding: 1rem;
}


.customer-overview-order {

    display: flex;

    width: 100%;

    justify-content:
        space-between;

    align-items:
        center;

    border: 0;

    border-radius:
        10px;

    padding:
        0.85rem;

    background:
        var(--core-hover);

    color:
        inherit;

    text-align:
        left;
}


.customer-overview-order:hover {

    background:
        rgba(255, 255, 255, 0.065);
}


.customer-overview-order-type {

    color:
        var(--core-text-faint);

    font-size:
        0.67rem;

    text-transform:
        uppercase;

    letter-spacing:
        0.08em;
}


.customer-overview-order-reference,
.customer-overview-order-value {

    color:
        rgba(255, 255, 255, 0.90);

    font-weight:
        600;
}


.customer-overview-order-date {

    color:
        var(--core-text-faint);

    font-size:
        0.7rem;
}


.customer-group-account {

    display: flex;

    justify-content:
        space-between;

    gap: 1rem;

    padding:
        0.6rem
        0;

    border-bottom:
        1px solid
        var(--core-border-soft);

    color:
        var(--core-text-soft);

    text-decoration:
        none;
}


.customer-group-account:hover {

    color:
        #ffffff;
}


.customer-group-code {

    font-weight:
        700;

    color:
        rgba(255, 255, 255, 0.82);
}


.customer-group-name-input {

    min-width:
        240px;
}


.customer-group-name-input.is-unnamed {

    border-color:
        rgba(255, 255, 255, 0.14);

    background:
        rgba(255, 255, 255, 0.025);
}


.customer-group-unnamed {

    background:
        rgba(255, 255, 255, 0.015);
}


.customer-group-member-count {

    display:
        inline-flex;

    min-width: 34px;

    justify-content:
        center;

    padding:
        0.25rem
        0.5rem;

    border-radius:
        7px;

    background:
        var(--core-input);

    color:
        var(--core-text-soft);

    font-weight:
        600;
}


.customer-group-examples {

    display: flex;

    flex-wrap:
        wrap;

    gap:
        0.3rem;
}


.customer-group-examples span {

    padding:
        0.2rem
        0.4rem;

    border-radius:
        6px;

    background:
        var(--core-hover);

    color:
        var(--core-text-muted);

    font-size:
        0.7rem;
}


/* ============================================================
   CUSTOMER DOCUMENTS
============================================================ */

.customer-documents-list {

    display:
        flex;

    flex-direction:
        column;
}


.customer-document-item {

    display: grid;

    grid-template-columns:
        42px
        minmax(0, 1fr)
        auto;

    gap:
        0.9rem;

    align-items:
        center;

    padding:
        0.95rem
        1.1rem;

    border-bottom:
        1px solid
        var(--core-border-soft);
}


.customer-document-item:hover {

    background:
        var(--core-hover);
}


.customer-document-icon {

    width: 42px;
    height: 42px;

    display: flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        10px;

    background:
        rgba(116, 192, 252, 0.12);

    border:
        1px solid
        var(--core-border);

    color:
        #74c0fc;
}


.customer-document-title {

    color:
        rgba(255, 255, 255, 0.90);

    font-size:
        0.88rem;

    font-weight:
        600;
}


.customer-document-description {

    color:
        rgba(255, 255, 255, 0.65);

    font-size:
        0.88rem;
}


.customer-document-meta {

    display: flex;

    flex-wrap:
        wrap;

    gap:
        0.5rem;

    color:
        var(--core-text-faint);

    font-size:
        0.7rem;
}


/* ============================================================
   CUSTOMER TIMELINE
============================================================ */

.timeline-toolbar,
.timeline-card-header,
.timeline-month-controls {

    display: flex;

    align-items:
        center;
}


.timeline-toolbar,
.timeline-card-header {

    justify-content:
        space-between;
}


.timeline-filter-group {

    display: flex;

    flex-wrap:
        wrap;

    gap:
        0.45rem;
}


.timeline-filter {

    border:
        1px solid
        var(--core-border);

    background:
        var(--core-input);

    color:
        var(--core-text-soft);

    padding:
        0.45rem
        0.75rem;

    border-radius:
        8px;

    font-size:
        0.82rem;
}


.timeline-filter:hover {

    background:
        var(--core-hover);

    color:
        #ffffff;
}


.timeline-filter.active {

    background:
        var(--hops-pink);

    border-color:
        var(--hops-pink);

    color:
        #ffffff;
}


.timeline-card-header {

    gap:
        1rem;

    padding:
        1.25rem
        1.35rem;

    border-bottom:
        1px solid
        var(--core-border-soft);
}


.timeline-card-title {

    margin: 0;

    color:
        #ffffff;

    font-size:
        1.15rem;
}


.timeline-month-controls {

    gap:
        0.7rem;
}


.timeline-month-title {

    min-width:
        130px;

    text-align:
        center;

    color:
        #ffffff;

    font-weight:
        600;
}


.timeline-calendar {

    min-height:
        650px;

    padding: 1rem;
}


.timeline-list {

    display:
        flex;

    flex-direction:
        column;
}


.timeline-list-item {

    display: grid;

    grid-template-columns:
        38px
        minmax(0, 1fr)
        auto;

    gap:
        0.85rem;

    align-items:
        center;

    padding:
        0.9rem
        1rem;

    border-bottom:
        1px solid
        var(--core-border-soft);

    background:
        transparent;

    cursor:
        pointer;
}


.timeline-list-item:hover {

    background:
        var(--core-hover);

    transform:
        translateX(2px);
}


.timeline-list-icon {

    width: 38px;
    height: 38px;

    display: flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        10px;

    background:
        var(--core-input);

    border:
        1px solid
        var(--core-border-soft);

    color:
        var(--core-text-soft);
}


.timeline-list-title {

    color:
        rgba(255, 255, 255, 0.92);

    font-size:
        0.88rem;

    font-weight:
        600;

    overflow:
        hidden;

    white-space:
        nowrap;

    text-overflow:
        ellipsis;
}


.timeline-list-description {

    color:
        var(--core-text-muted);

    font-size:
        0.76rem;

    display:
        -webkit-box;

    -webkit-line-clamp:
        2;

    -webkit-box-orient:
        vertical;

    overflow:
        hidden;
}


.timeline-list-meta {

    display: flex;

    flex-wrap:
        wrap;

    gap:
        0.4rem;

    color:
        var(--core-text-faint);

    font-size:
        0.68rem;
}


.timeline-list-meta span {

    padding:
        0.12rem
        0.35rem;

    border-radius:
        5px;

    background:
        var(--core-hover);
}


.timeline-list-date {

    min-width:
        72px;

    text-align:
        right;

    color:
        var(--core-text-muted);

    font-size:
        0.7rem;
}


.timeline-empty {

    padding:
        2rem;

    text-align:
        center;

    color:
        var(--core-text-muted);

    font-size:
        0.82rem;
}


/* TIMELINE TYPE COLOURS */

.timeline-type-order {
    --timeline-accent: #74c0fc;
    --timeline-bg: rgba(116, 192, 252, 0.12);
    --timeline-border: rgba(116, 192, 252, 0.20);
}


.timeline-type-invoice {
    --timeline-accent: #66d9e8;
    --timeline-bg: rgba(102, 217, 232, 0.12);
    --timeline-border: rgba(102, 217, 232, 0.20);
}


.timeline-type-credit {
    --timeline-accent: #ffa94d;
    --timeline-bg: rgba(255, 169, 77, 0.12);
    --timeline-border: rgba(255, 169, 77, 0.20);
}


.timeline-type-task {
    --timeline-accent: #b197fc;
    --timeline-bg: rgba(177, 151, 252, 0.12);
    --timeline-border: rgba(177, 151, 252, 0.20);
}


.timeline-type-activity {
    --timeline-accent: #69db7c;
    --timeline-bg: rgba(105, 219, 124, 0.12);
    --timeline-border: rgba(105, 219, 124, 0.20);
}


.timeline-type-complaint {
    --timeline-accent: #ff8787;
    --timeline-bg: rgba(255, 135, 135, 0.12);
    --timeline-border: rgba(255, 135, 135, 0.20);
}


.timeline-type-document {
    --timeline-accent: #ced4da;
    --timeline-bg: rgba(206, 212, 218, 0.10);
    --timeline-border: rgba(206, 212, 218, 0.18);
}


.timeline-type-quote {
    --timeline-accent: #ffd43b;
    --timeline-bg: rgba(255, 212, 59, 0.11);
    --timeline-border: rgba(255, 212, 59, 0.20);
}


.timeline-list-icon[class*="timeline-type-"] {

    color:
        var(--timeline-accent);

    background:
        var(--timeline-bg);

    border-color:
        var(--timeline-border);
}


.timeline-calendar-table {

    --bs-table-bg:
        transparent;

    --bs-table-color:
        var(--core-text-soft);

    margin: 0;
}


.timeline-calendar-table > :not(caption) > * > * {

    background:
        transparent;

    border-color:
        var(--core-border-soft);
}


.timeline-calendar-table thead th {

    color:
        var(--core-text-muted);

    font-size:
        0.7rem;

    text-transform:
        uppercase;

    letter-spacing:
        0.08em;
}


.timeline-calendar-day {

    height: 110px;

    padding:
        0.55rem;

    vertical-align:
        top;
}


.timeline-calendar-day.outside-month {

    opacity:
        0.28;
}


.timeline-day-number {

    color:
        var(--core-text-soft);

    font-size:
        0.75rem;

    font-weight:
        600;
}


.timeline-calendar-item {

    display: flex;

    width: 100%;

    align-items:
        center;

    gap:
        0.35rem;

    color:
        var(--timeline-accent);

    background:
        var(--timeline-bg);

    border:
        1px solid
        var(--timeline-border);

    border-radius:
        6px;

    padding:
        0.3rem
        0.4rem;

    margin-bottom:
        0.25rem;

    font-size:
        0.7rem;
}

/* ============================================================
   WINE QUOTE DASHBOARD - RECENT QUOTES
============================================================ */

.dashboard-quotes-panel {
    overflow: hidden;
}


.dashboard-quotes-table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--core-text-soft);
    --bs-table-border-color: var(--core-border-soft);
    --bs-table-hover-bg: rgba(255, 255, 255, 0.035);
    --bs-table-hover-color: #ffffff;
}


.dashboard-quotes-table thead th {
    padding: 0.8rem 1rem;

    background:
        rgba(255, 255, 255, 0.025);

    color:
        rgba(255, 255, 255, 0.48);

    border-bottom:
        1px solid var(--core-border);

    font-size:
        0.7rem;

    font-weight:
        700;

    text-transform:
        uppercase;

    letter-spacing:
        0.06em;

    white-space:
        nowrap;
}


.dashboard-quotes-table tbody td {
    padding: 0.9rem 1rem;

    border-color:
        var(--core-border-soft);

    color:
        rgba(255, 255, 255, 0.78);
}


.dashboard-quotes-table tbody tr {
    transition:
        background 0.15s ease;
}


.dashboard-quotes-table tbody tr:hover > * {
    background:
        rgba(255, 255, 255, 0.035) !important;
}


.dashboard-quotes-table tbody tr:last-child td {
    border-bottom: 0;
}


/* ============================================================
   WINE QUOTE DASHBOARD - QUICK ACTIONS
============================================================ */

.dashboard-quick-actions {
    padding: 0.65rem;
}


.dashboard-quick-action {
    display: grid;

    grid-template-columns:
        44px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 0.8rem;

    padding:
        0.85rem
        0.8rem;

    border-radius:
        10px;

    color:
        inherit;

    text-decoration:
        none;

    transition:
        background 0.15s ease,
        transform 0.15s ease;
}


.dashboard-quick-action:hover {
    background:
        rgba(255, 255, 255, 0.045);

    transform:
        translateX(2px);

    color:
        #ffffff;
}


.dashboard-quick-icon {
    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius:
        11px;

    background:
        rgba(232, 79, 123, 0.12);

    border:
        1px solid rgba(232, 79, 123, 0.16);

    color:
        var(--hops-pink);

    font-size:
        1rem;
}


.dashboard-quick-content {
    min-width: 0;
}


.dashboard-quick-title {
    color:
        rgba(255, 255, 255, 0.92);

    font-size:
        0.88rem;

    font-weight:
        700;
}


.dashboard-quick-text {
    margin-top:
        0.15rem;

    color:
        rgba(255, 255, 255, 0.42);

    font-size:
        0.72rem;

    line-height:
        1.3;
}


.dashboard-quick-chevron {
    color:
        rgba(255, 255, 255, 0.25);

    font-size:
        0.75rem;
}


.dashboard-quick-action:hover .dashboard-quick-chevron {
    color:
        var(--hops-pink);
}
/* ============================================================
   SAVED WINE QUOTES
============================================================ */

.winequotes-list-page {

    color:
        #ffffff;
}


.winequotes-card {

    overflow:
        hidden;
}


.winequotes-table {

    --bs-table-bg:
        transparent;

    --bs-table-color:
        #ffffff;

    --bs-table-border-color:
        var(--core-border-soft);
}


.winequotes-table thead th {

    padding:
        0.85rem
        1rem;

    background:
        rgba(255, 255, 255, 0.025);

    color:
        var(--core-text-muted);

    font-size:
        0.72rem;

    text-transform:
        uppercase;

    letter-spacing:
        0.05em;

    white-space:
        nowrap;
}


.winequotes-table tbody td {

    padding:
        0.9rem
        1rem;

    border-color:
        var(--core-border-soft);
}


.winequotes-table tbody tr:hover {

    background:
        var(--core-hover);
}


.winequotes-pagination {

    color:
        var(--core-text-muted);
}


.winequotes-pagination .pagination {

    margin-bottom: 0;
}


.winequotes-pagination .page-link {

    background:
        var(--core-panel);

    border-color:
        var(--core-border);

    color:
        var(--core-text-soft);
}


.winequotes-pagination .page-link:hover {

    background:
        var(--core-hover);

    color:
        #ffffff;
}


.winequotes-pagination .page-item.active .page-link {

    background:
        var(--hops-pink);

    border-color:
        var(--hops-pink);

    color:
        #ffffff;
}


/* ============================================================
   WINE BUILDER
============================================================ */

.wine-builder-page {

    color:
        #ffffff;
}


.wine-builder-header-action,
.wine-builder-header-danger {

    min-height: 40px;

    padding:
        0.45rem
        0.9rem;

    border:
        1px solid
        rgba(255, 255, 255, 0.16);

    color:
        #ffffff;
}


.wine-builder-header-action {

    background:
        rgba(255, 255, 255, 0.10);
}


.wine-builder-header-action:hover {

    background:
        rgba(255, 255, 255, 0.18);

    color:
        #ffffff;
}


.wine-builder-header-danger {

    background:
        rgba(220, 53, 69, 0.16);
}


.wine-builder-header-danger:hover {

    background:
        rgba(220, 53, 69, 0.28);

    color:
        #ffffff;
}


.wine-builder-customer-select {

    max-width:
        600px;
}


.wine-builder-empty,
.wine-admin-empty {

    min-height:
        300px;

    display: flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    text-align:
        center;

    padding:
        3rem;

    color:
        var(--core-text-muted);
}


.wine-builder-empty-icon,
.wine-admin-empty-icon {

    width: 72px;
    height: 72px;

    display: flex;

    align-items:
        center;

    justify-content:
        center;

    margin-bottom:
        1.25rem;

    border-radius:
        18px;

    background:
        rgba(232, 79, 123, 0.12);

    color:
        var(--hops-pink);

    font-size:
        1.7rem;
}


.wine-builder-empty h4,
.wine-admin-empty h4 {

    color:
        #ffffff;
}


.wine-product-search,
.wine-admin-search,
.wine-tag-search {

    padding:
        1rem;

    border-bottom:
        1px solid
        var(--core-border-soft);
}


.wine-product-list,
.wine-admin-product-list,
.wine-tag-list {

    overflow-y:
        auto;

    --bs-list-group-bg:
        transparent;

    --bs-list-group-color:
        #ffffff;

    --bs-list-group-border-color:
        var(--core-border-soft);
}


.wine-product-list {

    max-height:
        calc(100vh - 330px);
}


.wine-admin-product-list {

    max-height:
        calc(100vh - 290px);
}


.wine-tag-list {

    max-height:
        calc(100vh - 310px);
}


.wine-product-list .list-group-item,
.wine-admin-product-list .list-group-item,
.wine-tag-list .list-group-item {

    background:
        transparent;

    color:
        #ffffff;

    border-color:
        var(--core-border-soft);
}


.wine-product-list .list-group-item:hover,
.wine-admin-product-list .list-group-item:hover,
.wine-tag-list .list-group-item:hover {

    background:
        var(--core-hover);
}


.wine-admin-product-list .list-group-item.active,
.wine-tag-list .list-group-item.active {

    background:
        rgba(232, 79, 123, 0.13);

    border-color:
        rgba(232, 79, 123, 0.25);

    color:
        #ffffff;
}


.wine-list-body {

    padding:
        1.25rem;
}


.wine-builder-list-actions {

    display: flex;

    gap:
        0.5rem;
}


.wine-category {

    margin-bottom:
        2rem;
}


.wine-category-heading {

    display: flex;

    align-items:
        center;

    gap:
        0.65rem;

    margin-bottom:
        0.85rem;

    padding-bottom:
        0.65rem;

    border-bottom:
        1px solid
        var(--core-border-soft);
}


.wine-category-heading h5 {

    color:
        #ffffff;

    font-size:
        1rem;
}


.wine-category-dot {

    width: 9px;
    height: 9px;

    border-radius:
        50%;
}


.wine-category-red {
    background: #8f2b3e;
}


.wine-category-white {
    background: #e8ddad;
}


.wine-category-rose {
    background: #df8797;
}


.wine-category-sparkling {
    background: #d8ba63;
}


.wine-category-other {
    background: #7b8794;
}


/* ============================================================
   WINE ADMIN
============================================================ */

.wine-admin-page {

    color:
        #ffffff;
}


.wine-admin-save-status {

    color:
        var(--core-text-muted);

    font-size:
        0.8rem;
}


.wine-admin-empty {

    min-height:
        440px;

    background:
        var(--core-panel-soft);

    border:
        1px solid
        var(--core-border);

    border-radius:
        var(--core-radius);
}


.wine-admin-product-header {

    padding:
        1.4rem;

    background:
        rgba(255, 255, 255, 0.025);

    border-bottom:
        1px solid
        var(--core-border);
}


.wine-admin-product-header h3 {

    color:
        #ffffff;
}


.wine-admin-muted {

    color:
        var(--core-text-muted);

    font-size:
        0.8rem;
}


.wine-admin-image-holder {

    width: 160px;
    height: 150px;

    display: flex;

    align-items:
        center;

    justify-content:
        center;

    flex:
        0
        0
        160px;

    padding:
        0.75rem;

    background:
        rgb(255, 255, 255, 0.45);

    border:
        1px solid
        var(--core-border);

    border-radius:
        10px;
}


.wine-admin-image-holder img {

    max-width:
        100%;

    max-height:
        100%;

    object-fit:
        contain;
}


.wine-admin-body {

    padding:
        1.4rem;
}


.wine-admin-section,
.wine-tag-section {

    padding-bottom:
        2rem;

    margin-bottom:
        2rem;

    border-bottom:
        1px solid
        var(--core-border-soft);
}


.wine-admin-section:last-child {

    border-bottom: 0;

    margin-bottom: 0;
}


.wine-admin-section-heading,
.wine-tag-section-heading {

    display: flex;

    justify-content:
        space-between;

    align-items:
        center;

    gap:
        1rem;

    margin-bottom:
        1.25rem;
}


.wine-admin-section-heading h5,
.wine-tag-section-heading h5 {

    margin: 0;

    color:
        #ffffff;
}


.wine-admin-readonly-badge {

    padding:
        0.3rem
        0.55rem;

    background:
        var(--core-input);

    border:
        1px solid
        var(--core-border);

    border-radius:
        20px;

    color:
        var(--core-text-muted);

    font-size:
        0.68rem;

    text-transform:
        uppercase;
}


.wine-admin-readonly,
.wine-tag-readonly {

    background:
        rgba(255, 255, 255, 0.025) !important;

    color:
        var(--core-text-muted) !important;
}


.wine-admin-dietary {

    display: flex;

    flex-wrap:
        wrap;

    gap:
        0.75rem;
}


.wine-admin-check {

    display: flex;

    align-items:
        center;

    gap:
        0.55rem;

    padding:
        0.65rem
        0.85rem;

    background:
        var(--core-input);

    border:
        1px solid
        var(--core-border);

    border-radius:
        8px;

    color:
        var(--core-text-soft);

    cursor:
        pointer;
}


.wine-admin-check:hover {

    background:
        var(--core-hover);
}


.wine-admin-food-suggestions {

    --bs-list-group-bg:
        var(--core-panel);

    --bs-list-group-color:
        #ffffff;

    --bs-list-group-border-color:
        var(--core-border);
}


.wine-admin-selected-foods {

    display: flex;

    flex-wrap:
        wrap;

    gap:
        0.5rem;
}


/* ============================================================
   WINE TAG MANAGER
============================================================ */

.wine-tag-page {

    color:
        #ffffff;
}


.wine-tag-editor {

    padding:
        1.4rem;
}


.wine-tag-colour-control {

    display: flex;

    align-items:
        center;

    gap:
        0.75rem;

    padding:
        0.65rem
        0.8rem;

    background:
        var(--core-input);

    border:
        1px solid
        var(--core-border);

    border-radius:
        8px;
}


.wine-tag-colour-control span {

    color:
        var(--core-text-muted);

    font-size:
        0.78rem;
}


.wine-tag-colour-control .form-control-color {

    width: 42px;
    height: 34px;

    padding: 0;

    border: 0;

    background:
        transparent;
}


.wine-tag-icon-search {

    display: flex;

    align-items:
        center;
}


.wine-tag-icon-search .form-control {

    padding-right:
        4.5rem;
}


.wine-tag-selected-icon {

    position:
        absolute;

    right: 0;

    width: 54px;
    height: 100%;

    display: flex;

    align-items:
        center;

    justify-content:
        center;

    border-left:
        1px solid
        var(--core-border);

    color:
        var(--hops-pink);
}


.wine-tag-icon-results {

    max-height:
        250px;

    overflow-y:
        auto;

    --bs-list-group-bg:
        var(--core-panel);

    --bs-list-group-color:
        #ffffff;

    --bs-list-group-border-color:
        var(--core-border);
}


.wine-tag-preview-section {

    border-bottom: 0;
}


.wine-tag-preview-holder {

    min-height:
        100px;

    display: flex;

    align-items:
        center;

    justify-content:
        center;

    padding:
        1.5rem;

    background:
        rgba(255, 255, 255, 0.025);

    border:
        1px dashed
        var(--core-border);

    border-radius:
        10px;
}


#tagPreview {

    font-size:
        0.9rem;

    border-radius:
        999px;
}


.wine-tag-footer {

    padding-top:
        0.5rem;
}


.wine-tag-save-status {

    color:
        var(--core-text-muted);

    font-size:
        0.8rem;
}


/* ============================================================
   WINEQUOTE LEGACY
============================================================ */

.winecolumn {

    max-height:
        70vh;

    overflow-y:
        auto;
}



/* ============================================================
   CORE LOGIN
============================================================ */

.core-login-page {

    min-height: 100vh;

    margin: 0;

    background-image:
        url('https://hopscrm.co.uk/core/uploads/corebg3.jpg');

    background-size:
        cover;

    background-position:
        center;

    background-repeat:
        no-repeat;

    background-attachment:
        fixed;

    color:
        var(--core-text);
}


.core-login-overlay {

    position:
        fixed;

    inset: 0;

    background:
        rgba(7, 11, 18, 0.48);

    backdrop-filter:
        blur(2px);

    -webkit-backdrop-filter:
        blur(2px);
}


.core-login-shell {

    position:
        relative;

    z-index: 1;

    min-height:
        100vh;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    padding:
        2rem;
}


/* ============================================================
   LOGIN CARD
============================================================ */

.core-login-card {

    width:
        100%;

    max-width:
        430px;

    padding:
        2.75rem;

    background:
        var(--core-panel);

    border:
        1px solid
        var(--core-border);

    border-radius:
        var(--core-radius);

    box-shadow:
        0 25px 70px
        rgba(0, 0, 0, 0.35);

    backdrop-filter:
        blur(16px);

    -webkit-backdrop-filter:
        blur(16px);
}


/* ============================================================
   BRAND
============================================================ */

.core-login-brand {

    margin-bottom:
        2rem;

    text-align:
        center;
}


.core-login-logo {

    width:
        190px;

    max-width:
        70%;
}


.core-login-kicker {

    margin-bottom:
        0.2rem;

    color:
        var(--core-text-muted);

    font-size:
        0.68rem;

    font-weight:
        700;

    text-transform:
        uppercase;

    letter-spacing:
        0.12em;
}


.core-login-title {

    margin:
        0;

    color:
        var(--core-text);

    font-size:
        2rem;

    font-weight:
        700;
}


.core-login-subtitle {

    margin-top:
        0.35rem;

    margin-bottom:
        2rem;

    color:
        var(--core-text-muted);

    font-size:
        0.88rem;
}


/* ============================================================
   LOGIN INPUTS
============================================================ */

.core-login-input {

    position:
        relative;
}


.core-login-input > i {

    position:
        absolute;

    z-index:
        2;

    top:
        50%;

    left:
        1rem;

    transform:
        translateY(-50%);

    color:
        var(--core-text-muted);

    pointer-events:
        none;

    transition:
        color 0.15s ease;
}


.core-login-input .form-control {

    min-height:
        48px;

    padding-left:
        2.8rem;

    background:
        rgba(255, 255, 255, 0.055);
}


.core-login-input:focus-within > i {

    color:
        var(--hops-pink);
}


.core-login-input:focus-within .form-control {

    border-color:
        rgba(232, 79, 123, 0.55);
}


/* ============================================================
   LOGIN OPTIONS
============================================================ */

.core-login-page .form-check-label {

    color:
        var(--core-text-muted);

    font-size:
        0.8rem;
}


.core-login-page .form-check-input {

    background-color:
        var(--core-input);

    border-color:
        rgba(255, 255, 255, 0.20);
}


.core-login-page .form-check-input:checked {

    background-color:
        var(--hops-pink);

    border-color:
        var(--hops-pink);
}


.core-login-page .form-check-input:focus {

    border-color:
        var(--hops-pink);

    box-shadow:
        0 0 0
        0.15rem
        rgba(232, 79, 123, 0.15);
}


.core-login-link {

    color:
        var(--core-text-muted);

    font-size:
        0.8rem;

    text-decoration:
        none;

    transition:
        color 0.15s ease;
}


.core-login-link:hover {

    color:
        var(--hops-pink);
}


/* ============================================================
   LOGIN BUTTON
============================================================ */

.core-login-button {

    min-height:
        48px;

    font-size:
        0.9rem;
}


.core-login-button:hover {

    box-shadow:
        0 8px 24px
        rgba(232, 79, 123, 0.18);
}


/* ============================================================
   LOGIN FOOTER
============================================================ */

.core-login-footer {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        0.65rem;

    margin-top:
        1.75rem;

    color:
        var(--core-text-faint);

    font-size:
        0.7rem;

    text-transform:
        uppercase;

    letter-spacing:
        0.08em;
}


.core-login-dot {

    width:
        3px;

    height:
        3px;

    border-radius:
        50%;

    background:
        var(--hops-pink);
}


/* ============================================================
   LOGIN MOBILE
============================================================ */

@media (max-width: 575.98px) {

    .core-login-shell {

        padding:
            1rem;
    }


    .core-login-card {

        padding:
            2rem
            1.5rem;
    }


    .core-login-title {

        font-size:
            1.7rem;
    }


    .core-login-brand {

        margin-bottom:
            1.5rem;
    }


    .core-login-logo {

        width:
            165px;
    }

}

/* ============================================================
   CUSTOMER HEADER ACTIONS
============================================================ */

.customer-header-actions .customer-action-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 0.45rem;

    min-height: 34px;

    white-space: nowrap;
}


/* MOBILE */

@media (max-width: 767.98px) {

    .customer-header-actions {

        width: 100%;
    }


    .customer-header-actions > .d-flex {

        display: grid !important;

        grid-template-columns:
            repeat(5, 1fr);

        gap: 0.4rem !important;

        width: 100%;
    }


    .customer-header-actions .customer-action-btn {

        width: 100%;

        min-width: 0;

        min-height: 42px;

        padding:
            0.5rem;

        font-size: 0.9rem;
    }


    .customer-header-actions .customer-action-btn span {

        display: none;
    }


    .customer-header-actions .customer-action-btn i {

        margin: 0 !important;

        font-size: 0.95rem;
    }

}


/* ============================================================
   TOPBAR BUTTONS
============================================================ */

.topbar-icon-btn,
.topbar-user-btn {

    min-height: 38px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(255, 255, 255, 0.07);

    border:
        1px solid
        rgba(255, 255, 255, 0.10);

    color:
        var(--core-text-soft);

    border-radius:
        var(--core-radius-sm);

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}


.topbar-icon-btn {

    width: 38px;

    padding: 0;
}


.topbar-user-btn {

    gap: 0.45rem;

    padding:
        0.45rem
        0.75rem;
}


.topbar-icon-btn:hover,
.topbar-user-btn:hover {

    background:
        rgba(255, 255, 255, 0.12);

    border-color:
        rgba(255, 255, 255, 0.16);

    color:
        #ffffff;
}


.topbar-user-btn {

    background:
        rgba(232, 79, 123, 0.12);

    border-color:
        rgba(232, 79, 123, 0.20);

    color:
        var(--hops-pink);
}


.topbar-user-btn:hover {

    background:
        var(--hops-pink);

    border-color:
        var(--hops-pink);

    color:
        #ffffff;
}


/* MOBILE */

@media (max-width: 767.98px) {

    .topbar {

        padding-left:
            0.65rem !important;

        padding-right:
            0.65rem !important;
    }


    .topbar-icon-btn,
    .topbar-user-btn {

        width: 36px;

        min-width: 36px;

        height: 36px;

        min-height: 36px;

        padding: 0;
    }


    .topbar-user-btn span {

        display: none !important;
    }


    #page-title {

        max-width:
            calc(100vw - 150px);

        font-size:
            1rem;
    }

}

/* =========================================================
   PRODUCTS & PURCHASING
   ========================================================= */



.products-purchasing-page {
    color: #e5e7eb;
}

.products-purchasing-module-nav {
    padding: 0.75rem;
    background: rgba(16, 24, 39, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.products-purchasing-dashboard-stat {
    transition:
        transform 0.15s ease,
        border-color 0.15s ease,
        background-color 0.15s ease;
}

.products-purchasing-dashboard-stat:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.04);
}

.products-purchasing-stat-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 1.15rem;
}

.products-purchasing-depot-card {
    position: relative;
}

/* =========================================================
   PRODUCTS & PURCHASING - SUPPLIER
   ========================================================= */

.products-purchasing-supplier-summary {
    background: rgba(16, 24, 39, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
}


.products-purchasing-supplier-stat {
    padding: 1.15rem 1.25rem;
    min-height: 100%;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}


.products-purchasing-supplier-summary .col-lg-3:last-child
.products-purchasing-supplier-stat {
    border-right: 0;
}


.products-purchasing-supplier-icon,
.products-purchasing-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
}


.products-purchasing-supplier-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    font-size: 1.1rem;
}


.products-purchasing-detail-row {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}


.products-purchasing-detail-row:last-child {
    border-bottom: 0;
}


.products-purchasing-detail-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 8px;
}


/* =========================================================
   PRODUCTS & PURCHASING - PRODUCT DETAIL
   ========================================================= */

.products-purchasing-product-summary {
    background: rgba(16, 24, 39, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
}

.products-purchasing-product-stat {
    padding: 1.15rem 1.25rem;
    min-height: 100%;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.products-purchasing-product-summary .col-lg-3:last-child
.products-purchasing-product-stat {
    border-right: 0;
}

.products-purchasing-product-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 1.1rem;
}

.products-purchasing-product-page .card {
    background: rgba(16, 24, 39, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.products-purchasing-product-page .table {
    --bs-table-bg: transparent;
    --bs-table-hover-bg: rgba(255, 255, 255, 0.035);
}

.products-purchasing-product-page .table thead th {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.5);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.products-purchasing-product-page .table td {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}


/* =========================================================
   INPUT CALENDAR
   ========================================================= */

.products-purchasing-calendar {
    padding: 1rem;
}

.products-purchasing-calendar-month {
    min-width: 145px;
    text-align: center;
    font-weight: 600;
}

.products-purchasing-calendar-weekdays,
.products-purchasing-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.products-purchasing-calendar-weekdays > div {
    padding: 0.6rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.products-purchasing-calendar-grid {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.products-purchasing-calendar-day {
    min-height: 105px;
    padding: 0.7rem;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition:
        background-color 0.15s ease,
        transform 0.15s ease;
}

.products-purchasing-calendar-day:hover {
    background: rgba(255, 255, 255, 0.045);
}

.products-purchasing-calendar-day.is-outside-month {
    opacity: 0.25;
}

.products-purchasing-calendar-day.is-selected {
    background: rgba(255, 255, 255, 0.08);
}

.products-purchasing-calendar-day-number {
    font-weight: 600;
}

.products-purchasing-calendar-input-count {
    display: inline-flex;
    margin-top: 0.65rem;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    background: rgba(25, 135, 84, 0.18);
    font-size: 0.72rem;
    font-weight: 700;
}

.products-purchasing-calendar-detail {
    padding: 1rem;
    min-height: 100%;
}

.products-purchasing-calendar-input {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.products-purchasing-calendar-input:last-child {
    border-bottom: 0;
}

.products-purchasing-customer-row {
    cursor: pointer;
      color:
        var(--hops-text)  !important;
}

.products-purchasing-customer-row:hover .fw-semibold {
    text-decoration: underline;
  
}


@media (max-width: 1199.98px) {

    .products-purchasing-calendar-detail {
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

}


@media (max-width: 767.98px) {

    .products-purchasing-calendar {
        overflow-x: auto;
    }

    .products-purchasing-calendar-weekdays,
    .products-purchasing-calendar-grid {
        min-width: 700px;
    }

    .products-purchasing-product-stat {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

}

/* Product detail - top customers */

#productsPurchasingProductCustomers {
    color: var(--bs-light);
}

#productsPurchasingProductCustomers td {
    color: var(--bs-light);
}

#productsPurchasingProductCustomers .fw-semibold {
    color: var(--bs-light);
}

#productsPurchasingProductCustomers .text-secondary {
    color: rgba(255, 255, 255, 0.6) !important;
}
/* CALENDAR */

.products-purchasing-calendar {
    padding: 1rem;
}


.products-purchasing-calendar-month {
    min-width: 140px;
    text-align: center;
    font-weight: 600;
}


.products-purchasing-calendar-weekdays,
.products-purchasing-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}


.products-purchasing-calendar-weekdays {
    margin-bottom: 0.4rem;
}


.products-purchasing-calendar-weekdays > div {
    padding: 0.6rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}


.products-purchasing-calendar-grid {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}


.products-purchasing-calendar-day {
    position: relative;
    min-height: 105px;
    padding: 0.7rem;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: background-color 0.15s ease;
}


.products-purchasing-calendar-day:hover {
    background: rgba(255, 255, 255, 0.045);
}


.products-purchasing-calendar-day.is-outside-month {
    opacity: 0.3;
}


.products-purchasing-calendar-day.is-selected {
    background: rgba(255, 255, 255, 0.07);
}


.products-purchasing-calendar-day-number {
    font-weight: 600;
}


.products-purchasing-calendar-input-count {
    display: inline-flex;
    margin-top: 0.65rem;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    background: rgba(25, 135, 84, 0.18);
    color: #75d7a4;
    font-size: 0.72rem;
    font-weight: 700;
}


.products-purchasing-calendar-detail {
    padding: 1rem;
    min-height: 100%;
}


.products-purchasing-calendar-input {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}


.products-purchasing-calendar-input:last-child {
    border-bottom: 0;
}


@media (max-width: 991.98px) {

    .products-purchasing-supplier-stat {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

}


@media (max-width: 1199.98px) {

    .products-purchasing-calendar-detail {
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

}


@media (max-width: 767.98px) {

    .products-purchasing-calendar {
        overflow-x: auto;
    }


    .products-purchasing-calendar-weekdays,
    .products-purchasing-calendar-grid {
        min-width: 700px;
    }


    .products-purchasing-calendar-day {
        min-height: 90px;
    }

}

/* PAGE HEADER */

.products-purchasing-page .core-page-header {
    background: rgba(16, 24, 39, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}


.products-purchasing-page .core-page-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.2rem;
}


.products-purchasing-page .core-page-subtitle {
    color: rgba(255, 255, 255, 0.65);
}


/* CARDS */

.products-purchasing-page .card {
    background: rgba(16, 24, 39, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 14px;
    overflow: hidden;
}


.products-purchasing-page .card-body {
    color: #e5e7eb;
}


/* FILTERS */

.products-purchasing-page .form-label {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}


.products-purchasing-page .form-control,
.products-purchasing-page .form-select,
.products-purchasing-page .input-group-text {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.09);
    color: #f3f4f6;
}


.products-purchasing-page .form-control::placeholder {
    color: rgba(255, 255, 255, 0.35);
}


.products-purchasing-page .form-control:focus,
.products-purchasing-page .form-select:focus {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
}


.products-purchasing-page .form-select option {
    background: #1f2937;
    color: #f9fafb;
}

.products-purchasing-page .form-select:disabled {
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.45);
}


/* TABLE */

.products-purchasing-page .table {
    --bs-table-bg: transparent;
    --bs-table-color: #e5e7eb;
    --bs-table-border-color: rgba(255, 255, 255, 0.06);
    --bs-table-hover-bg: rgba(255, 255, 255, 0.045);
    --bs-table-hover-color: #fff;
    margin-bottom: 0;
}


.products-purchasing-page .table thead th {
    background: rgba(255, 255, 255, 0.035);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
    padding: 0.85rem 0.9rem;
}


.products-purchasing-page .table tbody td {
    padding: 0.85rem 0.9rem;
    vertical-align: middle;
}


.products-purchasing-page .table tbody tr {
    transition: background-color 0.15s ease;
}


.products-purchasing-page .products-purchasing-purchasing-row:hover,
.products-purchasing-page .products-purchasing-product-row:hover,
.products-purchasing-page .products-purchasing-supplier-row:hover {
    background: rgba(255, 255, 255, 0.045);
}


/* PRODUCT NAME */

.products-purchasing-page .table .fw-semibold {
    color: #f9fafb;
}


/* RESULT COUNT */

#productsPurchasingPurchasingResultCount,
#productsPurchasingResultCount,
#productsPurchasingSupplierResultCount {
    color: #fff;
}


/* BADGES */

.products-purchasing-page .badge {
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: 999px;
    padding: 0.38rem 0.6rem;
}


.products-purchasing-page .text-bg-success {
    background: rgba(25, 135, 84, 0.2) !important;
    color: #75d7a4 !important;
    border: 1px solid rgba(117, 215, 164, 0.16);
}


.products-purchasing-page .text-bg-danger {
    background: rgba(220, 53, 69, 0.18) !important;
    color: #ff9aa5 !important;
    border: 1px solid rgba(255, 154, 165, 0.16);
}


.products-purchasing-page .text-bg-secondary {
    background: rgba(108, 117, 125, 0.22) !important;
    color: #c7cdd4 !important;
    border: 1px solid rgba(199, 205, 212, 0.12);
}


/* RECOMMENDED ORDER COLUMN */

.products-purchasing-page table th:nth-child(7),
.products-purchasing-page table td:nth-child(7) {
    background: rgba(255, 255, 255, 0.025);
}


.products-purchasing-page table td:nth-child(7) .badge {
    min-width: 44px;
}


/* SHORTAGES SWITCH */

.products-purchasing-page .form-check-input {
    cursor: pointer;
}


.products-purchasing-page .form-check-label {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.86rem;
    cursor: pointer;
}


/* BUTTONS */

.products-purchasing-page .btn-core-tertiary {
    border-radius: 9px;
}


/* MOBILE */

@media (max-width: 767.98px) {

    .products-purchasing-page .core-page-header {
        padding: 1rem;
    }


    .products-purchasing-page .table thead th,
    .products-purchasing-page .table tbody td {
        padding: 0.7rem;
    }


    .products-purchasing-page .table {
        font-size: 0.85rem;
    }


    .products-purchasing-page .badge {
        padding: 0.3rem 0.5rem;
    }

}


/* ============================================================
   CUSTOMER ANALYSIS
============================================================ */

.customer-analysis {
    color:
        var(--core-text);
}


/* KPI GRID */

.customer-analysis-kpis {

    display: grid;

    grid-template-columns:
        repeat(
            5,
            minmax(0, 1fr)
        );

    gap:
        0.8rem;
}


.customer-analysis-kpi,
.customer-analysis-panel {

    background:
        var(--core-panel);

    border:
        1px solid
        var(--core-border);

    border-radius:
        var(--core-radius);

    box-shadow:
        var(--core-shadow);

    overflow:
        hidden;
}


.customer-analysis-kpi {

    padding:
        1rem
        1.05rem;
}


.customer-analysis-kpi-top {

    display: flex;

    justify-content:
        space-between;

    align-items:
        flex-start;

    gap:
        0.75rem;
}


.customer-analysis-kpi-label {

    color:
        var(--core-text-muted);

    font-size:
        0.68rem;

    font-weight:
        700;

    text-transform:
        uppercase;

    letter-spacing:
        0.05em;
}


.customer-analysis-kpi-value {

    margin-top:
        0.25rem;

    color:
        #ffffff;

    font-size:
        1.55rem;

    font-weight:
        700;
}


.customer-analysis-kpi-icon {

    width: 38px;
    height: 38px;

    flex:
        0
        0
        38px;

    display: flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    background:
        rgba(232, 79, 123, 0.14);

    color:
        var(--hops-pink);
}


.customer-analysis-change {

    margin-top:
        0.55rem;

    color:
        var(--core-text-faint);

    font-size:
        0.72rem;

    font-weight:
        600;
}


.customer-analysis-change.is-positive,
.customer-analysis-movement-change.is-positive {

    color:
        #69db7c;
}


.customer-analysis-change.is-negative,
.customer-analysis-movement-change.is-negative {

    color:
        #ff8787;
}


/* PANEL */

.customer-analysis-panel-header {

    display: flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        1rem;

    padding:
        1rem
        1.15rem;

    background:
        rgba(255, 255, 255, 0.025);

    border-bottom:
        1px solid
        var(--core-border-soft);
}


.customer-analysis-title {

    margin:
        0.12rem
        0
        0;

    color:
        #ffffff;

    font-size:
        1rem;

    font-weight:
        700;
}


/* CHART */

.customer-analysis-chart {

    min-height:
        280px;

    padding:
        1rem;
}


.customer-analysis-svg {

    display: block;

    width: 100%;

    height:
        260px;
}


.customer-analysis-chart-axis {

    stroke:
        rgba(255, 255, 255, 0.08);

    stroke-width:
        1;
}

.customer-analysis-chart-line {

    fill:
        none;

    stroke-width:
        3;

    stroke-linejoin:
        round;

    stroke-linecap:
        round;
}


/* CURRENT YEAR */

.customer-analysis-chart-line.is-current {

    stroke:
        var(--hops-pink);
}


.customer-analysis-chart-point.is-current {

    fill:
        var(--hops-pink);

    stroke:
        #ffffff;

    stroke-width:
        1.5;
}


/* PREVIOUS YEAR */

.customer-analysis-chart-line.is-prior {

    stroke:
        #74c0fc;

    stroke-width:
        2.5;

    stroke-dasharray:
        7 5;

    opacity:
        0.8;
}


.customer-analysis-chart-point.is-prior {

    fill:
        #74c0fc;

    stroke:
        #ffffff;

    stroke-width:
        1.25;

    opacity:
        0.85;
}


/* MONTH LABELS */

.customer-analysis-chart-label {

    fill:
        rgba(
            255,
            255,
            255,
            0.45
        );

    font-size:
        12px;
}


/* LEGEND */

.customer-analysis-chart-legend {

    display:
        flex;

    justify-content:
        flex-end;

    align-items:
        center;

    gap:
        1rem;

    margin-bottom:
        0.25rem;

    padding:
        0 0.35rem;

    color:
        rgba(
            255,
            255,
            255,
            0.6
        );

    font-size:
        0.72rem;

    font-weight:
        600;
}


.customer-analysis-chart-legend span {

    display:
        inline-flex;

    align-items:
        center;

    gap:
        0.4rem;
}


.customer-analysis-legend-line {

    display:
        inline-block;

    width:
        22px;

    height:
        3px;

    border-radius:
        999px;
}


.customer-analysis-legend-line.is-current {

    background:
        var(--hops-pink);
}


.customer-analysis-legend-line.is-prior {

    background:
        repeating-linear-gradient(
            to right,
            #74c0fc 0,
            #74c0fc 6px,
            transparent 6px,
            transparent 10px
        );
}


/* ORDERING */

.customer-analysis-metrics {

    padding:
        0.35rem
        1rem;
}


.customer-analysis-metric {

    display: flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        1rem;

    padding:
        0.85rem
        0;

    border-bottom:
        1px solid
        var(--core-border-soft);
}


.customer-analysis-metric:last-child {

    border-bottom: 0;
}


.customer-analysis-metric span {

    color:
        var(--core-text-muted);

    font-size:
        0.78rem;
}


.customer-analysis-metric strong {

    color:
        #ffffff;

    font-size:
        0.84rem;
}


/* ALERTS */

.customer-analysis-alerts {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(250px, 1fr)
        );

    gap:
        0.75rem;

    padding:
        1rem;
}


.customer-analysis-alert {

    display: flex;

    align-items:
        flex-start;

    gap:
        0.75rem;

    padding:
        0.85rem;

    background:
        var(--core-input);

    border:
        1px solid
        var(--core-border-soft);

    border-radius:
        10px;
}


.customer-analysis-alert-icon {

    width: 32px;
    height: 32px;

    flex:
        0
        0
        32px;

    display: flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        8px;
}


.customer-analysis-alert.is-success
.customer-analysis-alert-icon {

    color:
        #69db7c;

    background:
        rgba(105, 219, 124, 0.10);
}


.customer-analysis-alert.is-warning
.customer-analysis-alert-icon {

    color:
        #ffd43b;

    background:
        rgba(255, 212, 59, 0.10);
}


.customer-analysis-alert.is-danger
.customer-analysis-alert-icon {

    color:
        #ff8787;

    background:
        rgba(255, 135, 135, 0.10);
}


.customer-analysis-alert.is-info
.customer-analysis-alert-icon {

    color:
        #74c0fc;

    background:
        rgba(116, 192, 252, 0.10);
}


.customer-analysis-alert-title {

    color:
        #ffffff;

    font-size:
        0.82rem;

    font-weight:
        600;
}


.customer-analysis-alert-detail {

    margin-top:
        0.15rem;

    color:
        var(--core-text-muted);

    font-size:
        0.72rem;

    line-height:
        1.35;
}


/* TABLES */

.customer-analysis-table {

    --bs-table-bg:
        transparent;

    --bs-table-color:
        var(--core-text-soft);

    --bs-table-border-color:
        var(--core-border-soft);

    margin:
        0;
}


.customer-analysis-table
> :not(caption)
> *
> * {

    background:
        transparent;

    color:
        inherit;

    border-color:
        var(--core-border-soft);
}


.customer-analysis-table thead th {

    padding:
        0.75rem
        1rem;

    color:
        var(--core-text-muted);

    background:
        rgba(255, 255, 255, 0.015);

    font-size:
        0.67rem;

    font-weight:
        700;

    text-transform:
        uppercase;

    letter-spacing:
        0.05em;
}


.customer-analysis-table tbody td {

    padding:
        0.8rem
        1rem;

    vertical-align:
        middle;
}


.customer-analysis-table tbody tr:hover td {

    background:
        var(--core-hover);
}


.customer-analysis-product-name {

    color:
        rgba(255, 255, 255, 0.90);

    font-size:
        0.8rem;

    font-weight:
        600;
}


.customer-analysis-product-code {

    margin-top:
        0.08rem;

    color:
        var(--core-text-faint);

    font-size:
        0.65rem;
}


/* MOVEMENT */

.customer-analysis-movement {

    padding:
        0.8rem
        1rem
        1rem;
}


.customer-analysis-movement-heading {

    margin:
        0.4rem
        0
        0.45rem;

    font-size:
        0.7rem;

    font-weight:
        700;

    text-transform:
        uppercase;

    letter-spacing:
        0.06em;
}


.customer-analysis-movement-heading.is-growing {

    color:
        #69db7c;
}


.customer-analysis-movement-heading.is-declining {

    margin-top:
        1.2rem;

    color:
        #ff8787;
}


.customer-analysis-movement-row {

    display: flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        1rem;

    padding:
        0.6rem
        0;

    border-bottom:
        1px solid
        var(--core-border-soft);
}


.customer-analysis-movement-row:last-child {

    border-bottom: 0;
}


.customer-analysis-movement-change {

    margin-top:
        0.1rem;

    font-size:
        0.7rem;

    font-weight:
        700;
}


.customer-analysis-movement-empty {

    color:
        var(--core-text-faint);

    font-size:
        0.75rem;

    padding:
        0.6rem
        0;
}


/* RESPONSIVE */

@media (
    max-width: 1199.98px
) {

    .customer-analysis-kpis {

        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
    }

}


@media (
    max-width: 767.98px
) {

    .customer-analysis-kpis {

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .customer-analysis-kpi-value {

        font-size:
            1.25rem;
    }


    .customer-analysis-svg {

        min-width:
            620px;
    }


    .customer-analysis-chart {

        overflow-x:
            auto;
    }

}


/* ============================================================
   CUSTOMER GROUP WORKSPACE
============================================================ */

.customer-group-view {

    color:
        var(--core-text);
}


.customer-group-view-header {

    padding:
        1.5rem;

    background:
        var(--core-header);

    border:
        1px solid
        var(--core-border);

    border-radius:
        var(--core-radius);

    box-shadow:
        var(--core-shadow);

    backdrop-filter:
        blur(12px);

    -webkit-backdrop-filter:
        blur(12px);
}


.customer-group-view-title {

    color:
        #ffffff;

    font-weight:
        700;
}


.customer-group-view-meta {

    color:
        var(--core-text-muted);

    font-size:
        0.84rem;
}


.customer-group-name-editor {

    margin-top:
        1rem;

    padding-top:
        1rem;

    border-top:
        1px solid
        var(--core-border-soft);
}


.customer-group-directory-name {

    color:
        #ffffff;

    font-weight:
        600;
}


.customer-group-directory-meta {

    margin-top:
        0.1rem;

    color:
        var(--core-text-faint);

    font-size:
        0.68rem;
}


/* ============================================================
   GROUP PRODUCTS
============================================================ */

.customer-group-products {

    padding:
        0.35rem
        1rem;
}


.customer-group-product-row {

    display:
        flex;

    justify-content:
        space-between;

    align-items:
        center;

    gap:
        1rem;

    padding:
        0.75rem
        0;

    border-bottom:
        1px solid
        var(--core-border-soft);
}


.customer-group-product-row:last-child {

    border-bottom:
        0;
}


.customer-group-product-row strong {

    color:
        #ffffff;

    font-size:
        0.82rem;
}


/* ============================================================
   PRODUCT PENETRATION
============================================================ */

.customer-group-penetration {

    padding:
        1rem;
}


.customer-group-penetration-row {

    padding:
        0.7rem
        0;

    border-bottom:
        1px solid
        var(--core-border-soft);
}


.customer-group-penetration-row:last-child {

    border-bottom:
        0;
}


.customer-group-penetration-heading {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        1rem;
}


.customer-group-penetration-track {

    height:
        7px;

    margin-top:
        0.45rem;

    overflow:
        hidden;

    background:
        rgba(255, 255, 255, 0.055);

    border-radius:
        999px;
}


.customer-group-penetration-bar {

    height:
        100%;

    background:
        var(--hops-pink);

    border-radius:
        inherit;
}


.customer-group-penetration-missing {

    margin-top:
        0.3rem;

    color:
        var(--core-text-faint);

    font-size:
        0.68rem;
}


/* ============================================================
   GROUP TABLE CHANGE COLOURS
============================================================ */

.customer-group-view td.is-positive {

    color:
        #69db7c;
}


.customer-group-view td.is-negative {

    color:
        #ff8787;
}


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

@media (
    max-width: 767.98px
) {

    .customer-group-view-header {

        padding:
            1.1rem;
    }


    .customer-group-name-editor .row {

        align-items:
            stretch !important;
    }


    .customer-group-name-editor .col-auto {

        width:
            100%;
    }


    .customer-group-name-editor .btn {

        width:
            100%;
    }


    .customer-group-tabs {

        overflow-x:
            auto;

        flex-wrap:
            nowrap;
    }


    .customer-group-tabs .customer-tab {

        flex:
            0 0 auto;
    }

}

/* ============================================================
   CUSTOMER ANALYSIS - CATEGORY MIX
============================================================ */

.customer-analysis-category-mix {

    display:
        grid;

    grid-template-columns:
        minmax(220px, 0.85fr)
        minmax(280px, 1.15fr);

    gap:
        1.5rem;

    align-items:
        center;

    padding:
        1.25rem;
}


/* CHART */

.customer-analysis-category-chart {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        280px;
}


.customer-analysis-category-svg {

    width:
        min(100%, 280px);

    height:
        auto;

    overflow:
        visible;
}


.customer-analysis-category-segment {

    transition:
        opacity 0.15s ease,
        stroke-width 0.15s ease;
}


.customer-analysis-category-segment:hover {

    opacity:
        0.82;

    stroke-width:
        30;
}


/* CENTRE LABEL */

.customer-analysis-category-total-label {

    fill:
        var(--core-text-muted);

    font-size:
        10px;

    font-weight:
        700;

    text-transform:
        uppercase;

    letter-spacing:
        0.08em;
}


.customer-analysis-category-total-value {

    fill:
        #ffffff;

    font-size:
        15px;

    font-weight:
        700;
}


/* LEGEND */

.customer-analysis-category-legend {

    display:
        flex;

    flex-direction:
        column;

    min-width:
        0;
}


.customer-analysis-category-row {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        1rem;

    padding:
        0.7rem
        0;

    border-bottom:
        1px solid
        var(--core-border-soft);
}


.customer-analysis-category-row:last-child {

    border-bottom:
        0;
}


.customer-analysis-category-name {

    display:
        flex;

    align-items:
        center;

    gap:
        0.55rem;

    min-width:
        0;

    color:
        rgba(255, 255, 255, 0.90);

    font-size:
        0.8rem;

    font-weight:
        600;
}


.customer-analysis-category-dot {

    width:
        10px;

    height:
        10px;

    flex:
        0 0 10px;

    border-radius:
        50%;

    box-shadow:
        0 0 0 3px
        rgba(255, 255, 255, 0.025);
}


.customer-analysis-category-value {

    color:
        #ffffff;

    font-size:
        0.78rem;

    font-weight:
        600;
}


.customer-analysis-category-percent {

    margin-top:
        0.08rem;

    color:
        var(--core-text-faint);

    font-size:
        0.68rem;

    font-weight:
        600;
}


/* ============================================================
   CATEGORY COLOURS
============================================================ */

.customer-analysis-category-segment.category-0 {

    stroke:
        var(--hops-pink);
}

.customer-analysis-category-dot.category-0 {

    background:
        var(--hops-pink);
}


.customer-analysis-category-segment.category-1 {

    stroke:
        #74c0fc;
}

.customer-analysis-category-dot.category-1 {

    background:
        #74c0fc;
}


.customer-analysis-category-segment.category-2 {

    stroke:
        #69db7c;
}

.customer-analysis-category-dot.category-2 {

    background:
        #69db7c;
}


.customer-analysis-category-segment.category-3 {

    stroke:
        #ffd43b;
}

.customer-analysis-category-dot.category-3 {

    background:
        #ffd43b;
}


.customer-analysis-category-segment.category-4 {

    stroke:
        #b197fc;
}

.customer-analysis-category-dot.category-4 {

    background:
        #b197fc;
}


.customer-analysis-category-segment.category-5 {

    stroke:
        #ffa94d;
}

.customer-analysis-category-dot.category-5 {

    background:
        #ffa94d;
}


.customer-analysis-category-segment.category-6 {

    stroke:
        #63e6be;
}

.customer-analysis-category-dot.category-6 {

    background:
        #63e6be;
}


.customer-analysis-category-segment.category-7 {

    stroke:
        #f783ac;
}

.customer-analysis-category-dot.category-7 {

    background:
        #f783ac;
}

/* ============================================================
   USER MANAGEMENT
============================================================ */

.users-page {

    color:
        var(--core-text);
}


.users-name {

    color:
        #ffffff;

    font-size:
        0.88rem;

    font-weight:
        700;
}


.users-email {

    margin-top:
        0.1rem;

    color:
        var(--core-text-muted);

    font-size:
        0.72rem;
}


.users-role {

    display:
        inline-flex;

    align-items:
        center;

    padding:
        0.28rem
        0.55rem;

    background:
        rgba(116, 192, 252, 0.10);

    border:
        1px solid
        rgba(116, 192, 252, 0.16);

    border-radius:
        7px;

    color:
        #74c0fc;

    font-size:
        0.7rem;

    font-weight:
        600;
}


.users-rep-code {

    color:
        var(--core-text-soft);

    font-size:
        0.78rem;

    font-weight:
        600;
}


.users-status {

    display:
        inline-flex;

    align-items:
        center;

    gap:
        0.4rem;

    padding:
        0.28rem
        0.55rem;

    border-radius:
        999px;

    font-size:
        0.7rem;

    font-weight:
        600;
}


.users-status i {

    font-size:
        0.42rem;
}


.users-status.is-active {

    background:
        rgba(105, 219, 124, 0.10);

    border:
        1px solid
        rgba(105, 219, 124, 0.18);

    color:
        #69db7c;
}


.users-status.is-disabled {

    background:
        rgba(255, 255, 255, 0.05);

    border:
        1px solid
        var(--core-border);

    color:
        var(--core-text-muted);
}


.users-actions {

    display:
        inline-flex;

    align-items:
        center;

    gap:
        0.35rem;
}


.users-disable-btn {

    background:
        rgba(255, 135, 135, 0.10);

    border:
        1px solid
        rgba(255, 135, 135, 0.20);

    color:
        #ff8787;
}


.users-disable-btn:hover {

    background:
        rgba(255, 135, 135, 0.18);

    border-color:
        rgba(255, 135, 135, 0.35);

    color:
        #ff8787;
}


.users-enable-btn {

    background:
        rgba(105, 219, 124, 0.10);

    border:
        1px solid
        rgba(105, 219, 124, 0.20);

    color:
        #69db7c;
}


.users-enable-btn:hover {

    background:
        rgba(105, 219, 124, 0.18);

    color:
        #69db7c;
}


.users-password-user {

    padding:
        0.75rem
        0.85rem;

    background:
        var(--core-input);

    border:
        1px solid
        var(--core-border);

    border-radius:
        var(--core-radius-sm);

    color:
        #ffffff;

    font-weight:
        600;
}


.users-page .input-group-text {

    background:
        var(--core-input);

    border-color:
        var(--core-border);

    color:
        var(--core-text-muted);
}


@media (
    max-width: 767.98px
) {

    .users-table {

        min-width:
            720px;
    }


    .users-actions {

        gap:
            0.25rem;
    }

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

@media (
    max-width: 991.98px
) {

    .customer-analysis-category-mix {

        grid-template-columns:
            1fr;
    }


    .customer-analysis-category-chart {

        min-height:
            240px;
    }


    .customer-analysis-category-svg {

        width:
            min(100%, 240px);
    }

}


@media (
    max-width: 575.98px
) {

    .customer-analysis-category-mix {

        padding:
            1rem;
    }


    .customer-analysis-category-row {

        align-items:
            flex-start;
    }


    .customer-analysis-category-name {

        font-size:
            0.74rem;
    }


    .customer-analysis-category-value {

        font-size:
            0.72rem;
    }

}

/* ============================================================
   SCROLLBARS
============================================================ */

.main-nav-scroll,
.winecolumn,
.wine-product-list,
.wine-admin-product-list,
.wine-tag-list,
.wine-tag-icon-results {

    scrollbar-width:
        thin;

    scrollbar-color:
        rgba(169, 187, 117, 0.45)
        transparent;
}


.main-nav-scroll::-webkit-scrollbar,
.winecolumn::-webkit-scrollbar,
.wine-product-list::-webkit-scrollbar,
.wine-admin-product-list::-webkit-scrollbar,
.wine-tag-list::-webkit-scrollbar,
.wine-tag-icon-results::-webkit-scrollbar {

    width: 7px;
}


.main-nav-scroll::-webkit-scrollbar-track,
.winecolumn::-webkit-scrollbar-track,
.wine-product-list::-webkit-scrollbar-track,
.wine-admin-product-list::-webkit-scrollbar-track,
.wine-tag-list::-webkit-scrollbar-track,
.wine-tag-icon-results::-webkit-scrollbar-track {

    background:
        transparent;
}


.main-nav-scroll::-webkit-scrollbar-thumb,
.winecolumn::-webkit-scrollbar-thumb,
.wine-product-list::-webkit-scrollbar-thumb,
.wine-admin-product-list::-webkit-scrollbar-thumb,
.wine-tag-list::-webkit-scrollbar-thumb,
.wine-tag-icon-results::-webkit-scrollbar-thumb {

    background:
        rgba(169, 187, 117, 0.40);

    border-radius:
        10px;
}


/* ============================================================
   CORE BOOTSTRAP OVERRIDES
   KEEP NEAR BOTTOM
============================================================ */

/* PRIMARY */

body .btn-primary {

    background:
        var(--hops-dark);

    border-color:
        var(--hops-dark);

    color:
        #ffffff;
}


body .btn-primary:hover,
body .btn-primary:focus {

    background:
        var(--hops-pink);

    border-color:
        var(--hops-pink);

    color:
        #ffffff;
}


body .bg-primary {

    background-color:
        var(--hops-dark) !important;
}


/* DANGER */

body .btn-danger {

    background:
        #b83b52;

    border-color:
        #b83b52;

    color:
        #ffffff;
}


body .btn-danger:hover,
body .btn-danger:focus {

    background:
        #9f3045;

    border-color:
        #9f3045;

    color:
        #ffffff;
}


body .bg-danger {

    background-color:
        #b83b52 !important;
}


/* SUCCESS */

body .btn-success {

    background:
        #497a62;

    border-color:
        #497a62;

    color:
        #ffffff;
}


body .btn-success:hover,
body .btn-success:focus {

    background:
        #3d6853;

    border-color:
        #3d6853;

    color:
        #ffffff;
}


body .bg-success {

    background-color:
        #497a62 !important;
}


/* WARNING */

body .btn-warning {

    background:
        #b88a3b;

    border-color:
        #b88a3b;

    color:
        #ffffff;
}


body .btn-warning:hover,
body .btn-warning:focus {

    background:
        #9f7733;

    border-color:
        #9f7733;

    color:
        #ffffff;
}


body .bg-warning {

    background-color:
        #b88a3b !important;
}


/* INFO */

body .btn-info {

    background:
        #486f83;

    border-color:
        #486f83;

    color:
        #ffffff;
}


body .bg-info {

    background-color:
        #486f83 !important;
}


/* SECONDARY */

body .btn-secondary {

    background:
        rgba(255, 255, 255, 0.08);

    border-color:
        rgba(255, 255, 255, 0.12);

    color:
        #ffffff;
}


body .bg-secondary {

    background-color:
        rgba(255, 255, 255, 0.12) !important;
}


/* LIGHT */

body .bg-light {

    background:
        rgba(255, 255, 255, 0.04) !important;

    color:
        var(--core-text) !important;
}


/* TABLE LIGHT */

body .table-light {

    --bs-table-bg:
        rgba(255, 255, 255, 0.025);

    --bs-table-color:
        var(--core-text-soft);

    --bs-table-border-color:
        var(--core-border-soft);
}


/* LIST GROUP */

body .list-group-item {

    border-color:
        var(--core-border-soft);
}

/* ============================================================
   INSTALLS
============================================================ */

.installs-page {
    color:
        var(--core-text);
}


/* ============================================================
   INSTALLS STATS
============================================================ */

.installs-stat-card {

    height: 100%;

    padding:
        1rem;

    background:
        var(--core-panel);

    border:
        1px solid
        var(--core-border);

    border-radius:
        var(--core-radius);

    box-shadow:
        var(--core-shadow);
}


.installs-stat-label {

    margin-bottom:
        0.4rem;

    color:
        var(--core-text-muted);

    font-size:
        0.72rem;

    font-weight:
        600;

    text-transform:
        uppercase;

    letter-spacing:
        0.06em;
}


.installs-stat-value {

    color:
        var(--core-text);

    font-size:
        1.9rem;

    font-weight:
        700;

    line-height:
        1;
}


.installs-stat-value.is-warning {
    color: #ffd43b;
}


.installs-stat-value.is-danger {
    color: #ff8787;
}


.installs-stat-value.is-success {
    color: #69db7c;
}


/* ============================================================
   INSTALLS PANEL
============================================================ */

.installs-panel {

    background:
        var(--core-panel);

    border:
        1px solid
        var(--core-border);

    border-radius:
        var(--core-radius);

    box-shadow:
        var(--core-shadow);

    overflow:
        hidden;
}


.installs-panel-header {

    display: flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        1rem;

    padding:
        1rem
        1.15rem;

    background:
        rgba(255, 255, 255, 0.025);

    border-bottom:
        1px solid
        var(--core-border-soft);
}


.installs-panel-title {

    margin: 0;

    color:
        var(--core-text);

    font-size:
        1rem;

    font-weight:
        700;
}


/* ============================================================
   INSTALLS TABLE
============================================================ */

.installs-table {

    --bs-table-bg:
        transparent;

    --bs-table-color:
        var(--core-text-soft);

    --bs-table-border-color:
        var(--core-border-soft);

    --bs-table-hover-bg:
        var(--core-hover);

    --bs-table-hover-color:
        #ffffff;

    margin: 0;
}


.installs-table > :not(caption) > * > * {

    background:
        transparent;

    color:
        inherit;

    border-color:
        var(--core-border-soft);
}


.installs-table thead th {

    padding:
        0.8rem
        0.9rem;

    background:
        rgba(255, 255, 255, 0.025);

    color:
        var(--core-text-muted);

    font-size:
        0.69rem;

    font-weight:
        700;

    text-transform:
        uppercase;

    letter-spacing:
        0.06em;

    white-space:
        nowrap;
}


.installs-table tbody td {

    padding:
        0.85rem
        0.9rem;

    vertical-align:
        middle;
}


.installs-table tbody tr:hover > * {

    background:
        var(--core-hover) !important;
}


/* ============================================================
   INSTALL STATUS
============================================================ */

.install-status {

    display:
        inline-flex;

    align-items:
        center;

    padding:
        0.25rem
        0.55rem;

    border-radius:
        999px;

    border:
        1px solid
        var(--core-border);

    font-size:
        0.7rem;

    font-weight:
        600;
}


.install-status-planned {

    background:
        rgba(116, 192, 252, 0.12);

    color:
        #74c0fc;

    border-color:
        rgba(116, 192, 252, 0.20);
}


.install-status-ordered {

    background:
        rgba(255, 212, 59, 0.12);

    color:
        #ffd43b;

    border-color:
        rgba(255, 212, 59, 0.20);
}


.install-status-ready {

    background:
        rgba(177, 151, 252, 0.12);

    color:
        #b197fc;

    border-color:
        rgba(177, 151, 252, 0.20);
}


.install-status-completed {

    background:
        rgba(105, 219, 124, 0.12);

    color:
        #69db7c;

    border-color:
        rgba(105, 219, 124, 0.20);
}


.install-status-cancelled {

    background:
        rgba(255, 135, 135, 0.12);

    color:
        #ff8787;

    border-color:
        rgba(255, 135, 135, 0.20);
}


/* ============================================================
   INSTALL PRODUCT SEARCH
============================================================ */

.install-product-results,
.install-customer-results {

    position:
        absolute;

    top:
        calc(100% + 4px);

    left: 0;
    right: 0;

    z-index:
        1060;

    max-height:
        320px;

    overflow-y:
        auto;

    background:
        rgba(16, 24, 39, 0.98);

    border:
        1px solid
        var(--core-border);

    border-radius:
        var(--core-radius-sm);

    box-shadow:
        var(--core-shadow);
}


.install-product-result,
.install-customer-result {

    padding:
        0.7rem
        0.8rem;

    cursor:
        pointer;

    border-bottom:
        1px solid
        var(--core-border-soft);
}


.install-product-result:last-child,
.install-customer-result:last-child {

    border-bottom: 0;
}


.install-product-result:hover,
.install-customer-result:hover {

    background:
        var(--core-hover);
}


.install-result-title {

    color:
        var(--core-text);

    font-size:
        0.85rem;

    font-weight:
        600;
}


.install-result-meta {

    margin-top:
        0.1rem;

    color:
        var(--core-text-muted);

    font-size:
        0.72rem;
}


.users-permissions-section {
    margin-top: 1.5rem;
}

.users-permissions-holder {
    display: grid;
    gap: 1rem;
}

.users-permission-group {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.85rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.025);
}

.users-permission-group-title {
    padding: 0.8rem 1rem;
    background: rgba(16, 24, 39, 0.86);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--core-text-soft);
}

.users-permission-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 1rem;
    align-items: center;

    padding: 0.9rem 1rem;

    border-top:
        1px solid rgba(255, 255, 255, 0.06);
}

.users-permission-row:first-of-type {
    border-top: 0;
}

.users-permission-info {
    min-width: 0;
}

.users-permission-name {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
}

.users-permission-description {
    margin-top: 0.2rem;

    font-size: 0.8rem;
    line-height: 1.35;

    color: var(--bs-secondary-color);
}

.users-permission-effective {
    display: inline-flex;
    align-items: center;

    margin-top: 0.45rem;
    padding: 0.2rem 0.5rem;

    border-radius: 999px;

    font-size: 0.7rem;
    font-weight: 600;
}

.users-permission-effective.is-allowed {
    color: var(--bs-success);
    background: rgba(25, 135, 84, 0.12);
}

.users-permission-effective.is-denied {
    color: var(--bs-danger);
    background: rgba(108, 117, 125, 0.12);
}

.users-permission-control {
    width: 100%;
}

.users-permission-control .form-select {
    min-height: 36px;
}

@media (max-width: 767.98px) {

    .users-permission-row {
        grid-template-columns: 1fr;
    }

    .users-permission-control {
        width: 100%;
    }
}
/* ============================================================
   INSTALL ITEMS
============================================================ */

.install-items {

    border:
        1px solid
        var(--core-border-soft);

    border-radius:
        var(--core-radius-sm);

    overflow:
        hidden;
}


.install-item {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto
        auto;

    align-items:
        center;

    gap:
        1rem;

    padding:
        0.8rem
        0.9rem;

    background:
        var(--core-input);

    border-bottom:
        1px solid
        var(--core-border-soft);
}


.install-item:last-child {
    border-bottom: 0;
}


.install-item-name {

    color:
        var(--core-text);

    font-weight:
        600;
}


.install-item-meta {

    color:
        var(--core-text-muted);

    font-size:
        0.72rem;
}


/* ============================================================
   INSTALLS MOBILE
============================================================ */

@media (max-width: 767.98px) {

    .installs-panel-header {

        align-items:
            stretch;

        flex-direction:
            column;
    }


    .install-item {

        grid-template-columns:
            minmax(0, 1fr)
            auto;

        gap:
            0.65rem;
    }

}

/* ============================================================
   INSTALLS SEARCH RESULTS
============================================================ */

.installs-search-results {

    position: absolute;

    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;

    z-index: 1060;

    max-height: 320px;

    overflow-y: auto;

    padding: 0.35rem;

    background:
        rgba(16, 24, 39, 0.98);

    border:
        1px solid
        var(--core-border);

    border-radius:
        var(--core-radius-sm);

    box-shadow:
        var(--core-shadow);
}


.installs-search-result {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    width: 100%;

    padding:
        0.7rem
        0.8rem;

    margin: 0;

    background:
        transparent;

    color:
        var(--core-text-soft);

    border: 0;

    border-radius:
        var(--core-radius-sm);

    text-align: left;

    cursor: pointer;

    transition:
        background 0.15s ease,
        color 0.15s ease;
}


.installs-search-result:hover,
.installs-search-result:focus {

    background:
        var(--core-hover);

    color:
        var(--core-text);

    outline: none;
}


.installs-search-result + .installs-search-result {

    border-top:
        1px solid
        var(--core-border-soft);
}


.installs-search-result .fw-semibold {

    color:
        var(--core-text);

    font-size:
        0.84rem;

    line-height:
        1.3;
}


.installs-search-result .small {

    margin-top:
        0.18rem;

    color:
        var(--core-text-muted);

    font-size:
        0.72rem;

    line-height:
        1.25;
}


.installs-search-result:hover .small,
.installs-search-result:focus .small {

    color:
        var(--core-text-soft);
}


/* Loading / no results */

.installs-search-empty {

    padding:
        0.8rem;

    color:
        var(--core-text-muted);

    font-size:
        0.78rem;

    text-align:
        center;
}

.btn-link
{
    color:var(--hops-text);
    text-decoration: none;
}

/* ============================================================
   INSTALL MODAL SCROLLING
============================================================ */

#installModal .modal-dialog {

    height:
        calc(100vh - 2rem);

    margin-top:
        1rem;

    margin-bottom:
        1rem;
}


#installModal .modal-content {

    max-height:
        calc(100vh - 2rem);

    overflow:
        hidden;
}


#installModal .modal-body {

    overflow-y:
        auto;

    overscroll-behavior:
        contain;
}


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

@media (max-width: 1199.98px) {

    .wine-product-list,
    .wine-admin-product-list,
    .wine-tag-list {

        max-height:
            360px;
    }

}


@media (max-width: 991.98px) {

    #tasksActivitiesApp .col-lg-3 {

        margin-bottom:
            1rem;
    }

}


@media (max-width: 767.98px) {

    .content {

        padding:
            15px;
    }


    .content-header {

        padding:
            10px
            15px
            0;
    }


    /* CORE HEADERS */

    .core-page-header,
    .tasks-page-header,
    .tasks-dashboard-header,
    .winequotes-page-header,
    .wine-builder-header,
    .wine-admin-header,
    .wine-tag-header {

        padding:
            1.1rem;
    }


    /* QUICK ACTIONS */

    .quick-actions .btn {

        text-align:
            left;

        padding-left:
            1rem;
    }


    /* HOME */

    .core-home {

        justify-content:
            flex-start;

        padding:
            1.25rem !important;
    }


    .core-home-hero {

        padding:
            1.5rem;
    }


    .core-home-mark {

        width: 52px;
        height: 52px;

        flex-basis:
            52px;

        font-size:
            1.25rem;
    }


    .core-home-title {

        font-size:
            2.3rem;
    }


    .core-home-footer {

        justify-content:
            flex-start;
    }


    /* TASK DASHBOARD */

    .tasks-dashboard-header-icon {

        display:
            none;
    }


    .tasks-dashboard-date {

        width:
            100%;
    }


    .dashboard-kpi-card .card-body {

        align-items:
            flex-start !important;

        flex-direction:
            column;

        gap:
            0.7rem !important;
    }


    .dashboard-kpi-value {

        font-size:
            1.5rem;
    }


    .dashboard-week-date {

        width:
            66px;

        flex-basis:
            66px;
    }


    /* CUSTOMERS */

    .customers-card-header,
    .customers-pagination {

        align-items:
            stretch;

        flex-direction:
            column;
    }


    /* TIMELINE */

    .timeline-list-item {

        grid-template-columns:
            34px
            minmax(0, 1fr);

        padding:
            0.8rem;
    }


    .timeline-list-date {

        grid-column:
            2;

        min-width:
            0;

        text-align:
            left;
    }


    /* SAVED QUOTES */

    .winequotes-search {

        width:
            100%;
    }


    .winequotes-table {

        min-width:
            850px;
    }


    .winequotes-pagination {

        align-items:
            flex-start !important;

        flex-direction:
            column;
    }


    /* WINE BUILDER */

    .wine-builder-customer-select {

        width:
            100%;

        max-width:
            none;
    }


    .wine-builder-customer-card .d-flex {

        align-items:
            stretch !important;

        flex-direction:
            column;
    }


    #startQuoteBtn {

        width:
            100%;
    }


    .wine-builder-list-actions {

        width:
            100%;
    }


    .wine-builder-list-actions .btn {

        flex:
            1;
    }


    .wine-list-body {

        padding:
            1rem;
    }


    /* WINE ADMIN */

    .wine-admin-header > .d-flex {

        align-items:
            flex-start !important;
    }


    .wine-admin-header .btn {

        width:
            100%;
    }


    .wine-admin-image-holder {

        width:
            100px;

        height:
            110px;

        flex-basis:
            100px;
    }


    .wine-admin-body,
    .wine-tag-editor {

        padding:
            1rem;
    }


    .wine-admin-product-header {

        padding:
            1rem;
    }


    .wine-admin-dietary {

        flex-direction:
            column;
    }


    .wine-admin-check {

        width:
            100%;
    }


    /* TAG MANAGER */

    .wine-tag-header .btn {

        width:
            100%;
    }


    .wine-tag-footer {

        align-items:
            stretch !important;

        flex-direction:
            column;
    }


    .wine-tag-footer .btn {

        width:
            100%;
    }


    /* MODALS */

    .core-modal .modal-footer {

        flex-direction:
            column-reverse;

        align-items:
            stretch;
    }


    .core-modal .modal-footer .btn {

        width:
            100%;
    }


    /* ACTIVITY CALENDAR */

    .activity-calendar-table td {

        height:
            110px;

        padding:
            5px;
    }


    .activity-calendar-item {

        padding:
            5px;

        font-size:
            0.8rem;
    }

}