:root {
  --color-light-gray: #f1f2f7;
  --color-light-gray-2: #eee;
  --heading-primary: #333;
  --color-dark-gray-2: #767676;
  --color-dark-gray: #2e353c;
  --primary-size: 1.5rem;
  --text-size: 1.3rem;
  --border-radius: 1rem;
  
  
  --dominant-color: white;
  --event-color: white;
  --table-haed: #f3f2f2;
  --shadow-color: #dfdddd;

  --edit-icon-stroke: #fd9967;
  --edit-icon-bg: #ffefe7;
  
  --view-icon-stroke: #60bdf7;
  --view-icon-bg: #d9effd;

  --delete-icon-stroke: #f2426d;
  --delete-icon-bg: #fae7ed;

  --pay-icon-stroke: #10b981;

  
  --active-hover-color: #f0ecff;
  --shadow: 0rem 1rem 4rem var(--shadow-color);
  --event-text-color: #333;

  --row-hover-color: #f6f3f3;
  --selection-color: #643dff;
}

.night {
  --action-icon-brightness: brightness(180%);
  --dominant-color: #121822;
  --secondary-color: #1c1f2a;
  --body-bg: #0a0f1c;

  --primary-text-color: #fff;

  --edit-icon-stroke: #fd9967;
  --view-icon-stroke: #60bdf7;
  --delete-icon-stroke: #f2426d;

  --shadow-color: #141824;
  --active-hover-color: #0c0e12;

  --delete-icon-bg: transparent;
  --view-icon-bg: transparent;
  --edit-icon-bg: transparent;
  --color-dark-gray: #2e353c;
  --color-dark-gray-2: #767676;
  --shadow: 0rem 1rem 4rem var(--shadow-color);

  /* TABLE COLORS */
  --table-haed: #dcdcdc;
  --row-hover-color: #1a2447;

  /* RECENT ACTIONS COLORS */
  --row-deleted-color: #160306;
  --font-color-deleted-row: #97132c;

  --row-added-color: #061411;
  --font-color-added-row: #35a28d;
  --font-color-edited-row: #b87d34;
  --row-edited-color: #1e1c1f;

  /* ---------------------------- */
  --input-color: #0c0e12;



  /* --action-color: #643dff; */
  --action-color: #5a4dff;
  --color-border: #374151;
  --selection-color: var(--action-color);
  --border-radius: 0.5rem;

  /* ---------------------------- */
  --color-green: #35a28d;
  --color-red: #97132c;
  --color-error: #8a0019;
  --color-yellow: #b87d34;

  /* Background Event Colors */
  --color-bg-red: #160306;
  --color-bg-green: #061411;
  --color-bg-yellow: #1e1c1f;
  --border: 0.1rem solid #1f2a3b;

    --chart-text-color: #ffffff;
  --chart-grid-color: rgba(255, 255, 255, 0.12);
  --selected-row-color: #244d36;

}


.day {
  --action-icon-brightness: brightness(100%);
  --dominant-color: #Ffffff; /* Light gray-blue base */
  --secondary-color: #ffffff; /* Pure white for contrast */

  --primary-text-color: #2d3748; /* Dark gray-blue for text */
  --body-bg: #eef2f7;

  --shadow-color: #e2e8f0;
  --active-hover-color: #edf2f7;

  /* Action icons now have light backgrounds */
  --delete-icon-bg: #fee2e2;
  --view-icon-bg: #e0e7ff;
  --edit-icon-bg: #ecfccb;
  --color-dark-gray: #718096;
  --color-dark-gray-2: #4a5568;

  /* TABLE COLORS */
  --table-haed: #1a365d; /* Dark blue for headers */
  --row-hover-color: #ebf8ff; /* Light blue hover */

  /* RECENT ACTIONS COLORS */
  --row-deleted-color: #fff5f5;
  --font-color-deleted-row: #e53e3e;

  --row-added-color: #f0fff4;
  --font-color-added-row: #38a169;
  --row-edited-color: #fffaf0;
  --font-color-edited-row: #dd6b20;
  --pay-icon-bg: #d1fae5;      

  /* ---------------------------- */
  --input-color: #eff3f1;

  --action-color: #4299e1; /* Bright blue for actions */
  --color-border: #cbd5e0;
  --selection-color: #90cdf4;
  --border-radius: 0.5rem;

  /* ---------------------------- */
  --color-green: #38a169;
  --color-red: #e53e3e;
  --color-error: #c53030;
  --color-yellow: #d69e2e;

  /* Background Event Colors */
  --color-bg-red: #fff5f5;
  --color-bg-green: #f0fff4;
  --color-bg-yellow: #fffaf0;
  --border: 0.1rem solid var(--color-border);
    --chart-text-color: #2d3748;
  --chart-grid-color: rgba(45, 55, 72, 0.14);

  --selected-row-color: #d9f7e3;
}
.dashboard-main-chart {
  position: relative;
  width: 100%;
  height: 32rem;
}

.dashboard-main-chart canvas {
  width: 100% !important;
  height: 100% !important;
}

::selection {
  background-color: var(--selection-color);
  color: white;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: sans-serif;
}

/* Glowy Modern Scrollbar */
/* Light & Dark Theme Compatible */

/* Webkit Scrollbar (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
  margin: 4px 0;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    var(--action-color) 0%,
    var(--selection-color) 50%,
    var(--action-color) 100%
  );
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 0 8px var(--selection-color),
    0 0 16px rgba(100, 61, 255, 0.3),
    inset 0 0 4px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    var(--selection-color) 0%,
    var(--action-color) 50%,
    var(--selection-color) 100%
  );
  box-shadow: 
    0 0 12px var(--selection-color),
    0 0 24px rgba(100, 61, 255, 0.5),
    0 0 40px rgba(100, 61, 255, 0.2),
    inset 0 0 6px rgba(255, 255, 255, 0.3);
}

::-webkit-scrollbar-thumb:active {
  box-shadow: 
    0 0 6px var(--selection-color),
    0 0 12px rgba(100, 61, 255, 0.4),
    inset 0 0 3px rgba(255, 255, 255, 0.15);
}

::-webkit-scrollbar-button {
  display: none;
}

::-webkit-scrollbar-corner {
  background: transparent;
}


/* Firefox Scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--action-color) transparent;
}

/* ----------------------------
    PAGE CONTAINER
-------------------------------*/

.page-container {
  width: 100%;
  display: flex;
  position: relative;
}

html {
  font-size: 62.5%;
}

@media only screen and (max-width: 75em) {
  html {
    font-size: 60%;
  }
}

@media only screen and (max-width: 56.25em) {
  html {
    font-size: 58%;
  }
}

@media only screen and (max-width: 37.5em) {
  html {
    font-size: 56.25%;
  }
}

@media only screen and (min-width: 112.5em) {
  html {
    font-size: 68.75%;
  }
}
body {
  background-color: var(--dominant-color);
  background-color: var(--body-bg);
  position: relative;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--color-dark-gray-2);
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--dominant-color);
  color: var(--color-light-gray-1);
  padding: 1rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0rem;
  z-index: 1;
  /* border: 1px solid var(--color-border); */
  border: var(--border);
  border-left: none;

}

.toggle-icon {
  width: 2.5rem;
  height: 2.5rem;
  fill: var(--primary-text-color);
}

.sidebar-toggle,
.sidebar-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-text-color);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.sidebar-toggle {
  width: 4rem;
  height: 4rem;
  border-radius: calc(var(--border-radius) + 0.2rem);
}

.sidebar-toggle:hover,
.sidebar-close:hover {
  background-color: var(--active-hover-color);
}

.sidebar-toggle:focus-visible,
.sidebar-close:focus-visible {
  outline: 0.2rem solid var(--action-color);
  outline-offset: 0.2rem;
}

.sidebar-close {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.theme-toggle {
  display: inline-flex;
  width: 3.8rem;
  height: 3.8rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--primary-text-color);
  background: transparent;
  border: 0;
  border-radius: calc(var(--border-radius) + 0.2rem);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.theme-toggle:hover {
  background-color: var(--active-hover-color);
}

.theme-toggle:focus-visible {
  outline: 0.2rem solid var(--action-color);
  outline-offset: 0.2rem;
}

.theme-toggle__icon {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}

.org-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: var(--dominant-color);
  padding: 1.4em;
}

/* ----------------------------
    UTILITES
-------------------------------*/

.u-margin-top-3 {
  margin-top: 3rem;
}

.u-margin-bottom-3 {
  margin-bottom: 3rem;
}

.hidden {
  display: none;
}

/* ----------------------------
    ORGANIZATION NAME
-------------------------------*/

.org-logo {
  width: 3rem;
  height: 3rem;
  padding: 0.5rem;
  fill: none;
  background-color: var(--action-color);
  border-radius: 50%;
  stroke: var(--primary-text-color);
}

.org-logo-image {
  width: 4rem;
  height: 4rem;
  padding: 0.5rem;
  fill: none;
  border-radius: 50%;
  stroke: var(--primary-text-color);
}

.heading-primary {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.heading-primary span {
  font-size: var(--primary-size);
  color: var(--primary-text-color);
}

.heading-secondary {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-text-color);
}

.heading-tertiary {
  font-size: 1.8rem;
  color: var(--primary-text-color);
}

/* -----------------------------
    USER CREDENTAILS
-------------------------------- */

.user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  color: var(--primary-text-color);
}

.user-image {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
}

.dropdown__icon {
  width: 2rem;
  height: 2rem;
}

/* ------------------------------
    MAIN CONTAINER
--------------------------------- */
.main-container {
  width: 100%;
}

.main-content {
  padding: 2rem;
  min-width: 85%;
  overflow-x: auto;
}

.page-name span:last-child {
  color: var(--action-color);
  font-weight: 600;
}

.page-name {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 0.3rem;
  color: var(--primary-text-color);
}

.page-discription {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.add-event-button {
  color: white;
  border-radius: 0.8rem;
  background-color: var(--action-color);
  font-size: var(--text-size);
  padding: 1rem 2rem;
  transition: all 0.3s;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.add-event-button span {
  font-size: 1.5rem;
}

.add-event-button:hover {
  transform: translateY(-0.2rem);
  filter: brightness(1.1);
  background-color: var(--action-color);
}

.add-event-button:active {
  transform: translateY(0.1rem);
}

.mobile-page-actions {
  display: contents;
}

.mobile-page-actions__summary {
  display: none;
}

.mobile-page-actions__menu {
  display: contents;
}

@media (max-width: 37.5em) {
  .page-discription {
    align-items: flex-start;
    gap: 1rem;
  }

  .mobile-page-actions {
    position: relative;
    z-index: 20;
    display: block;
    flex: 0 0 auto;
  }

  .mobile-page-actions__summary {
    display: inline-flex;
    min-height: 4rem;
    padding: 0.8rem 1.1rem;
    align-items: center;
    gap: 0.7rem;
    border: 0;
    border-radius: 0.9rem;
    color: white;
    background: var(--action-color);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    user-select: none;
  }

  .mobile-page-actions__summary::-webkit-details-marker {
    display: none;
  }

  .mobile-page-actions__summary::after {
    width: 0.65rem;
    height: 0.65rem;
    border-right: 0.15rem solid currentColor;
    border-bottom: 0.15rem solid currentColor;
    content: "";
    transform: rotate(45deg) translateY(-0.15rem);
    transition: transform 0.2s ease;
  }

  .mobile-page-actions[open] .mobile-page-actions__summary::after {
    transform: rotate(225deg) translateY(-0.15rem);
  }

  .mobile-page-actions__menu {
    position: absolute;
    top: calc(100% + 0.7rem);
    right: 0;
    display: flex;
    width: max-content;
    min-width: min(23rem, calc(100vw - 3rem));
    max-width: calc(100vw - 3rem);
    padding: 0.6rem;
    flex-direction: column;
    gap: 0.5rem;
    border: var(--border);
    border-radius: 1.1rem;
    background: var(--secondary-color);
    box-shadow: 0 0.8rem 2.4rem rgba(0, 0, 0, 0.18);
  }

  .mobile-page-actions__menu > .flex {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .mobile-page-actions__menu .add-event-button {
    width: 100%;
    min-height: 4.2rem;
    padding: 0.9rem 1.1rem;
    justify-content: flex-start;
    border-radius: 0.75rem;
    white-space: normal;
  }
}

/* ------------------------------
    SIDEBAR
--------------------------------- */

.sidebar {
  width: 25rem;
  background-color: var(--dominant-color);
  height: 100vh;
  box-shadow: var(--shadow);
  overflow-y: scroll;
  transition: all 0.2s;
  position: sticky;
  top: 0;
  left: 0;
  /* border: 1px solid var(--color-border); */
  border: var(--border);
  overflow-x: hidden;


}

.sidebar.close {
  width: 0rem;
}

.sidebar ul {
  margin-top: 3rem;
  list-style: none;
}

.sidebar ul li {
  color: var(--primary-text-color);
  font-size: 1.2rem;
  padding: 2rem 2rem;
  transition: all 0.1s;
}

.sidebar ul li:hover {
  color: var(--action-color);
  font-weight: 600;
  cursor: pointer;
  background-color: var(--active-hover-color);
  transform: translateX(0.5rem);
}

.sidebar ul:last-of-type {
  margin-top: 30rem;
}

.sidebar-form,
.sidebar-button {
  width: 100%;
}

.sidebar-button {
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.sidebar-button-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-text-color);
  font-size: 1.2rem;
  padding: 2rem;
  transition: all 0.1s;
}

.sidebar-button-content:hover {
  color: var(--action-color);
  font-weight: 600;
  background-color: var(--active-hover-color);
  transform: translateX(0.5rem);
}

.active {
  color: var(--action-color) !important;
  font-weight: 600;
  background-color: var(--active-hover-color);
  transform: translateX(0.5rem);
}

/* --------------------------------
      ICONS
----------------------------------- */

.list_icon.action_icon-edit {
  stroke: var(--edit-icon-stroke);
  background-color: var(--row-edited-color);
  padding: 0.3rem;
  border-radius: 0.4rem;
  width: 2rem;
  height: 2rem;
  stroke-width: 0.2rem;
  border: 0.1rem solid var(--edit-icon-stroke);
}

.list_icon:hover {
  filter: var(--action-icon-brightness);
  transform: scale(1.05);
}

.list_icon.action_icon-view {
  stroke: var(--view-icon-stroke);
  background-color: var(--view-icon-bg);
  padding: 0.3rem;
  border-radius: 0.4rem;
  width: 2rem;
  height: 2rem;
  stroke-width: 0.2rem;
  border: 0.1rem solid var(--view-icon-stroke);
}

.list_icon.action_icon-delete {
  stroke: var(--delete-icon-stroke);
  background-color: var(--delete-icon-bg);
  padding: 0.3rem;
  border-radius: 0.4rem;
  width: 2rem;
  height: 2rem;
  stroke-width: 0.2rem;
  border: 0.1rem solid var(--delete-icon-stroke);
}
.list_icon.action_icon-pay {
  stroke: var(--pay-icon-stroke);
  background-color: var(--pay-icon-bg);
  padding: 0.3rem;
  border-radius: 0.4rem;
  width: 2rem;
  height: 2rem;
  stroke-width: 0.2rem;
  border: 0.1rem solid var(--pay-icon-stroke);
}

.list_icon.action_icon-approve {
  stroke: var(--color-green);
  background-color: var(--view-icon-bg);
  padding: 0.3rem;
  border-radius: 0.4rem;
  width: 2rem;
  height: 2rem;
  stroke-width: 0.2rem;
  border: 0.1rem solid var(--color-green);
}

.list_icon.action_icon-cancel {
  stroke: var(--color-error);
  background-color: var(--delete-icon-bg);
  padding: 0.3rem;
  border-radius: 0.4rem;
  width: 2rem;
  height: 2rem;
  stroke-width: 0.2rem;
  border: 0.1rem solid var(--color-error);
}

.list_icon {
  fill: none;
  stroke: var(--color-dark-gray-2);
  stroke-width: 0.3rem;
  width: 1.3rem;
  height: 1.3rem;
  margin-right: 0.5rem;
}

.sidebar ul li:hover .list_icon {
  stroke: var(--action-color);
}

.sidebar ul li.active .list_icon {
  stroke: var(--action-color);
}

/* ---------------------
    EVENTS
------------------------ */

.events {
  width: 100%;
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.event {
  flex-grow: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  width: 24%;
  height: 12rem;
  background-color: var(--secondary-color);
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
  transition: all 0.3s;
  color: white !important;
}

.event h2 {
  color: white !important;
}

.event:hover {
    box-shadow: 
        0 0 0.1rem #00ffc8,
        0 0 0.1rem #00ffc8,
        0 0 0.1rem #00ffc8,
        0 0 1rem #00ffc8;
}
.event--4 {
  background: linear-gradient(270deg, #f16e15,#ab411a);
}
.event--3 {
  background: linear-gradient(270deg, #a351f0,#6e25a6);
}
.event--2 {
  background: linear-gradient(270deg, #21bd5a,#1b723e);
}
.event--1 {
  background: linear-gradient(270deg, #387ced,#274cb0);
}

.event--1:hover {
    box-shadow: 
        0 0.6rem 2rem rgba(56, 124, 237, 0.25),
        0 0 2.5rem rgba(56, 124, 237, 0.15);
    transform: translateY(-0.3rem);
}
.event--2:hover {
    box-shadow: 
        0 0.6rem 2rem rgba(33, 189, 90, 0.25),
        0 0 2.5rem rgba(33, 189, 90, 0.15);
    transform: translateY(-0.3rem);
}
.event--3:hover {
    box-shadow: 
        0 0.6rem 2rem rgba(163, 81, 240, 0.25),
        0 0 2.5rem rgba(163, 81, 240, 0.15);
    transform: translateY(-0.3rem);
}
.event--4:hover {
    box-shadow: 
        0 0.6rem 2rem rgba(241, 110, 21, 0.25),
        0 0 2.5rem rgba(241, 110, 21, 0.15);
    transform: translateY(-0.3rem);
}

.chart {
  width: 8rem;
  height: 8rem;
}

/* ------------------------
    RECENT ACTIONS
--------------------------- */

.recent-actions {
  padding: 0.5rem;
  background-color: var(--secondary-color);
  box-shadow: var(--shadow);
  width: 100%;
  margin-top: 3rem;
  max-height: 40rem;
  overflow: scroll;
  border-radius: var(--border-radius);
}

/* --------------------------------
    MEDIA QUERIES
-----------------------------------*/

@media only screen and (max-width: 56.25em) {
  html {
    font-size: 50%;
  }
}
@media only screen and (max-width: 75em) {
  html {
    font-size: 56.25%;
  }
}
@media only screen and (min-width: 112.5em) {
  html {
    font-size: 75%;
  }
}

@media (max-width: 55.625em) {
  .sidebar {
    position: absolute;
    inset: 0;
    z-index: 100;
    width: 100%;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-100%);
    transition:
      transform 0.2s ease,
      visibility 0s linear 0.2s;
  }
  [dir="rtl"] .sidebar {
    transform: translateX(100%);
  }
  .sidebar.open {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition:
      transform 0.2s ease,
      visibility 0s linear 0s;
  }
  .sidebar-close {
    display: inline-flex;
    flex: 0 0 4rem;
    width: 4rem;
    height: 4rem;
    border-radius: calc(var(--border-radius) + 0.2rem);
    font-size: 3rem;
    line-height: 1;
  }
  body.sidebar-open {
    overflow: hidden;
  }
  .detail-container {
    grid-template-columns: 1fr;
  }
  .event {
    width: 48%;
  }
  /* .events {
    flex-direction: column;
  } */
}

@media (max-width: 37.5em) {
  .table-container tbody td.table-actions {
    justify-content: flex-start;
    gap: 1rem;
  }

  .table-container tbody td.table-actions::before {
    margin-inline-end: auto;
  }

  .table-container .table-actions a + a {
    margin-left: 0;
  }
}

@media (max-width: 20em) {
  .event {
    width: 100%;
  }
}

/* ---------------------------------
    TABLE
------------------------------------ */

.table-container {
  width: 100%;
  max-height: 50rem;
  overflow: auto;
  background-color: var(--secondary-color);
  box-shadow: var(--shadow);
  border-radius: 0.7rem;
  font-size: 1.1rem;
}

.table-container table {
  text-align: left;
  width: 100%;
  border-collapse: collapse;
}

.table-container table thead {
  position: sticky;
  top: 0;
  left: 0;
  color: var(--color-dark-gray-2);
  border-bottom: 0.2rem solid var(--table-haed);
  background-color: var(--secondary-color);
}

.table-container table thead tr > * {
  padding: 1.3rem;
}

.table-container tr > * {
  padding: 0.9rem;
  padding-left: 1.3rem;
  color: var(--primary-text-color);
}

.table-container table tbody tr th {
  text-align: center;
}

.table-container table tbody tr:hover {
  background-color: var(--row-hover-color);
}

.table-header {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  background-color: var(--secondary-color);
  display: flex;
}

/* ------------------------
    FILTERS
---------------------------*/

.filter {
  width: auto;
  gap: 1rem;
  display: flex;
  align-items: center;
}

.filter input {
  padding: 0.7rem;
  border-radius: 0.5rem;
  color: var(--primary-text-color);
  caret-color: var(--action-color);
  outline: none;
  border: none;
  background-color: var(--input-color);
  border: 0.05rem solid transparent;
}

.filter input:focus {
  border: 0.05rem solid var(--action-color);
}

.filter-icon {
  stroke: white;
}

.filter-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  padding-left: 0.2rem;
  background-color: var(--action-color);
  border-radius: 0.5rem;
}

/* ---------------------------------
      ACTION ROWS 
------------------------------------*/

.recent-actions p {
  border-radius: 0.3rem;
  padding: 1rem 2rem;
  font-size: var(--text-size);
  color: white;
  margin-top: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.delete {
  border: 0.1rem solid var(--delete-icon-stroke);
  color: var(--font-color-deleted-row) !important;
  background-color: var(--row-deleted-color);
}

.update {
  border: 0.1rem solid var(--edit-icon-stroke);
  background-color: var(--row-edited-color);
  color: var(--font-color-edited-row) !important;
}

.add {
  border: 0.1rem solid var(--font-color-added-row);
  background-color: var(--row-added-color);
  color: var(--font-color-added-row) !important;
}

.line {
  width: 100%;
  height: 0.1rem;
  background-color: var(--color-dark-gray);
  margin: 0.5rem 0
}

td.no-select {
  pointer-events: none;
  opacity: .5;
}
.input-td {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.3rem !important;
  /* accent-color: var(--color); */
}

.input-td input {
  width: 2rem;
  height: 4rem;
}

.table-actions {
  /* white-space: nowrap; */
  display: flex;
  gap: 1rem;
}

.table-actions a + a {
  margin-left: 0.4rem;
}

.permission-row {
  cursor: pointer;
}

.permission-row input[type="checkbox"] {
  width: auto;
  cursor: pointer;
}

.pagination {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.pagination .submit-btn {
  width: auto;
  flex-grow: 0;
}

.pagination-current {
  filter: brightness(1.35);
}

.security-note {
  color: var(--primary-text-color);
  padding: 1rem;
}

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 2rem;
}

.login-panel {
  max-width: 52rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.no-style-button {
  background: transparent !important;
  border: none;

  padding: 0;
  cursor: pointer;
}

.white-color {
  color: var(--color-light-gray)
}

.view-link {
  color: var(--action-color) !important;
}
