* { margin: 0; padding: 0; box-sizing: border-box; }

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

header, footer {
  background-color: #002244;
  color: white;
  text-align: center;
  padding: 15px 20px;
  position: relative;
}

.logo {
  height: 40px;
  position: absolute;
}

.left-logo {
  left: 20px;
  top: 10px;
}

.right-logo {
  right: 20px;
  top: 10px;
}

.signout-button {
  position: absolute;
  right: 20px;
  top: 15px;
  padding: 8px 15px;
  border: none;
  background-color: crimson;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

footer {
  margin-top: auto;
  font-size: 14px;
  padding: 20px;
}

.login-page {
  justify-content: center;
  align-items: center;
}

.login-box {
  background: white;
  width: 300px;
  margin: 60px auto;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.15);
  text-align: center;
}

input {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

button, .button {
  background: #0052cc;
  color: white;
  padding: 10px 20px;
  margin-top: 15px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s;
}

button:hover, .button:hover {
  background: #003d99;
}

.dashboard {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 40px 20px;
  gap: 20px;
  flex-grow: 1;
}

.full-height {
  flex-grow: 1;
  min-height: calc(100vh - 160px);
  align-items: stretch;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  flex: 1 1 30%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
}

.card h3 {
  color: #0052cc;
  margin-bottom: 10px;
}

.highlight {
  font-size: 1.5em;
  color: #2cb978;
  margin: 10px 0;
}

.details-box {
  background: white;
  width: 400px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.details-box p {
  margin: 15px 0;
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-slide {
  animation: slideUp 0.5s ease-out;
}

.animate-fade {
  animation: fadeIn 0.6s ease-in;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  flex-wrap: wrap;
  gap: 10px;
}

.fixed-logo {
  height: 40px;
  max-width: 60px;
  object-fit: contain;
}

.header-flex h1 {
  flex-grow: 1;
  text-align: center;
  font-size: 1.2em;
}
