/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700&display=swap') !important;

/* Generel stil for siden */
body {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* Styling af kontrakttabellen */
.contract-table-container {
    width: 100% !important;

    padding: 10px 20px !important;
    background-color: #f7f7f7 !important;
    border-radius: 10px !important;
}

.contract-table-container h2 {
    text-align: left !important;
    font-weight: 700 !important;
    color: #333 !important;
	 font-family: 'Plus Jakarta Sans', sans-serif !important;
    margin-bottom: 20px !important;
    font-size: 24px !important;
}
/* Standard knapstil */
#insurance-button {
    padding: 10px 20px !important;
    font-size: 16px !important;
    border: none !important;
    border-radius: 5px !important;
    color: white !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}
#insurance-button.insurance-not-added:hover {
    background-color: green !important;
}
/* Rød knap, hvis forsikringen ikke er tilføjet */
#insurance-button.insurance-not-added {
    background-color: #000 !important;
}

/* Grøn knap, hvis forsikringen er tilføjet */
#insurance-button.insurance-added {
    background-color: green !important;
}

/* Kontrakttabelen */
.contract-table {
    width: 100% !important;
    border-collapse: collapse !important;
    text-align: left !important;
}

.contract-table thead {
	 font-family: 'Plus Jakarta Sans', sans-serif !important;
    background-color: #098215 !important;
    color: white !important;
	border-radius: 5px !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
}

.contract-table th,
.contract-table td {
    padding: 15px !important;
	 font-family: 'Plus Jakarta Sans', sans-serif !important;
    border-bottom: 1px solid #eaeaea !important;
    text-align: left !important;
}

.contract-table th {
    letter-spacing: 0.05em !important;
}

.contract-table tbody tr:nth-child(even) {
    background-color: #f4f4f4 !important;
}

/* Hover effekt for rækker */
.contract-table tbody tr:hover {
    background-color: #e9ffe0 !important;
    transition: background-color 0.3s ease !important;
}

/* Download link styling */
.contract-table a {
    color: #098215 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    padding: 8px 15px !important;
    border-radius: 5px !important;
    background-color: #e6f4ff !important;
    transition: background-color 0.3s ease, color 0.3s ease !important;
}

.contract-table a:hover {
    background-color: #098215 !important;
    color: white !important;
}

/* Ingen kontrakt tilgængelig besked */
.contract-table td {
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #555 !important;
}

/* Ingen kontrakt besked */
.contract-table td.no-contract {
    font-style: italic !important;
    color: #999 !important;
}

/* Responsiv design */
@media screen and (max-width: 768px) {
    .contract-table-container {
        padding: 10px !important;
    }
    
    .contract-table th, .contract-table td {
        padding: 10px !important;
    }

    .contract-table h2 {
        font-size: 20px !important;
    }
}
/* Loader styling */
.loader22 {
    border: 2px solid #f3f3f3; /* Light grey */
    border-top: 2px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 14px;
    height: 14px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 35%;
    right: 50%;
    transform: translate(-50%, -50%);
}

/* Spin animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
