/* Algemeen */
body { 
    background-color: #121212; 
    color: #e0e0e0; 
    font-family: Arial, sans-serif; 
}

/* Header */
h1 { 
    background: linear-gradient(90deg, #1a73e8, #8e24aa); 
    color:#fff; 
    padding:20px; 
    border-radius:10px; 
    text-align:center; 
    margin-bottom:20px; 
}

/* Zoekbox */
.search-container { display:flex; justify-content:center; margin:20px 0; }
.search-box { position:relative; width:100%; max-width:500px; }
.search-box input { 
    width:100%; 
    padding:12px 40px 12px 15px; 
    border-radius:30px; 
    border:1px solid #555; 
    background:#1e1e1e; 
    color:#e0e0e0; 
}
.search-box i { position:absolute; right:15px; top:50%; transform:translateY(-50%); color:#aaa; }

/* Result count */
#resultCount { display:inline-block; background:#1f1f1f; padding:8px 15px; border-radius:20px; margin-bottom:15px; }

/* Tabellen */
table { width: 100%; table-layout: fixed; }
th, td { vertical-align: left; word-wrap: break-word; }
tr:hover { background:#2a2a2a; }

/* Labels en formuliervelden */
label { margin-top: 10px; }
input, textarea { 
    background: #1e1e1e !important; 
    color: #e0e0e0 !important; 
    border: 1px solid #444 !important; 
}

/* Status badges */
.PMR span { background:#2e7d32; color:#fff; padding:3px 8px; border-radius:12px; }
.CB span { background:#f9a825; color:#000; padding:3px 8px; border-radius:12px; }
.Marine span { background:#1565c0; color:#fff; padding:3px 8px; border-radius:12px; }

/* Footer */
footer { 
    text-align:center; 
    margin-top:40px; 
    padding:20px; 
    background:#1e1e1e; 
    border-top:1px solid #555; 
    font-size:0.9rem; 
    color:#aaa; 
}
footer img { height:40px; margin-bottom:5px; }

/* Tekstgradient */
.text-gradient { 
    background: linear-gradient(90deg, #1a73e8, #8e24aa); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}

/* Navbar */
.navbar-nav .nav-link { padding: 8px 15px; border-radius: 8px; transition: background 0.2s; }
.navbar-nav .nav-link:hover { background: rgba(255,255,255,0.1); }

.dropdown-caret {
    font-size: 0.7rem; /* klein pijltje */
    margin-left: 4px;  /* beetje ruimte naast het icoon */
    vertical-align: middle;
}

/* Contentbox */
.content-box { 
    background: #1e1e1e; 
    padding: 25px; 
    border-radius: 12px; 
    box-shadow: 0 0 10px rgba(0,0,0,0.5); 
    line-height: 1.7; 
}

/* PayPal knop */
.btn-paypal { 
    display:inline-block; 
    padding:12px 25px; 
    font-size:1rem; 
    color:#fff; 
    background:#0070BA; 
    border-radius:8px; 
    text-decoration:none; 
    transition: background 0.2s; 
    margin-top:10px; 
}
.btn-paypal:hover { background:#005c99; text-decoration:none; }

/* Support sectie */
.support-section img { max-width:100%; border-radius:12px; margin-bottom:15px; }
.support-section h3 { margin-top:20px; }

/* Contact overschrijving */
.contact-overschrijving { background:#2a2a2a; padding:15px; border-radius:8px; margin-top:15px; }

/* Zoekbalk iets lichter */
#searchFrequenties {
    background-color: #f9f9f9;
    color: #333;
}

#searchFrequenties::placeholder {
    color: #888;
    opacity: 1;
}

/* Dropdown items */
#searchResults {
    display: none;
	max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    position: absolute;
    width: 100%;
    z-index: 1000;
}

/* Dropdown items */
#searchResults .list-group-item {
    background-color: #fff;      
    color: #333;                 
    cursor: pointer;
    transition: background 0.2s;
}

/* Hover effect voor dropdown items */
#searchResults .list-group-item:hover {
    background-color: #f0f0f0;  
    color: #000;                 
}

footer .klein p a {
    font-size: 0.85em;
    color: #555;
    text-decoration: none;
    margin: 0 5px;
}

footer .klein p a:hover {
    text-decoration: underline;
}

.overlay-modal {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.75);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:1050;
    opacity:0;
    transition: opacity 0.2s ease;
}
.overlay-modal.show {
    opacity:1;
}
.overlay-content {
    max-width:90%;
    width:400px;
}

/* Zorg dat dropdown-menu zich altijd aan zijn nav-item hecht */
.nav-item.dropdown {
  position: relative;
}

/* Desktop hover-menu */
@media (min-width: 992px) {
  .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  .nav-item.dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
  }
}

/* Mobiel breed uitklappen */
@media (max-width: 991.98px) {
  .nav-item.dropdown .dropdown-menu {
    position: fixed;
    border-radius: 0;
    margin: 0;
    z-index: 1050;
    display: none; /* blijft standaard dicht, JS opent */
  }
}

.huisregels-box-inner {
    background: #121212;
    color: #e0e0e0;
    padding: 15px;
    border-radius: 5px;
    /* verwijder scrollen */
    max-height: none;
    overflow: visible;
}

/* Niet favoriet */
.btn-fav i.far {
    color: red !important;
}

/* Favoriet */
.btn-fav i.fas {
    color: green !important;
}

.btn-fav {
    border: none;        /* verwijder rand */
    background: none;    /* geen achtergrondkleur */
}

.btn-fav:focus,
.btn-fav:active {
    outline: none;       /* geen focus randje bij tikken */
    box-shadow: none;
}

.partner-box img {
    width: 450px;
    object-fit: contain; /* logo’s worden passend geschaald */
    padding: 5px;         /* optioneel: wat ruimte rondom */
}

#mobileRightColumn .content-box {
    margin-top: 1rem;
}

/* admin gedeelte */
.login-box { max-width:420px; margin:40px auto; }
.login-card { background:#1e1e1e; color:#e0e0e0; padding:24px; border-radius:12px; box-shadow:0 4px 14px rgba(0,0,0,.5); }
.login-card .form-control { background:#121212; color:#eaeaea; border-color:#333; }
.login-card .btn-primary { background:#1a73e8; border:0; }
.small-muted { color:#bbb; font-size:.9rem; }