/* Algemene focus-styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

/* Buttons */
.button-primary {
    background-color: #3b82f6;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s;
}

.button-primary:hover {
    background-color: #2563eb;
}

.button-secondary {
    background-color: #e5e7eb;
    color: #374151;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s, color 0.2s;
}

.button-secondary:hover {
    background-color: #d1d5db;
    color: #1f2937;
}

a:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease-in-out;
}

.btn2 {
  margin: 0.5rem; /* Ruimte tussen de buttons */
  background-color: transparent; /* Transparante achtergrond */
  color: #1d4ed8; /* Blauwe tekstkleur */
  padding: 0.5rem 1rem; /* Binnenruimte */
  border: 2px solid #1d4ed8; /* Blauwe rand */
  border-radius: 0.375rem; /* Ronde hoeken */
  text-decoration: none; /* Geen onderstreep */
  display: inline-block; /* Zorgt dat buttons netjes blijven */
  transition: background-color 0.3s, color 0.3s; /* Animatie bij hover */
}

.btn2:hover {
  background-color: #1d4ed8; /* Blauwe achtergrond bij hover */
  color: white; /* Witte tekst bij hover */
}

/

/* Zorg dat de footer altijd onderaan staat */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
	min-height: 100vh;
    margin: 0;
}

main {
    min-height: calc(100vh - 100px); /* 100vh min hoogte minus de hoogte van header + footer */
    padding-bottom: 20px;
}

footer {
    position: relative;
    bottom: 0;
    width: 100%;
    min-height: 50px;
    background-color: #1f2937;
    text-align: center;
    padding: 10px 0;
}

.snippet-preview-footer {
    position: static; /* Zorg dat de footer niet zweeft */
    margin-top: 20px;
	color: #ffffff;
	font-size: 0.875rem;
}

* Footer tekst */
.footer-text {
    font-size: 0.875rem;
    color: #ffffff;
}

.snippet-animation {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

form {
        margin-bottom: 20px;
    }
   .uploaded-images img {
        margin: 10px;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
	
.logo {
    font-size: 2rem; /* Vergroot het lettertype */
    padding: 0.5rem; /* Voeg wat ruimte toe rondom het logo */
    line-height: 0.5; /* Verhoog de hoogte van de tekst */
}
		
.snippet-preview {
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: left;
}
.snippet-preview button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.snippet-preview button:hover {
    background-color: #0056b3;
}

.rotate-180 {
            transform: rotate(180deg);
}

textarea {
    width: 100%;
    height: 400px;
    font-family: monospace;
    font-size: 14px;
    border: 1px solid #ccc;
    padding: 10px;
    resize: vertical; /* Hiermee kan de gebruiker het formaat zelf aanpassen */
}
.CodeMirror {
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 400px;
}

@media (min-width: 1024px) {
    .lg\\:bg-transparent {
        background-color: transparent !important;
    }
}
.admin-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.dropdown-btn:hover {
    background-color: #0056b3;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 180px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 100;
    border-radius: 5px;
    overflow: hidden;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.show {
    display: block;
}
