
    * {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f7fa;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  display: flex;
  align-items: center;
  padding: 20px 40px;
  background-color: #ffffff;
  border-bottom: 2px solid #e0e0e0;
}

.logo {
  height: 50px;
  margin-right: 20px;
}

header h1 {
  font-size: 22px;
  font-weight: 500;
  color: #2e3b55;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
	padding-bottom: 20px;
}

.search-box {
  background: white;
  padding: 30px 40px;
  border-radius: 25px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  width: 100%;
  max-width: 600px;
  text-align: center;
}

input[type="text"] {
  width: 70%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #bbb;
  border-radius: 25px;
  margin-right: 10px;
}

button {
  padding: 12px 18px;
  border: none;
  border-radius: 25px;
  background-color: #c8102e;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

button:hover {
  background-color: #a40d25;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.hidden {
  display: none;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 25px;
  width: 90%;
  max-width: 800px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #999;
}

h2, h3 {
  margin-top: 20px;
  color: #2e3b55;
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px 30px;
  margin-bottom: 20px;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #eeeeee;
  font-size: 14px;
  color: #555;
}
.tracking-container {
  position: relative; 
  margin: 30px;
  padding: 30px 40px;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #c8102e;
}

.tracking-container h2 {
  color: #2e3b55;
  margin-bottom: 10px;
}

.tracking-container .nota {
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
}

.info-section {
  margin-bottom: 30px;
}

.info-section h3 {
  margin-bottom: 10px;
  color: #c8102e;
  font-size: 18px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px 30px;
}
.close-tracking {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  transition: color 0.2s ease;
}

.close-tracking:hover {
  color: #c8102e;
}
.loading {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
  font-size: 16px;
  color: #333;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #ccc;
  border-top: 3px solid #c8102e;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hidden {
  display: none;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between; /* agrega esto */
  padding: 20px 40px;
  background-color: #ffffff;
  border-bottom: 2px solid #e0e0e0;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-switcher select {
  padding: 6px 10px;
  font-size: 14px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
