/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* General */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #00c6a7, #1e4d92);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 1rem;
}

.header {
  padding: 2rem 1rem;
}

.header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.header h2 {
  font-size: 1.2rem;
  font-weight: 400;
}

.main-container {
  width: 100%;
  max-width: 800px;
  margin-top: 2rem;
}

.program-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.program-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  flex-wrap: wrap;
}

.program-item span {
  font-size: 1rem;
  font-weight: 500;
  flex: 1 1 auto;
}

.program-item button {
  padding: 0.6rem 1.2rem;
  margin-top: 0.5rem;
  background: linear-gradient(45deg, #00e676, #00c853);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  flex-shrink: 0;
}

.program-item button:hover {
  background: linear-gradient(45deg, #00c853, #00e676);
}

.balance-button {
  margin-top: 2rem;
}

.balance-button button {
  padding: 1rem 2rem;
  background: linear-gradient(45deg, #000000, #434343);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.balance-button button:hover {
  background: linear-gradient(45deg, #434343, #000000);
}

/* Responsividad */
@media (max-width: 600px) {
  .program-item {
    flex-direction: column;
    text-align: center;
  }
  
  .program-item span {
    margin-bottom: 0.5rem;
  }

  .program-item button {
    width: 100%;
  }
}
