:root {
  --bg-primary: #121212;
  --bg-secondary: #1e1e1e;
  --bg-tertiary: #2a2a2a;
  --button-color: #111111;
  --text-primary: #ffffff;
  --text-secondary: #ffffff;
  --accent-color: rgb(231, 234, 237);
  --border-radius: 5px;
  --transition-speed: 0.3s;
}

body {
  font-family: 'Cabin', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

h1 {
  color: var(--accent-color);
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

form {
  background-color: var(--bg-secondary);
  padding: 24px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-secondary);
}


select, input[type="file"]{
  text-align: center;
  width: 100%;
  padding: 10px;
  margin-bottom: 16px;
  border: 1px solid white;
  border-radius: var(--border-radius);
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  transition: border-color var(--transition-speed);
}

select:focus, input[type="file"]:focus {
  outline: none;
  border-color: var(--accent-color);
}
input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #444;
  border-radius: 4px;
  background-color: #333;
  color: #fff;
  box-sizing: border-box;
}

a, a:visited {
  color: var(--text-primary) !important;
}

button, .buttonLink {
  background-color: var(--bg-tertiary);
  color: var(--text-primary) !important;
  padding: 6px 10px;
  border-color: rgba(255, 255, 255, 0.0);
  border: 1px;
  border-style: solid;
  border-radius: var(--border-radius);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  margin: 3px 0;
  transition: background-color var(--transition-speed), transform var(--transition-speed);
  font-weight: 600;
  text-align: center;
}

button:hover, .buttonLink:hover {
  background-color: var(--bg-tertiary);
  transform: translateY(-2px);
}
.login-box {
  background-color: #2a2a2a;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 20px;
  width: 300px;
}

.button-container {
    display: flex;
    justify-content: space-between;
}

button:focus, .buttonLink:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(187, 134, 252, 0.5);
}

.header-side-by-side {
  display: flex;
  flex-direction: row;
}

.pdf-list {
  list-style-type: none;
  padding: 0;
}

.pdf-item {
  background-color: var(--bg-secondary);
  margin-bottom: 16px;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-speed);
}

.pdf-item:hover {
  transform: translateY(-2px);
}
.edit-body {
  font-family: 'Inter', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  height: 80vh;
  top: 20vh;
}

.label-form {
  overflow-y: auto;
  position: fixed;
  width: 20%;
  height: 80vh;
  top: 5px;
  right: 5px;
}
.label-form input, .label-form select{
  padding: 1px !important;
  border: 1px solid #444;
  border-radius: 4px;
  background-color: #333;
  color: #fff;
  box-sizing: border-box;
  font-size: .8em !important;
  margin-bottom: 1px !important;
  margin-top: 1px !important;
}
.label-form label {
  font-size: .8em;
  color: var(--text-secondary);
  margin-bottom: 1px !important;
}

.body-container {
  position: absolute !important;
  display: flex !important;
  top: 0vh !important;
  width: 85vw !important;
  height: 100vh !important;
  left: 20vw !important;
  flex-direction: column !important;
  align-items: center !important;
} 

.custom-navbar {
  position: fixed;
  top: 0;
  left: 0vw;
  display: flex;
  max-width: 15vw;
  height: 100vh;
  flex-direction: column;
  z-index: 10;
  background-color: var(--bg-secondary);
}

.custom-navbar nav {
  display: flex;
  justify-content: space-between;
  width: 100%
}

.custom-navbar ul {
  padding: 20px !important;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: space-between;
}

.custom-navbar li {
  padding: 5px;
}
.custom-navbar a {
  padding-left: 5px;
  text-decoration: none;
  border-left: 2px solid;
  line-height: 3px;
}
.staging-nav-entry {
  padding-left: 20px !important;
}

.pdf-item a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-speed);
}

.pdf-item a:hover {
  color: #a174e8;
}

.section {
  width: 80%;
  margin-bottom: 40px;
}

.info-list {
  background-color: var(--bg-tertiary);
  padding: 20px;
  border-radius: var(--border-radius);
}

table {
  width: 100%; /* Or a specific width */
  table-layout: fixed;
  border-collapse: collapse;
}

th, td {
  border: 1px solid white;
  padding: 8px;
  overflow: hidden;
  word-wrap: break-word;
}


/* Set specific column widths */
th:first-child, td:first-child {
  width: 60px;
}

th:nth-child(2), td:nth-child(2) {
  width: 80px;
}
th:nth-child(3), td:nth-child(3) {
  width: 200px;
}
th:nth-child(4), td:nth-child(4) {
  width: 200px;
}
th:nth-child(5), td:nth-child(5) {
  width: 200px;
}
th:nth-child(6), td:nth-child(6) {
  width: 200px;
}

/* Add more column width specifications as needed */

/* Success page */
.success-body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f0 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: 'Cabin', sans-serif;
}

.success-container {
    background: white;
    border-radius: 12px;
    padding: 48px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    max-width: 480px;
    z-index: 1;
}

.success-logo {
    max-width: 200px;
    margin-bottom: 24px;
}

.success-heading {
    color: #1B2C60;
    font-size: 1.5em;
    margin-bottom: 12px;
    border: none;
    padding: 0;
}

.success-message {
    color: #444;
    margin-bottom: 8px;
}

.success-close {
    color: #888;
    font-size: 0.9em;
    margin-top: 16px;
}

/* Custom OAuth Link Modal */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.custom-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.custom-modal-dialog {
    position: relative;
    z-index: 2;
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
}

.custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--bg-tertiary);
}

.custom-modal-title {
    margin: 0;
    color: var(--accent-color);
    font-size: 1.25rem;
    border: none;
    padding: 0;
}

.custom-modal-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    margin: 0;
}

.custom-modal-close:hover {
    color: var(--accent-color);
    background: none;
}

.custom-modal-body {
    padding: 20px;
}

.custom-modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 12px 20px;
    border-top: 1px solid var(--bg-tertiary);
    gap: 8px;
}

