.app-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: black;
  padding-left: 5%;
  padding-right: 5%;
}

.app-navbar .logo {
  background-image: url("/static/img/spun-logo.png");
  width: 100px;
  height: 60px;
}

.app-navbar .menu ul { /* Added to target the ul specifically */
  list-style: none; /* Remove bullet points */
  margin: 0;
  padding: 0;
}

.app-navbar .menu li { /* Added to target list items */
  display: inline-block; /* For horizontal menu */
}

.app-navbar .menu a {
  color: white;
  text-decoration: none;
  padding: 10px 15px; /* Add some padding for better click area */
  display: block; /* Make the whole area clickable */
}

.app-navbar .menu a:hover {
  background-color: #333; /* Darker background on hover */
  border-radius: 5px; /* Slightly rounded corners on hover */
}

.content {
  padding: 3rem;
}

.content h1 {
  text-align: center;
}

.content a {
  color: black;
  text-decoration: none;
}

.content .page-menu-item,
.content .form-step-item {
  border-radius: 10px;
  margin-bottom: 10px;
  padding: 20px;
  background-color: #EBEBEB;
  color: black;
  text-decoration: none;
}

.content .explanation a {
  color: blue;
  text-decoration: underline;
}

.content .form-step-item {
  max-width: 900px;
  margin-top: 20px;
  /* REMOVED: margin-left: auto; */
  /* REMOVED: margin-right: auto; */
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1); /* Retain shadow */
}

.content .page-menu-item {
  max-width: 500px;
}

.content #files_body a {
  color: blue;
  text-decoration: underline;
}

.content #cvs_data {
  padding-bottom: 30px;
}

.content #showAllRows {
  cursor: pointer;
  padding-left: 30px;
}

.content .link {
  color: blue;
  text-decoration: underline;
}

/* Custom styles for the admin nuke forms page */
body {
    font-family: 'Inter', sans-serif; /* Keep Inter font */
    background-color: #f0f2f5; /* Light gray background */
}

/* This new container will center its children (the form-step-items) */
.admin-nuke-forms-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* This centers the form-step-items horizontally */
    gap: 2rem; /* Adds space between the forms */
}

/* Custom modal styling */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050; /* Bootstrap modal z-index */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.custom-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}
.custom-modal-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}
.custom-modal-overlay.show .custom-modal-content {
    transform: translateY(0);
}
.custom-modal-content h5 {
    margin-bottom: 1rem;
    font-weight: 600;
    color: #333;
}
.custom-modal-content p {
    color: #555;
}
.custom-modal-content .modal-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}
.btn-confirm {
    background-color: #dc3545; /* Red for destructive action */
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.btn-confirm:hover {
    background-color: #c82333;
}
.btn-cancel {
    background-color: #6c757d; /* Gray for cancel */
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.btn-cancel:hover {
    background-color: #5a6268;
}

/* Custom button styles to override Bootstrap for specific actions */
.btn-action {
    padding: 0.75rem 1.5rem; /* Larger buttons */
    font-size: 1.125rem; /* Larger font for buttons */
    font-weight: 600; /* Bolder button text */
    border-radius: 0.5rem; /* Rounded buttons */
    transition: all 0.2s ease-in-out;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}
.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Adjustments for form-step-item to maintain visual consistency */
.form-step-item h2 {
    text-align: center;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.75rem;
}
.form-step-item .form-label {
    font-weight: 500;
}
.form-step-item .form-control {
    border-radius: 0.375rem;
    padding: 0.625rem 1rem;
}
