body {
  font-family: Open Sans;
  color: white;
  background-color: black;
  margin: 0;
  padding: 0;
}

.header {
  text-align: center;
  padding: 20px 0;
}

/* Everything from username to links */
.full-width-box {
  width: 100%;
  box-sizing: border-box;
  background-color: black;
  padding: 10px 20px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: black;
}

/* LEFT PANEL */
.left-panel {
  display: flex;
  align-items: center;
}

/* User ID box */
.user-dropdown {
  position: relative;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: white;
  padding: 6px 10px;
  border: 1px solid black;
  border-radius: 4px;
  background-color: black;
  transition: background-color 0.3s, border-color 0.3s;
}

.user-info:hover {
  background-color: #0B0B2E;
  border-color: #0B0B2E;
}

.user-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.arrow {
  font-size: 12px;
  margin-left: 2px;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: black;
  color: white;
  border: 1px solid black;
  border-radius: 4px;
  min-width: 160px;
  padding: 0px 10px;
  z-index: 10;
}

.user-dropdown:hover .dropdown-content {
  display: block;
}

/* RIGHT PANEL */
.right-panel {
  flex: 1;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: 360px;
  margin-right: 40px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid black;
  border-radius: 4px;
  background-color: black;
  transition: background-color 0.3s, border-color 0.3s;
}

.nav-links a:hover {
  background-color: #0B0B2E;
  border-color: #0B0B2E;
  color: white;
}

/* ----------------------------------------------- */
/* SIDEBAR */
/* ----------------------------------------------- */
.left-sidebar {
  position: absolute; /* Starts exactly where it was before */
  top: 235px;
  left: 0px;
  width: 150px;
  height: 100vh; /* Takes up the height of the page */
  background-color: #0B0B2E;
  color: white;
  padding: 20px;
  border-radius: 0 10px 10px 0;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
  z-index: 1000;

  /* Condition A: No scroll ability or visible scroller */
  overflow: hidden;
}

/* This class will be toggled by the script below */
.sidebar-fixed {
  position: fixed !important;
  top: 0 !important;
}

.left-sidebar h2 {
  margin-top: 0;
  color: White;
  font-size: 18px;
}

.left-sidebar ul {
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.left-sidebar ul li {
  margin-bottom: 30px;
}

.left-sidebar ul li a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.left-sidebar ul li a:hover {
  color: #60ABEB;
}

/* ------------------------------------------- */
/* SHARED SECTION HEADER (Borders with Text) */
/* ------------------------------------------- */
.section-header {
  margin-left: 0px;
  margin-top: 40px;
  width: 1320px;
  border-radius: 0px 10px 10px 0px;
  border: 1px solid #0B0B2E;
  background-color: #0B0B2E;
}

.section-header h2 {
  margin-left: 240px;
  font-size: 30px;
  color: white;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* ------------------------------------------- */
/* CONTENT BOX STYLES (Used for both sections) */
/* ------------------------------------------- */

/* Container for left and right boxes */
.section-content-wrapper {
  display: flex;
  gap: 30px; /* Space between the two content boxes */
}

.section-container {
    margin-left: 250px;
    margin-top: 40px;
}

.content-box {
    background-color: #0B0B2E; /* Midnight Blue */
    padding: 20px 30px;
    border-radius: 10px;
    border: 1px solid #0B0B2E;
    color: white;
    width: 600px; /* Set the width for the existing content box */
    box-sizing: border-box;
}

/* Style for the new empty box on the right (and the new Account Summary Box) */
.review-box,
.account-summary {
    width: 400px; /* Adjusted width for the new box */
    min-height: 250px; /* Added min-height to ensure it's visible */
    margin-left: 20px;
}

/* Ensure the form box matches the new review box size if they are meant to be aligned */
.content-box form {
  height: 100%;
}

.content-box h3 {
    margin-top: 0;
    color: #60ABEB; /* Accent color for inner titles */
    font-size: 18px;
    margin-bottom: 20px;
}

.content-box p {
    font-size: 14px;
    line-height: 1.6;
}

/* Divider line */
.divider {
    border: 0;
    height: 1px;
    background: #333;
    margin: 20px 0;
}

.warning-text {
    color: #ffcccc; /* Light red for warnings */
    font-style: italic;
    font-size: 13px;
    margin-bottom: 20px;
}

.note-text {
    color: #60ABEB; /* Accent color for notes */
    font-size: 13px;
    margin-top: 20px;
}


/* ------------------------------------------- */
/* FORM ELEMENTS (Inputs, Selects, Buttons) */
/* ------------------------------------------- */

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-size: 14px;
    color: #FFFFFF;
}

/* Inputs, Selects, Textareas */
.content-box input[type="text"],
.content-box select,
.content-box textarea {
    background-color: black;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 10px;
    color: white;
    font-family: Open Sans;
    font-size: 14px;
    outline: none;
    width: 100%; /* Fill the box */
    box-sizing: border-box; /* Ensures padding doesn't break width */
}

.content-box input[type="text"]:focus,
.content-box select:focus,
.content-box textarea:focus {
    border-color: #60ABEB;
}

/* Action Button */
.action-btn {
    background-color: black;
    color: white;
    border: 1px solid white;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-family: Open Sans;
    transition: all 0.3s;
    margin-top: 10px;
}

.action-btn:hover {
    background-color: white;
    color: black;
}

/* Specific style for cancel button if needed */
.cancel-btn:hover {
    background-color: #ffcccc;
    color: black;
    border-color: #ffcccc;
}