/* CyberBridge CSS Variables */
:root {
  --primary-color: #8B2E3F;
  --secondary-color: #2E2E2E;
  --accent-color: #4CAF50;
  --highlight-color: #FBC02D;
  --background-color: #FDF7F2;
  --primary-hover: #722530;
  --accent-hover: #45a049;
  --highlight-hover: #f9a825;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-300: #d4d4d4;
  --gray-600: #525252;
  --border-radius: 12px;
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --font-heading: 'Libre Baskerville', serif;
  --font-body: 'Open Sans', sans-serif;
  --font-subtitle: 'Raleway', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--secondary-color);
  background: linear-gradient(135deg, var(--background-color) 0%, #f0e6dc 100%);
  margin: 0;
  padding: 1rem;
  min-height: 100vh;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

.form-container {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(139, 46, 63, 0.1);
}

h1 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  text-align: center;
  font-size: 2rem;
  margin: 0 0 1.5rem 0;
}

.form-section {
  background: var(--background-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--primary-color);
}

.form-section h3 {
  font-family: var(--font-subtitle);
  color: var(--primary-color);
  margin: 0 0 1rem 0;
  font-size: 1.2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-family: var(--font-subtitle);
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

input[type="date"],
input[type="text"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  transition: all 0.2s ease;
}

input[type="date"]:focus,
input[type="text"]:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(139, 46, 63, 0.1);
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: var(--white);
  border-radius: 8px;
  border: 2px solid var(--gray-200);
  transition: all 0.2s ease;
}

.checkbox-item:hover {
  border-color: var(--primary-color);
  background: rgba(139, 46, 63, 0.02);
}

.checkbox-item input[type="checkbox"] {
  width: auto;
  margin: 0;
  transform: scale(1.2);
  accent-color: var(--primary-color);
}

.checkbox-item label {
  margin: 0;
  font-weight: 500;
  cursor: pointer;
  font-size: 0.95rem;
}

.date-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.submit-section {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--gray-200);
}

input[type="submit"] {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-family: var(--font-subtitle);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  min-width: 200px;
}

input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

#response {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--background-color);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--accent-color);
  display: none;
}

.loading {
  text-align: center;
  color: var(--primary-color);
  font-style: italic;
}

@media (max-width: 768px) {
  .container {
    padding: 0.5rem;
  }
  
  .form-container {
    padding: 1.5rem;
  }
  
  
  .date-row {
    grid-template-columns: 1fr;
  }
  
  .checkbox-group {
    grid-template-columns: 1fr;
  }
}

/* Responsiv tabel styling for resultater */
.results-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 1rem;
}

.results-table th {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  color: var(--white);
  font-family: var(--font-subtitle);
  font-weight: 600;
  padding: 1rem;
  text-align: left;
}

.results-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.results-table tr:nth-child(even) {
  background: var(--background-color);
}

.results-table tr:hover {
  background: rgba(139, 46, 63, 0.05);
}

/* === styles2.css content === */

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--secondary-color);
  background: linear-gradient(135deg, var(--background-color) 0%, #f0e6dc 100%);
  margin: 0;
  padding: 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid rgba(139, 46, 63, 0.1);
}

.header {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  color: var(--white);
  padding: 2rem;
  text-align: center;
}

.header h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin: 0 0 0.5rem 0;
  color: var(--white); /* Sikrer hvid tekst */
  opacity : 1;
}

.header p {
  margin: 0;
  opacity: 0.9;
  font-size: 1.1rem;
}

.table-wrapper {
  overflow-x: auto;
  padding: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin: 0;
  font-family: var(--font-body);
}

table th {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  color: var(--white);
  font-family: var(--font-subtitle);
  font-weight: 600;
  padding: 1rem;
  text-align: left;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
}

table td {
  padding: 1rem;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.95rem;
  vertical-align: top;
  border-left: none;
  border-right: none;
}

table tr:nth-child(even) {
  background: var(--background-color);
}

table tr:nth-child(odd) {
  background: var(--white);
}

table tr:hover {
  background: rgba(139, 46, 63, 0.05);
  transform: scale(1.005);
  transition: all 0.2s ease;
}

table tr:last-child td {
  border-bottom: none;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--accent-color);
  color: var(--white);
}

.contact-info {
  font-weight: 500;
  color: var(--primary-color);
}

.date-cell {
  font-weight: 600;
  color: var(--secondary-color);
}

.notes-cell {
  max-width: 200px;
  word-wrap: break-word;
  font-style: italic;
  color: var(--gray-600);
}

.footer {
  padding: 1.5rem;
  text-align: center;
  background: var(--background-color);
  color: var(--gray-600);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 1.5rem;
  }
  
  table th,
  table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
  }
  
  .notes-cell {
    max-width: 150px;
  }
}

/* Button Styles */
.button {
  border: solid;
  color: black;
  padding: 5px 20px;
  text-align: left;
  text-decoration: none;
  display: top;
  font-size: 22px;
  margin: 4px 2px;
  cursor: pointer;
}
.button3 { background-color: lightgreen; } /* purple monster */
.button2 { background-color: #008080; } /* Teal */

/* Additional CyberBridge Styles */
:root {
  --gray-400: #a3a3a3;
  --error-color: #dc2626;
  --success-color: var(--accent-color);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --font-decorative: 'Satisfy', cursive;
}

/* Form container animation */
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-container {
  animation: slideInUp 0.6s ease;
}

/* Pulse animation */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.loading {
  animation: pulse 1.5s ease-in-out infinite;
}

/* Accessibility and focus */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.checkbox-item:focus-within,
select:focus,
.submit-button:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}