body {
  background: linear-gradient(135deg, rgb(117, 116, 116) 0%, blue 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

/* container and header */
.sheets-container {
  padding: 15px;
  width: 90vw;
  max-width: 1400px;
}

.sheets-card {
  background: linear-gradient(135deg, #ffffff 0%, #a89999 100%);
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.sheets-body img {
  display: block;
  margin: 0 auto;
  max-width: 200px; /* Adjust size as needed */
}

.sheets-header {
  background: linear-gradient(135deg, #084bd1 0%, #2b78e4 100%);
  color: white;
  padding: 2rem;
  text-align: center;
}

.sheets-body {
  padding: 2rem;
}

/** regular button **/
.sheets-button-group {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.sheets-button {
  background: linear-gradient(135deg, #f3f4f7 0%, #4b5563 100%);
  border: none;
  border-radius: 12px;
  color: #1f2937; /* Dark gray text instead of white */
  padding: 1rem;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  width: 100%;
  max-width: 100%;
  text-align: center;
  cursor: pointer;
  white-space: normal;
  box-sizing: border-box;
  overflow: hidden;
  word-wrap: break-word;
}

.sheets-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(75, 85, 99, 0.4);
  color: #111827; /* Even darker on hover */
}

.sheets-button:active {
  transform: translateY(0);
}

/* Form controls */
.form-control {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-control-lg {
  padding: 1rem;
  font-size: 1.125rem;
}

/* Spacing utilities */
.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.d-grid {
  display: grid;
}

/* Button spacing in form groups */
.form-group .btn-block,
.form-group .btn-back,
.form-group .btn-new,
.form-group .btn-materials {
  margin-bottom: 15px;
}

/* Remove margin from last button in group */
.form-group .btn-block:last-child,
.form-group .btn-back:last-child,
.form-group .btn-new:last-child,
.form-group .btn-materials:last-child {
  margin-bottom: 0;
}

/* new button */
.btn-log {
  background: linear-gradient(135deg, grey 0%, lightblue 100%);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
  width: 100%; /* Full width on mobile */
  max-width: 1500px; /* Limit width on desktop */
}

.btn-log:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  color: white;
  text-decoration: none;
}

.btn-log:active {
  transform: translateY(0);
}

/* new button */
.btn-new {
  background: linear-gradient(135deg, #cce7c9 0%, #276221 100%);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  width: 100%; /* Full width on mobile */
  max-width: 1500px; /* Limit width on desktop */
}

.btn-new:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  color: white;
  text-decoration: none;
}

.btn-new:active {
  transform: translateY(0);
}

/* delete button */
.btn-delete {
  background: linear-gradient(135deg, #ffb3b3 0%, #ff2424 100%);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(240, 58, 185, 0.3);
  width: 100%; /* Full width on mobile */
  max-width: 1500px; /* Limit width on desktop */
}

.btn-delete:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px pink;
  color: white;
  text-decoration: none;
}

.btn-delete:active {
  transform: translateY(0);
}

/* Button styling */
.btn-back {
  background: linear-gradient(135deg, grey 0%, lightblue 100%);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
  width: 100%; /* Full width on mobile */
  max-width: 1500px; /* Limit width on desktop */
}

.btn-back:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  color: white;
  text-decoration: none;
}

.btn-back:active {
  transform: translateY(0);
}

/* save button */
.btn-save {
  background: linear-gradient(135deg, blue 0%, lightblue 100%);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  margin: 0 auto;
  box-shadow: 0 4px 15px blue;
  width: 100%; /* Full width on mobile */
  max-width: 1500px; /* Limit width on desktop */
}

.btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  color: white;
  text-decoration: none;
}

.btn-save:active {
  transform: translateY(0);
}

/* submit button */
.btn-submit {
  background: linear-gradient(135deg, green 0%, lightgreen 100%);
  color: black;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  margin: 0 auto;
  box-shadow: 0 4px 15px green;
  width: 100%; /* Full width on mobile */
  max-width: 1500px; /* Limit width on desktop */
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  color: whit;
  text-decoration: none;
}

.btn-submit:active {
  transform: translateY(0);
}

/* Sketch button */
.btn-sketch {
  background: linear-gradient(135deg, green 0%, lightgreen 100%);
  color: black;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline;
  margin: 0 auto;
  box-shadow: 0 4px 15px green;
  width: 100%; /* Full width on mobile */
  max-width: 150px; /* Limit width on desktop */
}

.btn-sketch:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  color: white;
  text-decoration: none;
}

.btn-sketch:active {
  transform: translateY(0);
}

/* materials button */
.btn-material {
  background: linear-gradient(135deg, yellow 0%, lightyellow 100%);
  color: black;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline;
  margin: 0 auto;
  box-shadow: 0 4px 15px yellow;
  width: auto;
  min-width: 150px;
  max-width: 100%;
}

.btn-material:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px lightyellow;
  color: white;
  text-decoration: none;
}

.btn-material:active {
  transform: translateY(0);
}

/* Loading/empty state */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #6b7280;
  font-style: italic;
}

.empty-state h3 {
  color: #374151;
  margin-bottom: 10px;
}

/* old styles */

.entryLabelDescription {
  font-size: 8pt;
}

.textBoxErrorMessage {
  background-color: red;
  color: white;
}

.items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
    
.btn-list-item {
  width: 100%;
  display: block;
  text-align: left;
  font-size: 16px;
  padding: 15px;
  margin-bottom: 0;
  white-space: normal;
  word-wrap: break-word;
}
    
.empty-message {
  text-align: center;
  color: #666;
  padding: 20px;
}

/* Timesheet status styles */
input.draft {
  background-color: rgba(241, 100, 100, 0.81);
}

input.submitted {
  background-color: rgba(76, 255, 0, 0.62);
}

.validation-error {
    border: 2px solid red !important;
}

.validation-error input,
.validation-error textarea,
.validation-error select {
    border: 2px solid red !important;
}

/* ASP.NET DropDownList styling */
select.form-control {
  min-height: 50px;
  font-size: 16px;
  padding: 12px;
  line-height: 1.5;
}

/* Signature Preview Styling */
#signaturePreview {
  background: white;
  margin-top: 15px;
  text-align: center;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 8px;
  min-height: 50px;
}

#signaturePreview img {
  border: 2px solid #333;
  border-radius: 4px;
  max-width: 100%;
  height: auto;
  max-height: 200px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#signaturePreview small {
  background: white;
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
}

/* ================================================
   Signature Copy Table Styles
   ================================================ */
.sigcopy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
  font-size: 14px;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid #333;
}

.sigcopy-table th,
.sigcopy-table td {
  border: 1px solid #333;
  padding: 10px 8px;
  text-align: left;
  color: #333;
}

.sigcopy-table th {
  background: linear-gradient(135deg, #084bd1 0%, #2b78e4 100%);
  color: white;
  font-weight: 600;
  border: 1px solid #064299;
}

.sigcopy-table tr {
  background-color: white;
}

.sigcopy-table tr:nth-child(even) {
  background-color: #f0f0f0;
}

.sigcopy-table tr:hover {
  background-color: #d4edfa;
}

.sigcopy-table input[type="radio"],
.sigcopy-table input[type="checkbox"] {
  transform: scale(1.4);
  cursor: pointer;
}

.sigcopy-table .select-all-row {
  background-color: #fff3cd !important;
}

.sigcopy-table .select-all-row td {
  color: #856404;
  font-style: italic;
  border: 1px solid #333;
}

/* Signature status indicators */
.sig-yes {
  color: #155724;
  font-weight: bold;
  background-color: #d4edda;
  padding: 2px 6px;
  border-radius: 4px;
}

.sig-no {
  color: #721c24;
  font-weight: bold;
  background-color: #f8d7da;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Section labels */
.section-label {
  font-weight: bold;
  margin: 15px 0 10px 0;
  padding: 10px 15px;
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  border-left: 4px solid #084bd1;
  border-radius: 4px;
  color: #333;
}

/* Instructions box */
.sigcopy-instructions {
  background-color: white;
  padding: 12px 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: #333;
  border: 1px solid #ddd;
}

.sigcopy-instructions strong {
  color: #084bd1;
}


/* ================================================
   Sketch List Drawing Row Styles
   ================================================ */

/* Drawing row - contains edit and delete buttons */
.drawing-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: stretch;
}

.drawing-row .sheets-button {
    flex: 1;
    margin-bottom: 0;
}

/* Small delete button */
.btn-delete-small {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(238, 90, 90, 0.3);
    min-width: 45px;
}

.btn-delete-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 90, 90, 0.4);
    background: linear-gradient(135deg, #ff5252 0%, #e53935 100%);
}

.btn-delete-small:active {
    transform: translateY(0);
}