:root {
    --primary-color: #005FCC;
    --primary-hover: #0046A3;
    --text-color: #2C2C2C;
    --bg-color: #f5f5f5;
    --card-bg: rgba(255, 255, 255, 0.7);
    --accent-color: #800020;
  }
  
  body.dark-mode {
    --bg-color: #1E1E1E;
    --text-color: #f1f1f1;
    --card-bg: rgba(44, 44, 44, 0.7);
    --primary-color: #FFA500;
    --primary-hover: #CC8400;
    --accent-color: #FF6666;
  }

  .transparent-box {
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 2rem;
    border-radius: 12px;
    margin: 4rem auto;
    max-width: 1000px;
  }

.navbar,
.card,
.profile-img,
.btn {
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
  
  body {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--bg-color) !important;
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
  
  .navbar {
    background-color: var(--card-bg) !important;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  }
  
  .navbar-brand {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color) !important;
    letter-spacing: 1px;
    transition: color 0.3s ease;
  }
  
  .navbar-brand:hover {
    color: var(--primary-color) !important;
  }
  
  .navbar-nav .nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
  }

  .container-custom {
    background-color: var(--card-bg) !important;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin: 4rem auto;
    max-width: 1000px;
  }
  @media (max-width: 1024px) {
    .container-custom {
      margin: 3rem 1rem;
      padding: 1rem;
    }
  }

  .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 400;
    border-radius: 6px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    height: auto;
    margin-left: 0;
  }
  
  .btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
  }
  
  .profile-img {
    max-width: 160px;
    margin-top: 1rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  }
  
  ul, h1, h2, h3, h4, h5, h6, p {
    color: var(--text-color);
  }
  
  a {
    color: var(--primary-color);
    transition: color 0.3s ease;
  }
  
  a:hover {
    color: var(--primary-hover);
  }

  a p {
    text-decoration: underline;
    color: var(--primary-color);
  }

  a p:hover {
    text-decoration: underline;
    color: var(--primary-hover);
  }

  a p:visited {
    text-decoration: underline;
    color: var(--accent-color);
  }

  a figcaption {
    text-decoration: underline;
    color: var(--primary-color);
  }

  a figcaption:hover {
    text-decoration: underline;
    color: var(--primary-hover);
  }

  a figcaption:visited {
    text-decoration: underline;
    color: var(--accent-color);
  }

  .img-hover-zoom {
    transition: transform 0.3s ease;
  }
  
  .img-hover-zoom:hover {
    transform: scale(1.1);
  }

  .custom-list {
    padding-left: 1rem;
    list-style-type: none;
  }
  
  .custom-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .custom-list li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
  }

  @media (max-width: 768px) {
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    }
  }

  .table {
    background-color: var(--card-bg);
    color: var(--text-color);
    border-collapse: collapse;
    min-width: 600px;
  }
  
  .table thead th {
    background-color: var(--card-bg);
    color: var(--text-color);
    border-bottom: 2px solid #ccc;
    white-space: nowrap;
  }

  .table tbody td {
    color: var(--text-color);
  }
  
  .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.03);
  }
  
  body.dark-mode .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.05);
  }
  
  .table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.05);
  }
  
  body.dark-mode .table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.08);
  }

.table,
.table thead th,
.table tbody td,
.table-striped tbody tr,
.table-hover tbody tr {
  transition: background-color 0.3s ease, color 0.3s ease;
}


input,
textarea,
select {
  background-color: var(--card-bg);
  color: var(--text-color);
  border: 1px solid #ccc;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
  background-color: #2c2c2c;
  color: var(--text-color);
  border: 1px solid #555;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
  color: #aaa;
}

form, 
form input,
form textarea,
form select,
form button,
form .form-control,
form .form-label {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.send-reset-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-align: center;
  font-size: 1rem;
  max-width: 200px;
  width: 100%;
}

label {
  color: var(--text-color);
  transition: color 0.3s ease;
}

body.dark-mode label {
  color: var(--text-color);
}

.language-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background-color: var(--card-bg);
  border: 1px solid #ccc;
  height: 38px;
  width: 48px;
}

.language-btn img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}