
@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 400;
  src: url('/RobotoCondensed-Light.woff2') format('woff2'); 
}
@font-face {
  font-family: 'Google Sans';
  src: url('GoogleSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Google Sans';
  src: url('GoogleSans-Bold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}

:root {
  --page-header-bgColor: black;
  --page-header-bgColor-hover: #9FA2B4;
  --page-header-txtColor: #DDE2FF;
  --page-header-headingColor: #d2a45e;;
  --page-header-width: 230px;
  --page-content-bgColor: #f0f1f6;
  --page-content-txtColor: #171616;
  --page-content-blockColor: #fff;
  --white: #fff;
  --black: #333;
  --blue: #DDE2FF;
  --red: #ec1848;
  --border-radius: 4px;
  --box-shadow: 0 0 10px -2px rgba(0, 0, 0, 0.075);
  --switch-bgLightModeColor: #87cefa;
  --switch-sunColor: gold;
  --switch-moonColor: #f4f4f4;
  --switch-bgDarkModeColor: #1f1f27;
}

* {
  scrollbar-width: none;
  padding: 0;
  font-family: 'Roboto Condensed';
  font-weight: 600;
  font-style: normal;
  letter-spacing: 1px;
  margin: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

a,
button {
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  background: none;
  cursor: pointer;
}




.nav-img {
    
    width: 70px;
    height: 54px;
}
[type="checkbox"] {
  position: absolute;
  left: -9999px;
}

label {
  cursor: pointer;
}

button,
input {
  border: none;
}

svg {
  display: block;
}

body {
  font: 16px/1.5 "Roboto Condensed", sans-serif; 
  min-width: 1185px;
  overflow-x: hidden
}

/* HEADER STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */



.page-header .toggle-mob-menu {
  display: none;
  margin-left: 5px;
  padding: 4px;
  background: var(--page-content-blockColor);
  border-radius: var(--border-radius);
}

.page-header .admin-menu {
  display: flex;
  flex-direction: column;
  width: 230px;
  flex-grow: 1;
  margin-top: 27px;
}

.page-header .admin-menu li:nth-last-child(2) {
  margin-bottom: 35px;
}

.page-header .admin-menu li:last-child {
  margin-top: auto;
  margin-bottom: 20px;
}

.page-header .admin-menu li > * {
  width: 100%;
  padding: 12px 15px;
}

.page-header .admin-menu .switcher {
  display: inline-block;
  width: auto;
}

.page-header .admin-menu .menu-heading h3 {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 12px;
  margin-top: 12px;
  color: var(--page-header-headingColor);
}

.page-header .admin-menu svg {
  width: 25px;
  height: 25px;
  
  fill: var(--page-header-txtColor);
}


.page-header .admin-menu a,
.page-header .admin-menu button {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  
}
.page-header .admin-menu .ext {
  margin-left: -2px;
  margin-right: 2px;
}
.page-header .admin-menu span {
  margin-left: 35px;
}
/* .page-header .admin-menu span:last-child {
  margin-left: 45px;
} */
.page-header .admin-menu a:hover,
.page-header .admin-menu a:focus,
.page-header .admin-menu button:hover {
  background: #9fa2b436;
  color: #DDE2FF;
  outline: none;
  padding-left: 17px ;
  border-left: 0.2rem solid white ;
  
}


.page-header .admin-menu a:hover svg,
.page-header .admin-menu a:focus svg
 {
  display: relative;
  margin-left: -37.5px;
  
}
.page-header .admin-menu button:hover svg,
.page-header .admin-menu button:focus svg {
margin-left: 15px;
}
.page-header .admin-menu a {
  position: relative;
  top: -28px;
  padding-left: 10px;
}
.page-header .admin-menu a:hover {
  padding-left: 44.5px;
}

/* PAGE CONTENT STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */





.page-content .grid {
  display: grid;
  grid-template-columns: 77.8em 0.01fr 1.03fr;
  gap: 15px;
}




.page-content .grid > article:first-child {
  max-width: 710px;
  
}

.page-content .grid > article:last-child {
  width: auto;
  height: 630px
}


.btn {
  display: flex;
  padding-top: 10px;
  background: rgba(255, 0, 0, 0) !important;
  flex-direction: row;
  
  gap: 10px;
}

.c-buttons {
padding: 10px;
min-width: 62px !important;
height: 62px;
background: #FFFFFF;
border: 1px solid #EAECF0;
border-radius: 8px;
cursor: pointer;
}


.rtrn {
  cursor: pointer;
  width: 135px ;
  text-align: center;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items:center;
}
.rtrn span {
  display: flex;
  justify-content: center;
  align-items:center;
}
.rtrn input {
  width: 35px;
  padding-left: 5px;
}
.rtrn h4 {
  line-height: 13pt;

}

.search-line {
display: none;
}

.wrapper {
  display: flex;
}

/* BODY CLASSES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.mob-menu-opened .toggle-mob-menu svg {
  transform: rotate(180deg);
}

.mob-menu-opened .page-header .admin-menu {
  transform: scale(1);
  visibility: visible;
  opacity: 1;
}
/* COLLAPSED */
  .collapsed .page-header {
    width: 72px;
    padding-top: 20px;
  }

 
  .collapsed .block-5 {
    width: 137% !important;
  }
  .collapsed .page-header .admin-menu span,
  .collapsed .page-header .admin-menu .menu-heading {
    display: none;
  }
  .collapsed .page-header .admin-menu {
    margin-top: 5px;
  }
  .collapsed .page-header .logo {
    display: flex;
    justify-content: center;
  }
  .collapsed .page-header .logo img{
    
    position: relative;
    
    bottom: 15px
    
  }
  .collapsed .sdelka h1 {
    margin-right: 8px;
  }
  .collapsed .page-header .admin-menu svg {
    margin-right: 0;
  }
  .collapsed .page-content .grid {
    
    grid-template-columns: 87.7em  0.01fr 1.3fr;
  }
  .collapsed .page-header .collapse-btn svg {
    transform: rotate(360deg);
    margin-left: 10px;
  }
  .collapsed .page-header img {
    margin: 0px;
  }
  .collapsed .form-group {
    width: 326px !important;
  }
  
  .collapsed .page-content {
    left: 72px;
    
  }
  .collapsed .page-header .admin-menu a {
    top: -18px;
    padding-left: 4px;
  }
  .collapsed .page-header .admin-menu a:hover,
  .collapsed .page-header .admin-menu a:focus {
    padding-left: 21px;
  }
  .collapsed .sdelka .col-sm-7/* input[type="text"] */ {
    width: 643px;
  }
  .collapsed .collapse-btn svg{
    margin-left: 10px;
   
    
  }
 
  

  
  .collapsed .sdelka-form {
    margin-left: 15px;
  }
  
  .collapsed .search-and-user .admin-profile {
    gap: 1142px;
  }

  .collapsed .col-sm-5  {
    width: 643px !important;
  }
  


/* SWITCH STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.switch label {
  display: grid;
  grid-template-columns: auto auto;
  grid-column-gap: 10px;
  align-items: center;
  justify-content: flex-start;
}

.switch span:first-child {
  position: relative;
  width: 50px;
  height: 26px;
  border-radius: 15px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.4);
  background: var(--switch-bgLightModeColor);
  transition: all 0.3s;
}

.switch span:first-child::before,
.switch span:first-child::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.switch span:first-child::before {
  top: 1px;
  left: 1px;
  width: 24px;
  height: 24px;
  background: var(--white);
  z-index: 1;
  transition: transform 0.3s;
}

.switch span:first-child::after {
  top: 50%;
  right: 8px;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  background: var(--switch-sunColor);
  box-shadow: 0 0 4px 2px #ffdb1a;
}

.switch [type="checkbox"]:checked + label span:first-child {
  background: var(--switch-bgDarkModeColor);
}

.switch [type="checkbox"]:focus + label span:first-child {
  box-shadow: 0 3px 5px rgba(255, 255, 255, 0.25);
}

.switch [type="checkbox"]:checked + label span:first-child::before {
  transform: translateX(24px);
}

.switch [type="checkbox"]:checked + label span:first-child::after {
  left: 12px;
  width: 15px;
  height: 15px;
  background: transparent;
  box-shadow: -2px -5px 0 var(--switch-moonColor);
  transform: translateY(-50%) rotate(-72deg);
}


/* LIGHT MODE STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.light-mode {
  --page-header-bgColor: #292A31;
  --page-header-bgColor-hover: #292A31;
  --page-header-txtColor: #A4A6B3;
  --page-header-headingColor: #979595;
  --page-content-bgColor: #fff;
  /* --box-shadow: 0 0 10px -2px rgba(0, 0, 0, 0.25); */
}

.light-mode .page-header .admin-menu a:hover,
.light-mode .page-header .admin-menu a:focus,
.light-mode .page-header .admin-menu button:hover,
.light-mode .page-header .admin-menu button:focus {
  color: #DDE2FF;
  
}
.light-mode .admin-profile {
  background-color: #292A31;
  color: #DDE2FF;
}
.light-mode .page-content {
  background-image: linear-gradient(to right, #292A31, #292A31);
  
}
.light-mode .sdelka {
  background-color: #ffffff69;
  border: none;
}

.light-mode .next {
  background-color: #ffffff69;
  border: none;
}
.light-mode .page-header .logo svg,
.light-mode .page-header .admin-menu a:hover svg,
.light-mode .page-header .admin-menu a:focus svg,
.light-mode .page-header .admin-menu button:hover svg,
.light-mode .page-header .admin-menu button:focus svg {
  fill: var(--black);
}

.light-mode .switch [type="checkbox"]:focus + label span:first-child {
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.25);
}

/* @media screen and (max-width: 767px) {
  .light-mode .search-and-user .admin-profile svg {
    fill: var(--black);
  }
}
 */

/* FOOTER
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.page-footer {
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 10px;
}

.page-footer a {
  margin-left: 4px;
}
/* Темная тема */
.switch {
  display: none;
}

/* .grid:first-child {
    text-align:center
    }
     */
.grid:nth-child(2) {
flex-basis:auto;
/* margin:0 15px;
text-align:center */
}
    
.grid:last-child {
flex-basis:40% !important;
/* height:70ch !important; */
}



table {
  border: 1px solid grey;
}
/* границы ячеек первого ряда таблицы */
th {
  border: 1px solid grey;
}
/* границы ячеек тела таблицы */
td {
  border: 1px solid grey;
}

.dropbtn {
  background-color: #292a31ec;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  width: 130px;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.dropbtn:hover {
  background-color: #292A31; 
  
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 130px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

use {
  width: 35px;
  height: 35px;
}
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}


.show {
  display: block;
}

table {
  width: 700px;
  border: none;
}


form  {
  background-color: #fafafa00;/*  идеальный серый */
  padding: 23px;
  border-radius: 10px;
  /* box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); */
  min-width: 100%;
  margin: 0 0;
  font-family: 'Roboto Condensed';
  font-weight: normal;
  font-style: normal;
}

.row {
  display: flex;
}

.first-column,
.second-column {
  flex: 1;
  margin-right: 30px;
}

.second-column {
  margin-right: 0;
}

label {
  font-weight: bold;
  /* margin-bottom: 5px; */
  display: block;
}

input[type="text"],
select {
  width: 100%;
  height: 35px;
  padding-left: 10px;
  border-radius: 0px 0px 10px 10px;
  border: 1px solid #EAECF0;
  font-size: 16px;
  margin-bottom: 20px;
}

input[type="text"]:focus {
  border: 1px solid #EAECF0;
  
  outline: none;
}

input[type="submit"] {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

input[type="submit"]:hover {
  background-color: #0069d9;
}

.outer {
  position: relative;
  margin: auto;
  width: 70px;
  
  cursor: pointer;
}

.inner {
  width: inherit;
  text-align: center;
}


.inner:before, .inner:after {
  position: absolute;
  content: '';
  height: 1px;
  width: inherit;
  background:var(--page-header-headingColor);
  left: 0;
  transition: all .3s ease-in;
}

.inner:before {
  top: 50%; 
  transform: rotate(45deg);  
}

.inner:after {  
  bottom: 50%;
  transform: rotate(-45deg);  
}

.outer:hover label {
  opacity: 1;
}

.outer:hover .inner:before,
.outer:hover .inner:after {
  transform: rotate(0);
}

.outer:hover .inner:before {
  top: 0;
}

.outer:hover .inner:after {
  bottom: 0;
}

.exit {
  font-size: .8em; 
  line-height: 4em;
  text-transform: uppercase;
  color: #fff;
  transition: all .3s ease-in;
  opacity: 0;
  cursor: pointer;
}

.block-3 {
  /* display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px; */
  padding: 10px;
  border: 1px solid #EAECF0;
  background-color: white;
}

.square-button {
  background-color: #EAECF0;
  border: none;
  color: rgba(0, 0, 0, 0.651);
  /* padding: 20px; */
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 19px;
  margin: 5px 5px;
  cursor: pointer;
  width: 320px;
  height: 30px;
  border-radius: 10px;
}

/* СТИЛИ ДЛЯ ЦВЕТНЫХ КНОПОК ОЧЕРЕДЕЙ */
.full-agent {
  background-color: #94E48D;
}
.half-empty-agent {
  background-color: #FF9A3E;
}
.no-agent {
  /* background-color: #ea0000; */
  background-color: #FF6060;
}
.block {
  display: flex;
  flex-direction: column;
  position: relative;
  /* width: 350px !important;
  height: 180px !important; */
  width: 350px !important;
  
  /* margin: 10px;
  padding: 20px; */
  border-radius: 8px;
}

.time {
  font-family: 'Roboto Condensed';
  font-weight: normal;
  font-style: normal;
  font-size: 32px;
  padding-left: 22px;
  
}
.date {
  font-family: 'Roboto Condensed';
  font-weight: normal;
  font-style: normal;
  font-size: 19px;
  padding-left: 22px;
  padding-top: 12px;
}
.status {
  margin-right: 15px;
  padding: 12px;
  width: 122px;
  height: 38px;
  border: 1px solid #EAECF0;
  background-color: #f4f4f4cc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.status img {
  width: 14px;
  height: 14px;
}
.editable {
all: unset;
width: 789px;
height: 219;
}

.block-5 {
top: 10px;
left: 15px;
width: 145.5% !important;

}
.history {
  margin-left: 23px;
  min-width: 1139px ;
  background-color: #FFFFFF;
  text-align: center;
  height: 264px;
  border-radius: 10px 10px 0px 0px;
}
.history h1{ 
  background-color: #F9FAFB;
  font-weight: 600;
  border: 1px solid #EAECF0;
  border-radius: 10px 10px 0px 0px;
  height: 39px;
  padding: 5px 0px 0px 0px;
}



.save-button {
  width: 187px;
  height: 48px;
  background: #95E5FF;
  border-radius:12px;
  font-size: 17px;
}
.save-button:hover {
  background: rgb(109, 216, 252);

}
.save-and-assign-button {
  width: 187px;
  height: 48px;
  background: #FFD6E9;
  border-radius:12px;
  font-size: 17px;
}
.save-and-assign-button:hover {
  background: #ffc6e0;
}
.next {
  border: 1px solid #EAECF0;
  background-color: #FFFFFF;
  /* min-width: 44px; */
  border-radius: 8px;
  transition: transform 0.5s ease, background-color 0.5s ease;  
}
.next:hover {
  /* transform: scale(1.01); */
  background-color:#ffffffe0;
}
.next svg  {
  transition: stroke-opacity 0.5s ease;
}
.next:hover svg {
  stroke-opacity: 0.3;
  transform: scale(1.5);
  transition: transform 0.5s ease;
}


.call {
  height: 190px;
  
}
.call-1 {
  display: flex;
  flex-direction: row;
 
  margin-top: 10px;
  width: 350px;
  height: 90px;
  background-color:white;
  padding: 30px 22px;
  justify-content: space-between;
  border-radius: 8px;
}
.call-2 {
  text-align: center;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 10px;
  width: 350px;
  height: 90px;
  background-color:white;
  padding: 30px 22px;
  justify-content: space-between;
  border-radius: 8px;
}
.call img {
  width: 28px;
  height: 28px;
}

.sdelka {
  margin-left: 23px;
  
  justify-content: space-around;
  display: flex;
  /* height: auto; */
  flex-direction: row;
  background: var(--page-content-blockColor);
  border-radius: 10px;
  border: 1px solid #EAECF0;
  
}
.sdelka h1 {
  padding-bottom: 10px;
}
.sdelka h1:first-child {
  display: flex;
}
.sdelka h1:first-child img {
  margin-left: 15px;
}
/* .sdelka-form {
  margin-left: 20px;
} */
.sdelka-buttons {
  display: flex;
  gap: 15px;
}
.sdelka .col-sm-7/* input[type="text"] */ {
  width: 100%;
}
.sdelka .col-sm-5 {
  width: 100%;
}
.sdelka-wrapp {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.hidden {
  display: none;
}

#historyMenu {
  color:#DDE2FF;
  position: fixed;
  z-index: 9999;
  top: 0px;
  background-color: #393a42;
  padding: 10px;
  min-height: 921px;
  min-width: 365px;
  text-align: center;
  border-radius: 8px;
  margin: 10px;
  

  /* left: 50%;
  transform: translate(-50%, -50%); */
}
.his-point {
  display: flex;
  line-height: 30px;
  flex-wrap: wrap;
  width: 365px;
  height: 108px;
  padding: 8px;
  border-bottom:1px solid white;
  /* border-radius: 8px; */
  
  /* backdrop-filter: blur(3.5px); */
  margin: 1px;
  align-items: center;
}
.his-point img {
  position: relative;
  right: -55px;
  cursor: pointer;
}
.col-sm-5 {
  background-color:#F9FAFB;
  width: 326px;
  height: 25px;
  border: 1px solid #EAECF0;
  border-radius: 10px 10px 0px 0px;
  padding-left: 15px;
}

.big-control {
  height: 128.5px !important;
}
.h88 {
  height: 88px !important;
}
.block-6 {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-top: 20px;
  
}
.block-6 h1 {
  display: flex;
  justify-content: center;
  align-items:center;
  height: 30px;
  border-radius: 10px 10px 0px 0px;
  background-color: #F9FAFB;
  border: 1px solid #EAECF0;
  width: 100%;
}
.support {
  padding: 0px 10px 10px 10px;
  text-align: center;
  border: 1px solid #EAECF0;
  background-color: white;
  width: 350px;
  height: 130px;
  border-radius: 0px 0px 10px 10px;
  
}
.lilproblem {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  height: 56%;
  line-height: 15px;

}
.lilproblem button {
  border: 1px solid #EAECF0;
  border-radius: 8px;
  width: 154px;
  height: 30px;
  margin-top: 10px;
  color:#171616ee;
  font-size: 16px;
}
.lilproblem button:hover {
  background-color: #FFE5E8;
}
.lilproblem button:active{
  background-color: #FFD3D8;
  
}

.bigproblem {
  margin-top: 23px;
  width: 100%;
  border: 1px solid #EAECF0;
  border-radius: 8px;
  background-color: #CFCFCF;
  height: 30px !important;
  font-size: 16px;
}

.bigproblem:active {
  background-color:#EAECF0;
}
.wrap-1, .wrap-2 {
  width: 154px;
}
/* #microphoneButton {
  filter: invert(0%);
}

#microphoneButton.off {
  filter: invert(100%) brightness(100%);
}

#microphoneButton.off img {
  content: url('/Panel1/test/svg_buttons/mic-slash-svgrepo-com.svg'); 
} */
/* АДАПТАЦИЯ */
@media only screen and (min-width: 1024px) and (max-width: 1440px) {
  body {
      font-size: 14px; /* Slightly larger text */
  }

  .admin-menu {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between; /* Distributes spacing evenly */
  }

  
  form {
    padding-top: 10px;
  }
  /* nav li {
      padding: 10px 15px;
  } */
  .search-and-user {
    margin-top: -20px;
  }
  #historyMenu {
    min-height: 608px;
    min-width: 316px;
  }
  .his-point {
    max-width: 316px;

  }
  .history {
    min-width: 1090px;
  }
  /* .page-header {
    bottom: 157px
  } */
  .page-header { 
    width: 230px
  }
  .page-content {
    min-width: 83em;
  }
  .page-content, .history {
      /* padding: 20px; */
      margin-top: 20px;
  }
  .sdelka-form {
    margin-left: 0px;
}
  .page-content .grid {
      display: grid;
      /* grid-template-columns: 60% 10% 30%; */
      grid-template-columns: 50em 0.01fr 1.03fr;
      gap: 10px ; 
  }
  .call {
    height: 104px;
}
  .call-2, .call-1 {
    height: 47px;
    padding: 10px;
  }
  .form-group {
      display: flex;
      flex-direction: column;
      
  }
  .big-control {
    height: 90px !important;
}
.h88 {
    height: 60px !important;
}
  .form-control {
      flex-grow: 1; /* Allows input to fill space */
      /* margin-left: 10px; */
  }
  
  .sdelka-buttons {
      display: flex;
       /* Space between buttons */
  }
  

  .second-column {
    padding-left: 10px;
  }
  .sdelka-form {
    margin-left: 5px;
    
  }
  
  .search-and-user .admin-profile {
    gap: 12px;
  }

  .sdelka .col-sm-5  {
    width: 293px ;
  }
  .sdelka .col-sm-7/* input[type="text"] */ {
    width: 293px;
  }
  .collapsed .sdelka .col-sm-5  {
    width: 365px !important;
  }
  .collapsed .sdelka .col-sm-7/* input[type="text"] */ {
    width: 365px !important;
  }
  .collapsed .page-content .grid {
    display: grid;
    /* grid-template-columns: 60% 10% 30%; */
    grid-template-columns: 61em 0.01fr 1.03fr;
    gap: 10px ; 
}



  input[type="text"], select {
    /* width: 100%; */
    height: 25px;
    padding-left: 10px;
    border-radius: 0px 0px 10px 10px;
    border: 1px solid #EAECF0;
    font-size: 16px;
    margin-bottom: 10px;
  }
}


@media only screen and (max-width: 768px) {
  /* Tablet and below */
  .light-mode .search-and-user .admin-profile svg {
    fill: var(--black);
  }
  nav li {
      display: block; /* Stack nav items vertically */
  }

  .admin-menu {
      padding: 20px;
      position: static; /* Aligns menu properly on smaller screens */
  }

  .toggle-mob-menu {
      display: block; /* Show mobile menu button */
  }
  .page-header,
  .page-content {
    position: static;
    width: 100%;
  }

  .page-header {
    padding: 10px;
  }

  .page-header nav {
    flex-direction: row;
  }

  

  .page-header .logo svg {
    width: 83px;
    height: 35px;
  }

  .page-header .toggle-mob-menu {
    display: block;
  }

  .page-header .admin-menu {
    position: absolute;
    left: 98px;
    top: 57px;
    margin-top: 0;
    z-index: 2;
    border-radius: var(--border-radius);
    background: var(--page-header-bgColor);
    visibility: hidden;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.2s;
  }
  
  .page-header .admin-menu li:nth-last-child(2) {
    margin-bottom: 12px;
  }

  .page-header .admin-menu li:last-child button,
  .search-and-user .admin-profile .greeting {
    width: 500px;
  }

  .page-content {
    min-height: 0;
    padding: 10px;
  }

  .page-content .grid {
    grid-gap: 10px;
  }

  .search-and-user {
    position: absolute;
    left: 131px;
    top: 10px;
    padding: 0;
    grid-column-gap: 5px;
    width: calc(100% - 141px);
    border-radius: var(--border-radius);
    background: transparent;
  }

  .search-and-user [type="search"] {
    font-size: 1rem;
    height: 35px;
  }

  .search-and-user form svg {
    width: 18px;
    height: 18px;
  }

  .search-and-user .admin-profile svg {
    fill: var(--white);
  }
  .collapsed .sdelka .col-sm-5  {
    width: 293px ;
  }
  .collapsed .sdelka .col-sm-7/* input[type="text"] */ {
    width: 293px;
  }
  
}

@media only screen and (max-width: 480px) {
  /* Mobile phones */
  html {
      font-size: 14px; /* Smaller base font size for mobile */
  }

  header, section, footer {
      padding: 10px;
  }

  nav {
      background-color: #444; /* Slightly lighter background for mobile nav */
  }

  .page-header, .page-footer {
      text-align: center; /* Center content in headers and footers */
  }

  .admin-profile, .search-and-user, .page-content, .history {
      padding: 10px;
      margin-top: 10px; /* Adds space between sections for touch interaction */
  }

  .sdelka, .next, .grid {
      width: auto; /* Ensures elements stretch to full width */
      margin: 10px 0; /* More vertical spacing */
  }
  .page-content .grid > article {
    grid-column: 1 / -1;
  }
}

.collapse-btn svg {
  transform: rotate(180deg);
  margin-left: 20px;
 
}

