body {
  font-family: Arial, Helvetica, sans-serif;
}

a, a:link, a:visited {
  color: black;
  text-decoration: none;
}

.docs-title {
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  padding: 10px 10px;
}

.docs-title-user {
  width: 100%; 
  text-align: right;
}

.docs-main {
  display: flex; 
  flex-flow: row; 
  flex-wrap: wrap; 
  gap: 10px;
  padding: 10px;
}

.doc {
  background-color: #f4f4f4; 
  border-radius: 5px; 
  padding: 5px; 
  width: 200px; 
  display: grid; 
  grid-template-rows: auto 20px 20px; 
  grid-row-gap: 10px; 
  text-align: center;
  overflow-wrap: anywhere;
}

.doc-cover {
  width: 200px; 
  height: auto;
}

.doc-line {
  width: 100%; 
  text-align: center;
}

.upload-form {
  width: 300px; 
  display: grid; 
  grid-template-rows: 1fr 1fr 1fr; 
  row-gap: 10px; 
  margin: 50px auto;
}

.login-form {
  width: 300px; 
  display: grid; 
  grid-template-rows: 1fr 1fr 1fr 1fr; 
  row-gap: 10px; 
  text-align: center; 
  margin: 50px auto;
}

.page-title {
  display: grid; 
  grid-template-columns: 1fr 50px 150px 50px 1fr;
  gap: 10px;
  padding: 10px 10px;
}

.page-title-name {
  width: 100%; 
  text-align: left;
}

.page-title-control {
  width: 100%;
  text-align: center;
}

.page-title-user {
  width: 100%; 
  text-align: right;
}

.page-image {
  width: 100%;
}

.button {
  background-color: #d4d4d4;
  border-radius: 10px;
  padding: 10px;
  max-width: max-content;
  line-height: 24px;
}

.bmarks {
  z-index: 10;
  position: fixed;
  top: 60px;
  right: 0px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: auto;
  max-width: 60px;
  transition: max-width 0.5s ease-in-out;
}

.bmarks.active,
.bmarks:hover {
  max-width: 500px;
}

.bmarks-tab {
  background-color: #f4f4f4;
  border-radius: 10px 0 0 10px;
  padding: 10px;
  text-align: center;
  min-width: 60px;
  cursor: pointer;
  /* display: block; */
  white-space: nowrap;
  overflow-x: hidden;
  text-overflow: ellipsis;
}

.bmarks-tab.active {
  background-color: #d4d4d4;
}

.bmarks:hover > .bmarks-tab {
  overflow: visible;
}

.bmarks.active > .bmarks-tab.pin {
  background-color: #d4d4d4;
  border-radius: 0 10px 10px 0;
  transform: rotate(180deg);
}

.bmarks-plus {
  background-color: #d4d4d4;
  border-radius: 10px 0 0 10px;
  padding: 10px;
  text-align: center;
  height: 40px;
  line-height: 40px;
  cursor: pointer;
}

.container {
  position: relative;
  width: 100%;
  height: 30px;
  background-color: #f1f1f1;
  border-radius: 5px;
}

.progress-fill {
  height: 100%;
  background-color: #2196F3;
  border-radius: 5px;
  transition: width 0.4s ease; /* Smoothly animates width changes */
}

.progress-text {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  text-align: center;
  line-height: 30px; /* Matches container height */
  font-weight: bold;
}