body {
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Index Header Styles */
.index-header {
  background: white;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.index-header .header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.index-header .header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.index-header .header-left h1 {
  margin: 0;
  font-size: 24px;
  color: #6750a4;
  font-weight: 500;
}

.index-header .header-left .material-icons {
  font-size: 32px;
  color: #6750a4;
}

.index-header .header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

#authStatus {
  display: flex;
  align-items: center;
  gap: 12px;
}

#currentUserInfo {
  display: flex;
  align-items: center;
  gap: 12px;
}

#notLoggedIn {
  display: flex;
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6750a4;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}

.nav-link:hover {
  opacity: 0.8;
}

.nav-link .material-icons {
  font-size: 20px;
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 14px;
  padding: 8px 12px;
  background: #f5f5f5;
  border-radius: 20px;
}

.user-badge .material-icons {
  font-size: 18px;
  color: #6750a4;
}

.mdc-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin: auto;
  padding: 2rem 3rem;
  text-align: center;
  width: 100%;
  max-width: 400px;
}
.mdc-typography--headline4 {
  font-size: 2rem;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 1rem;
}
.mdc-typography--body1 {
  font-size: 1.1rem;
  color: #555;
}
.mdc-theme--primary {
  color: #6750a4;
}
.md3-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: #6750a4;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 0.75em 1.5em;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(103,80,164,0.10);
  transition: background 0.2s;
  margin-top: 2rem;
}
.md3-btn:hover, .md3-btn:focus {
  background: #7f67be;
}
.card-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  justify-content: center;
  min-height: 100vh;
  margin-top: 0;
}
.status-table-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.3em;
}
.status-table-label {
  font-weight: 500;
  min-width: 120px;
  text-align: left;
}
.status-table-value {
  text-align: right;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
  .index-header .header-content {
    padding: 0 12px;
    height: 56px;
  }

  .index-header .header-left {
    gap: 8px;
  }

  .index-header .header-left h1 {
    font-size: 18px;
  }

  .index-header .header-left .material-icons {
    font-size: 28px;
  }

  .index-header .header-right {
    gap: 8px;
  }

  #authStatus {
    gap: 8px;
  }

  #currentUserInfo {
    gap: 8px;
  }

  .nav-link {
    gap: 4px;
    font-size: 12px;
    padding: 6px 8px;
  }

  .nav-link .material-icons {
    font-size: 18px;
  }

  .nav-link span:not(.material-icons) {
    display: none;
  }

  .user-badge {
    padding: 6px 8px;
    font-size: 13px;
    gap: 6px;
  }

  .user-badge .material-icons {
    font-size: 18px;
  }

  .mdc-card {
    margin: 0 1rem;
    padding: 1.5rem 1.5rem;
    max-width: calc(100% - 2rem);
  }
  
  .mdc-typography--headline4 {
    font-size: 1.5rem;
  }
  
  .mdc-typography--body1 {
    font-size: 1rem;
  }
  
  .card-container {
    gap: 1rem;
    padding: 1rem 0;
  }
  
  .status-table-label {
    min-width: 100px;
    font-size: 0.9rem;
  }
  
  .status-table-value {
    font-size: 0.9rem;
  }
  
  .md3-btn {
    font-size: 0.95rem;
    padding: 0.65em 1.25em;
  }
}

@media (max-width: 480px) {
  .index-header .header-content {
    padding: 0 8px;
    height: 52px;
    gap: 8px;
  }

  .index-header .header-left {
    gap: 6px;
    min-width: 0;
  }

  .index-header .header-left h1 {
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
  }

  .index-header .header-left .material-icons {
    font-size: 24px;
    flex-shrink: 0;
  }

  .index-header .header-right {
    gap: 4px;
    flex-shrink: 0;
  }

  #authStatus {
    gap: 4px;
  }

  #currentUserInfo {
    gap: 4px;
  }

  .nav-link {
    gap: 0;
    font-size: 11px;
    padding: 4px 6px;
    min-width: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-link .material-icons {
    font-size: 16px;
    margin: 0;
  }

  .nav-link span:not(.material-icons) {
    display: none;
  }

  .user-badge {
    padding: 4px 6px;
    font-size: 12px;
    gap: 4px;
    border-radius: 16px;
  }

  .user-badge .material-icons {
    font-size: 16px;
  }

  .user-badge span:last-child {
    display: none;
  }

  .mdc-card {
    padding: 1.25rem 1rem;
  }
  
  .mdc-typography--headline4 {
    font-size: 1.35rem;
  }
  
  .material-icons {
    font-size: 36px !important;
  }
  
  .status-table-row {
    flex-direction: column;
    margin-bottom: 0.8em;
  }
  
  .status-table-label {
    text-align: left;
    margin-bottom: 0.2em;
  }
  
  .status-table-value {
    text-align: left;
    font-weight: 400;
  }
}

