/* Set the background color to a dark gray, color to light gray and default font size */

body {
    font-size: 16px;
    height: 100vh;
    background-color: #000000;
}

.container-fluid {
    height: 100%;
}

.main-column {
    display: flex;
    flex-direction: column;
    justify-content: left;
    padding: 0;
}

body.sidebar-expanded .main-content {
    padding-left: 225px !important;
    transition: padding-left 0.5s;
}

body:not(.sidebar-expanded) .main-content {
    padding-left: 70px !important;
    transition: padding-left 0.5s;
}

.icon-sidebar {
    fill: white;
    transition: ease .4s;
}

.icon-sidebar:hover {
    transition: ease .4s;
    fill: #e8c867;
}

.icon {
    height: 22px;
    width: 22px;
}

.icon-white {
    fill: white;
}

.button-icon {
    height: 22px;
    width: 22px;
}



.main-content {
    color: white;
    padding-top: 64px;
    height: 100%;
    flex: 1 1 0;
    min-width: 0;
}

h1,
h2 {
    font-size: 20px;
    font-weight: bold;
}

h3 {
    font-size: 16px;
}

.sign-in-section {
    background-color: #171717;
    border-radius: 7px;
    padding: 80px;
    margin-top: 3vw;
    color: white;
}

.sign-in-logo {
    width: 70%;
    margin-top: 4vw;
}

.picto {
    font-size: 7rem;
    margin: 50px;
    color: #E4E5F1;
}

.picto:hover {
    font-size: 7rem;
    margin: 50px;
    color: #ffffff;
}

.card {
    background-color: #2a2a2a;
    color: #E4E5F1;
    border: 1px solid white;
}


a {
    text-decoration: none;
}

/* Table style */
.table {
    --bs-table-bg: #171717;
    --bs-table-color: #E4E5F1;
}

.btn-global {
    padding: .5em;
    border-radius: 15px;
    font-weight: bold;
    background-color: #ffffff;
    border: 1px solid white;
    color: black;
    fill: black;
    transition: all .4s;
    margin-bottom: 1em;
    margin-top: 1em;
}

.btn-global:hover {
    background-color: #000000;
    color: rgb(255, 255, 255);
    fill: white;
    transition: all .4s;
}


/** Form dropdown **/
.header-form>#btn-back {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1001;
}

.header-form {
    position: sticky;
    top: 64px;
}

.sticky-form {
    position: sticky;
    top: 64px;
    z-index: 1000;
    background-color: rgb(0, 0, 0);
    border-bottom: 1px solid #ddd;
}

.form-select,
.btn-search,
.btn-reset {
    border-radius: 16px;
}

.form-select {
    background-color: #000;
    color: white;
}

.filter-group {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.filter-group label {
    width: 100px;
    text-align: left;
    margin-right: 10px;
    font-weight: 500;
}

button.btn-search {
    background-color: white;
    color: black;
    border: 1px solid #ccc;
}

button.btn-reset {
    background-color: black;
    color: white;
    border: none;
}

button.btn-reset,
button.btn-search {
    font-weight: bold;
    padding: .3em;
    width: 8em;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}
/**********************DASHBOARD**************************/
.toggle-group-selector {
    display: inline-flex;
    justify-content: center;
    border: 2px solid #ffffff;
    border-radius: 100px;
    overflow: hidden;
    background-color: #000000;
}


.button-selector {
    padding: .5em;
    background: none;
    border: none;
    color: white;
    fill: white;
    margin: 0;
    border-radius: 100px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 16px;
}

.button-selector.selected {
    border: 1px solid gray;
    background-color: white;
    color: black;
    fill: black;
    z-index: 1;
}

.button-selector.selected>svg {
    fill: black;
}

.container_section {
    display: flex;
    flex-direction: row;
}


.data-title {
    color: rgb(15, 162, 230);
}

/* Style for data blocks */
.data-block h2 {
    font-size: 1.5rem;
    font-weight: bold;
}

.small-title {
    font-size: 1rem;
    font-weight: bold;
}

/* Style for horizontal rules */
hr {
    margin: 10px 0;
    width: 90%;
}

.column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Separator line between columns */
.vertical-line {
    width: 1.1px;
    height: 100%;
    background-color: #ffffff;
    margin: 0;
}

.data-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.div-data {
    width: 250px;
    height: 175px;
    margin: 0 auto;
    cursor: pointer;
}



.button {
    margin: 1em;
    padding: 0.5em;
}

.button>a {
    background-color: #CFB15A;
    transition: all 0.4s;
    width: 80%;

}

.button>a:hover {
    background-color: #e8c867;
    transition: all 0.4s;
}

/** Sidebar and topbar */
#sidebarNav {
    width: fit-content;
}

/**** HOME ***/

.widgets-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.widget {
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid white;
    border-radius: 8px;
    width: calc(25% - 20px);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.widget:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.widget a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: white;
    text-decoration: none;
}

.widget-content {
    padding: 10px;
    flex: 1;
}

.widget h3 {
    margin: 0 0 5px;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
}

.widget p {
    font-size: 0.9rem;
    margin: 0 0 10px;
}

.widget img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .widget {
        width: calc(50% - 20px);
    }
}

@media (max-width: 500px) {
    .widget {
        width: 100%;
    }
}

/** Appstore*/
.appstore-filter-group {
    gap: 10px;
}

.appstore-filter-group button {
    border: none;
    font-weight: bold;
    border-radius: 20px;
    padding: 10px;
    color: black;
    background-color: white;
}

.appstore-filter-group button.selected {
    background-color: #CCBB5B;
    color: white;
}


/** Card View**/
.product-card {
    background: linear-gradient(to bottom,
            var(--color1) var(--percent-normal),
            var(--color2) 100%);
    transition: all 0.3s ease;
    height: 60vh;
    min-height: 350px;
    max-height: 700px;
    width: 350px;
    border-radius: 25px;
    transition: transform 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
    border: solid 1px rgb(0, 0, 0);
    margin: 1em;
    padding-top: 1em;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.product-card:hover {
    background: linear-gradient(to bottom,
            var(--color1) var(--percent-hover),
            var(--color2) 100%);
}

/*** List View **/
.product-list {
    background: linear-gradient(to right,
            var(--color1) var(--percent-normal),
            var(--color2) 100%);
    transition: all 0.7s ease;
}

.product-list:hover {
    transition: all 0.7s ease;
    background: linear-gradient(to right,
            var(--color1) var(--percent-hover),
            var(--color2) 100%);
}


.product-header {

    flex-shrink: 0;
}

.product-header {
    padding-left: 1em;
    padding-right: 1em;
}

.product-title {
    align-items: center;
}

.appstore-logo {
    border-radius: 15px;
    height: 50px;
    width: 50px;
    flex-shrink: 0;
}

.product-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 0;
}


.appstore-visual {
    width: 100%;
    max-width: 100%;
    min-height: 80px;
    height: 100%;
    flex-shrink: 1;

}

.appstore-big-button a {
    background-color: black;
    color: white;
    font-weight: bolder;
    border-radius: 20px;
    display: block;
    text-align: center;
    transition: background 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}



.appstore-big-button a {
    margin-bottom: 1em;
    padding: 0.75em 1em;
    font-size: 1.1rem;
}


.appstore-button a,
.product-footer a {
    background-color: black;
    color: white;
    font-weight: bolder;
    border-radius: 20px;
    display: block;
    text-align: center;
    transition: background 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.appstore-button a {
    padding: 0.25em 1em;
    font-size: 1rem;
}

.product-footer {
    height: 100%;
    align-items: end;
    position: relative;

}

.product-footer a {
    position: absolute;
    bottom: 15px;
    padding: 0.75em 1em;
    font-size: 1.1rem;

}

.product-card h3 {
    color: #000000;
    font-size: 1.5em;
    margin-left: .4em;
    margin-bottom: 0;
    text-overflow: ellipsis;
    white-space: normal;
    max-height: 5em;
}

.app-info {
    color: #000000;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}


.appstore-results {
    justify-content: space-between;
    width: 100%;
}

/*******APPSTORE LIST VIEW******/
.list-view {
    color: #000000;
}

.text-truncate-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}
/** OPERATOR VIEW **/
.alert-btn-panel {
    display: flex;
    justify-content: space-between;
    margin-top: 1em;
    height: 85%;
}

.alert-btn-panel h3 {
    border-radius: 15px;
    flex: 1;
    text-align: center;
    align-content: center;
    height: 100%;
    width: 100%;
    font-size: 50px;
    padding: 1em;
    border-radius: 8px;
    font-weight: bold;
    color: rgb(0, 0, 0);
}

.alert-btn-panel a {
    border-radius: 15px;
    width: 100%;
}

.alert-btn-panel i {
    font-size: 400%;
}

/***  Manager View ***/
.stats-container {
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.stat-item {
    padding: 0 15px;
}

.stat-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: bold;
    color: #b8b8b8;
    margin: 0;
}

.with-padding-topbar {
    padding: 64px !important;
}