/* Paleta de colores GFN */
:root {
  --gfn-dark-teal: #054447;
  --gfn-light-teal: #84c6c2;
  --gfn-yellow: #ffbc3b;
  --gfn-coral: #fe876d;
  --gfn-eggshell: #f9f6ec;
  --gfn-dark-gray: #2d2d2d;
  --gfn-white: #ffffff;
}

body {
  background-color: var(--gfn-eggshell);
  font-family: 'Century Gothic', Arial, Helvetica, sans-serif;
  color: var(--gfn-dark-gray);
}

/* Header */
.header-gfn {
  background: var(--gfn-dark-teal);
  color: var(--gfn-white);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Botones */
.btn-gfn {
  background: var(--gfn-dark-teal);
  color: var(--gfn-white);
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-gfn:hover {
  background: var(--gfn-light-teal);
  color: var(--gfn-dark-teal);
}
.btn-gfn-secondary {
  background: var(--gfn-coral);
  color: var(--gfn-white);
}
.btn-gfn-secondary:hover {
  background: var(--gfn-yellow);
  color: var(--gfn-dark-teal);
}

/* Tabla */
.table-gfn {
  width: 100%;
  border-collapse: collapse;
  background: var(--gfn-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(5,68,71,0.08);
}
.table-gfn th {
  background: var(--gfn-dark-teal);
  color: var(--gfn-white);
  padding: 0.75rem;
  text-align: left;
}
.table-gfn td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--gfn-light-teal);
}
.table-gfn tr:nth-child(even) {
  background: var(--gfn-eggshell);
}

/* Formularios */
.form-gfn label {
  color: var(--gfn-dark-teal);
  font-weight: bold;
}
.form-gfn input, .form-gfn select, .form-gfn textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--gfn-light-teal);
  border-radius: 5px;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.form-gfn input:focus, .form-gfn select:focus, .form-gfn textarea:focus {
  outline: none;
  border-color: var(--gfn-dark-teal);
}

/* Mensajes de feedback */
.feedback-success {
  background: var(--gfn-yellow);
  color: var(--gfn-dark-teal);
  padding: 0.75rem 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  font-weight: bold;
}
.feedback-error {
  background: var(--gfn-coral);
  color: var(--gfn-white);
  padding: 0.75rem 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  font-weight: bold;
}

/* Círculos decorativos (para usar en fondos o collages) */
.gfn-circle {
  border-radius: 50%;
  display: inline-block;
}
.gfn-circle-yellow { background: var(--gfn-yellow); }
.gfn-circle-coral { background: var(--gfn-coral); }
.gfn-circle-light-teal { background: var(--gfn-light-teal); }
.gfn-circle-dark-teal { background: var(--gfn-dark-teal); }

/* Espaciado general */
.section-gfn {
  margin: 2rem 0;
  padding: 2rem;
  background: var(--gfn-white);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(5,68,71,0.06);
}

/* Modal GFN */
.modal-gfn-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(44, 62, 80, 0.35); /* dark teal semitransparente */
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-gfn {
    background: var(--gfn-eggshell, #F8F7F3);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(44,62,80,0.18);
    padding: 2.5rem 2rem 2rem 2rem;
    min-width: 350px;
    max-width: 95vw;
    min-height: 100px;
    position: relative;
    font-family: 'Century Gothic', Arial, Helvetica, sans-serif;
}
.modal-gfn-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gfn-dark-teal, #004D4D);
    cursor: pointer;
    transition: color 0.2s;
}
.modal-gfn-close:hover {
    color: var(--gfn-coral, #FF6F61);
}

/* Wizard pasos */
.gfn-wizard-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1.5rem;
}
.gfn-wizard-step {
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    background: var(--gfn-light-teal, #B2DFDB);
    color: var(--gfn-dark-teal, #004D4D);
    font-weight: bold;
    opacity: 0.7;
    transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.gfn-wizard-step.active {
    background: var(--gfn-dark-teal, #004D4D);
    color: #fff;
    opacity: 1;
}

.gfn-wizard-progress {
    width: 100%;
    height: 10px;
    background: #e0e0e0;
    border-radius: 6px;
    margin-bottom: 1.2rem;
    overflow: hidden;
}
.gfn-wizard-progress-bar {
    height: 100%;
    background: var(--gfn-dark-teal, #004D4D);
    transition: width 0.3s;
}

/* Dashboard GFN */
.gfn-dashboard {
    background: #f8f7f3;
    border-radius: 14px;
    padding: 2.5rem 2rem;
    margin: 2rem auto;
    max-width: 1100px;
    box-shadow: 0 2px 12px rgba(44,62,80,0.07);
}
.gfn-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.gfn-dashboard-title {
    color: var(--gfn-dark-teal, #004D4D);
    font-family: 'Century Gothic', Arial, Helvetica, sans-serif;
    font-weight: bold;
    margin-bottom: 0.7rem;
}
.gfn-dashboard-kpis {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 0.5rem;
}
.gfn-dashboard-kpi {
    background: var(--gfn-light-teal, #B2DFDB);
    border-radius: 10px;
    padding: 0.7rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 120px;
}
.gfn-dashboard-kpi-label {
    font-size: 0.95rem;
    color: var(--gfn-dark-gray, #333);
    margin-bottom: 0.2rem;
}
.gfn-dashboard-kpi-value {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--gfn-dark-teal, #004D4D);
}
.gfn-dashboard-searchbar {
    margin-bottom: 1.2rem;
}
.gfn-dashboard-list {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.gfn-dashboard-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(44,62,80,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    transition: box-shadow 0.2s;
}
.gfn-dashboard-card:hover {
    box-shadow: 0 6px 24px rgba(44,62,80,0.13);
}
.gfn-dashboard-card-main {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.gfn-dashboard-card-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--gfn-dark-teal, #004D4D);
}
.gfn-dashboard-card-meta {
    display: flex;
    gap: 2.2rem;
    font-size: 1rem;
    color: var(--gfn-dark-gray, #333);
}
.gfn-dashboard-card-actions {
    display: flex;
    gap: 0.7rem;
}
.gfn-dashboard-empty {
    text-align: center;
    color: var(--gfn-coral, #FF6F61);
    font-size: 1.1rem;
    margin: 2.5rem 0;
}

/* Tooltip GFN */
.tooltip-gfn-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.tooltip-gfn-icon {
    color: var(--gfn-dark-teal, #004D4D);
    font-size: 1.1rem;
    margin-left: 0.3rem;
    vertical-align: middle;
    background: var(--gfn-light-teal, #B2DFDB);
    border-radius: 50%;
    padding: 0.1em 0.4em;
    font-weight: bold;
    transition: background 0.2s;
}
.tooltip-gfn-wrapper:hover .tooltip-gfn-icon {
    background: var(--gfn-coral, #FF6F61);
    color: #fff;
}
.tooltip-gfn-content {
    visibility: visible;
    opacity: 1;
    min-width: 180px;
    background: #fff;
    color: var(--gfn-dark-teal, #004D4D);
    text-align: left;
    border-radius: 8px;
    padding: 0.7em 1em;
    position: absolute;
    z-index: 1001;
    left: 50%;
    top: 120%;
    transform: translateX(-50%);
    box-shadow: 0 2px 12px rgba(44,62,80,0.13);
    font-size: 0.98rem;
    transition: opacity 0.2s;
    pointer-events: none;
}

/* Wizard tipo tarjeta grande - ocupa casi todo el ancho */
.gfn-wizard-outer {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(44,62,80,0.13);
    padding: 2.5rem 2vw 2rem 2vw;
    max-width: 98vw;
    width: 100%;
    margin: 2.5rem auto;
    min-height: 350px;
    position: relative;
    font-family: 'Century Gothic', Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    height: 80vh;
}
.gfn-wizard-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.2rem;
    gap: 0.7rem;
}
.gfn-wizard-stepper-item {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gfn-light-teal, #B2DFDB);
    color: var(--gfn-dark-teal, #004D4D);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    border: 2px solid var(--gfn-light-teal, #B2DFDB);
    transition: background 0.2s, color 0.2s, border 0.2s;
}
.gfn-wizard-stepper-item.active {
    background: var(--gfn-dark-teal, #004D4D);
    color: #fff;
    border: 2px solid var(--gfn-dark-teal, #004D4D);
}
.gfn-wizard-stepper-item.done {
    background: var(--gfn-yellow, #FFD600);
    color: var(--gfn-dark-teal, #004D4D);
    border: 2px solid var(--gfn-yellow, #FFD600);
}
.gfn-wizard-stepper-line {
    flex: 1;
    height: 4px;
    background: linear-gradient(90deg, var(--gfn-light-teal, #B2DFDB), var(--gfn-yellow, #FFD600));
    border-radius: 2px;
}
.gfn-wizard-content {
    margin-bottom: 2.2rem;
    flex: 1 1 auto;
    overflow-y: auto;
    max-height: 60vh;
}
.gfn-wizard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 2.2rem;
    margin-top: 1.5rem;
}
@media (max-width: 900px) {
    .gfn-wizard-outer {
        max-width: 98vw;
        padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    }
    .gfn-wizard-grid {
        grid-template-columns: 1fr;
    }
}
.gfn-wizard-content h3 {
    font-size: 1.5rem;
    color: var(--gfn-dark-teal, #004D4D);
    margin-bottom: 0.2rem;
}
.gfn-wizard-sub {
    color: var(--gfn-dark-gray, #333);
    font-size: 1.05rem;
    margin-bottom: 0.7rem;
}
.gfn-wizard-nav {
    display: flex;
    justify-content: flex-end;
    gap: 1.1rem;
    margin-top: 1.5rem;
    position: sticky;
    bottom: 0;
    background: #fff;
    padding-top: 1.2rem;
    z-index: 2;
}
.gfn-wizard-confirm {
    background: #f8f7f3;
    border-radius: 10px;
    padding: 1.2rem 1.5rem;
    margin-top: 1.2rem;
    font-size: 1.05rem;
}
.gfn-wizard-confirm h4 {
    margin-top: 1.1rem;
    color: var(--gfn-dark-teal, #004D4D);
}
.gfn-wizard-confirm ul {
    margin-bottom: 0.5rem;
}
.form-gfn {
    width: 100%;
    border-radius: 8px;
    border: 1.5px solid var(--gfn-light-teal, #B2DFDB);
    padding: 0.6em 1em;
    font-size: 1rem;
    background: #fff;
    color: var(--gfn-dark-teal, #004D4D);
    margin-bottom: 0.1rem;
    transition: border 0.2s;
}
.form-gfn:focus {
    outline: none;
    border: 1.5px solid var(--gfn-dark-teal, #004D4D);
    background: #f4f9f8;
}
.gfn-wizard-grid label {
    font-size: 1rem;
    color: var(--gfn-dark-teal, #004D4D);
    font-weight: 500;
    margin-bottom: 0.2rem;
    display: block;
}

/* Header de la página de formulario con icono */
.gfn-formpage-header {
    text-align: center;
    margin-bottom: 2.2rem;
}
.gfn-formpage-titleicon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 0.5rem;
}
.gfn-formpage-icon {
    width: 48px;
    height: 48px;
    display: inline-block;
}
.gfn-formpage-header h1 {
    font-size: 2.1rem;
    color: var(--gfn-dark-teal, #004D4D);
    font-family: 'Century Gothic', Arial, Helvetica, sans-serif;
    font-weight: bold;
    margin: 0;
}
.gfn-formpage-sub {
    color: var(--gfn-dark-gray, #333);
    font-size: 1.08rem;
    margin-bottom: 0.2rem;
}
/* Wizard más compacto */
.gfn-wizard-outer {
    max-width: 900px;
    padding: 2rem 2vw 1.5rem 2vw;
}

/* Wizard más ancho en desktop */
@media (min-width: 1200px) {
    .gfn-wizard-outer {
        max-width: 98vw;
    }
} 