* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #DF5C16;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #002A3A;
}

h2 {
    color: #002A3A;
    margin-bottom: 15px;
}

h3 {
    color: #002A3A;
    margin-bottom: 10px;
}

.form-container {
    margin-bottom: 30px;
}

/* Tabs stijlen */
.tabs {
    display: block;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

.tab-button {
    padding: 10px 20px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    margin-right: 5px;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    display: inline-block;
}

.tab-button:hover {
    background-color: #e9ecef;
}

.tab-button.active {
    background-color: #fff;
    color: #002A3A;
    border-bottom: 2px solid #fff;
    margin-bottom: -1px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Zoekresultaten stijlen */
.search-results {
    margin-top: 20px;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.search-result-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.search-result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.search-result-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.search-result-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.search-result-title {
    font-weight: bold;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-meta {
    font-size: 0.8em;
    color: #666;
    margin-top: auto;
}

.search-result-count {
    display: inline-block;
    margin-left: 10px;
    padding: 2px 6px;
    background-color: #f0f0f0;
    border-radius: 10px;
    font-size: 0.9em;
}

.no-results {
    padding: 20px;
    text-align: center;
    color: #666;
    background-color: #f8f9fa;
    border-radius: 5px;
    border: 1px dashed #ddd;
}

.input-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #002A3A;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #3EB1C8;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

/* Algemene knop stijlen */
button {
    display: inline-block;
    width: auto;
    padding: 12px 24px;
    background-color: #002A3A;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 0 auto;
}

button:hover {
    background-color: #DF5C16;
}

/* Centreer knoppen in formulieren */
#submit-premium, #embed-button, #search-button {
    display: block;
    margin: 0 auto;
}

/* Formulier knoppen container */
.form-container button, .premium-form button {
    text-align: center;
}

.result-container {
    margin-top: 30px;
    padding: 20px;
    border-radius: 5px;
    background-color: #f8f9fa;
}

.hidden {
    display: none;
}

#video-preview {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    margin-bottom: 20px;
    background-color: #000;
    border-radius: 5px;
    overflow: hidden;
}

#video-preview > div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#video-preview iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 5px;
}

#embed-code-container, #share-link-container {
    position: relative;
    margin-bottom: 20px;
}

#copy-embed, #copy-link {
    position: absolute;
    top: 10px;
    right: 10px;
    width: auto;
    padding: 8px 12px;
    font-size: 14px;
    z-index: 10;
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #3EB1C8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#loading {
    text-align: center;
}

.footer {
    margin-top: 30px;
    text-align: center;
    color: #002A3A;
    font-size: 14px;
}

.logo {
    display: block;
    margin: 0 auto 20px;
    max-width: 200px;
    height: auto;
}

/* Header met premium knop */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.header-container .logo {
    margin: 0;
    max-width: 150px;
}

.premium-button {
    display: inline-block;
    padding: 8px 15px;
    background-color: #DF5C16;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-left: 10px;
}

.premium-button:hover {
    background-color: #c04e12;
    color: white;
}

.premium-info {
    background-color: #f8f9fa;
    color: #002A3A;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
    border-left: 4px solid #DF5C16;
}

.premium-info a {
    color: #DF5C16;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.premium-info a:hover {
    text-decoration: underline;
}

.kamels-info {
    background-color: #002A3A;
    color: white;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
}

.kamels-info a {
    color: #3EB1C8;
    text-decoration: none;
}

.kamels-info a:hover {
    color: #DF5C16;
    text-decoration: underline;
}

.admin-link {
    margin-left: 5px;
}

.privacy-info {
    margin-top: 30px;
    padding: 20px;
    background-color: #e8f4fd;
    border-radius: 5px;
    border-left: 4px solid #3EB1C8;
}

.privacy-info ul {
    margin-left: 20px;
    margin-top: 10px;
}

.privacy-info li {
    margin-bottom: 5px;
}

.stats-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #f0f8ea;
    border-radius: 5px;
    border-left: 4px solid #6aaa3b;
}

#stats-container {
    margin: 15px 0;
    font-size: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.stats-item {
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.full-width {
    grid-column: 1 / -1;
}

.stats-table-container {
    overflow-x: auto;
    margin-top: 15px;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.stats-table th, 
.stats-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.stats-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #002A3A;
}

.stats-table tr:hover {
    background-color: #f5f5f5;
}

.stats-table a {
    color: #3EB1C8;
    text-decoration: none;
}

.stats-table a:hover {
    text-decoration: underline;
}

.stats-value {
    font-size: 24px;
    font-weight: 700;
    color: #002A3A;
    margin-top: 10px;
}

#stats-container strong {
    color: #002A3A;
}

.stats-info {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    text-align: center;
}

/* Admin pagina stijlen */
.admin-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #002A3A;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.admin-header h1 {
    margin-bottom: 0;
}

.admin-nav {
    display: flex;
    margin-bottom: 30px;
    background-color: #f8f9fa;
    border-radius: 5px;
    overflow: hidden;
}

.admin-nav-item {
    padding: 15px 20px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    font-weight: 600;
    color: #002A3A;
    transition: background-color 0.3s;
}

.admin-nav-item:hover {
    background-color: #e9ecef;
}

.admin-nav-item.active {
    background-color: #002A3A;
    color: white;
}

.admin-section {
    display: none;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
    margin-bottom: 20px;
}

.admin-section.active {
    display: block;
}

.admin-login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #002A3A;
    text-align: center;
}

.admin-login-container h1 {
    margin-bottom: 30px;
}

.admin-login-form {
    text-align: left;
}

.admin-login-form .input-group {
    margin-bottom: 20px;
}

.admin-login-form button {
    margin-top: 10px;
}

.admin-logout {
    background-color: #dc3545;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s;
}

.admin-logout:hover {
    background-color: #c82333;
    text-decoration: none;
}

.admin-back {
    display: inline-block;
    margin-top: 20px;
    color: #002A3A;
    text-decoration: none;
}

.admin-back:hover {
    text-decoration: underline;
}

.profile-section {
    margin-top: 20px;
}

.profile-section h3 {
    margin-bottom: 15px;
}

.error-message {
    color: #dc3545;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Support sectie stijlen */
.support-section {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.support-card {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.support-card h3 {
    color: #002A3A;
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.support-card p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.support-contact {
    font-size: 14px;
    color: #666;
}

.support-contact a {
    color: #3EB1C8;
    text-decoration: none;
}

.support-contact a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .container, .admin-container, .admin-login-container {
        margin: 20px;
        padding: 20px;
    }
    
    #copy-embed, #copy-link {
        position: static;
        width: 100%;
        margin-top: 10px;
    }
    
    .admin-header {
        flex-direction: column;
        text-align: center;
    }
    
    .admin-header h1 {
        margin-bottom: 15px;
    }
    
    .admin-nav {
        flex-direction: column;
    }
    
    #stats-container {
        grid-template-columns: 1fr;
    }
    
    /* Responsieve stijlen voor tabs en zoekresultaten */
    .tabs {
        text-align: center;
        border-bottom: none;
    }
    
    .tab-button {
        border-radius: 5px;
        margin-bottom: 5px;
        border: 1px solid #ddd;
        display: inline-block;
        width: auto;
    }
    
    .tab-button.active {
        border-bottom: 1px solid #ddd;
        margin-bottom: 5px;
    }
    
    .search-result-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .search-result-thumbnail {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .search-result-info {
        width: 100%;
    }
}

.donate-section {
    margin: 15px 0;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.donate-button {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    background-color: #DF5C16;
    color: white !important;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.donate-button:hover {
    background-color: #ff6b1b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none !important;
}

/* Privacy pagina stijlen */
.privacy-content {
    margin: 20px 0;
}

.privacy-section {
    margin-bottom: 30px;
}

.privacy-section h3 {
    color: #333;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.privacy-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.privacy-section p {
    margin-bottom: 15px;
}

.back-button-container {
    margin: 30px 0;
    text-align: center;
}

.back-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4285f4;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Footer links */
.footer a {
    color: #4285f4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #3367d6;
    text-decoration: underline;
}

.privacy-link {
    margin-left: 5px;
}

/* Premium pagina stijlen */
.back-to-app {
    display: inline-block;
    padding: 8px 20px;
    background-color: #002A3A;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-to-app:hover {
    background-color: #003c52;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.premium-content {
    margin: 30px 0;
}

.premium-hero {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border-left: 5px solid #DF5C16;
}

.premium-tagline {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.premium-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.premium-feature {
    padding: 20px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.premium-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.premium-feature h3 {
    color: #DF5C16;
    margin-bottom: 10px;
}

.premium-form-container {
    margin: 40px 0;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.premium-form {
    margin-top: 20px;
}

.form-note {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #3EB1C8;
    font-size: 14px;
}

.form-success {
    padding: 30px;
    background-color: #d4edda;
    color: #155724;
    border-radius: 5px;
    text-align: center;
}

.form-success h3 {
    color: #155724;
    margin-bottom: 15px;
}

.premium-faq {
    margin: 40px 0;
}

.faq-item {
    margin-bottom: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #002A3A;
}

.faq-item h3 {
    color: #002A3A;
    margin-bottom: 10px;
}

/* Responsieve stijlen voor premium pagina */
@media (max-width: 600px) {
    .premium-features {
        grid-template-columns: 1fr;
    }
    
    .premium-hero {
        padding: 20px;
    }
    
    .premium-form-container {
        padding: 20px;
    }
}

/* Premium IP beheer stijlen */
.premium-ip-section {
    margin-top: 20px;
}

.ip-input-container {
    display: flex;
    gap: 10px;
}

.ip-input-container input {
    flex-grow: 1;
}

.ip-input-container button {
    width: auto;
}

.premium-ip-list-container {
    margin-top: 30px;
}

.premium-ip-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.premium-ip-table th,
.premium-ip-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.premium-ip-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #002A3A;
}

.premium-ip-table tr:hover {
    background-color: #f5f5f5;
}

.delete-ip {
    background-color: #dc3545;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: auto;
}

.delete-ip:hover {
    background-color: #c82333;
}

/* Admin link styling */
.admin-link {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.admin-link:hover {
    color: #002A3A;
    text-decoration: underline;
}

/* Admin dashboard styling */
.sidebar {
    min-height: 100vh;
    border-right: 1px solid #dee2e6;
}

.sidebar .nav-link {
    color: #333;
    padding: 0.5rem 1rem;
    margin-bottom: 0.2rem;
    border-radius: 0.25rem;
}

.sidebar .nav-link:hover {
    background-color: #f8f9fa;
}

.sidebar .nav-link.active {
    color: #fff;
    background-color: #002A3A;
}

.sidebar .nav-link i {
    margin-right: 0.5rem;
}

#admin-dashboard .card {
    margin-bottom: 1.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

#admin-dashboard .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

#admin-dashboard .btn-primary {
    background-color: #002A3A;
    border-color: #002A3A;
}

#admin-dashboard .btn-primary:hover {
    background-color: #001a24;
    border-color: #001a24;
}

#admin-dashboard .btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

#admin-dashboard .btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

/* Premium status stijlen */
.premium-status {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.premium-status.active {
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
}

.premium-status.inactive {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
}

.premium-badge {
    background-color: #DF5C16;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
}

/* Premium badge in de header */
.header-container div .premium-badge {
    display: inline-block;
    margin-left: 10px;
}

/* Responsieve stijlen voor de grid layout */
@media (max-width: 600px) {
    .search-results-grid {
        grid-template-columns: 1fr;
    }
    
    .search-result-item {
        margin-bottom: 15px;
    }
}

/* Premium formulier stijlen */
.hidden {
    display: none;
}

.form-error {
    padding: 30px;
    background-color: #f8d7da;
    color: #721c24;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
}

.form-error h3 {
    color: #721c24;
    margin-bottom: 15px;
}

/* reCAPTCHA v3 badge stijlen */
.grecaptcha-badge {
    visibility: hidden;
}

.recaptcha-notice {
    font-size: 0.8em;
    color: #666;
    margin-top: 15px;
    text-align: center;
}

/* reCAPTCHA responsive stijlen */
@media (max-width: 600px) {
    .g-recaptcha {
        transform-origin: left 0;
        transform: scale(0.85);
    }
}

/* Intro sectie */
.intro-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-content h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 1.8em;
    margin-bottom: 30px;
    font-weight: 600;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2em;
    margin-bottom: 10px;
    display: block;
}

.feature-item p {
    color: #4a5568;
    margin: 0;
    font-size: 1em;
    line-height: 1.5;
}

/* Responsive aanpassingen */
@media (max-width: 768px) {
    .intro-section {
        padding: 20px;
        margin: 15px 0 30px;
    }
    
    .intro-content h2 {
        font-size: 1.5em;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-item {
        padding: 15px;
    }
} 