/* Variables */
/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #1e1e2e;
  color: #ffffff;
}

/* Reusable Classes */
.container {
  padding: 20px;
  border-radius: 5px;
  background: rgba(30, 30, 46, 0.9);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  text-align: center;
  width: 90%;
  max-width: 400px;
}

/* Inputs and Textareas */
.input-box,
textarea {
  width: 90%;
  margin: 10px auto;
  padding: 10px;
  border: 1px solid #3b82f6;
  border-radius: 5px;
  background: #2b2b40;
  color: #ffffff;
  font-size: 1rem;
  text-align: center;
  resize: vertical; /* Allows textarea resizing only vertically */
  transition: border-color 0.3s ease;
}

.input-box:focus,
textarea:focus {
  outline: none;
  border-color: #62d9fa;
  box-shadow: 0 0 5px #62d9fa;
}

/* Checkboxes and Radio Buttons */
.checkbox,
.radio {
  display: flex;
  align-items: center;
  margin: 10px 0;
  font-size: 1rem;
  cursor: pointer;
}

.checkbox input,
.radio input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  border: 2px solid #3b82f6;
  border-radius: 3px; /* Square for checkbox */
  background: #2b2b40;
  transition: all 0.3s ease;
  cursor: pointer;
}

.radio input {
  border-radius: 50%; /* Circle for radio button */
}

.checkbox input:checked,
.radio input:checked {
  background: #3b82f6;
  border-color: #62d9fa;
  box-shadow: 0 0 5px #62d9fa;
  position: relative;
}

.checkbox input:checked::before,
.radio input:checked::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-radius: inherit; /* Matches the shape of the parent */
  margin: auto;
}

/* Dropdowns (Select) */
.dropdown {
  width: 90%;
  padding: 10px;
  border: 1px solid #3b82f6;
  border-radius: 5px;
  background: #2b2b40;
  color: #ffffff;
  font-size: 1rem;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  margin: 10px auto;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.dropdown:focus {
  outline: none;
  border-color: #62d9fa;
  box-shadow: 0 0 5px #62d9fa;
}

/* Buttons */
.button {
  background: #3b82f6;
  color: #ffffff;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button:hover {
  background: #2563eb;
  transform: scale(1.05);
}

.button:active {
  transform: scale(0.95);
  background: #2563eb;
}

/* Fieldset and Legend */
fieldset {
  border: 1px solid #3b82f6;
  border-radius: 5px;
  padding: 15px;
  margin: 15px 0;
}

legend {
  font-size: 1.1rem;
  color: #62d9fa;
  padding: 0 10px;
}

/* File Inputs */
.file-input {
  display: block;
  margin: 10px auto;
  text-align: center;
  width: 90%;
  cursor: pointer;
  font-size: 1rem;
}

.file-input input[type=file] {
  display: none;
}

.file-input label {
  display: inline-block;
  padding: 10px 15px;
  background: #3b82f6;
  color: #ffffff;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-input label:hover {
  background: #2563eb;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-10 {
  margin-top: 10px;
}

.mb-10 {
  margin-bottom: 10px;
}

.forgot-password {
  padding: 10px 0px;
  color: #b1b1b1;
}

.forgot-password > a {
  transition: 0.3s;
  color: inherit;
}

.forgot-password > a:hover {
  color: #fff;
  transition: 0.3s;
}

.error-item {
  display: flex;
  background: rgba(255, 0, 0, 0.2784313725);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  animation: appear_field 0.2s ease-in-out;
  margin-bottom: 10px;
}

.login-page form.login-form {
  max-width: 400px;
  width: 100vw;
}
.login-page .input-box {
  width: 100%;
}
.login-page .button {
  width: 100%;
}

.profile-page {
  flex-direction: column;
}
.profile-page form.login-form {
  max-width: 400px;
  width: 100vw;
}
.profile-page .input-box {
  width: 100%;
}
.profile-page .button {
  width: 100%;
}
.profile-page .container h1 {
  margin-bottom: 30px;
}
.profile-page .manage-btns {
  width: 90%;
}

@keyframes appear_field {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
/* Styles specific to the home-page */
.home-page {
  background: radial-gradient(circle, #1e1e2e, #151522);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  flex-direction: column;
}

.home-page .container {
  text-align: center;
  background: rgba(30, 30, 46, 0.95);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  max-width: 400px;
  width: 100%;
}

.home-page .container h1 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #62d9fa;
}

.home-page .container .link {
  color: #00d1b2;
  font-size: 1rem;
  margin-bottom: 20px;
}

.home-page .container .button-group {
  margin: 10px 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.home-page .container .dropdown {
  width: 45%;
}

.manage-btns {
  text-align: center;
  background: rgba(30, 30, 46, 0.95);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  max-width: 400px;
  width: 100%;
  margin-bottom: 10px;
  display: flex;
  align-content: space-between;
}

.m-btn {
  margin: 10px auto;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background: #2b2b40;
  color: #ffffff;
  font-size: 1rem;
  text-align: center;
}

.m-btn::after {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-size: 18px;
}

.m-btn.user-profile::after {
  content: "\f007";
}

.m-btn.manage-users::after {
  content: "\f0c0";
}

.m-btn.change-settings::after {
  content: "\f085";
}

.m-btn.page-logout::after {
  content: "\f08b";
}

.m-btn.index::after {
  content: "\f015";
}

label {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
}

.button-group.b-g {
  background: #2b2b40;
  border-radius: 5px;
}

.button-group.b-g > .button {
  background: transparent;
}

.button-group.b-g > .button.chosen {
  background: #3b82f6;
  border-radius: 0px;
}

.button-group.b-g > .button:first-child {
  border-radius: 5px 0px 0px 5px;
}

.button-group.b-g > .button:last-child {
  border-radius: 0px 5px 5px 0px;
}

:root {
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --secondary: #62d9fa;
  --text: #ffffff;
  --background-dark: #1e1e2e;
  --background-light: rgba(30, 30, 46, 0.9);
  --border: rgba(255, 255, 255, 0.1);
  --radius: 8px;
  --transition: all 0.2s ease;
}

.settings-page {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  flex-direction: column;
}
.settings-page .settings-container {
  max-width: 100%;
}
.settings-page .setting-card {
  background: var(--background-light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 0.5rem;
  overflow: hidden;
  transition: var(--transition);
}
.settings-page .setting-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  cursor: pointer;
}
.settings-page .setting-header:hover {
  background: rgba(255, 255, 255, 0.03);
}
.settings-page .setting-name {
  font-weight: 500;
  color: var(--primary);
}
.settings-page .setting-icon {
  transition: transform 0.2s ease;
}
.settings-page .setting-content {
  padding: 0 1rem 1rem 1rem;
  display: none;
}
.settings-page .setting-card.active .setting-content {
  display: block;
}
.settings-page .setting-card.active .setting-icon {
  transform: rotate(180deg);
}
.settings-page .setting-value {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.75rem;
  border-radius: calc(var(--radius) / 2);
  margin: 0.5rem 0;
  cursor: pointer;
  transition: var(--transition);
  font-family: monospace;
}
.settings-page .setting-value:hover {
  background: rgba(59, 130, 246, 0.1);
}
.settings-page .setting-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* Preloader Container */
#preloader {
  position: fixed;
  width: 100%;
  height: 120%;
  background: #1e1e2e;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #ffffff;
  font-size: 20px;
  font-family: Arial, sans-serif;
  z-index: 1000;
  top: 0px;
  left: 0px;
}

/* Loader Animation */
.loader {
  display: flex;
  gap: 10px;
}

.loader span {
  width: 20px;
  height: 20px;
  background: #3b82f6;
  border-radius: 50%;
  animation: bounce 1.5s infinite ease-in-out;
}

.loader span:nth-child(2) {
  animation-delay: 0.2s;
}

.loader span:nth-child(3) {
  animation-delay: 0.4s;
}

/* Bouncing Animation */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}
/* Hide preloader smoothly */
.fade-out {
  opacity: 0;
  transition: opacity 0.6s ease-out;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 15px;
}
.header-actions .create-user-btn {
  padding: 10px 20px;
  background: #3b82f6;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.header-actions .create-user-btn:hover {
  background: #2563eb;
  transform: translateY(-1px);
}
.header-actions .create-user-btn:active {
  transform: translateY(0);
}
.header-actions .create-user-btn::before {
  content: "+";
  font-size: 1.2em;
  padding-top: 1px;
}

/* Base Styles */
.user-management {
  background: rgba(30, 30, 46, 0.95);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.user-management {
  max-width: 400px;
  width: 100%;
  padding: 15px;
  font-family: "Arial", sans-serif;
  background: #1e1e2e;
  color: #ffffff;
  border-radius: 5px;
}
.user-management input, .user-management select, .user-management button {
  border-radius: 5px;
  border: 1px solid #32324d;
  background: rgba(30, 30, 46, 0.9);
  color: #ffffff;
  transition: all 0.2s ease;
}
.user-management input:hover, .user-management select:hover, .user-management button:hover {
  border-color: #3b82f6;
}
.user-management input:focus, .user-management select:focus, .user-management button:focus {
  outline: none;
  box-shadow: 0 0 0 2px #3b82f6;
}

/* Search and Filters */
.search-filters {
  margin-bottom: 15px;
}
.search-filters input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
}
.search-filters .filter-controls {
  display: flex;
  gap: 10px;
}
.search-filters .filter-controls select {
  padding: 8px;
  flex: 1;
}

/* User List */
.user-list {
  height: 500px;
  overflow-y: auto;
  margin-bottom: 15px;
  background: rgba(30, 30, 46, 0.9);
  border-radius: 5px;
}
.user-list .user-card {
  padding: 15px;
  border-bottom: 1px solid #28283d;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}
.user-list .user-card:hover {
  background: #242437;
}
.user-list .user-card .user-info {
  flex: 1;
  margin-right: 15px;
}
.user-list .user-card .user-info .user-name {
  font-weight: 600;
  margin-bottom: 4px;
}
.user-list .user-card .user-info .user-email {
  color: #62d9fa;
  font-size: 0.9em;
  margin-bottom: 8px;
}
.user-list .user-card .user-info .role-select {
  padding: 6px;
  background: #1e1e2e;
  border-radius: 3px;
}
.user-list .user-card .actions {
  position: relative;
}
.user-list .user-card .actions button {
  padding: 6px 12px;
  cursor: pointer;
  background: transparent;
  border: none;
}
.user-list .user-card .actions button:hover {
  color: #3b82f6;
}
.user-list .user-card .actions .action-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 185px;
  background: rgba(30, 30, 46, 0.9);
  border: 1px solid #3b82f6;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  z-index: 100;
}
.user-list .user-card .actions .action-menu div {
  padding: 10px 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.user-list .user-card .actions .action-menu div:hover {
  background: rgba(59, 130, 246, 0.1);
}
.user-list .user-card .actions .action-menu div:first-child {
  border-radius: 5px 5px 0 0;
}
.user-list .user-card .actions .action-menu div:last-child {
  border-radius: 0 0 5px 5px;
}
.user-list .user-card .actions.active .action-menu {
  display: block;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pagination .page-info {
  color: #62d9fa;
  font-size: 0.9em;
}
.pagination .page-controls {
  display: flex;
  gap: 8px;
}
.pagination .page-controls button {
  padding: 8px 14px;
  background: #3b82f6;
  border: none;
}
.pagination .page-controls button:hover {
  background: #2563eb;
}
.pagination .page-controls button:disabled {
  background: #32324d;
  cursor: not-allowed;
}

.custom-modal input, .custom-modal select, .custom-modal button {
  border-radius: 5px;
  border: 1px solid #32324d;
  background: rgba(30, 30, 46, 0.9);
  color: #ffffff;
  transition: all 0.2s ease;
}
.custom-modal input:hover, .custom-modal select:hover, .custom-modal button:hover {
  border-color: #3b82f6;
}
.custom-modal input:focus, .custom-modal select:focus, .custom-modal button:focus {
  outline: none;
  box-shadow: 0 0 0 2px #3b82f6;
}

.modal-container input, .modal-container select, .modal-container button {
  border-radius: 5px;
  border: 1px solid #32324d;
  background: rgba(30, 30, 46, 0.9);
  color: #ffffff;
  transition: all 0.2s ease;
}
.modal-container input:hover, .modal-container select:hover, .modal-container button:hover {
  border-color: #3b82f6;
}
.modal-container input:focus, .modal-container select:focus, .modal-container button:focus {
  outline: none;
  box-shadow: 0 0 0 2px #3b82f6;
}

@media screen and (max-width: 600px) {
  .manage-btns {
    position: fixed;
    bottom: 0px;
    margin: 0px;
    padding: 0px;
    max-width: 100vw !important;
    width: 100% !important;
    left: 0px;
    border-radius: 0px;
    box-shadow: none;
    border-top: 1px solid #32324d;
  }
  .m-btn {
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 0px;
  }
  .m-btn:hover {
    background: #3e3e4f;
  }
  .content {
    position: fixed;
    top: 0px;
    box-shadow: none !important;
    margin: 0px;
    height: calc(100% - 60px);
    display: flex;
    flex-direction: column;
  }
  .user-list {
    flex-grow: 1;
  }
  .login-page .login-container {
    padding: 20px;
    width: 100%;
  }
  .login-page form.login-form {
    width: 100%;
  }
  .manage-btns {
    z-index: 100000;
  }
  .modal-container {
    height: calc(100% - 55px);
    top: 0px !important;
    position: fixed;
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .modal-content {
    flex-grow: 1;
    overflow: auto;
  }
}
/* Variables */
/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #1e1e2e;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Reusable Classes */
.container {
  padding: 20px;
  border-radius: 10px;
  background: rgba(30, 30, 46, 0.9);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  text-align: center;
  width: 90%;
  max-width: 400px;
}

.input-box {
  width: 90%;
  margin: 10px auto;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background: #2b2b40;
  color: #ffffff;
  font-size: 1rem;
  text-align: center;
}

.button {
  background: #3b82f6;
  color: #ffffff;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: calc(100% - 45px);
}

.button:hover {
  background: #2563eb;
  transform: scale(1.05);
}/*# sourceMappingURL=framework.css.map */