* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

a {
  text-decoration: none;
  color: inherit;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s;
  font-weight: 500;
}
.btn.btn-primary {
  background: #dc3545;
  color: white;
}
.btn.btn-primary:hover {
  background: rgb(189.2151898734, 32.7848101266, 47.7721518987);
}
.btn.btn-secondary {
  background: #1f517d;
  color: white;
}
.btn.btn-secondary:hover {
  background: rgb(20.8653846154, 54.5192307692, 84.1346153846);
}
.btn.btn-danger {
  background: #ab1c2a;
  color: white;
}
.btn.btn-danger:hover {
  background: rgb(127.175879397, 20.824120603, 31.2361809045);
}
.btn.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.alert {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
}
.alert.alert-success {
  background: rgb(175.1304347826, 235.8695652174, 189);
  border: 1px solid #28a745;
  color: rgb(20.2898550725, 84.7101449275, 35);
}
.alert.alert-danger {
  background: rgb(239.9447236181, 163.0552763819, 170.5829145729);
  border: 1px solid #ab1c2a;
  color: rgb(83.351758794, 13.648241206, 20.472361809);
}
.alert.alert-danger ul {
  margin: 0;
  padding-left: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.form-group .form-control {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  font-size: 1rem;
}
.form-group .form-control:focus {
  outline: none;
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}
.form-group .checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: normal;
}
.form-group .checkbox-label input[type=checkbox] {
  width: auto;
  cursor: pointer;
}

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

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.machine-table {
  width: 100%;
  border-collapse: collapse;
}
.machine-table thead {
  background: #f8f9fa;
}
.machine-table thead th {
  text-align: left;
  padding: 0.75rem;
  font-weight: 600;
  border-bottom: 2px solid #dee2e6;
}
.machine-table tbody tr {
  border-bottom: 1px solid #dee2e6;
  transition: background 0.3s;
}
.machine-table tbody tr:hover {
  background: rgb(253.95, 254.1, 254.25);
}
.machine-table tbody tr td {
  padding: 0.75rem;
}
.machine-table tbody tr td.actions {
  display: flex;
  gap: 0.5rem;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
}
.status-badge.status-active {
  background: rgb(175.1304347826, 235.8695652174, 189);
  color: rgb(20.2898550725, 84.7101449275, 35);
}
.status-badge.status-inactive {
  background: rgb(134.8076923077, 182.8846153846, 225.1923076923);
  color: rgb(10.7307692308, 28.0384615385, 43.2692307692);
}

.navbar {
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  margin-bottom: 2rem;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar .navbar-brand {
  font-size: 1.5rem;
  font-weight: 600;
  color: #dc3545;
  text-decoration: none;
}
.navbar .navbar-brand:hover {
  color: rgb(189.2151898734, 32.7848101266, 47.7721518987);
}
.navbar .navbar-menu {
  display: flex;
  align-items: center;
}
.navbar .user-menu {
  position: relative;
}
.navbar .user-menu .user-menu-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  color: #1f517d;
}
.navbar .user-menu .user-menu-button:hover {
  background: #f8f9fa;
  color: #dc3545;
}
.navbar .user-menu .user-menu-button svg {
  display: block;
}
.navbar .user-menu .user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
  z-index: 1000;
}
.navbar .user-menu .user-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.navbar .user-menu .user-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: #333;
  text-decoration: none;
  transition: background 0.2s;
}
.navbar .user-menu .user-dropdown .dropdown-item:first-child {
  border-radius: 8px 8px 0 0;
}
.navbar .user-menu .user-dropdown .dropdown-item:last-child {
  border-radius: 0 0 8px 8px;
}
.navbar .user-menu .user-dropdown .dropdown-item:hover {
  background: #f8f9fa;
}
.navbar .user-menu .user-dropdown .dropdown-item svg {
  flex-shrink: 0;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.login-page {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  padding: 1rem;
}
.login-page .login-container {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 400px;
}
.login-page .login-header {
  text-align: center;
  margin-bottom: 30px;
}
.login-page .login-header h1 {
  font-size: 28px;
  color: #333;
  margin: 0 0 10px 0;
}
.login-page .login-header p {
  margin: 0;
}
.login-page .form-group {
  margin-bottom: 1rem;
}
.login-page .form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
}
.login-page .form-group .form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  transition: border-color 0.3s;
  box-sizing: border-box;
}
.login-page .form-group .form-control:focus {
  outline: none;
  border-color: #667eea;
}
.login-page .btn-login {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}
.login-page .btn-login:hover {
  transform: translateY(-2px);
}
.login-page .alert {
  padding: 12px;
  border-radius: 5px;
  margin-bottom: 1rem;
}
.login-page .alert.alert-danger {
  background: #fee;
  color: #c33;
  border: 1px solid #fcc;
}
.login-page .alert.alert-success {
  background: #efe;
  color: #3c3;
  border: 1px solid #cfc;
}
.login-page .alert ul {
  margin: 0;
  padding-left: 20px;
}

.dashboard .dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.dashboard .dashboard-header h1 {
  font-size: 2rem;
  margin: 0;
}
.dashboard .dashboard-header .dashboard-actions {
  display: flex;
  gap: 0.5rem;
}
.dashboard .empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 8px;
}
.dashboard .empty-state p {
  margin-bottom: 1rem;
  color: #1f517d;
  font-size: 1.1rem;
}

.park-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.park-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}
.park-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.park-card .park-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  margin-bottom: 1rem;
}
.park-card .park-card-link h3 {
  margin-bottom: 0.5rem;
  color: #dc3545;
  font-size: 1.5rem;
}
.park-card .park-card-link .park-location {
  color: #1f517d;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.park-card .park-card-link .park-stats .machine-count {
  font-size: 0.875rem;
  color: #333;
  font-weight: 500;
}
.park-card .park-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.park-detail .park-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.park-detail .park-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.park-detail .park-header .park-location {
  color: #1f517d;
  font-size: 1.1rem;
}
.park-detail .park-header .park-header-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.park-detail .park-info {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.park-detail .park-info h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  border-bottom: 2px solid #f8f9fa;
  padding-bottom: 0.5rem;
}
.park-detail .park-info dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0.5rem 1.5rem;
}
.park-detail .park-info dl dt {
  font-weight: 600;
  color: #1f517d;
}
.park-detail .park-info dl dd {
  margin: 0;
  color: #333;
}
.park-detail .park-info dl a {
  color: #dc3545;
  text-decoration: none;
}
.park-detail .park-info dl a:hover {
  text-decoration: underline;
}
.park-detail .machines-section {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.park-detail .machines-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f8f9fa;
}
.park-detail .machines-section .section-header h2 {
  margin: 0;
  font-size: 1.5rem;
}
.park-detail .machines-section .empty-state {
  text-align: center;
  padding: 3rem 1rem;
}
.park-detail .machines-section .empty-state p {
  margin-bottom: 1rem;
  color: #1f517d;
  font-size: 1.1rem;
}

.form-container {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.form-container h1 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
  border-bottom: 2px solid #f8f9fa;
  padding-bottom: 1rem;
}

.import-instructions {
  background: rgb(253.8924050633, 248.6075949367, 249.1139240506);
  border-left: 4px solid #dc3545;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 4px;
}
.import-instructions h3 {
  margin-bottom: 1rem;
  color: #dc3545;
}
.import-instructions ul {
  margin: 0;
  padding-left: 2rem;
}
.import-instructions ul li {
  margin-bottom: 0.5rem;
}

.import-wizard {
  max-width: 800px;
  margin: 0 auto;
}
.import-wizard .wizard-progress {
  margin-bottom: 2rem;
  text-align: center;
}
.import-wizard .wizard-progress .progress-bar {
  width: 100%;
  height: 8px;
  background: #f8f9fa;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.import-wizard .wizard-progress .progress-bar .progress-fill {
  height: 100%;
  background: #dc3545;
  transition: width 0.3s ease;
}
.import-wizard .wizard-progress .progress-text {
  color: #1f517d;
  font-weight: 500;
}
.import-wizard .machine-assignment {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.import-wizard .machine-assignment h1 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
}
.import-wizard .machine-assignment .machine-info {
  background: white;
  padding: 1.5rem;
  border-radius: 4px;
  margin-bottom: 2rem;
}
.import-wizard .machine-assignment .machine-info h3 {
  margin-bottom: 1rem;
  color: #dc3545;
}
.import-wizard .machine-assignment .machine-info dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0.5rem 1rem;
  margin: 0;
}
.import-wizard .machine-assignment .machine-info dl dt {
  font-weight: 600;
  color: #1f517d;
}
.import-wizard .machine-assignment .machine-info dl dd {
  margin: 0;
  font-family: monospace;
  background: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}
.import-wizard .machine-assignment .assignment-options {
  margin-bottom: 2rem;
}
.import-wizard .machine-assignment .assignment-options > .form-group {
  margin-bottom: 1.5rem;
}
.import-wizard .machine-assignment .assignment-options > .form-group label {
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.import-wizard .machine-assignment .assignment-options > .form-group label input[type=radio] {
  cursor: pointer;
}
.import-wizard .machine-assignment .assignment-options #existingParkSection,
.import-wizard .machine-assignment .assignment-options #newParkSection {
  margin-left: 2rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 4px;
}

.completion-screen {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: white;
  padding: 3rem 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.completion-screen .success-icon {
  width: 80px;
  height: 80px;
  background: #28a745;
  color: white;
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 2rem;
}
.completion-screen h1 {
  margin-bottom: 2rem;
  color: #28a745;
}
.completion-screen .completion-summary {
  margin-bottom: 2rem;
}
.completion-screen .completion-summary p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.completion-screen .completion-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.missing-machines-check {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.missing-machines-check .warning-icon {
  width: 80px;
  height: 80px;
  background: rgb(236.3567839196, 141.1432160804, 150.4648241206);
  color: #ab1c2a;
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}
.missing-machines-check h1 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #ab1c2a;
}
.missing-machines-check .warning-message {
  background: rgb(241.3798994975, 171.8201005025, 178.6301507538);
  border-left: 4px solid #ab1c2a;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 4px;
}
.missing-machines-check .warning-message p {
  margin: 0;
  font-weight: 500;
}
.missing-machines-check .missing-table {
  margin-bottom: 2rem;
}
.missing-machines-check .missing-table tbody tr {
  background: rgb(245.6854271357, 198.1145728643, 202.7718592965);
}
.missing-machines-check .action-question {
  text-align: center;
  margin-bottom: 2rem;
}
.missing-machines-check .action-question h3 {
  margin-bottom: 0.5rem;
  color: #333;
}
.missing-machines-check .action-question p {
  color: #1f517d;
}
.missing-machines-check .action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.missing-machines-check .action-buttons .btn-large {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  min-height: 120px;
  justify-content: center;
}
.missing-machines-check .action-buttons .btn-large .btn-icon {
  font-size: 2rem;
}
.missing-machines-check .action-buttons .btn-large small {
  font-size: 0.875rem;
  opacity: 0.9;
  font-weight: normal;
}

.missing-table .status-toggle-cell {
  padding: 0.5rem !important;
}
.missing-table .status-toggle {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}
.missing-table .status-toggle .toggle-option {
  margin: 0;
  cursor: pointer;
}
.missing-table .status-toggle .toggle-option input[type=radio] {
  display: none;
}
.missing-table .status-toggle .toggle-option .toggle-label {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.missing-table .status-toggle .toggle-option .toggle-label.active {
  color: #28a745;
  border-color: rgb(92.8405797101, 216.1594202899, 121);
  background: rgb(195.7028985507, 240.7971014493, 206);
}
.missing-table .status-toggle .toggle-option .toggle-label.inactive {
  color: #1f517d;
  border-color: rgb(53.0769230769, 133.8461538462, 204.9230769231);
  background: rgb(155.2403846154, 195.1442307692, 230.2596153846);
}
.missing-table .status-toggle .toggle-option input[type=radio]:checked + .toggle-label.active {
  background: #28a745;
  color: white;
  border-color: #28a745;
}
.missing-table .status-toggle .toggle-option input[type=radio]:checked + .toggle-label.inactive {
  background: #1f517d;
  color: white;
  border-color: #1f517d;
}
.missing-table .status-toggle .toggle-option:hover .toggle-label {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-actions-center {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #dee2e6;
}

.completion-summary p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.completion-summary p:last-child {
  margin-bottom: 0;
}

.revenue-section {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.revenue-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f8f9fa;
}
.revenue-section .section-header h2 {
  margin: 0;
  font-size: 1.5rem;
}
.revenue-section .section-header .year-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.revenue-section .section-header .year-selector label {
  font-weight: 500;
  margin: 0;
}
.revenue-section .section-header .year-selector select {
  width: auto;
  min-width: 100px;
}
.revenue-section .revenue-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.revenue-section .revenue-summary .revenue-card {
  background: linear-gradient(135deg, #dc3545 0%, rgb(189.2151898734, 32.7848101266, 47.7721518987) 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.revenue-section .revenue-summary .revenue-card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 500;
}
.revenue-section .revenue-summary .revenue-card .revenue-amount {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}
.revenue-section .revenue-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 1200px) {
  .revenue-section .revenue-content-grid {
    grid-template-columns: 1fr;
  }
}
.revenue-section .chart-container {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.revenue-section .chart-container canvas {
  max-height: 350px;
}
.revenue-section .revenue-table-wrapper h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
.revenue-section .revenue-table-wrapper .revenue-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.revenue-section .revenue-table-wrapper .revenue-table thead {
  background: #f8f9fa;
}
.revenue-section .revenue-table-wrapper .revenue-table thead th {
  text-align: left;
  padding: 0.5rem;
  font-weight: 600;
}
.revenue-section .revenue-table-wrapper .revenue-table tbody tr {
  border-bottom: 1px solid #dee2e6;
}
.revenue-section .revenue-table-wrapper .revenue-table tbody tr td {
  padding: 0.5rem;
}
.revenue-section .revenue-table-wrapper .revenue-table tbody tr td.revenue-cell {
  text-align: right;
  font-weight: 500;
}
.revenue-section .revenue-table-wrapper .revenue-table tbody tr:hover {
  background: rgb(253.95, 254.1, 254.25);
}
.revenue-section .revenue-table-wrapper .revenue-table tfoot {
  background: rgb(253.8924050633, 248.6075949367, 249.1139240506);
  border-top: 2px solid #dc3545;
}
.revenue-section .revenue-table-wrapper .revenue-table tfoot th {
  padding: 0.5rem;
  font-weight: 700;
}
.revenue-section .revenue-table-wrapper .revenue-table tfoot th.revenue-cell {
  text-align: right;
  color: #dc3545;
}

.machine-detail .machine-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.machine-detail .machine-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.machine-detail .machine-header .machine-location {
  color: #1f517d;
  font-size: 1.1rem;
}
.machine-detail .machine-header .machine-header-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.machine-detail .machine-form-section {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.machine-detail .machine-form-section h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  border-bottom: 2px solid #f8f9fa;
  padding-bottom: 0.5rem;
}
.machine-detail .revenue-section .revenue-content-grid {
  grid-template-columns: 1fr 1fr;
}

.invoice-page {
  max-width: 1200px;
  margin: 0 auto;
}
.invoice-page .invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.invoice-page .invoice-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.invoice-page .invoice-header .invoice-park {
  color: #1f517d;
  font-size: 1.1rem;
  margin: 0;
}
.invoice-page .invoice-header .invoice-header-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.invoice-page .invoice-header .invoice-header-actions .btn {
  display: inline-flex;
  align-items: center;
}
.invoice-page .invoice-header .invoice-header-actions .btn svg {
  flex-shrink: 0;
}
.invoice-page .invoice-period-selector {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.invoice-page .invoice-period-selector h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
.invoice-page .invoice-period-selector .period-selectors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 500px;
}
.invoice-page .invoice-machines-breakdown {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.invoice-page .invoice-machines-breakdown h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
.invoice-page .invoice-machines-breakdown .invoice-table {
  width: 100%;
  border-collapse: collapse;
}
.invoice-page .invoice-machines-breakdown .invoice-table thead {
  background: #f8f9fa;
}
.invoice-page .invoice-machines-breakdown .invoice-table thead th {
  text-align: left;
  padding: 0.5rem 1rem;
  font-weight: 600;
}
.invoice-page .invoice-machines-breakdown .invoice-table thead th:last-child {
  text-align: right;
}
.invoice-page .invoice-machines-breakdown .invoice-table tbody tr {
  border-bottom: 1px solid #dee2e6;
}
.invoice-page .invoice-machines-breakdown .invoice-table tbody tr td {
  padding: 0.5rem 1rem;
}
.invoice-page .invoice-machines-breakdown .invoice-table tbody tr td.amount {
  text-align: right;
  font-family: "Courier New", monospace;
}
.invoice-page .invoice-machines-breakdown .invoice-table tbody tr td.empty-message {
  text-align: center;
  color: #1f517d;
  font-style: italic;
  padding: 2rem;
}
.invoice-page .invoice-machines-breakdown .invoice-table tbody tr:hover {
  background: rgb(253.95, 254.1, 254.25);
}
.invoice-page .invoice-machines-breakdown .invoice-table tfoot {
  background: rgb(253.8924050633, 248.6075949367, 249.1139240506);
  border-top: 2px solid #dc3545;
}
.invoice-page .invoice-machines-breakdown .invoice-table tfoot th {
  padding: 0.5rem 1rem;
  font-weight: 700;
}
.invoice-page .invoice-machines-breakdown .invoice-table tfoot th.amount {
  text-align: right;
  color: #dc3545;
  font-family: "Courier New", monospace;
}
.invoice-page .invoice-settings {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.invoice-page .invoice-settings .settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.invoice-page .invoice-settings .settings-header h3 {
  margin: 0;
  font-size: 1.25rem;
}
.invoice-page .invoice-settings .settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 600px;
}
.invoice-page .invoice-calculations {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.invoice-page .invoice-calculations .settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.invoice-page .invoice-calculations .settings-header h3 {
  margin: 0;
  font-size: 1.25rem;
}
.invoice-page .invoice-calculations h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
.invoice-page .invoice-calculations .calculation-table {
  width: 100%;
  max-width: 600px;
  border-collapse: collapse;
}
.invoice-page .invoice-calculations .calculation-table tbody tr {
  border-bottom: 1px solid #dee2e6;
}
.invoice-page .invoice-calculations .calculation-table tbody tr td {
  padding: 1rem;
}
.invoice-page .invoice-calculations .calculation-table tbody tr td.amount {
  text-align: right;
  font-family: "Courier New", monospace;
  font-weight: 500;
}
.invoice-page .invoice-calculations .calculation-table tbody tr.subtotal-row {
  background: rgb(155.2403846154, 195.1442307692, 230.2596153846);
  border-top: 1px solid #1f517d;
  border-bottom: 1px solid #1f517d;
}
.invoice-page .invoice-calculations .calculation-table tbody tr.subtotal-row td {
  padding: 0.5rem 1rem;
}
.invoice-page .invoice-calculations .calculation-table tbody tr.total-row {
  background: rgb(253.8924050633, 248.6075949367, 249.1139240506);
  border-top: 2px solid #dc3545;
}
.invoice-page .invoice-calculations .calculation-table tbody tr.total-row td {
  padding: 1rem;
  font-size: 1.1rem;
}
.invoice-page .invoice-calculations .calculation-table tbody tr.total-row td.amount {
  color: #dc3545;
}
.invoice-page .invoice-actions {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}
.invoice-page .empty-state {
  background: white;
  padding: 3rem 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.invoice-page .empty-state p {
  margin-bottom: 1.5rem;
  color: #1f517d;
  font-size: 1.1rem;
}

.settings-page {
  max-width: 800px;
  margin: 0 auto;
}
.settings-page .settings-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.settings-page .settings-header .form-actions-top {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.settings-page h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.settings-page .settings-description {
  color: #1f517d;
  margin-bottom: 0;
}
.settings-page .settings-section {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.settings-page .settings-section h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f8f9fa;
}
