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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Login Page Styles */
.login-container {
  background: white;
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  max-width: 450px;
  width: 100%;
}

.logo {
  text-align: center;
  margin-bottom: 35px;
}

.logo-icon {
  font-size: 72px;
  margin-bottom: 20px;
  display: block;
}

.logo-text {
  font-size: 32px;
  font-weight: 700;
  color: #4a5568;
  margin-bottom: 8px;
}

.logo-subtitle {
  font-size: 15px;
  color: #718096;
  font-weight: 400;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 10px;
  font-size: 15px;
}

.form-group input {
  width: 100%;
  padding: 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s ease;
  background: #fafafa;
}

.form-group input:focus {
  outline: none;
  border-color: #667eea;
  background: white;
}

.form-group input::placeholder {
  color: #a0aec0;
}

.login-button {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.login-button:active {
  transform: translateY(0);
}

.login-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.error-message {
  background: #fff5f5;
  color: #c53030;
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 20px;
  display: none;
  font-size: 14px;
  border-left: 4px solid #fc8181;
}

.error-message.show {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.loading {
  text-align: center;
  color: #667eea;
  font-size: 15px;
  padding: 20px;
  display: none;
}

.loading.show {
  display: block;
}

.footer {
  text-align: center;
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid #e2e8f0;
  font-size: 13px;
  color: #a0aec0;
}

/* Dashboard Page Styles */
.container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 20px;
}

.header {
  text-align: center;
  color: white;
  margin-bottom: 30px;
}

.header h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.header p {
  font-size: 18px;
  opacity: 0.9;
}

.team-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  margin-top: 10px;
}

.datetime-display {
  background: rgba(255,255,255,0.2);
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 13px;
  margin-top: 15px;
  display: inline-block;
  font-weight: 500;
}

.datetime-display div {
  margin: 3px 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}

.dashboard-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.dashboard-card:hover {
  transform: translateY(-5px);
}

.dashboard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.card-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.card-title {
  font-size: 24px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 10px;
}

.card-description {
  font-size: 14px;
  color: #7f8c8d;
  margin-bottom: 20px;
}

.card-button {
  display: inline-block;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.card-button:hover {
  opacity: 0.9;
}

.logout-button, .admin-button {
  position: fixed;
  bottom: 30px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  z-index: 100;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.logout-button {
  left: 30px;
}

.admin-button {
  right: 30px;
}

.logout-button:hover, .admin-button:hover {
  opacity: 0.9;
}
