:root {
  /* Colores principales */
  --color-primary: #1246ab;
  --color-secondary: #002247;
  
  /* Variaciones de colores */
  --color-primary-light: #3a68c3;
  --color-primary-dark: #0d3791;
  --color-primary-transparent: rgba(18, 70, 171, 0.1);
  --color-secondary-light: #003166;
  --color-secondary-dark: #00172f;
  
  /* Escala de grises */
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
}

/* ==================== ESTILOS GENERALES ==================== */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
}

.card {
  border-radius: 0;
  border: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  overflow: hidden;
  margin-bottom: 0;
}

.card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.card-header {
  background: var(--color-secondary);
  color: white;
  border-radius: 0 !important;
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: 1.25rem;
}

/* ==================== TÍTULOS Y TEXTO ==================== */
h1, h2, h3, h4, h5 {
  font-weight: 600;
  letter-spacing: -0.5px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--color-secondary);
  position: relative;
}

h1:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.text-center h4 {
  margin-bottom: 1rem;
}

p {
  color: var(--gray-700);
  line-height: 1.6;
}

/* ==================== FORMULARIOS ==================== */
form {
  padding: 0.5rem;
}

.form-label {
  font-weight: 500;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.input-group {
  margin-bottom: 1.5rem;
  border-radius: 0;
  border: 1px solid var(--gray-300);
  transition: all 0.3s ease;
}

.input-group:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary-transparent);
}

.input-group-text {
  background: white;
  border: none;
  padding: 0 15px;
  color: var(--color-primary);
}

.form-control {
  border: none;
  padding: 0.75rem 1rem;
  height: auto;
  border: 1px solid var(--gray-300);
  border-radius: 0;
  background: white;
  box-shadow: none !important;
}
.choices{
  width: 88% !important;
}
.form-control:focus {
  background: white;
}

.form-select {
  border-radius: 0;
  border: 1px solid var(--gray-300);
  padding: 0.75rem 1rem;
  height: auto;
}

.form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary-transparent);
}

.invalid-feedback {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #dc3545;
  font-weight: 500;
}

/* ==================== BOTONES ==================== */
.btn {
  border-radius: 0;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.75rem 1.5rem;
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--color-primary-dark);
}

.btn-outline-light {
  background-color: transparent;
  border: 2px solid white;
  color: white;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-outline-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: white;
  transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: -1;
}

.btn-outline-light:hover {
  color: var(--color-secondary-dark);
}

.btn-outline-light:hover::before {
  width: 100%;
}

.btn-link {
  color: var(--color-primary) !important;
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 0;
  box-shadow: none;
}

.btn-link:hover {
  text-decoration: underline;
  color: var(--color-primary-dark) !important;
  transform: none;
}

/* ==================== TARJETAS LATERALES ==================== */
.card.bg-primary {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%) !important;
  color: white;
}

.card.bg-primary h2,
.card.bg-primary p {
  color: white;
}

.card.bg-primary .btn-outline-light {
  margin-top: 1rem;
}

/* ==================== ESPECÍFICO PARA VERIFY/CONFIRM ==================== */
.alert {
  border-radius: 0;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.alert-success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .card-group {
    flex-direction: column;
  }
  
  .card {
    margin-bottom: 1.5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
}