/* Estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

/* Header */
.header {
  background-color: #2c3e50;
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 80px;
  height: 80px;
  object-fit: cover;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: none;
}

.logo-gestixedu {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.header h1 {
  text-align: center;
  flex-grow: 1;
  margin: 0;
}

/* Main content */
.main {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Card styles */
.card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin: 20px 0;
}

.card h2 {
  margin-bottom: 20px;
  color: #2c3e50;
}

.card p {
  margin-bottom: 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  margin: 10px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-login {
  background-color: #3498db;
}

.btn-login:hover {
  background-color: #2980b9;
}

.btn-registro {
  background-color: #2c3e50;
}

.btn-registro:hover {
  background-color: #1a242f;
}

.btn-add {
  background-color: #28a745;
}

.btn-add:hover {
  background-color: #218838;
}

.btn-del {
  background-color: #dc3545;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  text-decoration: none;
}

.btn-del:hover {
  background-color: #c82333;
}

/* Table styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

th, td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: #2c3e50;
  color: white;
}

tr:hover {
  background-color: #f1f1f1;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Form styles */
form {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 20px 0;
}

input, select {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 4px;
}

button {
  background-color: #28a745;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #218838;
}

/* Responsive design */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    text-align: center;
  }

  .logo {
    position: static;
    margin-bottom: 100px;
  }

  .logo-gestixedu {
    position: static;
    margin-bottom: 10px;
  }

  .card {
    padding: 20px;
  }

  table {
    font-size: 14px;
  }

  th, td {
    padding: 8px;
  }
}
