:root {
  --primary: #0D6759;
  --secondary: #7AB317;
  --bg-color: #f4f6f9;
  --text-color: #333;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
}

/* Custom Bootstrap Overrides */
.bg-custom-primary {
  background-color: var(--primary) !important;
}

.btn-custom-primary {
  background-color: var(--primary);
  color: white;
  border: none;
}
.btn-custom-primary:hover {
  background-color: #0a4f44;
  color: white;
}

.btn-custom-secondary {
  background-color: var(--secondary);
  color: white;
  border: none;
}
.btn-custom-secondary:hover {
  background-color: #5d8a11;
  color: white;
}

/* Login Page */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  /* Animación de colores primarios y secundarios de la marca */
  background: linear-gradient(-45deg, var(--primary), var(--secondary), #042E28, #3A6605);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

.login-box {
  background: rgba(255, 255, 255, 0.95);
  padding: 4rem 3rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  text-align: center;
  max-width: 450px;
  width: 90%;
  backdrop-filter: blur(10px);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.login-box:hover {
  transform: translateY(-5px);
}

.login-box img {
  max-width: 140px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.login-box h2 {
  margin: 0 0 10px;
  color: #333;
  font-size: 2rem;
}

.login-box p {
  color: #666;
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.btn-google {
  background-color: white;
  color: #444;
  border: 1px solid #ddd;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.btn-google:hover {
  background-color: #f8f9fa;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.btn-google img {
  max-width: 24px;
  margin: 0;
  filter: none;
}

/* Custom Table Styles */
.table-custom thead th {
  background-color: #f8f9fa;
  color: #6c757d;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: bold;
  border-bottom: 2px solid #dee2e6;
  border-top: none;
  border-left: none;
  border-right: none;
}

.table-custom td {
  border-top: none;
  border-bottom: 1px solid #dee2e6;
  border-left: none;
  border-right: none;
}

.btn-action-edit {
  background-color: #f0f4f8;
  border: 1px solid #e2e8f0;
  color: #4a5568;
  border-radius: 8px;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
}

.btn-action-delete {
  background-color: #fee2e2;
  border: 1px solid #fecaca;
  color: #e53e3e;
  border-radius: 8px;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
}

.btn-file-pdf {
  background-color: #fee2e2;
  color: #991b1b;
  border-radius: 20px;
  font-weight: bold;
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  text-decoration: none;
  display: inline-block;
  border: none;
}

.btn-sm-custom {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
}

/* Fila de tabla con enlace público activo */
.public-link-active td {
  border-bottom: 3px solid #dc3545 !important;
}
