/* 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;
}

/* Font awesome show/edit style */
.fa-eye, .fa-pen-to-square {
    color: white;
}

.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;
}


/** 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;
}

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