body{
	margin: 50px;
}
.login-container{
	width: 200px;
	margin: auto;
}
.login-container form{
	margin-top: 200px;
}
.login-container input{
	margin-bottom: 15px;
	width: 100%;
}
.login-container input[type="submit"]{
	display: block;
	margin: auto;
	width: auto;
}
.error{
	color: #ff0000;
}
.container, .footer-container{
	width: 1600px;
	margin: auto;
	margin-bottom: 10px;
}
.container>div{
	display: inline-grid;
}
.container>.login-container{
	display: block;
}
.stores{
	width: 20%;
}
.items{
	width: 20%;
    padding: 8px;
}
.overview{
	width: 59%;
}
.item-cell img{
	width: 100%;
}
.overview-page{
	display: flex;
    flex-wrap: wrap;
    border: 1px solid #ccc;
}
.item-cell{
	border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
    flex: 1 1 calc(16% - 10px);
    box-sizing: border-box;
    justify-content: center;
    min-height: 140px;
}
.item-cell:nth-child(2n) {
    align-items: center;
    display: flex;
}
.store-item div {
  background: linear-gradient(145deg, #e6e6e6, #ffffff);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2), -5px -5px 15px rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  padding: 5px 20px;
  font-family: Arial, sans-serif;
  color: #333;
  float: left;
  margin-right: 5px;
  line-height: 28px;
  cursor: pointer;
  margin-bottom: 9px;
}

.store-name{
	width: 43%;
}

.item-name{
	width: 60%;
}

.items-item div {
  background: linear-gradient(145deg, #e6e6e6, #ffffff);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2), -5px -5px 15px rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  padding: 5px 11px;
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 28px;
  float: left;
  margin-right: 5px;
  line-height: 13px;
  cursor: pointer;
  font-size: 14px;
  margin-bottom: 5px;
}

.store-name.active {
  background: linear-gradient(145deg, #d6f3ff, #ffffff);
  box-shadow: 0 0 20px rgba(0, 150, 255, 0.6), 0 5px 15px rgba(0, 150, 255, 0.3);
  border: 2px solid #0096ff;
  color: #0096ff;
}

.add-store{
	float: left;
	background: linear-gradient(145deg, #e8ffe8, #ffffff); /* Градиент с оттенком зелёного */
    box-shadow: 0 0 20px rgba(0, 200, 100, 0.6), 0 5px 15px rgba(0, 200, 100, 0.3); /* Зелёная подсветка */
    border-radius: 12px;
    padding: 10px 20px;
    font-family: Arial, sans-serif;
    font-size: 18px;
    color: #333;
    text-align: center;
    cursor: pointer;
}

.download{
	float: right;
	background: linear-gradient(145deg, #e8ffe8, #ffffff); /* Градиент с оттенком зелёного */
    box-shadow: 0 0 20px rgba(0, 200, 100, 0.6), 0 5px 15px rgba(0, 200, 100, 0.3); /* Зелёная подсветка */
    border-radius: 12px;
    padding: 10px 20px;
    font-family: Arial, sans-serif;
    font-size: 18px;
    color: #333;
    text-align: center;
    cursor: pointer;
}

.add-item{
	background: linear-gradient(145deg, #e8ffe8, #ffffff); /* Градиент с оттенком зелёного */
    box-shadow: 0 0 20px rgba(0, 200, 100, 0.6), 0 5px 15px rgba(0, 200, 100, 0.3); /* Зелёная подсветка */
	border-radius: 12px;
	padding: 5px 11px;
	font-family: Arial, sans-serif;
	color: #333;
	line-height: 28px;
	float: left;
	margin-right: 5px;
	line-height: 13px;
	cursor: pointer;
	font-size: 14px;
	margin-top: 10px;
	text-align: center;
}

.item-edit, .item-delete{
	height: 13px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 10;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 300px;
    display: none;
    z-index: 20;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    cursor: pointer;
    color: #333;
}

.modal input{
	width: 100%;
}
.modal input[type="button"]{
	cursor: pointer;
}

#modal2{
    width: 754px;
}
.form_items div{
    display: inline-block;
    margin-right: 28px;
    width: 20%;
}

.upload_block{
    width: 130px;  
    height: 130px;
    border: 1px solid;
    margin: 15px auto;
}
.upload_block img{
    max-height: 130px;
    max-width: 130px;
}

.item-but-cont{
    width: 130px;
    margin: auto;
}

.dropdown_codes{
    display: none;
    position: absolute;
    overflow: auto;
    height: 100px;
    background-color: #ccc;
    padding: 0 5px 0 5px;
}

.dropdown_codes p{
    cursor: pointer;
    margin: 0;
}

.form_items .error{
    border: 2px solid #ff0000;
}
.adderror{
    display: none;
    color: #ff0000;
}

.tab {
  border-style: solid;
  border-width: 1px 1px 0px 1px;
  border-color: #ccc;
  width: 50px;
  font-size: 22px;
  text-align: center;
  margin-right: 5px;
  border-radius: 9px 9px 0 0;
  cursor: pointer;
}

.tab.active {
  background-color: rgba(0, 200, 100, 0.6);
}

.tabs{
    display: flex;
}