/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
 /* Fonts */
@font-face {
  font-family: 'Archivo-Variable';
  src: url("/assets/Archivo-Variable-af849c73.ttf") format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'EpundaSans-Variable';
  src: url("/assets/EpundaSans-Variable-f9cfc436.ttf") format('truetype');
  font-display: swap;
}
 * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 17px;
  line-height: 17px;
}

body {
  position: relative;

  min-height: 100vh;
  min-width: 100vw;

  background-color: var(--bg); /* keep main bg color */
  color: var(--text);
  transition: all 0.5s ease;

  font-family: 'EpundaSans-Variable';
}

/* Brick wall overlay using ::before */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-top: var(--titlebar-height);

  background-image: url("/assets/brick-wall-texture-be5ff287.svg");
  background-repeat: repeat;
  background-size: auto; /* adjust if needed */

  opacity: 0.1; /* adjust the transparency */
  z-index: -1; /* stay behind all content */

  pointer-events: none; /* make sure it doesn't block clicks */
}
h1, h2{
  font-size: 1.5rem;
  line-height: 2rem;
  margin: 0.8rem;
}
h1, h2, h3, h4{
  color: var(--major-link);
}
p{
  margin: 0.3rem;
}
strong{
  margin: 0.3rem;
  font-size: 1.2rem;
}
form {
  width: 100%;
  max-width: 22rem;
  min-width: 16rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

 label {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  color: var(--text);
}
tr{
  background: var(--bg);
}
tr:hover{
  background: var(--major-link);

}
td{
  padding: auto;

}

.field input:not([type="checkbox"]):not([type="radio"]),
.field textarea,
.field select {
  /* width: 100%; */
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
  line-height: 1.2;

  border-radius: 0.5rem;
  border: 1px solid var(--border);

  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent);
}

.field input[type="checkbox"] {
  margin: 0;
}

.field:has(input[type="checkbox"]) {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.actions {
  margin-top: 0.5rem;
}

.actions input[type="submit"]:active {
  transform: translateY(1px);
}

.field br {
  display: none;
}

.tiny-square-image{
  height: 2rem;
}
.tiny-square-image-1{
  height: 1rem;
}
.red-text{
  background: #ff6666;
}
.home-image-large img{
  height: 6rem;
}
.glassy-card{
  backdrop-filter: blur(1px) saturate(72%);
  -webkit-backdrop-filter: blur(1px) saturate(72%);
  background-color: rgba(17, 25, 40, 0.29);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.125);
  padding: 1rem 0.7rem;
  margin: 0.4rem 0.8rem;
}
.home-intro{
  backdrop-filter: blur(1px) saturate(72%);
  -webkit-backdrop-filter: blur(1px) saturate(72%);
  background-color: rgba(17, 25, 40, 0.29);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.125);

  padding: 1rem 0.5rem;
  width: 50%;
  margin: auto;


  font-family: 'Archivo-Variable';

  margin-bottom: 3rem;

}
.home-intro span{
  font-size: 1.4rem;
  line-height: 2rem;
  font-weight: 600;
  margin: 1rem;
  padding:0.5rem;
}
.home-intro li {
  position: relative;
  padding-left: 1.8rem;
  opacity: 0.75;
  line-height: 1.6;
}

.home-intro li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2.2rem;
  width: 1rem;
  height: 1rem;

  background-image: url("/assets/tick-9f1767ba.svg");
  background-repeat: no-repeat;
  background-size: contain;
}
.home-intro img{
  /* list-style-type: none; */
  height: 0.5rem;
}
.home-intro ul{
  list-style: none;
  margin: 1rem;
}
.in-active{
  opacity: 0.2;
  pointer-events: none;
  filter: grayscale(100%);
}
.glass-margin-top{
  padding-top: 6rem;
}
.tiny-round-margin{
  margin: 0.3rem;
}
.center-wrapper {
  min-height: 100vh;     /* full viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
}
.glassy-top{
  backdrop-filter: blur(1px) saturate(72%);
  -webkit-backdrop-filter: blur(1px) saturate(72%);
  background-color: rgba(17, 25, 40, 0.29);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.125);

  padding: 0.5rem 0.5rem;

  position: fixed;
  top: 0.1rem;
  width: 100vw;
}
.centered-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  backdrop-filter: blur(1px) saturate(72%);
  -webkit-backdrop-filter: blur(1px) saturate(72%);
  background-color: rgba(17, 25, 40, 0.29);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.125);

  padding: 1rem 0.5rem;
  overflow: hidden;
}
.list-card{
  backdrop-filter: blur(1px) saturate(72%);
  -webkit-backdrop-filter: blur(1px) saturate(72%);
  background-color: rgba(0, 150, 255, 0.17);
  border-radius: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.125);

  padding: 0.3rem 0.2rem;
  margin: 0.5rem 0.3rem;

  width: 100%;

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  align-content: space-between;
}
.list-card img{
  height: 3rem;
  background-color: rgba(0, 255, 150, 0.1);
  padding:0.2rem;
}
.list-card span{
  display: block;
  font-weight: bold;
  line-height: 1.4rem;
  margin: 0.3rem;
  /* max-width: 25ch; */
}
.select-area{
  display: flex;
  flex-direction: row;
  justify-content: flex-start;

  gap: 1rem;
  align-items: center;
}

.row-wrap{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.row-start{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}
.row-edge{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.column-wrap{
  display: flex;
  flex-direction: column;
}

.professions-container {
  display: flex;
  gap: 2rem;
  max-width: 90vw;
  margin: 0 auto;
  padding: 1.5rem;
  min-height: 100vh;
}

.sidebar {
  width: 240px;
  flex-shrink: 0;

  position: sticky;
  top: 1.5rem;
  align-self: start;

  max-height: calc(100vh - 3rem);
  overflow-y: auto;
}

.sidebar h2 {
  margin-top: 0;
  font-size: 1.4rem;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar a {
  display: block;
  padding: 0.75rem 1rem;
  margin-bottom: 0.35rem;
  text-decoration: none;
  color: var(--text);
  border-radius: 6px;
  line-height: 1.2rem;
}

.sidebar a:hover {
  background: inherit;
}

.sidebar a.active {
  background: inherit;
  color: var(--text);
  font-weight: 600;
}

.content {
  flex: 1;
}

.professions-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.profession-item {
  /* Your existing list-card styles should go here */
}

.show-link {
  margin-top: 0.8rem;
  text-align: center;
}

.empty-message {
  color: #666;
  font-style: italic;
  margin-top: 2rem;
}

[data-dashboard-target="panel"] {
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.onboarding-steps.hidden {
  display: none;
}

.onboarding-steps ul {
  margin-top: 1rem;
  margin-left: 30%;

  backdrop-filter: blur(1px) saturate(72%);
  -webkit-backdrop-filter: blur(1px) saturate(72%);
  background-color: rgba(17, 25, 40, 0.29);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.125);

  padding: 0.5rem;
}

.onboarding-steps li {
  cursor: pointer;
}

.onboarding-steps li.done {
  opacity: 0.6;
  font-weight: normal;
  background: var(--bg);
}
.onboarding-steps li.pending {
  background: var(--minor-link);
  font-weight: 600;
}

.onboarding-steps li.pending:hover {
  background: inherit;
}
.onboarding-steps-list{
  max-width: 30rem;
}
.credential-form {
  margin-top: 1.5rem;
}

.credential-list {
  list-style: none;
  padding: 0;
}

.credential-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-direction: column;
}

/* SITE WORKFLOW OVERLAY */
.site-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

/* DARK BACKDROP */
.site-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* MODAL CARD */
.site-workflow-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  padding: 1.5rem;

  backdrop-filter: blur(1px) saturate(72%);
  -webkit-backdrop-filter: blur(1px) saturate(72%);
  background-color: rgba(17, 25, 40, 0.29);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.125);
}

/* CLOSE BUTTON (reuse invite modal style) */
.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

/* FORM SPACING */
.site-workflow-card .field {
  margin-bottom: 1rem;
}

/* Prevent background scroll */
.no-scroll {
  overflow: hidden;
}

/* Overlay */
.activity-modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--shadow);
  z-index: 40;
}

/* Modal container */
.activity-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg);
  width: 420px;
  max-width: 90%;
  padding: 1rem;
  border-radius: 12px;
  z-index: 50;
}

/* Header */
.activity-modal-header {
  border-bottom: 1px solid #eee;
  margin-bottom: 0.75rem;
}

/* Body */
.activity-modal-body {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0;
  max-height: 50vh;
  overflow-y: auto;
}

/* Footer */
.activity-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

/* Sub-activity row */
.sub-activity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Sticky dock */
.activity-dock {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9000;
}

/* Button */
.activity-dock-button {
  background: var(--major-link);
  color: var(--text);
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 12px 40px rgba(0,0,0);
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
}

/* Summary popup */
.activity-dock-summary {
  margin-top: 0.5rem;
  background: var(--bg);
  /* width: 40vw; */
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  padding: 1rem;
  z-index: 9;
}

/* Grouping */
.activity-group {
  margin-bottom: 0.75rem;
}

.activity-group h5 {
  margin-bottom: 0.25rem;
}

/* Selected row */
.activity-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

/* Footer */
.activity-dock-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}
.listing{
  margin: 0.3rem;
}
th, td {
  padding: 10px;
}
.table-image{
  width: 2rem;
}
