/* styles */
 
body {
	max-width: 100%;
	min-width: 480px;
	background-color: white;
	font-family: 'AvenirNextCyr', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	color: #333;
	cursor: default;
	margin: 0 !important;
}
header{
	width: 100%;
	position: fixed;
	top: 0;
	z-index: 20;
}
.header-wrap {
	width: 100%;
	height: 36px;
	background-color: #3A3A3A;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
.header-menu {
	border: none;
	background: none;
}
.header-acaunt {
	display: flex;
	align-items: center;
	padding-right: 20px;
}
.acaunt{
	display: flex;
	align-items: center;
	padding-right: 30px;
}
.acaunt img{
	padding-right: 10px;
	width: 17px;
	height: 17px;
}
.acaunt span{
	color: white;
	display: inline-block;
}
.exit img{
	display: block;
	width: 17px;
	height: 17px;
}



h1{
	margin-bottom: 40px;
}
.container{
	padding-left: 70px;
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.wrapper{
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/*index.php*/

.acount{
	margin: 20px 20px 0 0;
	display: flex;
}

.sidebar {
	width: 42px;
    height: 100%;
    position: fixed;
    top: 0px;
   
    background-color: #3A3A3A;
    transition: 0.3s;
    overflow-x: hidden;
}
.header-menu{
	margin: 5px 0 0 0px;
	
	transition: margin-left 0.3s;
}
.header-menu img{
	width: 28px;
	
}
.sidebar:hover{
	width: 200px;
	
}
.sidebar:hover  .header-menu{
	margin-left: 160px;
}
.sidebar:hover + .index-img{
	margin-left: 160px;
}
.sidebar-wrap {
	margin-top: 30px;
}
.sidebar-menu {
	display: flex;
	
}
.sidebar-menu img{
	width: 22px;
	height: 22px;
	margin: 5px 0 0 10px;
}
.sidebar-menu ul p{
	font-weight: 700;
	font-size: 16px;
	margin: 0;
	
}

.sidebar-menu ul li{
	width: 230px;
	color: white;
	list-style: none;
	padding-left: 10px;
	
}
.sidebar-menu ul li a{
	display: block;
	padding: 5px 0;
	color: white;
	text-decoration: none;
	text-transform: none;
	color: color(srgb 0.945 0.945 0.945 / 0.35);
}
.sidebar-menu  a:hover{
color: white;
}
.sidebar-item {
	margin: 5px 0 0 0;
	padding: 0;
}
.sidebar-item:first-child{
	
}

.index-img{
	display: block;
	margin: 0 auto;
	transition: margin-left 0.3s ease;
}

.flash-message {
	margin: 52px auto 0 auto;
	width: fit-content;
	padding: 8px 14px;
	border: 1px solid #9acb8a;
	border-radius: 6px;
	background: #edf8ea;
	color: #235d1f;
	font-size: 14px;
}
.mini-img{
	max-width: 250px;
	display: block;
	margin: 37px auto 0 auto;
}

.rashodniki-wrap{
	width: 80%;
	max-width: 900px;
	border-radius: 20px;
border: 1px solid #ABABAB;
background: #F9F9F9;
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
margin: 0 auto;
display: flex;
    flex-direction: column;
    align-items: center;
}

 

.rashodniki-wrap select{
	

}
select{
	border-radius: 20px;
border: 1px solid #ABABAB;
background: #FFF;
height: 50px;
-moz-appearance: none;
-webkit-appearance: none;
padding: 0 30px;
font-size: 18px;

}
input{
	width: 100%;
	border-radius: 20px;
border: 1px solid #ABABAB;
background: #FFF;
height: 50px;
}
.rashodniki-wrap input{
	max-width: 675px;
	margin-top: 20px;
	padding: 0 20px;
}
input#com{
	height: 90px;
}
input#com_trafic{
	height: 90px;
}
input#com_zp{
	height: 90px;
}
.rashodniki-wrap form{
width: 80%;
display: flex;
align-items: center;
flex-direction: column;
}
.name-wrap{
	width: 100%;
	display: flex;
	margin: 0 40px;
	align-items: center;
	justify-content: center;
}


.zakaz{
display: flex;
margin: 30px 0;
}
.zakaz button{
	font-size: 16px;
	width: 220px;
}
.table-wrap{
	margin: 30px 0;
	display: flex;
}
.table-wrap button{
	color: black;
	font-size: 16px;
	width: 220px;
	background-color: color(srgb 0.9983 0.9391 0.006);
    border: 1px solid  #0ed143;
	box-shadow: 0px 0px 3px 1px  #0ed143;
}


/*vhod.php*/

.vhod-wrap img{	
	max-width: 100%;
    display: block;
    width: 220px;
	margin:0 auto;
}
.rashodniki-wrap img{	
	max-width: 100%;
    display: block;
    width: 220px;
	margin:0 auto;
}
.vhod-wrap p{
	text-align: center;
}
.vhod-wrap p a{
	text-transform: none;
	text-decoration: none;
	color: #0ed143;
}
.vhod {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.vhod input{
	width: 280px;
	height: 30px;
	padding: 10px;
	font-size: 16px;
	margin: 20px 0;
	border-radius: 5px;
	border: 1px solid  #0ed143;
	box-shadow: 0px 0px 3px 1px  #0ed143;
}

.rashodniki-wrap input[type="submit"] {
    background-color:  #49DF46;
	box-shadow: none;
	font-size: 16px;
	color: white;
	font-weight: 700;
	height: 40px;
	display: block;
	margin: 20px auto;
	border: none;
	max-width: 350px;
}


tr{
	
}



table tr td.td2:last-child {
	word-break: break-word;
}
.block1 {
	background: #000000;
	width: 100%;
}

.main_title {
	color: #ffffff;
}

.main_subtitle {
	color: #ffffff;
}


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


th{
	font-size: 12px;
}
  th, td {
	border-bottom: 1px black solid;
	border-top:  1px black solid;
	min-width: 100px;
	padding: 0px 6px;
	text-align: left;
	max-height: 60px;
	font-size: 12px;
  }

  .yes {
	background-color: rgba(85, 186, 60, 0.69);
  }

  .no {
	
	background-color: rgb(221, 221, 221);
  }

table{

	text-align: center;
	margin-left: 42px;
	margin-top: 36px;
}

.admin-page {
	box-sizing: border-box;
	min-height: 100vh;
	padding: 56px 24px 28px 66px;
	background: #f3f5f7;
}

.admin-page .admin-flash {
	margin: 0 0 12px 0;
	width: fit-content;
}

.admin-toolbar {
	display: grid;
	grid-template-columns: minmax(260px, 1.4fr) repeat(5, minmax(140px, 0.7fr)) auto auto;
	align-items: end;
	gap: 12px;
	margin: 0 0 12px 0;
	padding: 16px;
	background: #ffffff;
	border: 1px solid #d9dee7;
	border-radius: 8px;
	box-shadow: 0 6px 18px rgba(32, 38, 46, 0.06);
}

.admin-toolbar label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: #4b5563;
	font-size: 13px;
	font-weight: 700;
	line-height: 18px;
}

.admin-toolbar input,
.admin-toolbar select,
.admin-page .admin-table input[data-field],
.admin-page .admin-table select,
.admin-page .admin-table input[type="submit"] {
	box-sizing: border-box;
	width: 100%;
	height: 36px;
	border: 1px solid #cfd6df;
	border-radius: 7px;
	background: #ffffff;
	color: #111827;
	font-family: inherit;
	font-size: 14px;
	line-height: 20px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.admin-toolbar input,
.admin-toolbar select {
	padding: 0 12px;
}

.admin-toolbar input[type="search"] {
	min-width: 260px;
}

.admin-toolbar select,
.admin-page .admin-table select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, #6b7280 50%), linear-gradient(135deg, #6b7280 50%, transparent 50%);
	background-position: calc(100% - 16px) 15px, calc(100% - 11px) 15px;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-right: 28px;
}

.admin-toolbar input:focus,
.admin-toolbar select:focus,
.admin-page .admin-table input[data-field]:focus,
.admin-page .admin-table select:focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
	outline: none;
}

.admin-toolbar button,
.admin-toolbar .toolbar-reset,
.pagination a,
.pagination .current,
.pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 44px;
	height: 36px;
	padding: 0 14px;
	border: 1px solid #cfd6df;
	border-radius: 7px;
	background: #ffffff;
	color: #1f2937;
	text-decoration: none;
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
}

.admin-toolbar button {
	border-color: #1f2937;
	background: #1f2937;
	color: #ffffff;
	cursor: pointer;
}

.admin-toolbar button span,
.pagination span {
	background: none !important;
	padding: 0;
	border-radius: 0;
	color: inherit;
	font-size: inherit;
}

.admin-toolbar .toolbar-reset,
.pagination a {
	color: #2563eb;
}

.table-meta {
	margin: 0 0 10px 2px;
	color: #4b5563;
	font-size: 13px;
	font-weight: 600;
}

.admin-table-wrap {
	max-width: 100%;
	max-height: calc(100vh - 190px);
	overflow: auto;
	background: #ffffff;
	border: 1px solid #d9dee7;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(32, 38, 46, 0.08);
}

.pagination {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin: 14px 0 0 0;
}

.pagination .current {
	border-color: #1f2937;
	background: #1f2937;
	color: #ffffff;
}

.admin-page table.admin-table {
	table-layout: fixed;
	width: 1900px;
	margin: 0;
	border-collapse: separate;
	border-spacing: 0;
	text-align: left;
}

.admin-page .admin-table th,
.admin-page .admin-table td {
	box-sizing: border-box;
	width: auto;
	min-width: 0;
	max-height: none;
	padding: 8px 10px;
	border-top: 0;
	border-bottom: 1px solid #e5e9f0;
	color: #1f2937;
	font-size: 13px;
	line-height: 18px;
	text-align: left;
	vertical-align: middle;
	white-space: normal;
	overflow: visible;
}

.admin-page .admin-table th {
	position: sticky;
	top: 0;
	z-index: 4;
	background: #eef2f6;
	color: #374151;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0;
	box-shadow: 0 1px 0 #d9dee7;
}

.admin-page .admin-table tr:nth-child(odd) td {
	background: #ffffff;
}

.admin-page .admin-table tr:nth-child(even) td {
	background: #f8fafc;
}

.admin-page .admin-table tr:hover td {
	background: #eef6ff;
}

.admin-page .admin-table th:nth-child(1),
.admin-page .admin-table td:nth-child(1) {
	width: 112px;
}

.admin-page .admin-table th:nth-child(2),
.admin-page .admin-table td:nth-child(2) {
	width: 150px;
}

.admin-page .admin-table th:nth-child(3),
.admin-page .admin-table td:nth-child(3) {
	width: 210px;
}

.admin-page .admin-table th:nth-child(4),
.admin-page .admin-table td:nth-child(4) {
	width: 70px;
	text-align: center;
}

.admin-page .admin-table th:nth-child(5),
.admin-page .admin-table td:nth-child(5),
.admin-page .admin-table .com {
	width: 220px;
	min-width: 220px;
}

.admin-page .admin-table th:nth-child(6),
.admin-page .admin-table td:nth-child(6),
.admin-page .admin-table th:nth-child(7),
.admin-page .admin-table td:nth-child(7) {
	width: 150px;
}

.admin-page .admin-table th:nth-child(8),
.admin-page .admin-table td:nth-child(8),
.admin-page .admin-table th:nth-child(9),
.admin-page .admin-table td:nth-child(9),
.admin-page .admin-table th:nth-child(11),
.admin-page .admin-table td:nth-child(11),
.admin-page .admin-table th:nth-child(12),
.admin-page .admin-table td:nth-child(12) {
	width: 132px;
}

.admin-page .admin-table th:nth-child(10),
.admin-page .admin-table td:nth-child(10) {
	width: 108px;
}

.admin-page .admin-table th:nth-child(13),
.admin-page .admin-table td:nth-child(13) {
	width: 168px;
}

.admin-page .admin-table th:nth-child(14),
.admin-page .admin-table td:nth-child(14) {
	width: 132px;
}

.admin-page .admin-table th:nth-child(15),
.admin-page .admin-table td:nth-child(15) {
	width: 96px;
}

.admin-page .admin-table form {
	display: flex;
	align-items: center;
	width: 100%;
	margin: 0;
}

.admin-page .admin-table input[data-field] {
	padding: 0 10px;
	text-align: right;
}

.admin-page .admin-table input[type="number"] {
	appearance: textfield;
}

.admin-page .admin-table input[type="number"]::-webkit-outer-spin-button,
.admin-page .admin-table input[type="number"]::-webkit-inner-spin-button {
	margin: 0;
	appearance: none;
}

.admin-page .admin-table select {
	padding: 0 28px 0 10px;
}

.admin-page .admin-table .status-select,
.admin-page .admin-table .responsible-select {
	border-radius: 999px;
	text-align: center;
	font-weight: 700;
}

.admin-page .admin-table .new-status {
	border-color: #d7dde5;
	background-color: #ffffff !important;
	color: #1f2937;
}

.admin-page .admin-table .done-status {
	border-color: #86c798;
	background-color: #e7f7eb !important;
	color: #166534;
}

.admin-page .admin-table .cancelled-status {
	border-color: #e79696;
	background-color: #fde9e9 !important;
	color: #991b1b;
}

.admin-page .fuul {
	max-width: none !important;
	white-space: nowrap !important;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: copy;
}

.admin-page .file-form input[type="file"] {
	width: 100%;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 1px solid #cfd6df;
	border-radius: 7px;
	background: #ffffff;
	color: #4b5563;
	font-size: 12px;
}

.admin-page .file-form input[type="file"]::file-selector-button,
.admin-page .download-button {
	height: 34px;
	margin: 0;
	border: 0;
	border-right: 1px solid #cfd6df;
	border-radius: 6px;
	background: #f3f5f7;
	color: #1f2937;
	font-weight: 700;
	cursor: pointer;
}

.admin-page .download-button {
	border: 1px solid #cfd6df;
	background: #ffffff;
	color: #2563eb;
}

.admin-page input.saving,
.admin-page select.saving {
	border-color: #d5a400 !important;
	background: #fff7d6 !important;
}

.admin-page input.save-error,
.admin-page select.save-error {
	border-color: #dc2626 !important;
	background: #fff1f2 !important;
}

@media (max-width: 1200px) {
	.admin-page {
		padding-right: 12px;
		padding-left: 54px;
	}

	.admin-toolbar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.admin-toolbar input[type="search"] {
		min-width: 0;
	}

	.admin-toolbar button,
	.admin-toolbar .toolbar-reset {
		width: 100%;
	}
}

 table input[type="text"] {
    max-width: 100px;
    height: 20px;
	margin-left: 5px;
	border: none;
	background: none;
}

table input[type="submit"] {
    /* padding: 10px; */
    height: 25px;
    width: 25px;
    border: none;
    border-radius: 5px;
    text-align: center;
    font-size: 10px;
	margin-top: 10px;
}
table form{
	display: flex;
	align-items: center;
	
}
span{
	background: #7a7a7a !important;
	padding: 3px;
	border-radius: 3px;
	font-size: 11px;
	color: white;
}
table input[type="submit"] {
    width: 80px;
	height: 20px;
	display: block;
	margin: 0 auto;
	border: 1px solid #000;
}
.save{
	display: flex;
	flex-direction: column;
}
form {
    margin-block-end: 0;
}
th {
	text-align: center;
	padding: 10px 0;
  
    font-size: 12px;
	border-bottom: 2px solid #464545;
background: #C6C6C6;
	
color: white;
}
td{
	text-align: center;
	

}
.user-form {
    display: flex;
    flex-direction: row;
    justify-content: center;
	max-width: 300px;
}
.user-form select {
    width: 100px;
  height: 20px;
	font-size: 12px;
   margin: 0 auto;
    
}



	.new-status {
	
	  }
	  
	  .done-status {
		background-color: #b6d7a7 !important;
	  }
	  
	  .cancelled-status {
		background-color: #ea9999 !important; 
	  }

	  .trafic-total {
		padding: 20px;
		background: color(srgb 0.048 0.9035 0.2893);
		margin: 20px 20px 20px 60px;
		width: 330px;
		border-radius: 20px;
		color: white;
		font-size: 20px;
	}

.vhod form {
		display: flex;
		flex-direction: column;
		align-items: center;
	}


	.fuul {
		max-width: 150px !important;
		max-height: 80px !important;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap !important;
		cursor: pointer;
	}
	
	.fuul {
		white-space: normal;
		max-width: none;
	}
	
	td:nth-child(odd)  {
		background-color: rgb(241, 241, 241) ;
	  }

	  input:is([type="button"], [type="submit"], [type="reset"]), input[type="file"]::file-selector-button {
		
		display: block;
		width: 100%;
		border: none;
		height: 100%;
		text-align: center;
		margin: auto 0;
		border-radius: 50px;

background: #FFF;
	  }
	  input[type="file"]{
		border-radius: 50px;
		max-height: 20px;
		font-size: 12px;
		border: 1px solid #000;
		padding: 0;
		margin: auto 0;
		display: block;
	  }
	  form[enctype='multipart/form-data'] {
	
	}

	.viewed-form{
		margin: 5px 0;
	}


	.com{
		min-width: 300px;
	}

	select[name='viewed']{
		height: 20px;
		font-size: 12px;
		margin: 0 auto;
	}
	select[name='admin_user']{
		height: 20px;
		font-size: 12px;
		margin: 0 auto;
	}

	#showAllButton {
		margin-left: 60px;
		width: 370px;
		height: 30px;
		border: gray;
		font-size: 16px;
		/* background-color: mediumspringgreen; */
		color: white;
	}

	input.saving {
		background: #fff8cf;
	}

	input.save-error {
		border-color: #c62828;
		background: #ffebee;
	}
