@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    margin: 20px;
    background-color: #f4f4f9;
    color: #333;
}
#header {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
#logo {
    height: 50px; 
    width: auto;
    margin-right: 15px;
}
h1 {
    color: #007bff;
    margin: 0;
    font-size: 2em;
}
#controls {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #e9ecef;
    border-radius: 4px;
    display: flex; 
    flex-wrap: wrap; 
    align-items: center;
}
#controls label, #controls select, #controls input {
    margin-right: 20px;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}
#logContainer {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    
    /* 1. Vaste hoogte instellen */
    height: 60vh; 
    
    /* 2. Scrollbar toevoegen als de inhoud de hoogte overschrijdt */
    overflow-y: scroll; 
    
    /* 3. Optioneel: zorg ervoor dat de loglijnen niet naast elkaar komen */
    min-height: 50px;
}
.log-line {
    padding: 4px 0;
    border-bottom: 1px dotted #eee;
    white-space: pre-wrap;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
}
/* Kleurcodering op basis van logniveau */
.INFO {
    color: #007bff; 
}
.WARNING { 
    color: #ffc107; 
    background-color: #fffbe6; 
    font-weight: bold; 
}
.ERROR { 
    color: #dc3545; 
    background-color: #f8d7da; 
    font-weight: bold; 
}
.CRITICAL { 
    color: #6f42c1; 
    background-color: #e5ccff; 
    font-weight: bold; 
}
.DEBUG { 
    color: #6c757d; 
}

/*Sync*/
#runButton{
    background-color: #28a745; 
    color: white; 
    border: none; 
    padding: 8px 15px; 
    cursor: pointer; 
    border-radius: 4px; 
    font-weight: bold; 
    margin-right: 20px;
}
#refreshStatus{
    display: none; 
    margin-right: 20px; 
    padding: 5px; 
    background-color: #fff; 
    border: 1px solid #ccc; 
    border-radius: 4px;
}
.btnstoprefresh{
    margin-left: 10px; 
    background-color: #dc3545; 
    color: white; 
    border: none; 
    padding: 4px 8px; 
    cursor: pointer; 
    border-radius: 4px;
}
#lineCount{
   display: inline-block; 
   margin-left: 20px; 
   color: #555;
}

footer {
    width: 100%; 
    text-align: center; 
    margin-top: 20px; 
}

footer img {
    max-width: 100%; 
    height: auto; 
    display: block; 
    margin: 0 auto; 
}

/* Modale Achtergrond */
.modal {
    display: none; /* Standaard verborgen */
    position: fixed; 
    z-index: 100; /* Zorgt dat het bovenaan ligt */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgba(0,0,0,0.4); /* Zwarte, transparante achtergrond */
}

/* Modaal Venster */
.modal-content {
    background-color: #fefefe;
    margin: 10% auto; /* 10% van boven en gecentreerd */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Kan je aanpassen */
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Sluitknop */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}