
@import 'components/button_confirm.css';
@import 'components/text_button.css';
@import 'individ.css';


.content {
    margin: 0px auto 200px;
    width: 97%;
}
.d-none {
    display: none !important;
  }
  

/* Базовий стиль для всіх статусів */
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.status-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    text-decoration: none;
    opacity: 0.9;
}

.status-1 { background-color: #e9ecef; color: #495057; } /* Редагування */
.status-2 { background-color: #d1ecf1; color: #0c5460; } /* Підтверджено */
.status-3 { background-color: #d4edda; color: #155724; } /* Оплачено */
.status-4 { background-color: #e7e3fc; color: #4a3a9f; } /* Несплачено */
.status-5 { background-color: #e2e3e5; color: #383d41; } /* Скасовано */
.status-6 { background-color: #ffe5d0; color: #bf5300; } /* Предзамовлення */
.status-7 { background-color: #fff3cd; color: #856404; } /* Питання */
.status-8 { background-color: #d7f5e3; color: #2a7d43; } /* Відправлено */
.status-9 { background-color: #d1f2eb; color: #0e6655; } /* Отримано */
.status-10 { background-color: #e3f9d7; color: #3d5a2a; } /* Нове */
.status-11 { background-color: #fffde7; color: #6b6100; } /* Очікує відправлення */
.status-12 { background-color: #f8e3fa; color: #7d1a82; } /* Виконано */
.status-13 { background-color: #e7d9ff; color: #4506a8; } /* Тест */
.status-14 { background-color: #f8d7da; color: #721c24; } /* Повернення */
.status-15 { background-color: #d6d8db; color: #1b1e21; } /* Дубль */

:root,
[data-bs-theme="light"] {
    --bs-body-bg: transparent;
    --bs-body-bg-rgb: 0, 0, 0;
}

body {
    margin: 10px 0 0;
    font-family: Arial, sans-serif;
    background: #e5e5e5 !important;
    background-size: auto, auto !important;
}
h1 {
    text-align: center;
    padding: 20px 0;
}

form textarea {
    width: 97%;
    /* padding: 10px; */
}

.form-control {
    text-align: center;
}

.button_cor {

    margin: 2px;
    
}
.product-thumb {
  width: 25px;
  height: 25;
  object-fit: cover;
  border-radius: 8px;
}
.button_color {
    color: #626870;
}
.center {
    margin: 0 auto;
    width: 99%;
    text-align: center;
}
h2 {
    padding: 10px 0;    
}
ul {
    list-style: none;
    padding-left: 0;
}
ul li {
    padding: 0px;
    margin: 2px 0;
    border-radius: 88px;

}
ul li ul {
    padding-left: 20px;
}
a {
    color: #0dcaf0;
    text-decoration: none;
    /* margin-left: 30px; */
    text-align: center;
}
a:hover {
    color: #51d9f5; 
    text-decoration: none;
    /* margin-left: 30px; */
    text-align: center;
}
tr {
    color: #14149e;
   font-size: 15px;
   
   
}

.row {
    margin-bottom: 1rem !important;
}


    
.limited-text {
    margin: 0; /* Відміняє зовнішні відступи у <p> */
     /* Забороняє перенос тексту на новий рядок */
    overflow: hidden; /* Обрізання зайвого контенту, який не поміщається */
    text-overflow: ellipsis; /* Додає мітку "..." для вказівки, що текст обрізаний */
    }
      

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.text-radio {
    margin-right: 5px;
}
/* .modal-content {
    width: 70%;
    position: absolute;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    overflow-y: auto;
} */

.container-info {
    /* display: flex; */
    justify-content: center;
    align-items: center;
    /* height: 100vh; */
} 

.grey-background {
    background-color: #f8f9fa;
}

.button-col-sm {
    margin: 5px;
    padding: 24px 0;
}

.button-container {
    margin: 10px;
  }

#notificationContainer {
    color: #36966a;
    position: absolute;
    width: 20%;

    /* transform: translate(-50%, -50%); */
    background-color: #0dcaf0;
    border: 2px #357241;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 9px 9px 10px rgba(0, 0, 0, 0.1);
    top: 50px;
    right: 500px;
    opacity: 0; /* Початкова прозорість 0 */
    transition: opacity 2s ease-in-out; /* Плавна анімація прозорості */
  }
  
#notificationContainer.show {
    opacity: 2; /* Зростання прозорості при показі */
  }


.table td, .table th {
  word-wrap: break-word;
  /* white-space: normal; */
  /* max-width: 200px; або як тобі потрібно */
}






@media (data-bs-theme: dark) {
  .glass-nav {
    background: rgba(30, 30, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
}



 
@media screen and (max-width: 928px) {
    .content {
        width: 95%; /* Занимает всю доступную ширину экрана */
        gap: 10px;
    }

    .button-col-sm {
        margin: auto;
        width: 40%; 
        padding: 0px 0;
    }
    /* .form-control {
        margin-top: 5px;
    } */
    th, td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    
    }
    form {
        text-align: center;
        /* margin-bottom: 20px; */
    }

}



@media screen and (max-width: 845px) {

.float-right {
    float: none !important;;
}

/* .select2-results {
  position: fixed !important;
  width: 80%;
  top: 20% !important;
  left: 50% !important;
  transform: translateX(-50%);
  z-index: 3000 !important;
   border-radius: 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(225, 225, 225, 0.08);
  border: 4px solid rgba(232, 231, 231, 0.5);
  box-shadow: 0 4px 30px rgba(0,0,0,0.1),
              inset 0 0 10px rgba(255,255,255,0.05);
}
.select2-search  {
    position: fixed !important;
  top: 70% !important;
  left: 50% !important;
  transform: translateX(-50%);
  z-index: 3000 !important;
   border-radius: 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(225, 225, 225, 0.08);
  border: 4px solid rgba(232, 231, 231, 0.5);
  box-shadow: 0 4px 30px rgba(0,0,0,0.1),
              inset 0 0 10px rgba(255,255,255,0.05);
} */

}
/* 
.navbar-nav .dropdown-menu {

  background: radial-gradient(ellipse at top, #f8f8f8, transparent), radial-gradient(ellipse at bottom, #55e8ff, transparent);
} */
/* було */
/* .navbar-expand-sm .navbar-collapse {
 *   display: block;
 * }
 */

/* Select стилі */
/* Select стилі - випуклий */
.button-pult select,
.form-select {
    background: #e5e5e5;
    border: none;
    border-radius: 14px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    box-shadow: 
        -6px -6px 12px rgba(255, 255, 255, 0.8),
        6px 6px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.2s;
}

.button-pult select:hover,
.form-select:hover {
    box-shadow: 
        -4px -4px 8px rgba(255, 255, 255, 0.8),
        4px 4px 8px rgba(0, 0, 0, 0.15);
}

.button-pult select:focus,
.form-select:focus {
    outline: none;
    box-shadow: 
        inset 4px 4px 8px rgba(0, 0, 0, 0.1),
        inset -4px -4px 8px rgba(255, 255, 255, 0.9);
}

/* Dark mode */
body.dark-theme .button-pult select,
body.dark-theme .form-select {
    background: #1a1a1d;
    color: #b8b8c0;
    box-shadow: 
        -6px -6px 12px rgba(60, 60, 65, 0.4),
        6px 6px 12px rgba(0, 0, 0, 0.5);
}

body.dark-theme .button-pult select:focus,
body.dark-theme .form-select:focus {
    box-shadow: 
        inset 5px 5px 10px rgba(0, 0, 0, 0.6),
        inset -5px -5px 10px rgba(60, 60, 65, 0.3);
}

/* Option стилі */
.button-pult select option,
.form-select option {
    background: #e5e5e5;
    color: #4b5563;
    padding: 10px;
}

body.dark-theme .button-pult select option,
body.dark-theme .form-select option {
    background: #1a1a1d;
    color: #b8b8c0;
}