/* === BASE STYLES === */
:root {
  --primary: #00b4ff;
  --primary-dark: #0099cc;
  --primary-light: rgba(0, 180, 255, 0.1);
  --secondary: #5865F2;
  --secondary-dark: #4752C4;
  --danger: #ff4444;
  --danger-dark: #c82333;
  --warning: #ffc107;
  --success: #4caf50;
  --background: #0b0e11;
  --card-bg: rgba(25, 30, 40, 0.9);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --border: rgba(0, 180, 255, 0.3);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}


/* === SMOOTH SCROLL === */
html {
  scroll-behavior: smooth;
}

/* === GLOW EFFECTS === */
@keyframes glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 180, 255, 0.4);
  }

  50% {
    box-shadow: 0 0 30px rgba(0, 180, 255, 0.8);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === HEADER === */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 18, 22, 0.95);
  backdrop-filter: blur(20px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  box-shadow: var(--shadow);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.header-left {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.header-title {
  font-weight: 800;
  font-size: 2.2rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.header-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

.header-title:hover::after {
  width: 100%;
}

.header-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  padding: 10px 20px;
  border-radius: 10px;
}

.header-center:hover {
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
}

.header-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.header-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.header-avatar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.header-avatar:hover::before {
  left: 100%;
}

.header-avatar:hover {
  border-color: var(--primary);
  transform: scale(1.1) rotate(5deg);
  animation: glow 2s infinite;
}

/* === HEADER BUTTONS (Auth & Profile) === */
.login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 36px;
  padding: 7px 16px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
  background: #00b4ff;
  border: 1px solid #00b4ff;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.login-btn:hover {
  background: #33c3ff;
  transform: translateY(-1px);
}

.login-btn:active {
  transform: translateY(0px);
}

.login-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  display: inline-block;
  margin-left: -5px;
}

.header-icon-btn {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: transparent;
  border: none;
  text-decoration: none;
  transition: all 0.25s ease;
}

.header-icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.header-icon-btn:focus,
.header-icon-btn:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.header-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.header-user-btn {
  height: 34px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #00b4ff;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.2px;
  box-shadow: none;
  border: none;
  transition: all 0.25s ease;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-user-btn:hover {
  background: #0099cc;
  box-shadow: none;
}

/* Custom Header User Text (No Hover, No Glow) */
.header-user-text {
  font-size: 1.05rem;
  font-weight: 800;
  color: #00b4ff;
  text-decoration: none;
  padding: 0 10px;
  cursor: pointer;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Larger Header Icons */
.header-icon-large {
  width: 32px !important;
  height: 32px !important;
}

.header-icon-btn.notif-toggle-btn,
.header-icon-btn[href="/logout"] {
  width: 42px;
  height: 42px;
  background: transparent;
  border-radius: 10px;
  border: none;
}

.header-icon-btn.notif-toggle-btn:hover,
.header-icon-btn[href="/logout"]:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Notifications Dropdown */
.header-notif-wrapper {
  position: relative;
  display: inline-flex;
}

.notifications-dropdown {
  position: absolute;
  top: 60px;
  right: -5px;
  width: 330px;
  background: #111214;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 2000;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.notifications-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.notif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.notif-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: 0.2px;
}

.notif-filter-toggle {
  font-size: 0.78rem;
  color: #b5bac1;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.07);
  border: none;
  font-weight: 600;
  transition: all 0.2s;
  padding: 4px 10px;
  border-radius: 20px;
}

.notif-filter-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #dbdee1;
}

.notif-filter-toggle:focus,
.notif-filter-toggle:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.notif-filter-toggle.unread-active {
  background: #00b4ff;
  color: #fff;
}

.notif-body {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #111214;
}

.notif-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.25);
}

.notif-empty-icon {
  width: 30px;
  height: 30px;
  opacity: 0.4;
}

.notif-empty p {
  font-size: 0.88rem;
  font-weight: 500;
  margin: 0;
}

/* === PROFILE MENU === */
.profile-menu {
  display: none;
  position: absolute;
  top: 65px;
  right: 0;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border-radius: 15px;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 220px;
  z-index: 1001;
  border: 1px solid var(--border);
}

.profile-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-menu a:last-child {
  border-bottom: none;
}

.profile-menu a:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 25px;
}

/* === MAIN CONTENT === */
main {
  padding-top: 120px;
  text-align: center;
}

.not-employee {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
  background: #0a0e14;
  text-align: center;
}

.not-employee-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.not-employee-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0.9;
  filter: grayscale(100%) brightness(1.2);
}

.not-employee h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.5px;
}

.not-employee p {
  max-width: 400px;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.not-employee-btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 28px;
  border-radius: 10px;
  background: #00b4ff;
  border: none;
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 180, 255, 0.3);
}

.not-employee-btn:hover {
  background: #33c3ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 180, 255, 0.4);
}

.buttons-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gradient);
  color: white;
  padding: 18px 40px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.3);
  min-width: 240px;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(88, 101, 242, 0.5);
  animation: float 2s ease-in-out infinite;
}

.btn-audit {
  background: linear-gradient(135deg, var(--danger), #ff6b6b);
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

.btn-audit:hover {
  box-shadow: 0 15px 35px rgba(220, 53, 69, 0.5);
}

/* === CARD STYLES === */
.profile-card,
.audit-card,
.admin-content {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  margin: 20px auto;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.profile-card::before,
.audit-card::before,
.admin-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
}

/* === FORM ELEMENTS === */
.form-group input,
.form-group select,
.audit-form-group input,
.audit-form-group select,
.search-input {
  width: 100%;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.audit-form-group input:focus,
.audit-form-group select:focus,
.search-input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 20px rgba(0, 180, 255, 0.3);
  transform: translateY(-2px);
}

/* === TABLES === */
.users-table,
.logs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
}

.users-table th,
.users-table td,
.logs-table th,
.logs-table td {
  padding: 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.users-table th,
.logs-table th {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.users-table th:hover,
.logs-table th:hover {
  background: rgba(0, 180, 255, 0.2);
}

.users-table tbody tr,
.logs-table tbody tr {
  transition: all 0.3s ease;
}

.users-table tbody tr:hover,
.logs-table tbody tr:hover {
  background: rgba(0, 180, 255, 0.08);
  transform: scale(1.01);
}

/* === MODALS === */
.modal-overlay,
.inventory-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-content,
.inventory-modal-content {
  background: var(--card-bg);
  backdrop-filter: blur(30px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
  position: relative;
}

/* === BADGES === */
.badges-container {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-right: 20px;
}

.admin-badge,
.leader-badge,
.high-badge {
  padding: 8px 16px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.admin-badge {
  background: rgba(255, 68, 68, 0.2);
  border: 1px solid var(--danger);
  color: var(--danger);
}

.leader-badge {
  background: rgba(255, 215, 0, 0.2);
  border: 1px solid var(--warning);
  color: var(--warning);
}

.high-badge {
  background: rgba(255, 2, 149, 0.2);
  border: 1px solid #ff0295;
  color: #ff0295;
}

/* === NOTIFICATIONS === */
.notification {
  position: fixed;
  top: 100px;
  right: 30px;
  padding: 20px 25px;
  border-radius: 15px;
  color: white;
  z-index: 3000;
  animation: slideInRight 0.5s ease;
  backdrop-filter: blur(20px);
  border: 1px solid;
  max-width: 400px;
}

.notification.success {
  background: rgba(76, 175, 80, 0.9);
  border-color: #4caf50;
}

.notification.error {
  background: rgba(244, 67, 54, 0.9);
  border-color: var(--danger);
}

.notification.warning {
  background: rgba(255, 193, 7, 0.9);
  border-color: var(--warning);
}

/* === PAGINATION === */
.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid var(--border);
}

.pagination-btn {
  padding: 12px 20px;
  background: var(--primary-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 50px;
  text-align: center;
}

.pagination-btn:hover:not(:disabled) {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.pagination-active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* === UPLOAD AREAS === */
.screenshot-upload-area,
.upload-containerr {
  border: 2px dashed var(--border);
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.screenshot-upload-area::before,
.upload-containerr::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
  transition: left 0.5s ease;
}

.screenshot-upload-area:hover::before,
.upload-containerr:hover::before {
  left: 100%;
}

.screenshot-upload-area:hover,
.upload-containerr:hover {
  border-color: var(--primary);
  background: rgba(0, 180, 255, 0.1);
}

.screenshot-upload-area.drag-over,
.upload-containerr.drag-over {
  border-color: var(--primary);
  background: rgba(0, 180, 255, 0.15);
  transform: scale(1.02);
}

/* === LOADING STATES === */
.loading {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 3px solid var(--primary-light);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  header {
    padding: 12px 20px;
    flex-direction: column;
    gap: 15px;
  }

  .header-title {
    font-size: 1.8rem;
  }

  .buttons-container {
    gap: 20px;
  }

  .btn {
    min-width: 200px;
    padding: 15px 30px;
  }

  .profile-card,
  .audit-card,
  .admin-content {
    padding: 25px;
    margin: 15px;
  }

  .items-grid {
    grid-template-columns: 1fr;
  }

  .pagination-container {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .header-title {
    font-size: 1.5rem;
  }

  .btn {
    min-width: 160px;
    padding: 12px 25px;
    font-size: 1rem;
  }

  .modal-content,
  .inventory-modal-content {
    padding: 25px;
  }
}

/* === SCROLLBAR STYLING === */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* === PRINT STYLES === */
@media print {
  .no-print {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}

/* === СТИЛІ ЯКИХ НЕ БУЛО В ПОПЕРЕДНЬОМУ CSS === */

/* === КНОПКИ ІНФО === */
.info-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.info-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-info-main {
  padding: 20px 35px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(88, 101, 242, 0.4);
  border: 2px solid transparent;
  min-width: 80px;
  background: linear-gradient(135deg, #5865F2, #4752C4);
  color: white;
}

.btn-info-main:hover {
  background: linear-gradient(135deg, #4752C4, #3c45a5);
  box-shadow: 0 0 25px rgba(88, 101, 242, 0.7);
  transform: translateY(-2px);
  border-color: #5865F2;
}

.btn-department {
  background: linear-gradient(135deg, #5865F2, #4752C4);
  color: white;
  padding: 14px 25px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(88, 101, 242, 0.4);
  border: 2px solid transparent;
  min-width: 80px;
}

.btn-department:hover {
  background: linear-gradient(135deg, #4752C4, #3c45a5);
  box-shadow: 0 0 25px rgba(88, 101, 242, 0.7);
  transform: translateY(-2px);
  border-color: #5865F2;
}

/* === РОЗДІЛЮВАЧ === */
.section-divider {
  margin: 30px auto 0 auto;
  padding-top: 20px;
  border-top: 1px solid #2a2f3a;
  width: 100%;
  max-width: 600px;
}

/* === АДМІН КНОПКА === */
.admin-btn {
  display: inline-block;
  background: rgba(220, 53, 69, 0.2);
  color: #dc3545;
  border: 2px solid #dc3545;
  border-radius: 8px;
  padding: 8px 16px;
  margin-right: 15px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(220, 53, 69, 0.3);
}

.admin-btn:hover {
  background: rgba(220, 53, 69, 0.3);
  box-shadow: 0 0 15px rgba(220, 53, 69, 0.5);
  transform: translateY(-2px);
  color: #ff6b7a;
}

/* New-style admin button for new header */
.header-admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  background: rgba(220, 53, 69, 0.08);
  border: 1.5px solid #dc3545;
  color: #ff6b7a;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header-admin-btn:hover {
  background: rgba(220, 53, 69, 0.18);
  border-color: #ff4d5e;
  color: #ff8a95;
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(220, 53, 69, 0.3);
}

/* === ОСНОВНИЙ КОНТЕЙНЕР === */
.main-container {
  padding-top: 100px;
  text-align: center;
}

/* === ПРОФІЛЬ КАРТКА === */
.profile-card {
  background: rgba(25, 30, 40, 0.8);
  border: 2px solid #00b4ff;
  border-radius: 15px;
  padding: 30px;
  margin: 20px auto;
  max-width: 400px;
  box-shadow: 0 0 25px rgba(0, 180, 255, 0.3);
  backdrop-filter: blur(10px);
}

.profile-card h2 {
  color: #00b4ff;
  margin-bottom: 25px;
  font-size: 1.8rem;
  text-shadow: 0 0 10px rgba(0, 180, 255, 0.5);
}

.profile-info {
  text-align: left;
}

.profile-info p {
  margin: 15px 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.1rem;
}

.profile-info p:last-child {
  border-bottom: none;
}

.profile-info strong {
  color: #00b4ff;
  display: inline-block;
  width: 100px;
}

.profile-info span {
  color: #fff;
}

/* === КНОПКА РЕДАГУВАННЯ === */
.edit-btn {
  display: block;
  width: 100%;
  background: rgba(0, 180, 255, 0.2);
  color: #00b4ff;
  border: 2px solid #00b4ff;
  border-radius: 10px;
  padding: 12px 20px;
  margin-top: 25px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-shadow: 0 0 10px rgba(0, 180, 255, 0.5);
  box-shadow: 0 0 15px rgba(0, 180, 255, 0.2);
}

.edit-btn:hover {
  background: rgba(0, 180, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 180, 255, 0.4);
  transform: translateY(-2px);
}

/* === БЕЙДЖІ === */
.badges-container {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-right: 15px;
  justify-content: center;
}

.admin-badge {
  display: none;
  border: 2px solid #ff4444;
  border-radius: 6px;
  padding: 4px 8px;
  background-color: rgba(255, 68, 68, 0.1);
}

.admin-text {
  color: #ff4444;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
}

.leader-badge {
  display: none;
  border: 2px solid #ffd700;
  border-radius: 6px;
  padding: 4px 8px;
  background-color: rgba(255, 215, 0, 0.1);
}

.leader-text {
  color: #ffd700;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
}

.high-badge {
  display: none;
  border: 2px solid #ff0295;
  border-radius: 6px;
  padding: 4px 8px;
  background-color: rgba(255, 2, 149, 0.1);
}

.high-text {
  color: #ff0295;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
}

/* === АУДИТ КОНТЕЙНЕР === */
.audit-container {
  padding-top: 100px;
  max-width: 600px;
  margin: 0 auto;
  padding: 100px 20px 20px;
}

.audit-card {
  background: rgba(25, 30, 40, 0.9);
  border: 2px solid #00b4ff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 0 25px rgba(0, 180, 255, 0.3);
  backdrop-filter: blur(10px);
}

.audit-title {
  color: #00b4ff;
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  text-shadow: 0 0 15px rgba(0, 180, 255, 0.5);
}

.audit-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.audit-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.audit-form-group label {
  color: #00b4ff;
  font-weight: 600;
}

.audit-form-group input,
.audit-form-group select {
  padding: 9px 10px;
  background: rgba(25, 30, 40, 0.9);
  border: 1px solid #00b4ff;
  border-radius: 8px;
  color: white;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.audit-form-group input:focus,
.audit-form-group select:focus {
  box-shadow: 0 0 10px rgba(0, 180, 255, 0.4);
  background: rgba(35, 40, 50, 0.9);
}

.audit-form-group input[readonly] {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 180, 255, 0.5);
  cursor: not-allowed;
}

.rank-selection {
  display: flex;
  gap: 10px;
  align-items: center;
}

.rank-separator {
  color: #00b4ff;
  font-weight: bold;
}

.dynamic-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 5px;
}

.rank-dropdown {
  margin-top: 8px;
  border: 1px solid rgba(0, 200, 255, 0.35);
  border-radius: 10px;
  background: rgba(10, 18, 28, 0.95);
  max-height: 240px;
  overflow: auto;
  padding: 8px;
}

.rank-dropdown-item {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: #e7f7ff;
  cursor: pointer;
  font-size: 14px;
}

.rank-dropdown-item:hover {
  background: rgba(0, 200, 255, 0.12);
  border-color: rgba(0, 200, 255, 0.25);
}

.audit-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 25px;
}

.submit-audit-btn {
  background: rgba(0, 180, 255, 0.3);
  color: #00b4ff;
  border: 2px solid #00b4ff;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
}

.submit-audit-btn:hover {
  background: rgba(0, 180, 255, 0.4);
  box-shadow: 0 0 15px rgba(0, 180, 255, 0.4);
}

.cancel-audit-btn {
  background: rgba(255, 68, 68, 0.2);
  color: #ff4444;
  border: 2px solid #ff4444;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  flex: 1;
}

.cancel-audit-btn:hover {
  background: rgba(255, 68, 68, 0.3);
  box-shadow: 0 0 15px rgba(255, 68, 68, 0.4);
}

.audit-loading {
  text-align: center;
  color: #00b4ff;
  font-size: 1.2rem;
  padding: 40px;
}

.audit-error {
  text-align: center;
  color: #ff4444;
  font-size: 1.1rem;
  padding: 40px;
}

.audit-no-access {
  text-align: center;
  color: #ff4444;
  font-size: 1.3rem;
  padding: 60px 20px;
}

.audit-no-access h2 {
  margin-bottom: 20px;
}

/* === КНОПКИ ДІЙ === */
.delete-user-btn {
  background: rgba(255, 68, 68, 0.2);
  color: #ff4444;
  border: 1px solid #ff4444;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.delete-user-btn:hover {
  background: rgba(255, 68, 68, 0.3);
  box-shadow: 0 0 10px rgba(255, 68, 68, 0.4);
}

.actions-cell {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
}

.delete-confirmation {
  text-align: center;
  margin: 20px 0;
}

.warning-text {
  color: #ff4444;
  font-weight: bold;
  margin-top: 10px;
}

.delete-confirm-btn {
  background: rgba(255, 68, 68, 0.3);
  color: #ff4444;
  border: 2px solid #ff4444;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.delete-confirm-btn:hover {
  background: rgba(255, 68, 68, 0.4);
  box-shadow: 0 0 15px rgba(255, 68, 68, 0.4);
}

/* === ІНВЕНТАР МОДАЛ === */
.inventory-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.inventory-modal-content {
  background: rgba(25, 30, 40, 0.95);
  border: 2px solid #00b4ff;
  border-radius: 15px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 0 30px rgba(0, 180, 255, 0.4);
}

.inventory-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.inventory-modal-title {
  color: #00b4ff;
  font-size: 1.5rem;
  margin: 0;
}

.close-inventory-modal {
  background: none;
  border: none;
  color: #ff4444;
  font-size: 1.5rem;
  padding: 5px;
  transition: all 0.3s ease;
}

.close-inventory-modal:hover {
  color: #ff6666;
  transform: scale(1.1);
}

.items-combobox {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.items-combobox label {
  color: #00b4ff;
  font-weight: 600;
}

.items-combobox input,
.items-combobox select {
  padding: 12px;
  background: rgba(25, 30, 40, 0.9);
  border: 1px solid #00b4ff;
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.items-combobox input:focus,
.items-combobox select:focus {
  box-shadow: 0 0 10px rgba(0, 180, 255, 0.4);
  background: rgba(35, 40, 50, 0.9);
}

.recipient-combobox {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.recipient-combobox label {
  color: #00b4ff;
  font-weight: 600;
}

.recipient-combobox input,
.recipient-combobox select {
  padding: 12px;
  background: rgba(25, 30, 40, 0.9);
  border: 1px solid #00b4ff;
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.recipient-combobox input:focus,
.recipient-combobox select:focus {
  box-shadow: 0 0 10px rgba(0, 180, 255, 0.4);
  background: rgba(35, 40, 50, 0.9);
}

.inventory-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inventory-form-group label {
  color: #00b4ff;
  font-weight: 600;
}

.inventory-form-group input,
.inventory-form-group select {
  padding: 12px;
  background: rgba(25, 30, 40, 0.9);
  border: 1px solid #00b4ff;
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.inventory-form-group input:focus,
.inventory-form-group select:focus {
  box-shadow: 0 0 10px rgba(0, 180, 255, 0.4);
  background: rgba(35, 40, 50, 0.9);
}

.items-combobox {
  position: relative;
}

.items-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: rgba(25, 30, 40, 0.98);
  border: 1px solid #00b4ff;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  max-height: min(540px, 60vh);
  overflow: auto;
  z-index: 2000;
}

.items-dropdown-item {
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.15s ease;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.items-dropdown-item:hover,
.items-dropdown-item.active {
  background: rgba(0, 180, 255, 0.2);
}

.items-dropdown-item.selected {
  background: rgba(0, 180, 255, 0.28);
}

.items-dropdown-check {
  opacity: 0.9;
  font-weight: 700;
}

.recipient-combobox {
  position: relative;
}

.recipient-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: rgba(25, 30, 40, 0.98);
  border: 1px solid #00b4ff;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  max-height: min(540px, 60vh);
  overflow: auto;
  z-index: 2000;
}

.recipient-dropdown-item {
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.15s ease;
  text-align: left;
}

.recipient-dropdown-item:hover,
.recipient-dropdown-item.active {
  background: rgba(0, 180, 255, 0.2);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-item input {
  width: auto;
}

.dynamic-fields {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 10px;
}

.inventory-modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 25px;
}

.submit-inventory-btn {
  background: rgba(0, 180, 255, 0.3);
  color: #00b4ff;
  border: 2px solid #00b4ff;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
}

.submit-inventory-btn:hover {
  background: rgba(0, 180, 255, 0.4);
  box-shadow: 0 0 15px rgba(0, 180, 255, 0.4);
}

.cancel-inventory-btn {
  background: rgba(255, 68, 68, 0.2);
  color: #ff4444;
  border: 2px solid #ff4444;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  flex: 1;
}

.cancel-inventory-btn:hover {
  background: rgba(255, 68, 68, 0.3);
  box-shadow: 0 0 15px rgba(255, 68, 68, 0.4);
}

.screenshots-upload-area {
  border: 2px dashed rgba(0, 180, 255, 0.55);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  background: rgba(15, 20, 30, 0.65);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

.screenshots-upload-area:hover {
  border-color: rgba(0, 180, 255, 0.95);
  background: rgba(20, 28, 40, 0.75);
  box-shadow: 0 0 0 1px rgba(0, 180, 255, 0.25), 0 12px 34px rgba(0, 0, 0, 0.35);
}

.screenshots-upload-area.drag-over {
  border-color: rgba(0, 180, 255, 1);
  background: rgba(0, 180, 255, 0.10);
  box-shadow: 0 0 0 2px rgba(0, 180, 255, 0.25), 0 0 24px rgba(0, 180, 255, 0.18);
}

.screenshots-upload-area.paste-flash {
  border-color: rgba(0, 180, 255, 1);
  background: rgba(0, 180, 255, 0.12);
  box-shadow: 0 0 0 2px rgba(0, 180, 255, 0.25), 0 0 26px rgba(0, 180, 255, 0.22);
}

/* === СКРІНШОТ ЗАВАНТАЖЕННЯ === */
.screenshot-upload-area {
  border: 2px dashed rgba(0, 180, 255, 0.55);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  background: rgba(15, 20, 30, 0.65);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}

.screenshot-upload-area:hover {
  border-color: rgba(0, 180, 255, 0.95);
  background: rgba(20, 28, 40, 0.75);
  box-shadow: 0 0 0 1px rgba(0, 180, 255, 0.25), 0 12px 34px rgba(0, 0, 0, 0.35);
}

.screenshot-upload-area.drag-over {
  border-color: rgba(0, 180, 255, 1);
  background: rgba(0, 180, 255, 0.10);
  box-shadow: 0 0 0 2px rgba(0, 180, 255, 0.25), 0 0 24px rgba(0, 180, 255, 0.18);
}

.screenshot-upload-area.paste-flash {
  border-color: rgba(0, 180, 255, 1);
  background: rgba(0, 180, 255, 0.12);
  box-shadow: 0 0 0 2px rgba(0, 180, 255, 0.25), 0 0 26px rgba(0, 180, 255, 0.22);
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.upload-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 180, 255, 0.10);
  border: 1px solid rgba(0, 180, 255, 0.55);
  color: #00b4ff;
  margin-bottom: 2px;
}

.upload-placeholder p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.upload-hint {
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.55) !important;
  margin-top: 2px !important;
}

.file-counter {
  font-size: 13px !important;
  font-weight: 600;
  margin-top: 2px !important;
  color: rgba(255, 255, 255, 0.65);
}

.upload-btn {
  background: rgba(0, 180, 255, 0.18);
  color: #00b4ff;
  border: 1px solid rgba(0, 180, 255, 0.95);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

.upload-btn:hover {
  background: rgba(0, 180, 255, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(0, 180, 255, 0.25), 0 12px 26px rgba(0, 0, 0, 0.35);
}

.upload-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.file-preview {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.preview-container {
  position: relative;
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 120px;
}

.preview-image {
  max-width: 100px;
  max-height: 80px;
  border-radius: 4px;
  display: block;
}

.preview-container p {
  margin: 8px 0 0 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  word-break: break-all;
}

.preview-loading {
  font-size: 12px;
  color: #999;
  padding: 20px;
}

.remove-preview-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ff4757;
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.remove-preview-btn:hover {
  background: #ff3742;
  transform: scale(1.1);
}

.error-text {
  color: #ff4444;
  font-size: 0.8rem;
  margin-top: 5px;
  min-height: 15px;
  font-weight: 500;
  text-shadow: 0 0 8px rgba(255, 68, 68, 0.5);
}

.confirm-modal {
  max-width: 450px;
  text-align: center;
}

.modal-body {
  padding: 20px;
}

.warning-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.warning-note {
  color: #ff6b6b;
  font-size: 14px;
  margin-top: 10px;
  font-weight: bold;
}

/* === КРАФТ КОНТЕЙНЕР === */
.craft-container {
  max-width: 1000px;
  margin: 80px auto 20px;
  padding: 0 20px;
}

.norma-info {
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid #ffc107;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.norma-warning {
  color: #ff6b6b;
  font-weight: bold;
}

.items-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.items-category {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 15px;
}

.item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.quantity-input {
  width: 60px;
  padding: 5px;
  border: 1px solid #444;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-align: center;
}

.total-display {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin: 20px 0;
  padding: 15px;
  background: rgba(76, 175, 80, 0.2);
  border-radius: 8px;
}

.weapons-level {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.weapons-level {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.weapons-level label {
  color: #00b4ff;
  font-weight: 600;
}

.weapons-level input,
.weapons-level select {
  padding: 12px;
  background: rgba(25, 30, 40, 0.9);
  border: 1px solid #00b4ff;
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.weapons-level input:focus,
.weapons-level select:focus {
  box-shadow: 0 0 10px rgba(0, 180, 255, 0.4);
  background: rgba(35, 40, 50, 0.9);
}

.upload-containerr {
  border: 2px dashed #444;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
}

.upload-containerr.drag-over {
  border-color: #4caf50;
  background: rgba(76, 175, 80, 0.1);
}

.upload-placeholderr {
  color: #888;
}

.upload-btnn {
  background: linear-gradient(135deg, #4a90e2, #357abd);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}

.upload-btnn:hover {
  background: linear-gradient(135deg, #357abd, #2c6aa3);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.upload-btnn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.file-counterr {
  margin-top: 10px;
  font-weight: bold;
}

.file-previeww {
  margin-top: 15px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.preview-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #444;
}

.preview-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.preview-item .remove-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(244, 67, 54, 0.9);
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
  font-size: 14px;
}

/* === ПАГІНАЦІЯ === */
.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pagination-info {
  color: #888;
  font-size: 14px;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 5px;
}

.pagination-btn {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 40px;
}

.pagination-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-active {
  background: #00b4ff !important;
  border-color: #00b4ff !important;
  color: white;
}

.pagination-numbers {
  display: flex;
  gap: 5px;
}

/* === ЧЕКБОКС ГРУПА === */
.checkbox-group {
  display: flex;
  align-items: center;
  padding: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.2s ease;
}

.checkbox-group:hover {
  background: rgba(255, 255, 255, 0.05);
}

.checkbox-group input[type="checkbox"] {
  display: none;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 400;
  color: #e0e0e0;
  position: relative;
  padding-left: 30px;
  margin: 0;
  font-size: 14px;
}

.checkbox-group label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  background: transparent;
  transition: all 0.2s ease;
}

.checkbox-group label::after {
  content: '✓';
  position: absolute;
  left: 3px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  transition: all 0.2s ease;
  opacity: 0;
}

.checkbox-group input[type="checkbox"]:checked+label::before {
  border-color: #4caf50;
  background: #4caf50;
}

.checkbox-group input[type="checkbox"]:checked+label::after {
  transform: translateY(-50%) scale(1);
  opacity: 1;
}

.checkbox-group:nth-child(1) input[type="checkbox"]:checked+label::before {
  border-color: #ff4444;
  background: #ff4444;
}

.checkbox-group:nth-child(2) input[type="checkbox"]:checked+label::before {
  border-color: #ffa000;
  background: #ffa000;
}

.checkbox-group:nth-child(3) input[type="checkbox"]:checked+label::before {
  border-color: #e91e63;
  background: #e91e63;
}

.checkbox-group input[type="checkbox"]:focus+label::before {
  box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

/* === КНОПКА ДЕТАЛЕЙ === */
.details-btn {
  background: #00b4ff;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
}

.details-btn:hover {
  background: #0099cc;
}

/* === ЛОГИ ТАБЛИЦЯ === */
.logs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.logs-table th,
.logs-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

.logs-table th {
  background: rgba(0, 180, 255, 0.2);
  color: #00b4ff;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
  position: relative;
}

.logs-table th:hover {
  background: rgba(0, 180, 255, 0.3);
}

.logs-table th.sort-asc::after {
  content: " ↑";
  color: #00ff88;
}

.logs-table th.sort-desc::after {
  content: " ↓";
  color: #00ff88;
}

.logs-table tbody tr {
  transition: all 0.3s ease;
}

.logs-table tbody tr:hover {
  background: rgba(0, 180, 255, 0.1);
}

/* === ДОДАТКОВІ УТИЛІТИ === */
.hidden {
  display: none;
}

.no-access {
  text-align: center;
  color: #ff4444;
  font-size: 1.3rem;
  padding: 60px 20px;
}

.no-access h2 {
  margin-bottom: 20px;
}

/* === СТИЛІ ЯКИХ НЕ БУЛО В ПОПЕРЕДНЬОМУ CSS === */

/* === КНОПКИ ГОЛОВНОГО МЕНЮ === */
.main-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.btn {
  display: inline-block;
  background-color: #5865F2;
  color: white;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: 0.3s ease;
  box-shadow: 0 0 15px rgba(88, 101, 242, 0.4);
  min-width: 200px;
  text-align: center;
}

.btn:hover {
  background-color: #4752C4;
  box-shadow: 0 0 25px rgba(88, 101, 242, 0.6);
  transform: translateY(-2px);
}

.btn-audit {
  display: inline-block;
  background-color: #dc3545;
  color: white;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: 0.3s ease;
  box-shadow: 0 0 15px rgba(220, 53, 69, 0.4);
  min-width: 200px;
  text-align: center;
}

.btn-audit:hover {
  background-color: #c82333;
  box-shadow: 0 0 25px rgba(220, 53, 69, 0.6);
  transform: translateY(-2px);
}

/* === АДМІН ПАНЕЛЬ === */
.admin-container {
  padding-top: 100px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px 20px;
}

.admin-header {
  text-align: center;
  margin-bottom: 30px;
}

.admin-title {
  color: #00b4ff;
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-shadow: 0 0 15px rgba(0, 180, 255, 0.5);
}

.admin-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.admin-nav-btn {
  background: rgba(0, 180, 255, 0.2);
  color: #00b4ff;
  border: 2px solid #00b4ff;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-shadow: 0 0 10px rgba(0, 180, 255, 0.5);
  box-shadow: 0 0 15px rgba(0, 180, 255, 0.2);
}

.admin-nav-btn:hover,
.admin-nav-btn.active {
  background: rgba(0, 180, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 180, 255, 0.4);
  transform: translateY(-2px);
}

.admin-content {
  background: rgba(25, 30, 40, 0.9);
  border: 2px solid #00b4ff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 0 25px rgba(0, 180, 255, 0.3);
  backdrop-filter: blur(10px);
}

/* === ПОШУК === */
.search-container {
  margin-bottom: 20px;
}

.search-input {
  width: 100%;
  padding: 12px 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #00b4ff;
  border-radius: 10px;
  color: white;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.search-input:focus {
  box-shadow: 0 0 15px rgba(0, 180, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* === ТАБЛИЦЯ КОРИСТУВАЧІВ === */
.users-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.users-table th,
.users-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

.users-table th {
  background: rgba(0, 180, 255, 0.2);
  color: #00b4ff;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
  position: relative;
}

.users-table th:hover {
  background: rgba(0, 180, 255, 0.3);
}

.users-table th.sort-asc::after {
  content: " ↑";
  color: #00ff88;
}

.users-table th.sort-desc::after {
  content: " ↓";
  color: #00ff88;
}

.users-table tbody tr {
  transition: all 0.3s ease;
}

.users-table tbody tr:hover {
  background: rgba(0, 180, 255, 0.1);
}

.edit-user-btn {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid #ffc107;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.edit-user-btn:hover {
  background: rgba(255, 193, 7, 0.3);
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.4);
}

/* === МОДАЛЬНІ ВІКНА === */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.modal-content {
  background: rgba(25, 30, 40, 0.95);
  border: 2px solid #00b4ff;
  border-radius: 15px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 0 30px rgba(0, 180, 255, 0.4);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.modal-title {
  color: #00b4ff;
  font-size: 1.5rem;
  margin: 0;
}

.close-modal {
  background: none;
  border: none;
  color: #ff4444;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
  transition: all 0.3s ease;
  outline: none;
  /* Додаємо це */
  border-radius: 50%;
  /* Додаємо для кращого вигляду при фокусі */
}

.close-modal:hover {
  color: #ff6666;
  transform: scale(1.1);
}

.close-modal:focus {
  outline: 2px solid #00b4ff;
  /* Красива обводка при фокусі */
  outline-offset: 2px;
}

/* Якщо потрібно повністю прибрати виділення */
.close-modal:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 180, 255, 0.5);
  /* Альтернативне виділення */
}

.edit-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: #00b4ff;
  font-weight: 600;
}

.form-group input,
.form-group select {
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #00b4ff;
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  box-shadow: 0 0 10px rgba(0, 180, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.checkbox-group input {
  width: auto;
}

.modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 25px;
}

.save-btn {
  background: rgba(0, 180, 255, 0.3);
  color: #00b4ff;
  border: 2px solid #00b4ff;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.save-btn:hover {
  background: rgba(0, 180, 255, 0.4);
  box-shadow: 0 0 15px rgba(0, 180, 255, 0.4);
}

.cancel-btn {
  background: rgba(255, 68, 68, 0.2);
  color: #ff4444;
  border: 2px solid #ff4444;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cancel-btn:hover {
  background: rgba(255, 68, 68, 0.3);
  box-shadow: 0 0 15px rgba(255, 68, 68, 0.4);
}

/* === СЕЛЕКТИ В МОДАЛКАХ === */
.modal-content select {
  padding: 12px;
  background: rgba(25, 30, 40, 0.9) !important;
  border: 1px solid #00b4ff;
  border-radius: 8px;
  color: white !important;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.modal-content select:focus {
  box-shadow: 0 0 10px rgba(0, 180, 255, 0.4);
  background: rgba(35, 40, 50, 0.9) !important;
}

.modal-content select option {
  background: rgba(25, 30, 40, 0.95);
  color: white;
  padding: 10px;
}

.modal-content select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300b4ff' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 40px;
}

.modal-content input[readonly] {
  background: rgba(255, 255, 255, 0.05) !important;
  color: rgba(255, 255, 255, 0.6) !important;
  border-color: rgba(0, 180, 255, 0.5);
  cursor: not-allowed;
}

/* === СТАТУСИ ЗАВАНТАЖЕННЯ І ПОМИЛОК === */
.loading {
  text-align: center;
  color: #00b4ff;
  font-size: 1.2rem;
  padding: 40px;
}

.error {
  text-align: center;
  color: #ff4444;
  font-size: 1.1rem;
  padding: 40px;
}

.no-access {
  text-align: center;
  color: #ff4444;
  font-size: 1.3rem;
  padding: 60px 20px;
}

.no-access h2 {
  margin-bottom: 20px;
}

/* === СПІЛЬНІ УТИЛІТИ === */
.hidden {
  display: none;
}

/* === АНІМАЦІЇ ТА ДОДАТКОВІ ЕФЕКТИ === */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* === НОТИФІКАЦІЇ === */
.notification-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.notification-message {
  flex: 1;
}

.notification-close {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.notification-close:hover {
  opacity: 0.8;
}


.update-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  animation: slideIn 0.6s ease;
  text-align: center;
  /* Центруємо весь текст */
}

/* Прибираємо лінію ::before */
.update-container::before {
  display: none;
}

.update-title {
  margin: 0 0 24px 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  text-shadow: 0 0 15px rgba(0, 180, 255, 0.5);
  position: relative;
  padding-bottom: 12px;
}

/* Прибираємо лінію під заголовком */
.update-title::after {
  display: none;
}

.update-text {
  white-space: pre-line;
  line-height: 1.8;
  font-size: 1.1rem;
  color: var(--text);
  opacity: 0.9;
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  text-align: left;
  /* Текст залишаємо зліва для читабельності */
  border: 1px solid rgba(255, 255, 255, 0.1);
  /* Легкий бордер замість лінії зліва */
}

.update-actions {
  display: flex;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
  /* Центруємо кнопки */
}

.update-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  cursor: pointer;
  background: rgba(0, 180, 255, 0.1);
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  min-width: 160px;
  box-shadow: 0 4px 15px rgba(0, 180, 255, 0.2);
}

.update-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.update-btn:hover {
  background: rgba(0, 180, 255, 0.2);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 180, 255, 0.4);
  border-color: var(--primary);
}

.update-btn:hover::before {
  left: 100%;
}

.update-btn.primary {
  background: var(--gradient);
  color: white;
  border: none;
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.3);
}

.update-btn.primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
  box-shadow: 0 8px 30px rgba(88, 101, 242, 0.5);
  transform: translateY(-3px) scale(1.05);
  animation: float 2s ease-in-out infinite;
}

.update-btn.danger {
  background: rgba(255, 68, 68, 0.1);
  color: var(--danger);
  border-color: rgba(255, 68, 68, 0.3);
  box-shadow: 0 4px 15px rgba(255, 68, 68, 0.2);
}

.update-btn.danger:hover {
  background: rgba(255, 68, 68, 0.2);
  color: white;
  border-color: var(--danger);
  box-shadow: 0 8px 25px rgba(255, 68, 68, 0.4);
}

.update-btn.warning {
  background: rgba(255, 193, 7, 0.1);
  color: var(--warning);
  border-color: rgba(255, 193, 7, 0.3);
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}

.update-btn.warning:hover {
  background: rgba(255, 193, 7, 0.2);
  color: white;
  border-color: var(--warning);
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

.update-btn.success {
  background: rgba(76, 175, 80, 0.1);
  color: var(--success);
  border-color: rgba(76, 175, 80, 0.3);
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

.update-btn.success:hover {
  background: rgba(76, 175, 80, 0.2);
  color: white;
  border-color: var(--success);
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.update-btn i {
  font-size: 1.1rem;
}

/* Адаптивність */
@media (max-width: 768px) {
  .update-container {
    margin: 20px;
    padding: 30px 20px;
  }

  .update-title {
    font-size: 1.6rem;
  }

  .update-text {
    font-size: 1rem;
    padding: 15px;
  }

  .update-btn {
    min-width: 140px;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .update-actions {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .update-container {
    margin: 15px;
    padding: 25px 15px;
  }

  .update-title {
    font-size: 1.4rem;
  }

  .update-text {
    font-size: 0.95rem;
    padding: 12px;
  }

  .update-btn {
    min-width: 120px;
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .update-actions {
    flex-direction: column;
    align-items: center;
  }

  .update-btn {
    width: 100%;
    max-width: 300px;
  }
}

/* === TRANSLATE PAGE BUTTONS === */
.translate-buttons-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.translate-main-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}

.translate-btn {
  width: 30%;
  min-width: unset;
  padding: 14px 18px;
  font-size: 1rem;
}

.translate-secondary-row {
  width: 100%;
  max-width: 320px;
}

.translate-btn-secondary {
  width: 100%;
  min-width: unset;
  padding: 16px 24px;
  font-size: 1rem;
  background: linear-gradient(135deg, #5865F2, #4752C4);
  border: 2px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 30px rgba(88, 101, 242, 0.22), 0 10px 26px rgba(0, 0, 0, 0.28);
  letter-spacing: 0.2px;
}

.translate-btn-secondary:hover {
  background: linear-gradient(135deg, #4752C4, #3c45a5);
  border-color: rgba(0, 180, 255, 0.55);
  box-shadow: 0 12px 34px rgba(0, 180, 255, 0.16), 0 10px 30px rgba(0, 0, 0, 0.30);
}

.translate-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: rgba(255, 68, 68, 0.15);
  color: #ff6b6b;
  border: 2px solid #ff4444;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.translate-back-btn:hover {
  background: rgba(255, 68, 68, 0.25);
  box-shadow: 0 0 15px rgba(255, 68, 68, 0.3);
  transform: translateY(-2px);
}

.translate-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(6px);
}

.translate-modal-content {
  width: min(720px, 92vw);
  max-height: 90vh;
  overflow: auto;
  background: rgba(25, 30, 40, 0.95);
  border: 2px solid #00b4ff;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0, 180, 255, 0.35);
}

.translate-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.translate-modal-title {
  margin: 0;
  color: #00b4ff;
  font-size: 1.25rem;
  text-shadow: 0 0 10px rgba(0, 180, 255, 0.35);
}

.translate-modal-close {
  background: rgba(255, 68, 68, 0.12);
  color: #ff6b6b;
  border: 1px solid rgba(255, 68, 68, 0.6);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s ease;
}

.translate-modal-close:hover {
  background: rgba(255, 68, 68, 0.22);
  box-shadow: 0 0 14px rgba(255, 68, 68, 0.28);
  transform: translateY(-1px);
}

.translate-modal-card {
  max-width: unset;
  margin: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

#translateModalBody {
  padding: 16px;
}

.translate-modal .audit-form {
  gap: 10px;
}

.translate-modal .audit-form-group {
  gap: 6px;
}

.translate-modal .audit-form-group input {
  padding: 10px 12px;
}

.translate-modal .audit-actions {
  margin-top: 10px;
}

.translate-rank-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.translate-rank-wrapper input {
  width: 100%;
  padding-right: 44px;
}

.translate-rank-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(0, 180, 255, 0.35);
  background: rgba(0, 180, 255, 0.10);
  transition: all 0.2s ease;
}

.translate-rank-toggle:hover {
  background: rgba(0, 180, 255, 0.18);
  border-color: rgba(0, 180, 255, 0.55);
}

.translets-page .info-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px;
  margin-top: 18px;
}

.translets-page .translets-divider {
  max-width: 1100px;
  margin: 18px auto 10px;
  position: relative;
  height: 26px;
}

.translets-page .translets-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 180, 255, 0), rgba(0, 180, 255, 0.85), rgba(0, 180, 255, 0));
  opacity: 0.9;
}

.translets-page .translets-divider-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(25, 30, 40, 0.92);
  border: 1px solid rgba(0, 180, 255, 0.35);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-shadow: 0 0 12px rgba(0, 180, 255, 0.30);
}

.translets-page .info-row {
  justify-content: center;
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 12px;
}

.translets-page .btn-department,
.translets-page .btn-info-main {
  width: 100%;
  min-width: unset;
  padding: 12px 14px;
  font-size: 0.98rem;
  background: rgba(25, 30, 40, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
}

.translets-page .btn-department:hover,
.translets-page .btn-info-main:hover {
  border-color: rgba(0, 180, 255, 0.45);
  box-shadow: 0 10px 28px rgba(0, 180, 255, 0.10), 0 8px 22px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}

.translets-page .btn-department.active,
.translets-page .btn-info-main.active {
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.28), rgba(0, 180, 255, 0.14));
  box-shadow: 0 10px 30px rgba(0, 180, 255, 0.20), 0 10px 26px rgba(0, 0, 0, 0.30);
  border-color: rgba(0, 180, 255, 0.9);
  color: #ffffff;
}

@media (max-width: 980px) {
  .translets-page .info-row {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

@media (max-width: 480px) {
  .translets-page .info-row {
    grid-template-columns: 1fr;
  }
}

.translets-page .transfer-modal,
#appModal .transfer-modal {
  max-width: 980px;
  padding: 22px;
}

.translets-page .transfer-modal-header,
#appModal .transfer-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.translets-page .transfer-modal-title,
#appModal .transfer-modal-title {
  margin: 0;
  color: #00b4ff;
  font-size: 1.35rem;
  text-shadow: 0 0 10px rgba(0, 180, 255, 0.35);
}

.translets-page .transfer-modal-sub,
#appModal .transfer-modal-sub {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

.translets-page .transfer-modal-body,
#appModal .transfer-modal-body {
  margin-top: 16px;
}

.translets-page .transfer-grid,
#appModal .transfer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.translets-page .transfer-card,
#appModal .transfer-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 180, 255, 0.18);
  border-radius: 14px;
  padding: 14px;
}

.translets-page .transfer-card-title,
#appModal .transfer-card-title {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.translets-page .transfer-kv,
#appModal .transfer-kv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}

.translets-page .transfer-label,
#appModal .transfer-label {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
}

.translets-page .transfer-value,
#appModal .transfer-value {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  margin-top: 2px;
}

.translets-page .transfer-long,
#appModal .transfer-long {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
  white-space: pre-wrap;
}

.translets-page .transfer-status-chip,
#appModal .transfer-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 180, 255, 0.25);
  background: rgba(0, 180, 255, 0.10);
  font-weight: 700;
}

.translets-page .transfer-approval-item,
#appModal .transfer-approval-item {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin: 6px 0;
}

.translets-page .transfer-modal-footer,
#appModal .transfer-modal-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.translets-page .transfer-modal-actions,
#appModal .transfer-modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.translets-page .transfer-reject,
#appModal .transfer-reject {
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 68, 68, 0.35);
  background: rgba(255, 68, 68, 0.08);
}

@media (max-width: 900px) {

  .translets-page .transfer-grid,
  #appModal .transfer-grid {
    grid-template-columns: 1fr;
  }
}