* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.5;
    /* font-family: Arial, Helvetica, sans-serif; */
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}
body{
    display: flex;
    padding: 2em;
    align-content: center;
    justify-content: center;

}
.dashboard-layout{
    width: 95%;
    padding: 2em;
    background: rgba(255, 255, 255, 0.24);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6.5px);
    -webkit-backdrop-filter: blur(6.5px);
    border: 1px solid rgba(255, 255, 255, 0.31);
    height: calc(100vh - 4em);
}
header{
    height: 90px;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;

}

    
.dashboard-logo,
.dashboard-user {
    flex: 0 0 25%; /* flex-grow, flex-shrink, flex-basis */
}
.dashboard-search {
    flex: 0 0 50%;
}
.dashboard-user{
display: flex;
  justify-content: end;
}

.dashboard-user img{
    width: 45px;
}
header .logo img {
    height: 60px;
    width: auto;
}
.dashboard-search {
      position: relative;
      width: 320px;
    }

    .dashboard-search input {
      width: 100%;
      padding: 10px 16px 10px 36px;
      border: none;
      border-radius: 20px;
      background: #fff;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      font-size: 14px;
      outline: none;
      transition: box-shadow 0.2s ease;
    }

    .dashboard-search input:focus {
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }

    .dashboard-search::before {
      content: "🔍";
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 14px;
      opacity: 0.5;
    }


.header-row{
    width:90%;
    display: flex;
    flex-direction: column;
    background: #f8f8f8;
}
.header-row .row{
    padding-right: 35px;
}

.dashboard-head {
    padding: 5px;
}

.dashboard-head p {
    padding: 5px;
    color: #fff;
    font-size: 18px;
}

.user-items{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    padding: 5px;
    justify-items: center;
    align-items: center;
}

.info-btn {
    display: flex;
    align-items: center;
    color: #fff;
    padding: 10px;
    position: relative;
    transition: all 0.5s ease-in-out;
}

.info-btn p {
    padding-left: 5px;
    font-size: 18px;
}

.info-btn:hover {
    background-color: #3c515a;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}

.user-dropdown {
    display: none;
    position: absolute;
    background-color: #3c515a;
    min-width: 220px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    top: 45px;
    transition: all 0.5s ease-in-out;
}

.info-btn:hover .user-dropdown {
    display: block;
    transition: all 0.5s ease-in-out;
}

.user-dropdown a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: all 0.5s ease-in-out;
}

.info-btn:hover .user-dropdown a {
    color: #fff;
    transition: all 0.5s ease-in-out;
}

.info-btn:hover .user-dropdown:hover a {
    background-color: #bfbebe;
    color: black;
    transition: all 0.5s ease-in-out;
}

.user-dropdown i {
    color: #ffffff;
    transition: all 0.5s ease-in-out;
}

.info-btn:hover .user-dropdown:hover i {
    color: black;
    transition: all 0.5s ease-in-out;
}

.content{
    display: flex;
    flex-direction: row;
    height: calc(100% - 90px);
    overflow: hidden;
}

.dashboard-menu{
    width: clamp(150px, 50%, 300px);
    display: flex;
    flex-direction: column;
    background: #fff;
    height: 100%;
    padding-top: 1%;
}
.row-section{
    display: flex;
    width: 100%;
    flex-direction: column;
    border-bottom: 1px solid #D3D3D3;
}
.section-title{
    display: flex;
    width: 100%;
    align-items: center;
    padding: 10px;
    transition: all 0.5s ease-in-out;
    color: #393939;
    font-size: 18px;
    padding-left: 20px;
}
.section-title p {
    margin: 0;
    padding-left: 10px;
}
.section-title a {
    margin: 0;
    padding-left: 10px;
    color: #393939;
}
.section-selection{
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* background-color: #f8f8f8; */
    background-color: #3c515a;
    transition: all 0.5s ease-in-out;
}
.section-selection.open-container{
    max-height: 100%;
    transition: all 0.5s ease-in-out;
}
.section-title.active-acc{
    /* background-color: #bfbebe; */
    background-color: #dfdfdf;
    color: #15406d;
    padding-left: 20px;
    border-radius: 10px;
} 
.row-link{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.row-link span{
    padding-left: 10px;
}
.section-title.active-acc a {
    color: #15406d;
    padding-left: 10px;
} 
.section-title:hover {
    background-color: #dfdfdf;
    cursor: pointer;
    border-radius: 15px;
}

.arrow-section {
    /* display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 10px; */

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 10px;
    margin-left: 10%;
    position: absolute;
}

.arrow-acc {
    border: solid;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transition: transform 0.3s ease-out;
    transform: rotate(45deg);

    /* border: solid;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transition: transform 0.3s ease-out;
    transform: rotate(45deg); */
}

.arrow-acc.rotate-arrow {
    transition: transform 0.3s ease-out;
    transform: rotate(-45deg);

    /* transition: transform 0.3s ease-out;
    transform: rotate(135deg); */
}

.user-arrow {
    border: solid;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transition: transform 0.3s ease-out;
    transform: rotate(45deg);
    margin-left: 2%;
}

.user-arrow.rotate-arrow {
    transition: transform 0.3s ease-out;
    transform: rotate(-45deg);
}

.sublist-item{
    padding: 5px 20px;
    border-bottom: 1px dotted;
    cursor: pointer;
}
.sublist-item:hover,
.sublist-item.active {
    background-color: #bfbebe;
}

.sublist-item a {
    color: #fff;
    font-size: 18px;
}

.dashboard-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0px;
    width: 100%;
    height: 100%;
}

a {
    text-decoration: none;
}


.btnClass{
    padding: 0.3em 0.7em;
    background: #d3d3d3;
    border-radius: 10px;
    color: black;
    border: 2px solid gray;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    margin: 5px;
    font-size: 16px;
}
.btnClass:hover{
    background: #626262;
    color: white;
}
.container{
    width: 90%;
    display: flex;
    flex-direction: column;
    background: #f8f8f8;
    height: 100%;
    overflow-Y: scroll;
}
.row{
    width: 100%;
    padding: 10px 20px;
    border-bottom: 1px dotted gray;
}

.row.firstRow {
    height: 50px;
}

.col{
    display: grid;
    place-content: center;
    align-items: center;
    grid-template-rows: 1fr;
}
.col-2{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    place-content: center;
    grid-gap: 10px;
    grid-template-rows: 1fr;
}
.col-3{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    place-content: center;
    grid-gap: 10px;
    grid-template-rows: 1fr;
}
.col-4{
    display: grid;
    place-content: center;
    grid-template-columns: repeat(4,1fr);
    border-bottom: 1px solid gray;
    grid-template-rows: 1fr;
}
.col-6{
    display: grid;
    place-content: center;
    grid-template-columns: repeat(6,1fr);
    border-bottom: 1px solid gray;
    grid-template-rows: 1fr;
}
.col-7{
    display: grid;
    place-content: center;
    grid-template-columns: repeat(7,1fr);
    border-bottom: 1px solid gray;
    grid-template-rows: 1fr;
}

.col-8{
    display: grid;
    place-content: center;
    grid-template-columns: repeat(8,1fr);
    border-bottom: 1px solid gray;
    grid-template-rows: 1fr;
}

.dashboard-menu-btn {
    display: none;
}

.dashboard-menu-btn__lines::before,
.dashboard-menu-btn__lines::after {
    content: "";
    position: absolute;
}

.dashboard-menu-btn__lines,
.dashboard-menu-btn__lines::before,
.dashboard-menu-btn__lines::after {
    width: 1.5rem;
    height: 0.1rem;
    background: #ffffff;
    transition: all 0.5s ease-in-out;
}

.dashboard-menu-btn__lines::before {
    transform: translateY(-0.5rem);
}

.dashboard-menu-btn__lines::after {
    transform: translateY(0.5rem);
}

.dashboard-menu-btn.open .dashboard-menu-btn__lines {
    transform: translateX(2rem);
    background: transparent;
}

.dashboard-menu-btn.open .dashboard-menu-btn__lines::before {
    transform: rotate(45deg) translate(-1.4rem, 1.4rem);
    background: #000;
}

.dashboard-menu-btn.open .dashboard-menu-btn__lines::after {
    transform: rotate(-45deg) translate(-1.4rem, -1.4rem);
    background: #000;
}

.bottomleft {
    display: flex;
    flex-direction: column;
    bottom: 0;
    position: absolute;
    min-width: 300px;
    max-width: 300px;
    align-items: center;
    justify-content: center;
}

.bottomleft img {

    height: 50px;
    width: auto;
}

.bottomleft a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    bottom: 0;
    position: absolute;
    min-width: 250px;
    max-width: 250px;
    align-items: center;
    justify-content: center;
}

.page-content{
    width: 95%;
    background: #e1dfdb;
    padding: 20px;
    min-height: 100%;
    overflow-x: auto;
}
.content-row{
    display: grid;
    border-bottom: 2px solid white;
}
.row-4{
    grid-template-columns: repeat(4 ,1fr);
}
.content-column{
    border-left: 1px solid white;
    padding: 10px;
}
.content-column:nth-of-type(1){
    border:none;
}

.menu-icon{
    width: 25px;
}
@media screen and (max-width: 1650px) {
    .arrow-section {
        margin-left: 15%;
    }
}

@media screen and (max-width: 1100px) {
    .arrow-section {
        margin-left: 20%;
    }
    body{
      padding: 1em;
    }
    .content{  
      height: calc(100% - 120px);
    }
  .section-content {
      height: 750px!important;
  }
  .content-structure{
width: 100%;
overflow: auto;}
.content-content{
  overflow-y: unset!important;
}
}

@media screen and (max-width: 1024px) {
    .dashboard-content {
        width: 100%;
    }
 .dashboard-layout{
      padding: 1em;
      height: calc(100vh - 2em);
      width: 100%;
  }
}

@media screen and (max-width: 1024px) {
    .dashboard-menu-btn__lines,
    .dashboard-menu-btn__lines::before,
    .dashboard-menu-btn__lines::after {
        background: #000;
    }    
    .dashboard-menu {
        width: clamp(150px, 50%, 350px);
        max-width: 350px;
        height: 100vh;
        position: relative;
        display: flex;
        justify-content: flex-start; 
        position: absolute;
        left: -390px;
        z-index: 99;
        top: 0;
    }
    .dashboard-menu-btn {
        position: absolute;
        top: 11px;
        left: 380px;
        height: 40px;
        width: 40px;
        border-radius: 10px;
        cursor: pointer;
        background-color: rgba(198, 128, 26, 0.5);
        display: grid;
        place-content: center;
        transition: all 0.5s ease-in-out;
    }
    .dashboard-menu-btn.open {
        left: 280px;       
        background: #c6801a;
    } 
    .dashboard-menu-btn.open:hover{
      background: #ce9745;
      }
    .dashboard-menu.open {
        transform: translateX(350px);
        transition: all 0.5s ease-in-out;
        overflow-y: scroll;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .dashboard-menu.open::-webkit-scrollbar {
        width: 0;
    }
    .dashboard-menu {
        transform: translateX(0);
        transition: all 0.5s ease-out;
    }
    .arrow-section {
        margin-left: 45%;
    }
}
#archiveSelect{
  border: none;
  background: #f7e4c9;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 7px;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}
#archiveSelect:hover {
  background: #f0d5b0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

#archiveSelect:focus {
  outline: none;
  background: #e8c99c;
  box-shadow: 0 0 0 2px #c6801a, 0 4px 15px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width:970px) {
    .row.firstRow {
        min-height: 60px;
    }
    .rotating-icon{
      width: 150px;
    }
}


@media screen and (max-width: 690px) {
    .dashboard-menu{
        width: clamp(150px, 60%, 350px);
    }
}

@media screen and (max-width: 590px) {
    .dashboard-menu{
        width: clamp(150px, 70%, 350px);
    }
}

@media screen and (max-width: 500px) {
    .dashboard-menu {
        width: 350px;
    }
    .card-row {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }
    .card-column {
        width: 100%!important;
        padding: 0px 10px;
    }
    header{
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }
    .dashboard-search{
      order: 3;
      grid-column: unset;
      grid-row: unset;
    }
    .dashboard-logo,
    .dashboard-user{    
      grid-column: unset;
      grid-row: unset;
      justify-self: unset;
    }
}

@media screen and (max-width: 370px) {
    .dashboard-menu {
        width: 300px;
    }
    .dashboard-menu-btn.open {
        left: 220px;       
    }
    .arrow-section {
        margin-left: 55%;
    }
}

/* Loading container */
.loading{
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background: #e1dfdba3;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: all 2s ease-in-out;
    opacity: 1;
}
.loading.close{
    opacity: 0;
    transform: translateY(-100%);
    border-radius: 0% 0% 50% 50%;
}
.wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20vh;
    flex-direction: column;
}
.spinner-wrap {
    display: flex;
    align-items: center;
}    
.spinner {        
    height: 100px;
    width: 100px;
    display: inline-block;
    margin: -50px auto 0;
    animation: spin 1s steps(12, end) infinite;
}
.spinner-element {
    height: 30px;
    width: 6px;
    margin-left: -3px;
    display: block;
    transition: height 1s;
    position: absolute;
    left: 50%;
    transform-origin: center 50px;
    background: #000;
    box-shadow: 0 0 3px #000;
    border-radius: 3px;        
}
.spinner:hover .spinner-element{
    height: 6px;	
}
.spinner .spinner-element:nth-child(1) { opacity:.08 }
.spinner .spinner-element:nth-child(2) { transform:rotate(30deg);opacity:.167 }
.spinner .spinner-element:nth-child(3) { transform:rotate(60deg);opacity:.25 }
.spinner .spinner-element:nth-child(4) { transform:rotate(90deg);opacity:.33 }
.spinner .spinner-element:nth-child(5) { transform:rotate(120deg);opacity:.4167 }
.spinner .spinner-element:nth-child(6) { transform:rotate(150deg);opacity:.5 }
.spinner .spinner-element:nth-child(7) { transform:rotate(180deg);opacity:.583 }
.spinner .spinner-element:nth-child(8) { transform:rotate(210deg);opacity:.67 }
.spinner .spinner-element:nth-child(9) { transform:rotate(240deg);opacity:.75 }
.spinner .spinner-element:nth-child(10) { transform:rotate(270deg);opacity:.833 }
.spinner .spinner-element:nth-child(11) { transform:rotate(300deg);opacity:.9167 }
.spinner .spinner-element:nth-child(12) { transform:rotate(330deg);opacity:1 }
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.loading-text{
    font-size: 30px;
    margin-top: 20px;
    font-weight: 600;
    font-style: italic;
}



