
/* General */
body {
  background: linear-gradient(to bottom right, #6366f1, #60a5fa, #38bdf8);
  color: #2d3748;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header */
header {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header .container {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

nav {
  background-color: #34495e;
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-buttons {
  display: flex;
  justify-content: center;
  list-style: none;
}

.nav-buttons li {
  margin: 0 10px; 
}

.nav-btn {
  background-color: #2c3e50;
  color:white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.nav-btn:hover {
  background-color: #4f46e5;
  transform: translateY(-2px);
}

/* Contenido principal */
main {
  flex: 1;
  width: 100%;          
  max-width: 1200px;     
  margin: 0 auto;       
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  box-sizing: border-box;
}

header a.logo-text {
  font-size: 2rem;        
  font-weight: 900;      
  color: #4f46e5;     
  text-decoration: none;   
}

/* Sections */
section {
  background-color: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  width: 100%;            
  box-sizing: border-box;
}

section.fullwidth {
  width: 100vw;                     
  margin-left: calc(-50vw + 50%);  
  margin-right: calc(-50vw + 50%);
  border-radius: 0;                 
  box-shadow: none;                 
  padding: 1.5rem;                 
}

section h1, section h2 {
  color: #4f46e5;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

section p {
  color: #4a5568;
}

/* Buttons */
button, a.button {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

button.primary, a.button.primary {
  background-color: #4f46e5;
  color: white;
}

button.primary:hover, a.button.primary:hover {
  background-color: #4338ca;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

button.secondary, a.button.secondary {
  background-color: #f7fafc;
  color: #2d3748;
}

button.secondary:hover, a.button.secondary:hover {
  background-color: #edf2f7;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Footer */
footer {
  font-size: 0.75rem;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  padding: 1rem;
  color: #09063b;
  font-weight: 500;
}

.developer {
  font-weight: bold;
  color: #372fd7;
  text-transform: uppercase;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

th, td {
  border: 1px solid #cbd5e0;
  padding: 0.75rem;
  text-align: left;
}

th {
  background-color: #f7fafc;
  color: #2d3748;
  font-weight: 600;
}

td {
  background-color: white;
}

input, select {
  padding: 0.5rem;
  margin: 0.5rem 0;
  width: 100%;
  max-width: 400px;
  border: 1px solid #cbd5e0;
  border-radius: 0.375rem;
}

input:focus, select:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 1px #4f46e5;
}