.doc-download {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--red-type);
  border-radius: 22%;
  flex-shrink: 0;
  transition: background 0.15s;
}

.doc-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.doc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.doc-list {
  list-style: none;
  padding: 0;
}

.doc-meta {
  font-size: 0.8rem;
}

.doc-type-header {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--off-black);
  padding: 1.5rem 0 0.5rem;
  border-bottom: 1px solid var(--border);
}

.doc-type-header:first-child {
  padding-top: 0;
}

.login-btn {
  width: 36px;
  height: 36px;
  background: var(--red-type);
  border: none;
  border-radius: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.login-btn:hover {
  background: #d32f2f;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

.login-btn:active {
  transform: translateY(1px) scale(0.97);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.login-btn svg {
  width: 16px;
  height: 16px;
  fill: white;
}

.logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--red-type);
  border: none;
  border-radius: 22%;
  cursor: pointer;
  transition: background 0.15s;
}

.portal-controls {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

#login-view {
  display: flex;
  flex-direction: row;
  gap: 1em;
  margin-top: 20vh;
  width: 100%;
}

#password-input {
  border-right: none;
  border-left: none;
  border-width: 1px;
  border-radius: 0;
  flex: 1;
}

#password-input:focus {
  outline: none;
}

#password-input:focus::placeholder {
  color: transparent;
}