/* Fonts importeren in je HTML-bestand via:
<link href="https://fonts.googleapis.com/css2?family=Creepster&family=Nosifer&family=Butcherman&display=swap" rel="stylesheet">
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Verdana', serif;
    background-color: #000;
    color: #FFFFFF;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
  
}

 body::before {
          display:none
        }

.container {
   
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.main-header {
    border-radius: 10px;
    text-align: center;
    padding: 40px 0;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #8B0000;
    border-top: 2px solid #8B0000;
    border-left: 2px solid #8B0000;
    border-right: 2px solid #8B0000;
    margin-bottom: 40px;
}

.main-logo {
    font-family: 'Nosifer', serif;
    font-size: 3.5rem;
    color: #FF0000;
    margin-bottom: 10px;
    text-shadow: none;
    animation: none;
}

.tagline {
    font-size: 1.2rem;
    color: #FF0000;
    font-style: italic;
}

.nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.nav-btn, .btn {
    background: linear-gradient(45deg, #8B0000, #550000);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Verdana', serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
    text-decoration: none;
    display: inline-block;
}

.nav-btn:hover, .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.5);
    background: linear-gradient(45deg, #550000, #8B0000);
}

.nav-btn:disabled, .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.section-hidden {
    display: none;
}

.section {
    background: rgba(0, 0, 0, 0.6);
    margin: 30px 0;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #8B0000;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
       .status-badge {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: bold;
            margin-left: 10px;
        }
        
        .status-pending {
            background: rgba(255, 193, 7, 0.3);
            color: #ffc107;
            border: 1px solid #ffc107;
        }
        
        .status-approved {
            background: rgba(40, 167, 69, 0.3);
            color: #28a745;
            border: 1px solid #28a745;
        }
        
        .status-rejected {
            background: rgba(220, 53, 69, 0.3);
            color: #dc3545;
            border: 1px solid #dc3545;
        }
        
        .action-buttons {
            margin-top: 15px;
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        
        .btn-approve {
            background: linear-gradient(45deg, #28a745, #20c997);
        }
        
        .btn-reject {
            background: linear-gradient(45deg, #dc3545, #e74c3c);
        }
        
        .btn-delete {
            background: linear-gradient(45deg, #6c757d, #495057);
        }
        
        .btn-small {
            padding: 6px 12px;
            font-size: 0.9rem;
        }
.hidden {
    display: none;
}
        .story-card {
            background: rgba(0, 0, 0, 0.7);
            border: 1px solid #FF0000;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 20px;
            transition: all 0.3s ease;
        }
        
        .story-card:hover {
			animation: glow 2s ease-in-out infinite alternate;
            border-color: #FFFFFF;
            box-shadow: 0 4px 20px rgba(157, 78, 221, 0.2);
            transform: translateY(-2px);
			

        }
        
        .story-title {
            font-size: 1.5rem;
            color: #FF0000;
            margin-bottom: 10px;
            font-family: 'Verdana', serif;
        }
        
        .story-meta {
            color: #FF0000;
            font-size: 0.9rem;
            margin-bottom: 15px;
        }
        
        .story-content {
            line-height: 1.6;
            color: #e6d7ff;
        }
		.section-title {
            font-family: 'Verdana', serif;
            font-size: 2rem;
            color: #FF0000;
            margin-bottom: 20px;
            text-align: center;
            text-shadow: 0 0 10px #FF0000;
        }

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #FFFFFF;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #8B0000;
    border-radius: 8px;
    color: #FFFFFF;
    font-family: 'Verdana', serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}
#change-password-form input {
    width: 100%;
    padding: 8px;
    margin: 6px 0 12px;
    border: 1px solid #444;
    background-color: #222;
    color: #fff;
    border-radius: 4px;
}


.form-group textarea {
    min-height: 120px;
    resize: vertical;
}
.hamburger {
    display: none;
    background: none;
    border: 2px solid #FF0000;
    color: #FF0000;
    font-size: 2rem;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 8px;
    z-index: 10;
}


@media (max-width: 768px) {
    .logo { font-size: 2.5rem; }
    .nav { flex-direction: column; align-items: center; }
    .container { padding: 0 15px; }
	.hamburger {
        display: block;
        margin: 10px auto;
    }

    .nav {
        display: none;
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
        align-items: center;
    }

    .nav.show {
        display: flex;
    }
}
.modal.hidden { display: none; }

.modal {
    
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    overflow-y: auto; /* Allow scrolling if modal is taller than viewport */
}
.modal.show {
    display: flex;
}
.modal-content {
    background: #181818;
    border: 3px solid #FF0000; /* Bright red */
    box-shadow: 0 0 24px #c90557, 0 4px 32px rgba(0,0,0,0.7);
    color: #fff;
    padding: 2rem;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.7);
    max-height: 80vh;           /* Limit modal height */
    overflow-y: auto;           /* Scroll inside modal if content is long */
}
.close-btn {
    position: absolute;
    top: 10px; right: 20px;
    font-size: 2rem;
    color: #ff6b6b;
    cursor: pointer;
    z-index: 2;
}
.modal-meta {
    font-size: 0.95rem;
    color: #d4f80a;
    margin-bottom: 1rem;
}
.edited-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-left: 8px;
    background: rgba(255, 165, 0, 0.3);
    color: #ffa500;
    border: 1px solid #ffa500;
    text-shadow: none;
    vertical-align: middle;
    animation: subtle-pulse 3s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Make sure the edited badge works well with story titles */
.story-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* Adjust for mobile screens */
@media (max-width: 768px) {
    .edited-badge {
        font-size: 0.6rem;
        padding: 1px 6px;
        margin-left: 4px;
    }
}
#admin-edit-modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}
#admin-edit-modal.show {
    display: flex;
}
#admin-edit-modal .admin-modal-content {
    background: #181818;
    color: #fff;
    padding: 2rem;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.7);
    max-height: 80vh;
    overflow-y: auto;
}
#admin-edit-modal .close-btn {
    position: absolute;
    top: 10px; right: 20px;
    font-size: 2rem;
    color: #ff6b6b;
    cursor: pointer;
    z-index: 2;
}
.alert-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #c90557 60%, #f56565 100%);
    color: #fff;
    padding: 16px 32px;
    font-size: 1.1em;
    font-weight: bold;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 99999;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
#close-alert {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5em;
    cursor: pointer;
    margin-left: 20px;
}
body.has-banner {
    padding-top: 60px; /* adjust if needed */
}
/* Alert Banner Styling */
.alert-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #c90557 60%, #b19cd9 100%);
    color: #fff;
    font-family: 'Verdana', 'Nosifer', 'Segoe UI', Arial, sans-serif;
    font-size: 1.2em;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25);
    padding: 18px 32px 18px 24px;
    transition: top 0.3s;
    border-bottom: 3px solid #7ed957;
}

#alert-message {
    flex: 1;
    text-align: center;
    text-shadow: 0 0 8px #181824, 0 0 2px #fff;
}

#close-alert {
    background: none;
    border: none;
    color: #fff;
    font-size: 2em;
    font-weight: bold;
    cursor: pointer;
    margin-left: 20px;
    transition: color 0.2s;
    text-shadow: 0 0 8px #181824, 0 0 2px #fff;
}
#close-alert:hover {
    color: #7ed957;
}

body.has-banner {
    padding-top: 70px; /* Adjust if needed for your header height */
}
.site-footer {
    width: 100%;
    background: #181824;
    color: #b19cd9;
    text-align: center;
    padding: 18px 0 12px 0;
    font-size: 1em;
    letter-spacing: 0.5px;
    border-top: 2px solid #c90557;
    margin-top: 40px;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.2);
}
.site-footer p {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
}
#login-error {
    display: none;
    background: rgba(201, 5, 87, 0.12); /* subtle pinkish background */
    border: 1.5px solid #c90557;
    color: #c90557;
    border-radius: 8px;
    padding: 10px 16px;
    margin: 16px 0 0 0;
    font-weight: bold;
    font-family: 'Segoe UI', Arial, sans-serif;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    text-align: center;
    letter-spacing: 0.5px;
}
/* Custom Quill Editor Theme for Shadow Sanctum */

.ql-toolbar.ql-snow {
    background: #18181f;
    border: 2px solid #e50914;
    border-radius: 10px 10px 0 0;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    box-shadow: 0 2px 12px rgba(229,9,20,0.10);
}
.ql-toolbar.ql-snow .ql-picker {
    color: #fff;
}
.ql-toolbar.ql-snow .ql-picker-label {
    color: #fff;
}
.ql-toolbar.ql-snow .ql-picker-options {
    background: #23233a;
    color: #fff;
    border: 1px solid #e50914;
}
.ql-toolbar.ql-snow button {
    color: #fff !important;
    border-radius: 6px;
    transition: background 0.2s;
}
.ql-toolbar.ql-snow button:hover,
.ql-toolbar.ql-snow button.ql-active {
    background: #e50914 !important;
    color: #fff !important;
}
.ql-toolbar.ql-snow .ql-stroke {
    stroke: #fff;
}
.ql-toolbar.ql-snow .ql-fill {
    fill: #fff;
}
.ql-toolbar.ql-snow .ql-picker-item {
    color: #fff;
}
.ql-toolbar.ql-snow .ql-picker-item.ql-selected {
    background: #e50914;
    color: #fff;
}

.ql-container.ql-snow {
    background: #111117;
    border: 2px solid #e50914;
    border-top: none;
    border-radius: 0 0 10px 10px;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    min-height: 200px;
    box-shadow: 0 2px 12px rgba(229,9,20,0.10);
}
.ql-editor {
    min-height: 180px;
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.7;
    padding: 18px;
    background: transparent;
}
.ql-editor::before {
    color: #b1b1b1;
    font-style: italic;
}
.ql-editor a {
    color: #e50914;
    text-decoration: underline;
}
.ql-editor blockquote {
    border-left: 4px solid #e50914;
    background: #23233a;
    color: #fff;
    margin: 8px 0;
    padding: 8px 16px;
    font-style: italic;
}
.ql-editor pre {
    background: #23233a;
    color: #fff;
    border-radius: 6px;
    padding: 10px;
}
.ql-editor img {
    max-width: 100%;
    border-radius: 8px;
    border: 1.5px solid #e50914;
    margin: 8px 0;
}
.ql-editor ul, .ql-editor ol {
    padding-left: 2em;
}
.ql-editor strong, .ql-editor b {
    color: #e50914;
}
.ql-editor h1, .ql-editor h2 {
    color: #e50914;
    font-family: 'Creepster', cursive;
    margin-top: 1em;
    margin-bottom: 0.5em;
    letter-spacing: 1px;
}
.ql-editor h1 {
    font-size: 2rem;
}
.ql-editor h2 {
    font-size: 1.5rem;
}
.ql-editor {
    /* Fallback for Chrome, Safari, and other WebKit browsers */
    scrollbar-width: thin; /* Firefox */
}
.ql-editor::-webkit-scrollbar {
    width: 8px;
    background: #18181f;
}
.ql-editor::-webkit-scrollbar-thumb {
    background: #e50914;
    border-radius: 4px;
}
.ql-editor::-webkit-scrollbar {
    width: 8px;
    background: #18181f;
}
.ql-editor::-webkit-scrollbar-thumb {
    background: #e50914;
    border-radius: 4px;
}
/* Admin Users Table Styling */
.admin-users-table {
    width: 100%;
    border-collapse: collapse;
    background: #18181f;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(229,9,20,0.10);
}
.admin-users-table th, .admin-users-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #23233a;
    text-align: left;
}
.admin-users-table th {
    background: #23233a;
    color: #e50914;
    font-weight: bold;
    letter-spacing: 1px;
    border-bottom: 2px solid #e50914;
}
.admin-users-table tr:last-child td {
    border-bottom: none;
}
.admin-users-table tr:hover {
    background: #23233a;
}
.admin-users-table td span {
    font-weight: bold;
}
.admin-users-table td em {
    color: #b1b1b1;
}

/* Admin Action Buttons */
.admin-action-btn {
    background: #23233a;
    color: #fff;
    border: 1.5px solid #e50914;
    border-radius: 6px;
    padding: 6px 14px;
    margin-right: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s;
    font-family: 'Montserrat', Arial, sans-serif;
}
.admin-action-btn:hover {
    background: #e50914;
    color: #fff;
    border-color: #fff;
}
.admin-action-btn.delete {
    background: #18181f;
    color: #e50914;
    border: 1.5px solid #e50914;
}
.admin-action-btn.delete:hover {
    background: #e50914;
    color: #fff;
}