@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

body{
    min-height: 100vh;
}

.container{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-image: url(../img/bg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100%;
    width: 100%;

}

.section{
    position: relative;
    max-width: 400px;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(55px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 3rem;
}

h1{
    font-size: 2rem;
    color: #fff;
    text-align: center;

}

.input{
    position: relative;
    margin: 30px 0;
    max-width: 310px;
    border-bottom: 2px solid #fff;
}

.input label{
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    color: #fff;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.5s ease-in-out;
}

input:focus ~ label,
input:valid ~ label{
    top: -5px;
}

.input input{
    width: 100%;
    height: 60px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 0 35px 0 5px;
    color: #fff;
}

.input .icon{
    position: absolute;
    right: 8px;
    color: #fff;
    font-size: 1.2rem;
    top: 20px;
}

.button{
    width: 100px;
    height: 40px;
    border-radius: 40px;
    background-color: rgb(255,255,255,1);
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.4s ease;
    display: block;
    box-shadow: 0 5px 4px rgba(0, 0, 0, 0.199);
    margin-top: 5px;
}

.button:hover{
    background-color: rgb(255,255,255,0.5);
}

.aside {
    display: flex;
    background-color: #2C2A2A;
    height: 100vh; 
    position: fixed; 
    bottom: 0;
    left: 0;
    width: 360px;
    flex-direction: column;
 
}

.username{
    font-size: 2.5rem;
    line-height: 50px;
    text-align: start;
    color: #fff;
    width: 100%;
    padding: 50px 40px;
    word-wrap: break-word;
}

.menu-list{
    width: 100%;
    min-height: 75px;
    list-style: none;
}

.menu-list-item{
    padding: 30px 40px;
    display: flex;
    align-items: center;
}

.menu-list-item a{
    color: #DDE2FF;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
}

.menu-list-item a .list-icon{
    margin-right: 10px;
}

.menu-list-item:hover{
    background-color: rgba(255,255,255,0.1);
    border-left: 4px solid #DDE2FF;
    transition: all 0.2s ease-out;
}

.active{
    background-color: rgba(255,255,255,0.1);
    border-left: 4px solid #DDE2FF;
    transition: all 0.2s ease-out;
}

.aside .main-icon{
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 30px 40px;
    /*display: flex;
    justify-content: center;*/
}

.aside .main-icon img{
    width: 50%;
}

.main {
    width: calc(100% - 360px);
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100vh; 
    overflow-y: auto; 
    background: #F5F5F5;
}

.main  .container-2{
    width: 100%;
    height: 100%;
}

h3{
    color: #000000;
    font-weight: 600;
    font-size: 3rem;
    padding: 50px 0 30px 20px;
}

.static-cards{
    height: 200px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-bottom: 30px;
}

.static-cards .card{
    width: 340px;
    height: 100%;
    border-radius: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 4px rgba(0, 0, 0, 0.199);
    
}

.static-cards .card:nth-child(1){
    background-color: #53BFFF;
}

.static-cards .card:nth-child(2){
    background-color: #02C56C;
}

.static-cards .card:nth-child(3){
    background-color: #FEAD48;
}

.static-cards .card:nth-child(4){
    background-color: #FF5944;
}

.static-num{
    font-size: 2.5rem;
    color: #fff;
    font-weight: 500;
    margin-bottom: 10px;
}

.num-title{
    font-size: 1.5rem;
    color: #fff;
    font-weight: 500;
}

.main .container-2 .static-cards .card div{
    margin-right: 30px;
}


.diagrams-block-1{
    width: 100%;
    display: flex;
    flex-direction: row;
    padding-left: 30px;
}

.diagrams-block-2{
    width: 100%;
    display: flex;
    flex-direction: row;
    padding-left: 30px;
}

.analysis{
    margin-right: 40px;
}

.diagrams-block-1 .analysis label{
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 15px;

}

.date{
    background-color: #fff;
    width: 400px;
    height: 65px;
    border-radius: 15px;
    border: 1.5px solid #DDDDDD;
    color: #BBBBBB;
    font-size: 20px;
    padding: 20px;
    margin-bottom: 20px;
}
  
.button2{
    width: 110px;
    height: 50px;
    border-radius: 10px;
    background-color: #53BFFF;
    color: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.4s ease;
    display: block;
    box-shadow: 0 5px 4px rgba(0, 0, 0, 0.199);
    margin-top: 5px;
    padding: 10px;
}

.button2:hover{
    background-color: #00a2ff
}

.sales{
    background-color: #FFFFFF;
    width: 1500px;
    /* height: 700px; */
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 5px 4px rgba(0, 0, 0, 0.295);
}

h4{
    font-size: 1.8rem;
    color: #000000;
    font-weight: 500;
    width: 100%;
    text-align: start;
    padding-top: 30px;
    padding-left: 30px;
    margin-bottom: 20px;
}

.sales-sum{
    font-size: 2rem;
    color: #000000;
    font-weight: 600;
    width: 100%;
    text-align: start;
    padding-left: 30px;
}

.order-status{
    background-color: #FFFFFF;
    width: 640px;
    /* height: 520px; */
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 5px 4px rgba(0, 0, 0, 0.295);
    margin-right: 50px;
    padding-bottom: 20px;
}

.top-products{
    background-color: #FFFFFF;
    width: 400px;
    height: 520px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 5px 4px rgba(0, 0, 0, 0.295);
}

.diagram{
    width: 100%;
}

.control-panel {
    display: flex;
    align-items: center;
    margin-left: 30px;
    padding-top: 95px;
}

.save-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 18px;
    width: 150px;
    height: 50px;
    border-radius: 10px;
    color: #107C41;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all 0.4s ease;
    display: block;
    box-shadow: 0 5px 4px rgba(0, 0, 0, 0.199);
    background-color: rgb(255,255,255,1); 
    margin-right: 30px;
}

.save-button p{
    display: inline-block;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 22px;
    vertical-align: top;
}

.save-button:hover{
    background-color: #00a2ff;
    color: #fff;
}

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

.selected-text {
    font-size: 20px;
    color: #000000;
    font-weight: 500;
}

.table {
    margin-top: 20px;
    padding-left: 30px;
    
}

table {
    width: 100%;
    border-collapse: collapse;
    

}

thead th {
    height: 65px;
    background-color: #F9FAFB;
    border-bottom: 1.34px solid #EAECF0;
    font-size: 16px;
    color: #8A92A6;
    text-align: left;
    padding: 10px;
    cursor: pointer;
}

#statusSelect {
    background-color: #F9FAFB;
    border: none;
    font-size: 16px;
    color: #8A92A6;
    text-align: left;
    padding: 10px;
    cursor: pointer;
}

tbody td {
    height: 100px;
    background-color: white;
    border-bottom: 1.34px solid #EAECF0;
    font-size: 20px;
    color: #101828;
    text-align: left;
    padding: 10px;
    cursor: pointer;
}

.actions {
    flex: 2;
    text-align: center;
    width: 60px;
}


.checkbox {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding-left: 15px;
}

.checkbox-input {
    position: absolute;
    width: 26.8px;
    height: 26.8px;
    opacity: 0;
    cursor: pointer;
}

.checkbox-icon {
    width: 26.8px;
    height: 26.8px;
    flex-shrink: 0;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-icon .tick {
    stroke-dasharray: 20px;
    stroke-dashoffset: 20px;
    transition: stroke-dashoffset 0.2s ease-out;
    padding-left: 10px;
}

.checkbox-input:checked + .checkbox-icon .tick {
    stroke-dashoffset: 0;
}

.checkbox-input:checked + .checkbox-icon rect {
    stroke: #107c41a1;
    fill: #F5F7FF;
}

.actions img {
    transition: 0.3s ease-in-out;
}

.actions img:hover,
.actions img:active {
    filter: brightness(1.2) sepia(1) saturate(10);
}

.column {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pagination{
    height: 65px;
    background-color: #F9FAFB;
    border-bottom: 1.34px solid #EAECF0;
    font-size: 16px;
    color: #8A92A6;
    text-align: left;
    padding: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#analysis-1{
    display: flex; 
    flex-direction: row; 
    gap: 20px; 
    margin-left: 30px; 
    margin-top: 30px;
}


@media screen and (max-width: 500px) {
    .aside {
        display: flex;
        background-color: #2C2A2A;
        height: 100vh; 
        position: fixed; 
        bottom: 0;
        left: 0;
        width: 40px;
        flex-direction: column;
    }

    .main {
        width: calc(100% - 40px);
        position: absolute;
        bottom: 0;
        right: 0;
        height: 100vh; 
        overflow-y: auto; 
        background: #F5F5F5;
    }

    .aside h2,
    .main-icon {
        display: none;
    }

    .menu-list-item{
        padding: 25px 10px;
        display: flex;
        align-items: center;
    }

    .menu-list-item a {
        display: flex;
        align-items: center;
        justify-content: start;
        text-decoration: none;
        color: #DDE2FF;
    }

    .menu-list-item a .list-icon {
        width: 25px;
        height: 25px;
    }

    .menu-list-item a span {
        display: none; 
    }

    .menu-list-item:hover{
        background-color: rgba(255,255,255,0.1);
        border-left: 4px solid #DDE2FF;
        transition: all 0.2s ease-out;
    }
    
    .active{
        background-color: transparent;
        border-left: 4px solid #DDE2FF;
        transition: all 0.2s ease-out;
    }

    .main .container-2 h3 {
        height: auto;
        color: #000000;
        font-weight: 600;
        font-size: 2.5rem;
        padding: 50px 0 30px 20px;
    }

    .main .container-2 .static-cards {
        height: auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        margin-bottom: 20px;
        padding: 10px;
    }

    .static-cards .card {
        width: 100%;
        height: 200px;
        border-radius: 20px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        box-shadow: 0 5px 4px rgba(0, 0, 0, 0.199);
        margin-bottom: 20px;
    }


    .diagrams-block-1,
    .diagrams-block-2{
        width: 100%;
        display: flex;
        flex-direction: column;
        padding-left: 15px;
    }

    .analysis{
        width: 100%;
        /* margin-left: -15px; */
        margin-bottom: 20px;
    }



    .diagrams-block-1 .analysis label{
        display: block;
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 15px;
    }
    
    .date{
        background-color: #fff;
        width: 100%;
        height: 65px;
        border-radius: 15px;
        border: 1.5px solid #DDDDDD;
        color: #BBBBBB;
        font-size: 20px;
        padding: 20px;
        margin-bottom: 20px;
    }
      
    .button2{
        width: 110px;
        height: 50px;
        border-radius: 10px;
        background-color: #53BFFF;
        color: #fff;
        border: none;
        outline: none;
        cursor: pointer;
        font-size: 1rem;
        font-weight: 600;
        transition: all 0.4s ease;
        display: block;
        box-shadow: 0 5px 4px rgba(0, 0, 0, 0.199);
        margin-top: 5px;
        padding: 10px;
    }
    
    .button2:hover{
        background-color: #00a2ff
    }

    .sales{
        background-color: #FFFFFF;
        width: 100%;
        /* height: 700px; */
        border-radius: 10px;
        margin-bottom: 40px;
        box-shadow: 0 5px 4px rgba(0, 0, 0, 0.295);
    }
    
    h4{
        font-size: 1.8rem;
        color: #000000;
        font-weight: 500;
        width: 100%;
        text-align: start;
        padding-top: 30px;
        padding-left: 30px;
        margin-bottom: 20px;
    }
    
    .sales-sum{
        font-size: 2rem;
        color: #000000;
        font-weight: 600;
        width: 100%;
        text-align: start;
        padding-left: 30px;
    }

    .order-status{
        background-color: #FFFFFF;
        width: 100%;
        /* height: 520px; */
        border-radius: 10px;
        margin-bottom: 40px;
        box-shadow: 0 5px 4px rgba(0, 0, 0, 0.295);
        margin-right: 50px;
        padding-bottom: 20px;
    }
    
    .top-products{
        background-color: #FFFFFF;
        width: 100%;
        /* height: 520px; */
        border-radius: 10px;
        margin-bottom: 40px;
        box-shadow: 0 5px 4px rgba(0, 0, 0, 0.295);
    }

    .diagram{
        width: 100%;
        height: 100%;
    }

    #analysis-1{
        flex-direction: column;
        max-width: 320px;
    }




    .table table,
    .table thead,
    .table tbody,
    .table th,
    .table td,
    .table tr {
        display: block;
    }

    .table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .table tr {
        margin-bottom: 20px;
        border: 1px solid #ccc;
    }

    .table td {
        border: none;
        position: relative;
        padding-left: 50%;
    }

    .table td:before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }



    .table td:nth-of-type(2):before {
        content: "ID: ";
    }

    .table td:nth-of-type(3):before {
        content: "Товар: ";
    }

    .table td:nth-of-type(4):before {
        content: "Дата: ";
    }

    .table td:nth-of-type(5):before {
        content: "Сумма: ";
    }

    .table td:nth-of-type(6):before {
        content: "Статус"; 
    }

    .status-filter {
        margin-top: 20px;
    }
}



.accounts-container{
  max-width: 600px;
  margin: 0 auto;
}

.account{
  background-color: transparent;
  border: 1px solid #00a2ff;
  border-radius: 10px;
  padding: 10px;
  margin: 20px 0;
  position: relative;
  overflow: hidden;
  transition: all .4s ease;
}

.account.active{
  background-color: #ffffff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.1);
}

.account-title{
  margin: 0 35px 0 0;
}

.account-text{
  display: none;
  margin: 30px 0 0;
}

.account.active .account-text{
  display: block;
  color: #000000;
}

.account-toggle {
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: absolute;
  top: 30px;
  right: 30px;
  height: 30px;
  width: 30px;
}

.chevron, .close{
  width: 12px;
  height: 12px;
}

.account-toggle .close{
  display: none;
} 

.account.active .account-toggle .close{
  display: block;
}

.account.active .account-toggle .chevron{
  display: none;
}

.account.active .account-toggle{
  background-color: #00a2ff;
  border-radius: 50%;
  color:#ffffd9;
}

.card-user-container {
	background-color: #F5F5F5;
	font-family: Montserrat, sans-serif;
	display: flex;
	align-items: start;
	justify-content: start;
	flex-direction: column;
	min-height: 100vh;
	margin: 20px;
}
		
.card-container {
	background-color: white;
	border-radius: 15px;
	box-shadow: 0px 10px 20px -10px rgba(0,0,0,0.75);
	padding-top: 30px;
	position: relative;
	max-width: 100%;
}


.card-container:nth-child(1) {
    width: auto;
}

.imp-data {
	background-color: #26a;
	text-align: left;
	padding: 30px;
	margin-top: 30px;
	border-radius: 5px;
}

	
.device-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.device-list li {
    display: none;
}

.account.active .device-list li {
    display: block;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
  }
  
#loader {
    border: 10px solid #f3f3f3;
    border-top: 10px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -60px;
    margin-left: -60px;
    z-index: 1001;
    display: none;
  }
  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); } 
  }
  