body { 
  
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: Arial; 
  margin: 0;
  padding: 0; 

}

header { background: #b30000; color: white; padding: 15px; text-align: center; }

nav { background: #222; padding: 10px; text-align: center; }

nav a { color: white; margin: 0 10px; text-decoration: none; }

footer { background: #111; color: white; text-align: center; padding: 10px; margin-top: 0; margin-bottom: 0; }

iframe { width: 100%; height: 100%; border: none;}
object { width: 100%; height: 100%; }

#topBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px;
  background: red;
  color: white;
  border: none;
  cursor: pointer;
}

#viewer {
    width: 100vw;
    height: calc(100vh - 140px);
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    margin-left: calc(-50vw + 50%);
}

.pdf-page {
    width: 100%;
    margin: 0;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
}

.header {
  background: #ffffff;
  text-align: center;
  padding: 10px;
  border-bottom: 2px solid #b30000;
}

.logo {
  max-width: 250px;
  height: auto;
}

.password-container {
  display: flex;
  align-items: center;
  max-width: 300px;  /* optional: same width as email input */
  width: 100%;
}

.password-container input {
  flex: 1;             /* takes all remaining space */
  height: 35px;        /* match email input height */
  font-size: 16px;
  padding: 0 10px;     /* padding inside input */
  box-sizing: border-box;
}

.filter {
    text-align: center;
    margin: 20px 0;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 5px;
}

.filter label {
    margin-right: 10px;
    font-weight: bold;
}

.filter input[type="date"] {
    padding: 5px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.filter button {
    padding: 5px 10px;
    background: #b30000;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.filter button:hover {
    background: #990000;
}

#list {
    list-style: none;
    padding: 0;
    margin: 20px;
}

#list li {
    margin: 10px 0;
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#list a {
    text-decoration: none;
    color: #b30000;
    font-weight: bold;
}

#list a:hover {
    text-decoration: underline;
}

.page-nav {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    z-index: 10;
    flex-wrap: wrap;
}

.page-nav button {
    padding: 8px 12px;
    background: #b30000;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    margin: 0 2px;
}

.page-nav button:hover {
    background: #990000;
}

