/* Desarrollado por The Kimura */
:root {
  --primary-color: #004080;
  --secondary-color: #6c757d;
  --bg-color: #f8f9fa;
  --card-bg: #ffffff;
  --text-color: #212529;
  --border-color: #dee2e6;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --border-radius: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

/* Card Layout */
.card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 500px;
  overflow: hidden;
}

.card-header {
  text-align: center;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

.logo {
  max-width: 200px; /* Agrandado */
  margin-bottom: 15px;
}

.card-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.card-header p {
  font-size: 0.9rem;
  color: var(--secondary-color);
}

.card-body {
  padding: 20px;
}

/* Intro */
.intro {
  background: #f8f9fa;
  border-left: 4px solid var(--primary-color);
  padding: 12px;
  font-size: 0.9rem;
  color: var(--text-color);
  margin-bottom: 20px;
  border-radius: 4px;
  text-align: justify; /* Texto justificado */
}


/* Formulario */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.form-group i {
  margin-right: 6px;
  color: var(--secondary-color);
}

input, select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0,64,128,0.25);
}

.btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #0055aa;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.btn-secondary:hover {
  background-color: #5c636a;
}

/* Resultados */
.result-card {
  margin-top: 20px;
  padding: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.result-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.result-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.result-item:last-child {
  border-bottom: none;
}

.result-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

/* Nota orientativa */
.nota-orientativa {
  margin-top: 15px;
  font-size: 0.85rem;
  color: var(--secondary-color);
  background: #f8f9fa;
  padding: 8px;
  border-radius: 4px;
  border-left: 3px solid var(--primary-color);
}

footer {
  text-align: center;
  font-size: 0.9rem;
  color: var(--secondary-color);
  margin-top: 20px;
  padding: 15px 10px;
  background-color: #f8f9fa;
  border-top: 1px solid var(--border-color);
}

footer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
}


.hidden {
  display: none;
}
