#creditCardCalculator {
    font-family: poppins, sans-serif;
    max-width: 100%;
    padding: 20px;
    border: 1px solid #4a5568; /* Mørkegrå farve */
    border-radius: 10px; /* Afrundede hjørner */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Let skygge */
    background-color: #f7fafc; /* Lyseblå baggrund */
    margin: auto;
}

#creditCardCalculator label, #creditCardCalculator span {
    display: block;
    margin: 10px 0 5px;
    color: #315665; /* Mørkeblå tekst */
    font-size:22px;
  font-weight: 600;
}

#creditCardCalculator input[type=number], 
#creditCardCalculator select {
    width: 100%;
    padding: 8px;
    border-radius: 6px; /* Afrundede hjørner */
}
#creditCardCalculator select {
    width: 100%;
    padding: 8px;
    border: 2px solid rgb(227, 227, 227);   /* Lysegrå kant */
    border-radius: 6px; /* Afrundede hjørner */
  color: rgb(49, 86, 101);
  font-family: poppins, sans-serif;
}

#creditCardCalculator input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    height: 3px;
    border-radius: 3px; /* Afrundede hjørner på sliderens spor */
    background: #cbd5e0; /* Lysegrå baggrund */
    outline: none;
    padding: 0;
    margin: 25px 0;
}

/* Opdater slider-thumb styles til at matche det nye ID */
#creditCardCalculator input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px; /* Størrelse af slider-thumb */
    height: 20px; /* Størrelse af slider-thumb */
    border-radius: 50%; /* Gør slider-thumb cirkulær */
    background: #299c8f; /* Mørkeblå farve */
    cursor: pointer;
}

#creditCardCalculator input[type=range]::-moz-range-thumb {
    width: 20px; /* Størrelse af slider-thumb */
    height: 20px; /* Størrelse af slider-thumb */
    border-radius: 50%; /* Gør slider-thumb cirkulær */
    background: #2d3748; /* Mørkeblå farve */
    cursor: pointer;
}

#creditCardCalculator button {
    background-color: #fff; /* Hvid baggrund */
    color: #299c8f; /* Tekstfarve */
    border: 2px solid #299c8f; /* Kantfarve */
    border-radius: 100%; /* Gør knapper cirkulære */
    padding: 5px 10px; /* Indre afstand */
    cursor: pointer; /* Musikon ved hover */
    justify-content: center;
    align-items: center;
    height: 32px;
    width: 32px;
}

#creditCardCalculator button:hover {
    background-color: #299c8f; /* Baggrundsfarve ved hover */
    color: #fff; /* Tekstfarve ved hover */
    border: 2px solid #299c8f; /* Kanteffekt ved hover */
}
.creditCardCalculatorbox {
    display: flex;
}
.creditCardCalculatortitle {
    color: #315665;
    text-align: left;
    font-weight: 600;
    font-style: normal;
    margin: 0px;
    font-size: 22px;
    width: 50%;
}
.creditCardCalculatoramount {
    width: 50%;
    background-color: rgba(204, 213, 217, 0.23);
    border-bottom: 2px solid rgb(49, 86, 101);
    display: flex;
}
.creditCardCalculatorbox .creditCardCalculatoramount input[type=number] {
    font-size: 22px;
    font-weight: bold;
    display: inline-block !important;
    color: #315665;
    background: none;
  text-align:center;
}
.creditCardCalculatoramountkr {
    display: inline;
    color: #315665;
    padding: 3px 0;
    font-size: 24px;
    font-weight: 600;
    font-style: normal;
    display: flex;
    align-items: center;
    width: 50%;
    text-align: left;
}
.age-control {
  display: flex;
}
.age-control-title {
  width:50%;
	text-align:left;
}
.age-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    background-color: rgba(204, 213, 217, 0.23);
    padding: 5px 15px;
    justify-content: space-around;
    position: relative;
    z-index: 0;
    width: 50%;
    margin: auto 5px;
    min-height: 48px;  
}
#creditCardCalculator input[type=number].number-age {
    padding: 8px;
    border-radius: 6px;
    border: none;
    font-size: 24px;
    font-weight: bold;
    display: inline-block;
  margin:0 5px;
}
#creditCardCalculator input[type=number] {
    border: none;
    font-size: 24px;
    font-weight: bold;
    display: inline-block;
    width: 99%;
    margin: 0 auto;
}
@media (max-width: 600px) {
    #creditCardCalculator {
        padding: 15px;
    }
	.creditCardCalculatortitle, .age-control-title {
		width:30%;
		text-align:left;
		font-size:18px;
	}
	.creditCardCalculatoramount, .age-buttons {
		width:70%;
		text-align:left;
		font-size:18px;
	}
	#creditCardCalculator label, #creditCardCalculator span {
		font-size:18px;
		display: table-cell;
	}
}

/* Resten af stilarterne forbliver stort set uændrede, men sørg for at erstatte alle forekomster af #loanCalculator med #creditCardCalculator */

