body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}


sidebar {
    width: 200px;
    background: #f4f4f4;
    padding: 1rem;
    float: left;
    height: 100vh;
    box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.1);
}

main {
    width: 80%;
    flex: 1;
    margin-left: 0px;
    margin-bottom: 100px;
    padding: 0rem;
    display: flex;
    flex-wrap: wrap;
    overflow-y: auto; /* Activa el scroll vertical si el contenido es mayor */
}

footer {
    background-color: #3D3D3D;
    color: white;
    text-align: center;
    padding: 1rem 0rem;
    bottom: 0;
    height: 50px;
    width: 100%
}

.calculator {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem auto;
    max-width: 400px;
    min-width: 30%;
}

.calculator input {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 50%;
    box-sizing: border-box; /* Asegura que el ancho incluye relleno y borde */
}

.calculator option {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.calculator select {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 50%;
    box-sizing: border-box; /* Asegura que el ancho incluye relleno y borde */
}

.calculator button {
    padding: 0.7rem;
    background-color: #002E59;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.calculator button:hover {
    background-color: #012445;
}

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.form-subgroup {
    display: block;
    align-items: center;
    margin-bottom: 0px;
}

label {
    margin-right: 0px; /* Espacio entre el texto y el desplegable */
    font-weight: bold; /* Opcional, para resaltar el texto */
    width: 50%;
}

#conductounion {
    font-weight: bolder;
    font-size: larger;
    text-decoration: underline;
    margin-bottom: 1rem;
}


@media (max-width: 875px) {
    /*
    sidebar {
        display: none;
    }
    */
    main {
        width: 100%;
        display: inline-block;
    }
    #fileContent{
        padding: 0% 0%;
    }
    #results{
        padding: 0rem;
    }
 
}
@media (max-width: 1600px) {
    main {
        width: 100%;
    }
}

#results {
    width: 100%;
    height: auto;
    margin-top: 1rem;
    padding: 5rem;
    background-color: #f9f9f9d6;
    border-top: 2px solid #ccc;
    display: none; /* Inicialmente oculto */
    /*text-align: center;*/
}
#results h1,h2,h3 {
    text-align: center;
}
#results button {
    padding: 0.7rem;
    background-color: #002E59;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}
nav{
    width: 50%;
    border: 1px solid #666;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    flex-wrap: no-wrap;
    text-align: center;
}
nav input{ display: none; }
nav label{
    font-family: sans-serif;
    padding: 10px 2px;
    border-right: 1px solid #ccc;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.8rem;
}
nav label:last-of-type{ border-right: 0; }
nav label:hover{
    background: #eee;
}
nav input:checked + label{
    background: #becbff;
}


#imageContainerCodos{
    margin-right: auto;
    position: relative;
    width: auto;
}
#imageContainerDWunion {
    position: absolute;
    top: 50%; /* Posición vertical centrada */
    left: 80%; /* Posición horizontal centrada */
    /*transform: translate(-50%, -50%); /* Ajusta para centrar exactamente */
    width: 45%; /* Ajusta el tamaño al gusto */
    height: 45%; /* Ajusta el tamaño al gusto */
    pointer-events: none; /* Opcional: Evita interferencias con clics */
}
#imageContainerDWchimenea {
    position: absolute;
    top: 5%; /* Posición vertical centrada */
    left: 80%; /* Posición horizontal centrada */
    /*transform: translate(-50%, -50%); /* Ajusta para centrar exactamente */
    width: 45%; /* Ajusta el tamaño al gusto */
    height: 45%; /* Ajusta el tamaño al gusto */
    pointer-events: none; /* Opcional: Evita interferencias con clics */
}

#calculate{
    margin-top: 2rem;
    padding: 1rem 6rem;
    width: 100%;
    background-color: #002E59;
    font-size: 2rem;
    align-items: center;
}

#buttonform{
    align-self: center;
}

.help-button-container {
    position: relative;
    display: inline-block;
}

/* Estilo del botón de ayuda (icono de interrogante) */
.help-button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

/* Modal de ayuda (invisible por defecto) */
.help-modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
    justify-content: center;
    align-items: center;
}

/* Contenido del modal */
.help-modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    text-align: justify;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Botón de cerrar */
.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.close-button:hover {
    color: red;
}

/* Para navegadores basados en WebKit (Chrome, Edge, Safari) */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


#titoltemps {
    font-weight: bolder;
    font-size: medium;
    margin-bottom: 1rem;
}
/* Contenidor del selector: grid responsive */
#seleccionador{
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

/* Targeta-enllaç */
.btn-main {
  display: flex;
  flex-direction: column;      /* imatge a sobre, text a sota */
  align-items: center;
  justify-content: flex-start;
  padding: 1rem;
  background: #ffffff;         /* coherent amb el formulari blanc */
  border-radius: 16px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Imatge del botó */
.btn-main .btn-img {
  width: 100%;
  height: 25vw;        /* manté l’aspect ratio original */
  object-fit: contain; /* NO retalla per encaixar */
  border-radius: 12px;
  margin-bottom: 0.75rem;
  display: block;
}


/* Títol del botó */
.btn-main span {
  font-size: 1.05rem;
  line-height: 1.2;
  text-align: center;
}

/* Hover/active */
.btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}
.btn-main:active {
  transform: translateY(0);
}

/* Accessibilitat: si l'usuari prefereix menys animacions */
@media (prefers-reduced-motion: reduce) {
  .btn-main {
    transition: none;
  }
}

/* Fons suau en mode fosc (opcional) */
@media (prefers-color-scheme: dark) {
  .btn-main {
    background: #16181a;
    color: #e6e6e6;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  }
}


/* --- Contenidor general --- */
#usuari {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1.5rem 2rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', Roboto, sans-serif;
}

#usuari h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: #333;
  border-bottom: 2px solid #0077b6;
  display: inline-block;
  padding-bottom: 0.3rem;
}

/* --- Formulari horitzontal --- */
#userForm {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap; /* permet saltar de línia en pantalles petites */
  gap: 1rem;
}

/* --- Cada camp --- */
#userForm label {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  font-weight: 500;
  color: #444;
  font-size: 0.95rem;
}

#userForm input {
  margin-top: 0.35rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#userForm input:focus {
  outline: none;
  border-color: #0077b6;
  box-shadow: 0 0 4px rgba(0, 119, 182, 0.4);
}

/* --- Botó --- */
#userForm .btn {
  background-color: #0077b6;
  color: white;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

#userForm .btn:hover {
  background-color: #0096c7;
  transform: translateY(-2px);
}

#userForm .btn:active {
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 720px) {
  #userForm {
    flex-direction: column;
    align-items: stretch;
  }

  #userForm label {
    min-width: unset;
  }

  #userForm .btn {
    width: 100%;
  }
}

/* --- Responsive --- */
@media (max-width: 480px) {
  #usuari {
    margin: 1rem;
    padding: 1.5rem;
  }
}

/************************************HEADER***************************************/
/* Evita scroll horitzontal per marges del navegador */
html, body { margin: 0; padding: 0; }

/* Header flexible i sense desbordaments */
header {
  background-color: #002E59;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;                 /* espai entre columnes */
  padding: 0.5rem 0.75rem;  /* padding intern */
  box-sizing: border-box;   /* padding compta dins del 100% */
  width: 100%;
}

/* Columna esquerra i dreta poden ENCONGIR-SE si cal */
.home-icon,
.language-selector {
  flex: 0 1 20%;    /* 0 grow, 1 shrink, base 20% */
  min-width: 0;     /* permet encongir per sota del contingut mínim */
  display: flex;
  align-items: center;
}

/* Columna central: el títol s’encongeix i talla amb … */
header h1 {
  flex: 1 1 60%;     /* pot créixer i encongir-se */
  margin: 0;
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 1.4rem); /* responsive */
  min-width: 0;      /* important per a ellipsi */
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Logo: que no desbordi mai */
.home-img {
  /*max-width: 100%;
  /*max-height: 36px;  /* limita alçada en mòbil */
  height: auto;
  width: auto;
}

/* Language selector: que pugui encongir i no forci scroll */
.language-selector { gap: 6px; }
.language-selector img {
  width: 18px; height: 18px; opacity: 0.7; flex: 0 0 auto;
}
.language-selector select {
  min-width: 0;          /* clau perquè pugui encongir */
  max-width: 100%;       /* no sobrepassi la columna */
  padding: 5px 8px;
  border: 1px solid #aaa;
  border-radius: 5px;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}

/* Opcional: en pantalles molt estretes, apila en dues files */
@media (max-width: 420px) {
  header { flex-wrap: wrap; }
  .home-icon, .language-selector { flex: 0 1 50%; }
  header h1 { order: 3; flex: 1 0 100%; text-align: center; }
  .home-img { max-width: 36px;  max-height: 36px; }
}

/* Definim el color primari (el blau fosc dels teus botons) */
:root {
  --color-primari: #0a2b4c;
  --color-primari-hover: #0056b3; /* Un blau més clar pel hover */
  --color-marge: #aaa;
}

/* 1. El contenidor principal */
.checkbox-grup {
  display: flex;
  align-items: center;
  /* (Pots mantenir els estils del teu 'form-group' original si vols) */
  padding: 10px 0px;
  background-color: rgb(255, 255, 255);
  border-radius: 8px;
}

/* 2. Amaguem el checkbox real del navegador */
.checkbox-grup input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  width: 0;
  height: 0;
}

/* 3. Estils del text (el label) */
.checkbox-grup label {
  font-weight: bold;
  font-family: Arial, sans-serif;
  color: #000000;
  cursor: pointer;
  user-select: none; /* Evita que el text se seleccioni */
  position: relative; /* Important per posicionar el "tick" */
  width: auto;
  /* Deixem espai per a la nostra caixa falsa */
  padding-left: 30px; 
}

/* 4. Creem la caixa falsa (el quadrat) */
.checkbox-grup label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%); /* Centra verticalment */

  width: 18px;
  height: 18px;
  background-color: white;
  border: 2px solid var(--color-marge);
  border-radius: 4px;
  transition: all 0.2s ease;
}

/* 5. Creem el "tick" (la pipa) */
.checkbox-grup label::after {
  content: '';
  position: absolute;
  left: 7px; /* Posició horitzontal del tick */
  top: 50%;
  
  /* Mides del tick */
  width: 5px;
  height: 10px;

  /* La forma (un palito girat) */
  border: solid white;
  border-width: 0 3px 3px 0;
  
  /* Girat 45 graus */
  transform: translateY(-50%) rotate(45deg);
  
  /* Amagat per defecte */
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* 6. LA MÀGIA: Quan el checkbox està MARCAT */

/* Canviem el color de fons de la caixa */
.checkbox-grup input[type="checkbox"]:checked + label::before {
  background-color: var(--color-primari);
  border-color: var(--color-primari);
}

/* Mostrem el "tick" */
.checkbox-grup input[type="checkbox"]:checked + label::after {
  opacity: 1;
}

/* 7. (Opcional) Efecte Hover */
.checkbox-grup label:hover::before {
  border-color: var(--color-primari-hover);
}

#cunion {
  font-family: Arial, Helvetica, sans-serif; /* Una font clara i llegible */
  font-size: 1.3rem;     /* Mida de lletra gran (aprox. 28px) */
  font-weight: bold;      /* Text en negreta */
  color: #333;             /* Un gris fosc, més suau que el negre pur */
  margin-top: 1.5rem;       /* Espai per sobre del títol */
  margin-bottom: 0.75rem;   /* Espai per sota del títol */
  line-height: 1.3;         /* Interlineat (útil si el títol té 2 línies) */
}


.label-with-help {
    display: flex;
	width: 50%;
    align-items: center;
    gap: 8px; /* space between label and button */
    margin-bottom: 10px;
}

.example-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns */
    gap: 15px;
    padding: 20px;
}

/* Container: Vertical stack instead of a grid */
.example-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 0;
}

/* The Button Item */
.btn-example-list {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    width: 100%;
}

.btn-example-list:hover {
    background: #f0f7ff;
    border-color: #007bff;
    transform: translateX(5px); /* Subtle slide effect on hover */
}

/* Layout inside the button */
.btn-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-content i {
    font-size: 1.5rem;
    color: #007bff;
}

.btn-text {
    display: flex;
    flex-direction: column;
}

/* Orthography styles */
.btn-title {
    font-weight: bold;
    font-size: 1.1rem;
    color: #333;
    display: block;
}

.btn-desc {
    font-size: 0.9rem;
    color: #666;
    margin-top: 2px;
}

/* Container for each list item */
.case-item-row {
    display: flex;
    align-items: stretch; /* Makes both buttons the same height */
    gap: 5px;
    margin-bottom: 10px;
    width: 100%;
}

/* The main load button takes up remaining space */
.case-item-row .main-btn {
    flex-grow: 1;
    margin-bottom: 0; /* Override previous margin */
}

/* The delete button style */
.btn-delete {
    background-color: #fff;
    border: 1px solid #ffccd5;
    color: #ff4d4d;
    border-radius: 8px;
    padding: 0 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-delete:hover {
    background-color: #ff4d4d;
    color: white;
    border-color: #e60000;
}

.btn-delete i {
    font-size: 1.1rem;
}

.btn-save-confirm {
    width: 100%;
    margin-top: 15px;
    background-color: #28a745;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 0 #1e7e34; /* Adds a 3D effect */
}

.btn-save-confirm:hover {
    background-color: #218838;
    transform: translateY(-1px);
    box-shadow: 0 5px 0 #1e7e34;
}

.btn-save-confirm:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #1e7e34;
}

.btn-save-confirm:disabled {
    background-color: #6c757d;
    box-shadow: 0 4px 0 #545b62;
    cursor: not-allowed;
    opacity: 0.8;
}

/* The container for the server projects */
#loadButtonsContainer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    
    /* THE SCROLL MAGIC */
    max-height: 400px; /* Adjust this value to your liking */
    overflow-y: auto;  /* Shows scrollbar only if content exceeds max-height */
    padding-right: 10px; /* Space for the scrollbar so it doesn't overlap buttons */
    margin-top: 10px;
}


/* Ensure the modal content doesn't grow too large */
.help-modal-content {
    max-height: 90vh; /* Modal won't exceed 90% of screen height */
    display: flex;
    flex-direction: column;
}
#caseSearch {
    box-sizing: border-box; /* This is the key line */
    width: 100%;           /* Now 100% means exactly 100% */
    padding: 10px 10px 10px 35px;
    border-radius: 8px;
    border: 1px solid #ddd;
    outline: none;
}

/* Optional: Make the container a bit narrower to give some "breathing room" */
.help-modal-content {
    width: 90%;
    max-width: 500px; /* Limits how wide the modal gets on desktop */
    padding: 25px;
    box-sizing: border-box;
}

/* Main container - White Background */
/* Ensure the log container handles the spans correctly */
/* The main white box */
.log-container-light {
    background-color: #ffffff;
    color: #333;
    padding: 15px;
    border: 1px solid #d1d5da;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
    line-height: 1.5;
    white-space: pre; /* Essential for keeping line breaks */
    overflow-x: auto;
}

.log-case {
    color: #005cc5; /* Blue */
    font-weight: bold;
}

.status-pass {
    color: #22863a; /* Green */
    font-weight: bold;
}

.row-fail {
    color: #cb2431; /* Red */
    font-weight: bold;
    background-color: #ffeef0; /* Subtle light red background */
    padding: 1px 3px;
}

.log-var {
    color: #005cc5; /* Parameter Blue */
}

.log-output {
    background-color: #ffffff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-wrap; /* Allows internal divs to work while keeping spaces */
    overflow-x: auto;
    padding: 10px 0; /* Vertical padding only */
    margin-bottom: 20px;
}

/* The actual moving bar */
/* Container for the bar */
#progress-container {
    width: 75%;               /* Occupy most of the parent width */
    max-width: 100px;         /* Prevents it from getting TOO long on huge monitors */
    margin: 25px auto;        /* Centers it horizontally */
    transition: opacity 0.5s ease;
    display: none;            /* Hidden by default */
}

/* The "Wider" (Taller) track */
.progress-wrapper {
    width: 100%;
    height: 32px;             /* Wide/Tall look */
    background: #e5e7eb;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
    position: relative;
}

/* The actual Dark Blue Bar */
#progress-bar {
    width: 0%; 
    height: 100%;
    /* Dark Navy Gradient */
    background: linear-gradient(90deg, #0f172a, #1e3a8a, #1e40af); 
    background-size: 200% 100%;
    border-radius: 50px;
    box-shadow: 0 0 15px rgba(30, 58, 138, 0.3);
    position: relative;
    /* Remove CSS transition to prevent stuttering with JS animation */
    transition: none; 
}

#progress-bar::after {
    content: "";
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background-image: linear-gradient(
        -45deg, 
        rgba(255, 255, 255, 0.1) 25%, 
        transparent 25%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.1) 75%, 
        transparent 75%, 
        transparent
    );
    background-size: 50px 50px;
    animation: moveStripes 2s linear infinite;
}

#progress-text {
    text-align: center;
    font-family: sans-serif;
    font-size: 15px;
    color: #1e3a8a;
    margin-top: 10px;
    font-weight: 700;
}

@keyframes moveStripes {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

/* Class to trigger the fade out */
.hidden {
    opacity: 0 !important;
    pointer-events: none;
}

/* The style for the selected button */
#resultsbotons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px;
}

/* Changed from ID (#) to Class (.) for consistency */
.botonresultados {
    color: white;
    font-size: 14px;
    font-weight: bold; /* Keep it bold by default so it doesn't jump when selected */
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    /* This prevents fetched HTML from changing the button font */
    font-family: inherit; 
}

/* Hover Effect */
.botonresultados:hover {
    transform: scale(1.05); /* Reduced slightly to prevent overlap */
}

/* The "Selected" State (When you click one) */
.botonresultados.active-case {
    /* The Black Outline - uses inset so it doesn't move the button */
    box-shadow: inset 0 0 0 4px rgba(0, 0, 0, 0.8), 0 4px 10px rgba(0, 0, 0, 0.2);
    
    /* Slightly smaller scale to look "pressed" without jumping */
    transform: scale(0.95); 
    
    filter: brightness(0.9);
}

/* Status Colors */
.btn-rojo {
    background: linear-gradient(135deg, #ff5252, #d50000);
}

.btn-verde {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
}

#campoHidden {
    display: none;
}


/* generar informe */
#generarInformeContainer {
    text-align: center;
    padding: 15px 0;
}

/* The New Button Style */
.primary-button {
    background-color: #2563eb; /* Modern Blue */
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Shared Base Style */
.action-btn {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* --- PRIMARY BUTTON (Your Specific Styles) --- */
.primary-button {
    background-color: #2563eb;
    color: white;
}

.primary-button:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.primary-button:active {
    transform: translateY(0);
    background-color: #1e40af;
}

.primary-button::before {
    content: "📋";
    font-size: 18px;
}

/* --- SECONDARY BUTTON (Matching Style) --- */
.secondary-button {
    background-color: #64748b; /* Slate Gray */
    color: white;
}

.secondary-button:hover {
    background-color: #475569;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.secondary-button:active {
    transform: translateY(0);
    background-color: #334155;
}

.secondary-button::before {
    content: "🔍"; /* Magnifying glass for details */
    font-size: 18px;
}