body {
    font-family: 'Nunito', sans-serif;
    font-size: 0.8em;
}
a {
    text-decoration: none;
}
#container {
    padding-top: 80px !important;
    margin-right: 10px;
    width: 100%;
}

.top-bar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.card-header {
  background-color: #f8f9fa; /* Lichte grijze achtergrond */
  border-bottom: 1px solid #e0e0e0;
  padding: 7px;
  font-weight: bold;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.form-control {
  border: 1px solid #ced4da;
  border-radius: 4px;
  height: 34px;
}
.form-control:focus {
  border-color: #3B5998; /* Blauwe focus kleur */
  box-shadow: 0 0 0 0.2rem rgba(59, 89, 152, 0.25); /* Subtiele blauwe focus schaduw */
}
label {
  display: block; /* Zorgt ervoor dat labels onder elkaar komen */
  margin-bottom: 8px; /* Wat ruimte tussen de labels */
  cursor: pointer; /* Maakt de muisaanwijzer een handje */
  display: flex; /* Voor het uitlijnen van checkbox en tekst */
}
input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-right: 8px;
  cursor: pointer;
}
.input-group-text {
    padding: 0 1rem;
}

/* Gecentraliseerde knopstijlen */
.btn {
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    font-size: 0.9em;
    text-decoration: none;
    display: block;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.btn-primary {
  background-color: #3B5998;
  border-color: #3B5998;
  color: white;
}
.btn-primary:hover {
  background-color: #2c4980;
  border-color: #2c4980;
}
.btn-primary:disabled {
  background-color: #a0cffc;
  cursor: not-allowed;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}
.btn-danger:hover {
    background-color: #c82333;
    border-color: #c82333;
}

.btn-link {
  color: #3B5998;
}
.btn-link:hover {
  color: #2c4980;
  text-decoration: underline;
}

.invalid-feedback {
  display: block;
  color: #dc3545; /* Rode error tekst */
  margin-top: 5px;
}
#logo {
    position: fixed;
    z-index: 100;
}
.auth a {
    margin-left: 15px; /* Wat ruimte tussen de links */
}
@media (max-width: 768px) {
    #container {
        margin-left: 10px;
    }
    #logo {
        top: 16px;
        left: 10%;
    }
    #logo span {
        top: 20px;
    }
    .auth {
        position: fixed;
        top: 22px;
        right: 20px;
        z-index: 25;
    }
}


@media (min-width: 769px) {
    #container {
        margin-left: 80px;
    }
    .top-bar {
        background-color: #3B5998;
        color: white; /* Witte tekst */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 54px;
        z-index: 23;
        padding: 0 10px; /* Wat padding aan de zijkanten */
        display: flex;
        justify-content: space-between; /* Logo links en rechts */
        align-items: center;
    }
    /* Stijl specifiek voor de logo link */
    .top-bar #logo {
        font-family: 'Nunito', sans-serif;
        font-size: .875rem;
    }
    .auth {
        position: fixed;
        right: 20px;
    }
    .auth a {
        text-decoration: none;
        font-size: .8rem;
        margin: 0;
    }
}

/* Spinner CSS */
.spinner-border {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: text-bottom;
    border: 0.1em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border .75s linear infinite;
}
@keyframes spinner-border {
    to { transform: rotate(360deg); }
}
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Status-indicators voor de Bestemmingsplan Tabel */
.status-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: middle;
    border: 1px solid rgba(0,0,0,0.1);
}
.status-dot-green {
    background-color: #22c55e; /* Groen */
}
.status-dot-red {
    background-color: #ef4444; /* Rood */
}
.status-dot-blue {
    background-color: #3b82f6; /* Blauw */
}
.status-dot-orange {
    background-color: #f59e0b; /* Een oranje kleur */
}

/* Tabelstijlen voor BestemmingsplanTable.vue */
.table-compact-header {
    padding: 4px 8px;
    text-align: left;
    font-size: 0.75rem; /* text-xs */
    font-weight: 500;
    color: #6b7280; /* text-gray-500 */
    text-transform: uppercase;
    letter-spacing: 0.05em; /* tracking-wider */
    cursor: pointer;
}
.table-compact-cell {
    padding: 4px 8px;
}
table {
    width: 100%;
    border-collapse: collapse;
}
th {
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    font-weight: bold;
}
tr:nth-child(even) {
    background-color: #f0f4f8;
}

/* ViewerComponent.vue stijlen */
.viewer-container {
    position: absolute;
    top: 89px;
    right: 20px;
    bottom: 20px;
    z-index: 1;
    transition: right 0.3s ease-in-out;
}
.viewer-container[style*="right: 300px"] {
    left: 20px;
}
.viewer-container[style*="right: 20px"] {
    left: 20px;
}
@media (max-width: 768px) {
    .viewer-container {
        left: 20px;
        top: 150px;
        right: 20px;
    }
}
.nav-toggle-desktop {
    position: fixed;
    top: 88px;
    background-color: #f8f9fa;
    border-left: 1px solid #eee;
    overflow-y: auto;
    z-index: 5;
    padding: 15px;
    box-sizing: border-box;
    transition: right 0.3s ease-in-out;
}
.nav-toggle-desktop .nav-content {
    margin-top: 30px;
    margin-bottom: 20px;
}
.nav-toggle-desktop label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    cursor: pointer;
}
.nav-toggle-desktop input[type="checkbox"] {
    margin-right: 8px;
}
.toggle-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    cursor: pointer;
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 5px;
    z-index: 101;
    transition: right 0.3s ease-in-out;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
}
p {
    font-weight: bold;
    margin-top: 10px;
}
#map {
    width: 100%;
    height: 100%;
}
#uploadList {
    padding: 0;
    list-style-type: none;
}
#uploadList li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
#uploadList li:last-child {
    border-bottom: none;
}
#uploadList li:hover {
    background-color: #e9ecef;
}

