:root {
  --bg-light: #f5f7ff;
}

/*--------------------------------------------------------------
0. Typography
----------------------------------------------------------------*/
.elsy-wrapper,
.elsy-wrapper *,
.elsy-wrapper ::after,
.elsy-wrapper ::before {
    box-sizing: border-box;
}

body,
html {
  color: #777777;
  background-color: var(--bg-light);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5em;
  overflow-x: hidden;
}

p,
div {
  margin-top: 0;
  line-height: 1.5em;
}

p {
  margin-bottom: 15px;
}

img {
  border: 0;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #2ad19d;
}

a:hover {
  text-decoration: none;
  color: inherit;
}
small {
  display: inline-block !important;
}
table {
  width: 100%;
  caption-side: bottom;
  border-collapse: collapse;
  text-align: inherit !important;
}

th {
  text-align: inherit;
}

td {
  border-top: 1px solid #eaeaea;
}

td,
th {
  padding: 10px 15px;
  line-height: 1.55em;
}

b,
strong {
  font-weight: bold;
}

h1,
h2 {
  clear: both;
  color: #111111;
  padding: 0;
  margin: 0 0 20px 0;
  font-weight: 500;
  line-height: 1.2em;
}

h1 {
  font-size: 60px;
}

h2 {
  font-size: 48px;
}

/*--------------------------------------------------------------
*. General Style
----------------------------------------------------------------*/

.eq-container {
  max-width: 1300px;
  padding: 30px 15px;
  margin-left: auto;
  margin-right: auto;
  z-index: 10;
}
.eq-container.style1 {
  max-width: 400px;
}
.eq-archive,
.eq-access-box,
.client-profile-card,
.cs-invoice.cs-style1 {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  padding: 30px;
  margin: 30px 0;
  transition: box-shadow 0.3s ease;
}
.eq-access-content form {
  display: flex;
  flex-direction: column;
}
.eq-access-content form label {
  margin-bottom: 5px;
}
.access-box {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
.access-box input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
}
.access-box button {
  padding: 10px 20px;
  background: #0073aa;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
button:hover {
  background: #005177;
}
.entry-title {
  margin: 0 0 10px 0;
  font-size: 32px;
  color: #111c43;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.eq-text_center {
  text-align: center;
}
.eq-border-50percent {
  height: 1px;
  background-color: #f4f5f7;
  width: 100%;
}
.eq-mb5 {
  margin-bottom: 5px;
}
.eq-mb25 {
  margin-bottom: 25px;
}
.actions-cell {
  display: inline-flex;
  gap: 5px;
}
.btn-action {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 0.9rem;
  border: none;
}
.btn-action.view {
  background-color: #0073aa2b;
  color: #0073aa;
}
.btn-action.view:hover {
  background-color: #0073aa;
  color: #fff;
}

.btn-action.edit {
  background: #7a61272b;
  color: #7a6127;
}
.btn-action.edit:hover {
  background-color: #7a6127;
  color: #fff;
}

/*--------------------------------------------------------------
*. Public Toast Notification
----------------------------------------------------------------*/
.elnagah-public-toast {
  position: fixed;
  top: 24px;
  inset-inline-end: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #333;
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  min-width: 260px;
  max-width: 340px;
  z-index: 99999;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.21, 1.02, 0.73, 1);
}
.elnagah-public-toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Type variants */
.elnagah-public-toast--error   { border-inline-start: 4px solid #e53e3e; }
.elnagah-public-toast--success { border-inline-start: 4px solid #38a169; }
.elnagah-public-toast--warning { border-inline-start: 4px solid #d69e2e; }

/* Icon */
.elnagah-public-toast__icon { font-size: 18px; flex-shrink: 0; }
.elnagah-public-toast--error   .elnagah-public-toast__icon::before { content: "❌"; }
.elnagah-public-toast--success .elnagah-public-toast__icon::before { content: "✅"; }
.elnagah-public-toast--warning .elnagah-public-toast__icon::before { content: "⚠️"; }

/* Text */
.elnagah-public-toast__text { flex: 1; }

/* Close button */
.elnagah-public-toast__close {
  margin-inline-start: auto;
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  font-size: 16px;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
}
.elnagah-public-toast__close:hover { color: #333; background: none; }

/* Progress bar */
.elnagah-public-toast__bar {
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  height: 3px;
  width: 100%;
  border-radius: 0 0 10px 10px;
  transform-origin: inline-start;
  transform: scaleX(0);
}
.elnagah-public-toast--error   .elnagah-public-toast__bar { background: #e53e3e; }
.elnagah-public-toast--success .elnagah-public-toast__bar { background: #38a169; }
.elnagah-public-toast--warning .elnagah-public-toast__bar { background: #d69e2e; }
.elnagah-public-toast.is-visible .elnagah-public-toast__bar {
  animation: elnagah-toast-bar var(--elnagah-toast-duration, 4000ms) linear forwards;
}
@keyframes elnagah-toast-bar {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}

@media (max-width: 767px) {
  .eq-container {
    padding: 15px 10px;
  }
  .eq-archive,
  .eq-access-box {
    padding: 15px 10px;
    margin: 15px 0;
  }
  .entry-title {
  font-size: 30px;
  }
}