body { 
		font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
		background-color: #f4f4f9;
		margin: 0;
		padding: 20px;
		padding-bottom: 100px;
		display: flex;
		flex-direction: column;
		align-items: center; }
        
		.container { background: white; padding: 20px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); width: 100%; max-width: 500px; }
        h2, h3 { color: #333; text-align: center; }
        
		.form-group { margin-bottom: 15px; }
        label { display: block; margin-bottom: 5px; font-weight: bold; }
        input, select, textarea { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; box-sizing: border-box; }
        
		/* Canvas Styling */
        #canvasContainer { margin-top: 20px; background: #f4f4f9; border: 2px solid #007bff; border-radius: 15px; display: none; flex-direction: column; align-items: center; padding: 10px; width: 100%; max-width: 600px; box-sizing: border-box; }
        canvas { background: Gainsboro; border-radius: 4px; max-width: 100%; height: auto; }
		
        .btn-save { width: 100%; padding: 12px; background-color: #1C398E; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 16px; margin-top: 10px; }
        .btn-save:hover { background-color: #445FB8; }

        /* Panel til beregninger */
        /* NYT: Fast panel (altid synligt som anker) */
        .comparison-panel { margin-top: 20px; padding: 15px; background: #fff3cd; border: 1px solid #ffeeba; border-radius: 8px; width: 100%; max-width: 600px; text-align: center; box-sizing: border-box; }
        .calculation-box { margin-top: 15px; padding: 15px; background: #fff; border-radius: 4px; display: none; text-align: left; border: 1px solid #fff3cd; font-size: 0.95em; line-height: 1.6; }
        
        .btn-compare { background-color: #6f42c1; color: #fff3cd; border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer; font-weight: bold; margin-top: 10px; width: 100%; }
        .btn-compare:disabled { background-color: #fff3cd; cursor: not-allowed; }

        .filter-section { margin-top: 20px; padding: 15px; background: #e9ecef; border-radius: 8px; width: 100%; max-width: 600px; display: flex; gap: 10px; flex-wrap: wrap; box-sizing: border-box; }
        .filter-group { flex: 1; min-width: 150px; }

        .data-display { margin-top: 20px; width: 100%; max-width: 600px; }
        .entry { background: #fff; padding: 15px; border-left: 5px solid #1C398E; margin-bottom: 10px; border-radius: 4px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); display: flex; align-items: center; gap: 15px; }
        .entry-content { flex-grow: 1; }
        .meta-info { color: #666; font-size: 0.85em; margin-bottom: 5px; }
        
        .checkbox-wrapper input { width: 22px; height: 22px; cursor: pointer; }
        .btn-delete { background-color: #AB2C2C; color: white; border: none; padding: 8px 12px; border-radius: 4px; cursor: pointer; }
		
		.btn-link {
            background-color: #1C398E;/*teal;*/
            color: white;
            text-decoration: none;
			border: none;
            padding: 8px 12px;
            border-radius: 4px;
            font-size: 14px;
            white-space: nowrap;
        }

        .footer {
			position: fixed;
			left: 0;
			bottom: 0;
			width: 100%;
			background-color: #1C398E;
			color: white;
			text-align: center;
}
		
		/* Styling til kryds-knappen */
    .close-btn {
        position: absolute; 
        top: 5px; 
        right: 10px; 
        cursor: pointer; 
        border: none; 
        background: none; 
        font-size: 24px; 
        color: #888;
        transition: color 0.2s;
    }
    .close-btn:hover { color: #d9534f; } /* Bliver rød ved hover */

    /* Styling til de tre knapper i bunden */
    .action-btn {
        padding: 8px 16px;
        background-color: #1C398E;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 14px;
        transition: background-color 0.3s, transform 0.1s;
    }
    
	.nulstil {
        padding: 8px 16px;
        background-color: purple;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 14px;
        transition: background-color 0.3s, transform 0.1s;
    }


    .action-btn:hover {
        background-color: #0056b3;
    }

    .action-btn:active {
        transform: scale(0.98); /* Giver en lille "tryk-effekt" */
    }
	
				

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fff3cd;//#fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 40%;//80
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 1200px) { .entry { flex-wrap: wrap; } .entry-content { width: calc(100% - 70px); } 
		/* Modal Content */
		.modal-content {
		background-color: #fff3cd;//#fefefe;
		margin: auto;
		padding: 20px;//20
		border: 1px solid #888;
		width: 90%;//80
		}

/* Styling til de tre knapper i bunden */
    .action-btn {
        padding: 8px 6px;
        background-color: #1C398E;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 10px;
        transition: background-color 0.3s, transform 0.1s;
    }
    
	.nulstil {
        padding: 8px 6px;
        background-color: purple;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 10px;
        transition: background-color 0.3s, transform 0.1s;
    }


    .action-btn:hover {
        background-color: #0056b3;
    }

    .action-btn:active {
        transform: scale(0.98); /* Giver en lille "tryk-effekt" */
    }

	/* Styling til kryds-knappen */
    .close-btn {
        position: absolute; 
        top: 5px; 
        right: 10px; 
        cursor: pointer; 
        border: none; 
        background: none; 
        font-size: 14px; 
        color: #888;
        transition: color 0.2s;
    }