/*
  Theme Name: VentDeluxCabinet
  Theme URI: #
  Description: site
  Author: web.developer
  Version: 1.0
*/
*{
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  background: #fff;
}
.wrapper{
  width: 1250px;
  height: 100%;
  margin: 0 auto;
  position: relative;
}
.left-fixed{
  vertical-align: top;
  width: 250px;
  height: 100vh;
  display: inline-block;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
.left-fixed > a{
  width: 200px;
  display: block;
  clear: both;
  text-decoration: none;
  list-style-type: none;
  margin: 30px auto;
}
.left-fixed > a > img{
  width: 200px;
}
.righ-content{
  vertical-align: top;
  width: 950px;
  height: 100%;
  display: inline-block;
  background: #f6f6f6;
}
.righ-content > header{
  width: 90%;
  height: 100px;
margin: 0 auto;
margin-bottom: 30px;
background: transparent;
}
.righ-content > header > a{
  display: inline-block;
  color: #000;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  background: transparent;
  margin: 0px 0px 0px 255px;
}
.righ-content > h1{
  display: inline-block;
  width: 100%;
  background: transparent;
  font-size: 25px;
  color: #000;
  font-weight: 500;
  margin: 0px 0px 35px 10px;
}
.righ-content > .filtr{
  background: #fff url(img/filter.png) 6% 50% no-repeat;
  background-size: 22px;
  text-align: center;
  width: 80px;
  border-radius: 5px;
  display: inline-block;
  margin: 0px 0px 35px 297px;
  padding: 10px;
  color: #000;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
}
.righ-content > .new-project{
  background: #0c4ef8;
  background-size: 22px;
  text-align: center;
  width: 180px;
  border-radius: 5px;
  display: inline-block;
  margin: 0px 0px 35px 25px;
  padding: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
}
nav {
    background: #fff;
    padding: 10px;
    width: 200px; /* Оптимальная ширина */
    margin:20px auto;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

nav ul li {
    display: flex;
    align-items: center;
    padding: 10px 0px 5px 28px
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px; /* Отступ для иконки */
    transition: color 0.3s;
    font-weight: 500;
}

nav ul li a:hover {
    color: #007bff;
}

nav ul li.home {
  background: url(img/home.png) 0% 69% no-repeat;
  background-size: 20px;
}
nav ul li.uchet {
  background: url(img/uchet.png) 0% 69% no-repeat;
  background-size: 20px;
}
nav ul li.rashod {
  background: url(img/rashod.png) 0% 69% no-repeat;
  background-size: 20px;
}
nav ul li.analitika {
  background: url(img/analitika.png) 0% 69% no-repeat;
  background-size: 20px;
}

    /* Основной стиль для таблицы */
    .table {
        text-align: center;
        margin: 0 auto;
        width: 100%;
        border-collapse: collapse;
        overflow: hidden;
        background: white;
        font-family: 'roboto', sans-serif;
        animation: fadeIn 0.5s ease-in-out;
    }

    /* Стиль для заголовков */
    .table th {
        width: 13%;
        background-color: #f8f9fa;
        color: #333;
        font-weight: 600;
        padding: 12px 15px;
        text-align: center;
        border-bottom: 2px solid #e9ecef;
        text-transform: uppercase;
        font-size: 10px;
    }

    /* Стиль для ячеек */
    .table td {
        padding: 20px 15px;
        border-bottom: 1px solid #e9ecef;
        color: #555;
        font-size: 14px;
    }

    /* Подсветка строк при наведении */
    .table tbody tr:hover td {
        background-color: #f1f3f5; /* Изменяем фон ячеек при наведении */
    }

    /* Убираем нижнюю границу у последней строки */
    .table tbody tr:last-child td {
        border-bottom: none;
    }

    /* Стиль для кнопки действия */
    .table .action-btn {
        background-color: #007bff;
        color: white;
        border: none;
        padding: 8px 12px;
        border-radius: 4px;
        cursor: pointer;
        font-size: 14px;
        transition: background-color 0.2s ease;
    }

    .table .action-btn:hover {
        background-color: #34CFBE;
    }

    /* Анимация появления таблицы */
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
          td > button {
            background-color: #fe0012;
            color: white;
            border: none;
            padding: 6px 12px;
            cursor: pointer;
            border-radius: 4px;
            transition: 0.3s;
        }
        td > button:hover {
            background-color: #cc000e;
        }

.search-input {
  display: inline-block;
            width: 350px;
            padding: 10px;
            margin-top: 30px;
            margin-bottom: 15px;
            border-radius: 15px;
            font-size: 16px;
            border:none;
        }

        .popup1 {
            display: none;
            position: absolute;
            background: white;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            border-radius: 8px;
            transition: all 0.3s ease-in-out;
            opacity: 0;
            right: 93px;
            top:185px;
        }
        .popup1.show {
            display: block;
            opacity: 1;
        }
        .popup1 > .save-project {
            background-color: #0d9b1d;
            color: white;
            border: none;
            padding: 6px 12px;
            cursor: pointer;
            border-radius: 4px;
            transition: 0.3s;
        }
                .popup1 > .close-popup {
            background-color: #0c4ef8;
            color: white;
            border: none;
            padding: 6px 12px;
            cursor: pointer;
            border-radius: 4px;
            transition: 0.3s;
        }
        .popup1 > input{
           display: inline-block;
            width: 150px;
            padding: 10px;
            margin-top: 30px;
            margin-bottom: 15px;
            border-radius: 15px;
            font-size: 16px;
            border:1px solid #c5c5c5;
        }

          .popup1 > h3{
              font-size: 18px;
  color: #000;
  font-weight: 500;
          }


          .popup, .filter-popup {
            display: none;
            position: absolute;
            background: white;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            border-radius: 8px;
            transition: all 0.3s ease-in-out;
            opacity: 0;
        }
        .popup.show, .filter-popup.show {
            display: block;
            opacity: 1;
            top: 185px;
            right: 321px;
        }

                .filter-popup > .apply-filter {
            background-color: #0c4ef8;
            color: white;
            border: none;
            padding: 6px 12px;
            cursor: pointer;
            border-radius: 4px;
            transition: 0.3s;
        }
                .filter-popup > .close-filter {
            background-color: #0c4ef8;
            color: white;
            border: none;
            padding: 6px 12px;
            cursor: pointer;
            border-radius: 4px;
            transition: 0.3s;
        }
        .filter-popup > input{
           display: inline-block;
            width: 150px;
            padding: 10px;
            margin-top: 30px;
            margin-bottom: 15px;
            border-radius: 15px;
            font-size: 16px;
            border:1px solid #c5c5c5;
        }
/*Создание воздуховода*/
.new-vozduh{
  background: #0c4ef8;
  background-size: 22px;
  text-align: center;
  width: 180px;
  border-radius: 5px;
  display: inline-block;
  margin: 0px 0px 35px 25px;
  padding: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
}
 /* Попап */
.popup-vozduh {
    position: absolute;
    top: 1%;
    right: 4%;
    display: none;
    width: 514px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    align-items: center;
}

/* Контент внутри попапа */
.popup-vozduh > .content {
    display: flex;
    width: 100%;
    gap: 20px;
}

/* Левая часть (инпуты) */
.popup-vozduh > .content > .inputs-section {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Правая часть (таблица) */
.popup-vozduh > .content > .table-section {
    width: 50%;
}

.popup-vozduh > .content > .table-section > table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.popup-vozduh > .content > .table-section > table th,
.popup-vozduh > .content > .table-section > table td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 12px;
    color: #000;
}

.popup-vozduh > .content > .table-section > table th {
color: #000;
    font-weight: 700;
    font-size: 12px;
    color: #000;
}

.popup-vozduh > .content > .table-section > table td {
    background: #f9f9f9;
}

/* Стили для кнопок */
.popup-vozduh > .save-vozduh,
.popup-vozduh > .close-vozduh {
    width: 129px;
    padding: 10px;
    margin-top: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.popup-vozduh > .save-vozduh {
    background: #28a745;
    color: white;
}

.popup-vozduh > .save-vozduh:hover {
    background: #218838;
}

.popup-vozduh > .close-vozduh {
    background: #6c757d;
    color: white;
}

.popup-vozduh > .close-vozduh:hover {
    background: #5a6268;
}
#formulaSelect{
    padding: 10px;
    border-radius: 10px;
}
#metalThickness{
        padding: 10px;
    border-radius: 10px;
}
/* Убираем стрелки у input[type="number"] внутри .input-group */
.input-group > input[type="number"]::-webkit-inner-spin-button,
.input-group > input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none; /* Убираем стрелки в WebKit-браузерах (Chrome, Safari, Edge) */
    margin: 0; /* Убираем отступы */
}

/* Убираем стрелки в Firefox */
.input-group > input[type="number"] {
    -moz-appearance: textfield; /* Убираем стрелки в Firefox */
}
#inputsContainer > .input-group > input{
    padding: 10px;
    border-radius: 10px;
    width: 237px;
    border: 1px solid #5a5757;
    margin-top: 7px;
}
#button-callculate{
    width: 150px;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}
        /* Стили для контейнера #gradusContainer */
        #gradusContainer {
            margin-top: 15px;
            padding: 10px;
            width: 238px; /* Ширина по содержимому */
        }

        /* Стили для label внутри #gradusContainer */
        #gradusContainer label {
            font-size: 14px;
            color: #333;
            margin-right: 10px;
            font-weight: 600;
        }

        /* Стили для select внутри #gradusContainer */
        #gradusContainer select {
            padding: 8px 12px;
            font-size: 14px;
            border: 1px solid #5a5757;
            border-radius: 8px;
            background-color: white;
            outline: none;
            cursor: pointer;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }

        /* Стили для select при фокусе */
        #gradusContainer select:focus {
            border-color: #007bff;
            box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
        }

        /* Стили для option внутри select */
        #gradusContainer select option {
            padding: 10px;
            font-size: 14px;
            background-color: white;
            color: #333;
        }

        /* Стили для option при наведении */
        #gradusContainer select option:hover {
            background-color: #007bff;
            color: white;
        }


        .save-zayavka{
                background-color: #0d9b1d;
    color: white;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
        }

/*Формы*/
.form_style{
    text-align: center;
}
.form_sty{
display: inline-block;
    width: 150px;
    padding: 10px;
    margin-top: 30px;
    margin-bottom: 15px;
    border-radius: 15px;
    font-size: 16px;
    border: 1px solid #c5c5c5;
}
.form_sty2{
    display: inline-block;
    width: 150px;
    padding: 5px;
    margin-top: 0px;
    margin-right: 18px;
    margin-bottom: 15px;
    font-size: 16px;
    border: 1px solid #c5c5c5;
}
.form_sty_but{
    background: #0c4ef8;
    background-size: 22px;
    text-align: center;
    width: 180px;
    border-radius: 5px;
    display: inline-block;
    margin: 0px 0px 35px 25px;
    padding: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    border: none;
}
.form_sty_but2{
background: red;
    background-size: 22px;
    text-align: center;
    border-radius: 5px;
    display: inline-block;
    margin: 0px 0px 35px 7px;
    padding: 9px;
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    border: none;
}
/*Авторизация*/
/* Общие стили */
body {
    font-family: 'Roboto', sans-serif;
    background: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Контейнер формы */
.auth-container {
    background: #fff;
    padding: 30px;
    width: 100%;
    max-width: 350px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Заголовок */
.auth-container h2 {
    margin-bottom: 20px;
    font-size: 22px;
    color: #333;
}

/* Поля ввода */
.auth-container input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

/* Кнопки */
.auth-container button {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.auth-container button:hover {
    background: #0056b3;
}

/* Ссылка */
.auth-container a {
    display: block;
    margin-top: 10px;
    text-decoration: none;
    color: #007bff;
    font-size: 14px;
}

.auth-container a:hover {
    text-decoration: underline;
}


.fun {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding: 20px;
}

.fun a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border-radius: 15px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

.fun a:hover {
    background: linear-gradient(135deg, #0056b3, #003580);
    transform: translateY(-5px);
    box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.3);
}
