﻿.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f8f9fa;
}

.login-card {
    width: 400px;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.login-title {
    text-align: center;
    margin-bottom: 5px;
}

.form-group {
    margin-bottom: 10px;
}

.btn-primary {
    width: 100%;
    margin-top: 20px;
}

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
}

.custom-50-width {
    width: 50%;
}

.date-picker-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 5px;
}

.date-picker-wrapper {
    margin-right: 5px;
}


.sales-value {
    font-size: 24px;
    font-weight: bold;
    color: black;
}

.total-sales-card,
.average-sale-card,
.min-max-sale-card,
.total-units-sold-card,
.popular-products-card,
.total-customers-card,
.sales-growth-card {
    width: 300px;
    margin-bottom: 10px;
}


.total-sales-card {
    background-color: #f2a2a2; /* Replace with your preferred color */
}

.average-sale-card {
    background-color: #a2f2f2; /* Replace with your preferred color */
}

.min-max-sale-card {
    background-color: #f2f2a2; /* Replace with your preferred color */
}

.total-units-sold-card {
    background-color: #a2a2f2; /* Replace with your preferred color */
}

.popular-products-card {
    background-color: #f2a2f2; /* Replace with your preferred color */
}

.total-customers-card {
    background-color: #a2f2a2; /* Replace with your preferred color */
}

.sales-growth-card {
    background-color: #f2f2f2; /* Replace with your preferred color */
}


.card-equal > .card-body {
    flex: 1;
}

.styled-grid {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
}

    .styled-grid .k-grid-header {
        background-color: #f7f7f7;
        color: #333;
    }

    .styled-grid .k-grid-content {
        background-color: #fff;
    }

    .styled-grid .k-alt {
        background-color: #f7f7f7;
    }

.sales-grid {
    display: flex;
    flex-direction: column;
}

.count-and-others {
    display: grid;
    grid-gap: 20px; /* Adjust this value to change the space between grid items */
    grid-template-columns: 2fr 3fr;
}

.count-and-others3 {
    display: grid;
    grid-gap: 20px; /* Adjust this value to change the space between grid items */
    grid-template-columns: 2fr 3fr 3fr;
}

.column-switches {
    display: grid;
    grid-gap: 20px; /* Adjust this value to change the space between grid items */
    grid-template-columns: 1fr 1fr 1fr;
}

.count-and-others div {
    display: flex;
    align-items: center; /* Aligns the checkbox and label vertically in the middle */
}

@media (min-width: 768px) {
    /* Apply the following styles only for screen widths greater than or equal to 768px (tablet and larger) */
    .count-and-others {
        grid-template-columns: 2fr 3fr;
    }
}

.sales-container {
    display: flex;
}

@media (max-width: 1800px) {
    .sales-container {
        flex-direction: column;
    }
}


.sales-grid, .sales-chart {
    flex: 1 0 100%;
}

@media (min-width: 1800px) {
    .sales-grid, .sales-chart {
        flex: 1 0 50%;
    }
}

@media (max-width: 1800px) {
    .sales-grid {
        width: 100%;
        margin-bottom: 10px;
    }

    .sales-chart {
        width: 100%;
    }
}

.chart-and-counts .sales-chart {
    width: 100%;
}



.chart-and-counts {
    margin: 20px;
}

.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    transition: 0.4s;
}

    .active, .accordion:hover {
        background-color: #ccc;
    }

.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.arrow {
    float: right;
}

.active > .arrow {
    transform: rotate(180deg);
}

.combo-label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.combo-and-label-wrapper {
    margin-right: 10px;
}



.searchBoxWidth {
    width: 35% !important;
}

.child-grid.k-grid {
    /* Your custom styles here */
    width: 100% !important;
    background: #f5f5f5 !important;
    border: 2px solid #ddd !important;
    /* other styles as needed */
}

.customSearchBox {
    width: 35% !important;
    border-radius: 20px; /* adjust as needed for the roundness of corners you want */
    border: 1px solid #ccc;
    padding: 5px 10px;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}

.highlight-row {
    background-color: #f8e3a1; /* change to your preferred highlight color */
}

.metrics-section {
    /* Styles specific to the metrics section */
    padding: 20px 0;
    background-color: #f7f7f7; /* Example background color */
    border-radius: 5px;
    margin-bottom: 20px; /* Spacing between metrics and charts sections */
}

.charts-section {
    /* Styles specific to the charts section */
    padding: 20px 0;
    background-color: #e9e9e9; /* Example background color */
    border-radius: 5px;
}

.chart-container {
    /* Styles specific to each chart container */
    padding: 15px;
    background-color: #ffffff; /* Example background color */
    border-radius: 5px;
    margin-bottom: 15px; /* Spacing between each chart */
}
/* CSS for the date component positioning */
.date-container {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1; /* this ensures the date component is above other content */
}

.date-header {
    font-weight: bold;
    margin-bottom: 10px;
}
/* in your styles.css or similar */
.date-container TelerikLink, .date-container a {
    color: blue;
    cursor: pointer;
    text-decoration: underline;
}

.row.g-4 {
    display: flex;
    flex-wrap: wrap; /* Ensure the elements wrap to the next line */
}

    .row.g-4 > div {
        display: flex;
        flex-direction: column; /* Stack children vertically */
    }

.card-equal-wrapper {
    min-height: 100px; /* Base height for all cards. Adjust if needed */
    display: flex;
    flex-direction: column; /* Stack children vertically (header and body) */
}

    .card-equal-wrapper .card {
        flex-grow: 1; /* Allow the card to grow and take up any available space */
    }

        .card-equal-wrapper .card .card-body {
            flex-grow: 1; /* Allow the card body to grow and take up any available space */
        }


.force-wrap {
    white-space: normal;
    word-wrap: break-word;
}

.card-content {
    text-align: center; /* Center the content */
    font-weight: 600; /* Make text bold */
    font-size: 1.3em; /* Increase font size */
}


.right-container {
    display: flex; /* Add this to make it flex container */
    align-items: center; /* Vertical centering */
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1; /* this ensures the date component is above other content */
    gap: 5px; /* Introducing space between child elements */
}

.button-filter {
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
 
.update-button-wrapper-right {
    margin-left: 5px;
}

.notification .k-notification-container .k-notification {
    width: 400px;
    height: 50px;
    font-size: 1.3em;
    text-align: left;
    align-items: center;
}

.font-dark {
    color: #000000;
}

.font-light {
    color: #FFFFFF;
}

.dark-text {
    color: #000000; /* Black text */
}

.light-text {
    color: #FFFFFF; /* White text */
}