* { box-sizing:border-box; margin:0; padding:0; }
body { 
  font-family:'Segoe UI', sans-serif; 
  background-color: #0c111b; 
  background-image: url('images/iss-wallpaper.jpg'); 
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  color:#eee; 
}

button { cursor:pointer; background:#00b4ff; border:none; color:#000; padding:8px 12px; border-radius:8px; font-weight:bold; }

/* Header buttons - Material style */
.header-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Solo los botones en header con clase md-btn */
header .md-btn {
  background: transparent !important;
  border: none !important;
  color: white !important;
  font-size: 28px;
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.1s ease;
}

header .md-btn:hover {
  background: rgba(255,255,255,0.15) !important;
  transform: scale(1.1);
}

header .md-btn:active {
  background: rgba(255,255,255,0.25) !important;
  transform: scale(1.05);
}

header .md-btn .material-icons {
  font-size: 28px;
  line-height: 1;
}

/* Optional: make header items align nicely */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: rgba(26,31,43,0.65); /* semi-transparente igual que .panel */
  color: white;
  border-radius: 12px;             /* opcional, mismo que panel */
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);      /* desenfoque del fondo */
  position: sticky;
  top: 0;
  z-index: 100;
  margin: 20px 20px 10px 20px;
}

header h1 {
  font-size: 22px;
  font-weight: 500;
  margin: 0;
}

footer {
  padding: 12px 0;
  text-align: center;
  color: #ccc;
  background: transparent; 
  border-radius: 12px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.2s ease;
}

footer a:hover {
  color: #80d4ff;
  text-shadow: 0 0 10px rgba(128, 212, 255, 0.8);
  transform: scale(1.05);
}

footer p {
  margin: 6px 0;
  margin-bottom: 5px;
}

.container { display:grid; grid-template-columns:1fr 2fr; gap:20px; padding:20px; }
@media(max-width:768px){ .container { grid-template-columns:1fr; } }

.panel { 
  background: rgba(26,31,43,0.65); padding:15px; border-radius:12px; 
  box-shadow:0 4px 12px rgba(0,0,0,0.5); margin-bottom:20px; backdrop-filter: blur(5px); height: fit-content;
}
.panel h2 { margin-bottom:15px; text-align:center; color:#FFFFFF; }

#map { height:400px; border-radius:12px; margin-bottom:15px; } 
iframe { width:100%; height:300px; border-radius:12px; border:none; } 

.data-grid { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.data-card { flex:1 1 45%; background: rgba(17,24,39,0.4); padding:10px 15px; border-radius:10px; text-align:center; min-width:120px; box-shadow:0 2px 8px rgba(0,0,0,0.4); backdrop-filter: blur(5px); }
.data-card h3 { margin-bottom:5px; font-size:1rem; color:#00b4ff; }
.data-card p { font-size:0.9rem; color:#fff; }

.user-location { background: rgba(17,24,39,0.4); border-radius:12px; padding:10px 15px; margin-top:15px; text-align:center; box-shadow:0 2px 8px rgba(0,0,0,0.4); backdrop-filter: blur(5px); }
.user-location h3 { margin-bottom:10px; color:#00b4ff; }
.coords-grid { display:flex; justify-content:center; gap:40px; margin:10px 0; }
.coords-grid div { text-align:center; font-size:0.9rem; color:#fff; }
.coords-grid span { font-weight:bold; color:#00b4ff; font-size:1rem; }
.user-location p { margin:5px 0; }

.dialog-bg { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.6); justify-content:center; align-items:center; z-index:9999; }
.dialog { 
  background: linear-gradient(145deg, #1a1f2b, #0f121a); 
  padding:25px; border-radius:16px; max-width:450px; width:90%; 
  text-align:left; color:#eee; box-shadow:0 8px 20px rgba(0,0,0,0.7); position:relative; 
  border: 2px solid #00b4ff;
}
.dialog h3 { margin-bottom:20px; text-align:center; font-size:1.3rem; color:#00b4ff; }
.dialog p { margin-bottom:12px; line-height:1.4; }
.dialog a { color:#00b4ff; text-decoration:none; font-weight:bold; }
.dialog-buttons { display:flex; justify-content:flex-end; margin-top:15px; }
.dialog-buttons button { background:#00b4ff; color:#000; padding:8px 14px; border-radius:10px; font-weight:bold; border:none; cursor:pointer; }

.alert-banner { color:#fff; padding:10px 15px; border-radius:8px; margin-top:10px; text-align:center; font-weight:bold; display:none; }
.map-buttons { margin-bottom:10px; display:flex; gap:10px; flex-wrap:wrap; justify-content:center; }
select { padding:5px 10px; border-radius:8px; border:none; background:#00b4ff; color:#000; font-weight:bold; }

/* Mini Player */
.mini-player-dialog { position: relative; background: linear-gradient(145deg, #1a1f2b, #0f121a); padding: 20px 25px; border-radius: 16px; max-width: 300px; width: 90%; text-align: center; color: #eee; box-shadow: 0 8px 20px rgba(0,0,0,0.7); border: 2px solid #00b4ff; }
.close-btn { position: absolute; top:10px; right:10px; background: none; border: none; font-size: 1.5rem; color: #fff; cursor: pointer; }
.mini-player-dialog h3 { margin-top: 0; margin-bottom: 8px; color: #00b4ff; }
.mini-player-dialog .description { font-size: 0.9rem; margin-bottom: 20px; }
.player-controls { display: flex; justify-content: center; margin-top: 10px; }
.player-controls button { width: 50px; height: 50px; border-radius: 50%; background: green; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: background 0.3s; }
.player-controls button svg { display: block; }

/* Weather container */
.stargaze-info { background: rgba(17,24,39,0.4); border-radius: 12px; padding: 15px; margin-top: 15px; text-align: center; box-shadow:0 2px 8px rgba(0,0,0,0.4); backdrop-filter: blur(5px); color: #eee; }
.stargaze-info h3 { color: #00b4ff; margin-bottom: 12px; }
.stargaze-grid { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
.stargaze-grid div { text-align: center; min-width: 90px; font-size: 0.9rem; }
.stargaze-grid span { font-weight: bold; color: #00b4ff; display: block; margin-top: 5px; }

