/*
Theme Name: freerun-v4
Author: Chris M
Version: 4.0
*/

/* Dracula Color Palette:
 * Background: #282a36
 * Current Line: #44475a
 * Selection: #44475a
 * Foreground: #f8f8f2
 * Comment: #6272a4
 * Red: #ff5555
 * Orange: #ffb86c
 * Yellow: #f1fa8c
 * Green: #50fa7b
 * Purple: #bd93f9
 * Cyan: #8be9fd
 * Pink: #ff79c6
 */

body {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #282a36;
    color: #f8f8f2;
    font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', 'Monaco', 'Consolas', monospace;
    line-height: 1.6;
    min-height: 100vh;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    body {
        max-width: 100%;
        padding: 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
        font-size: 13px;
    }
}

h1, h2, h3, h4, h5, h6 {
    color: #bd93f9;
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    border-left: 4px solid #ff79c6;
    padding-left: 15px;
}

h1 { font-size: 2.2em; }
h2 { font-size: 1.8em; }
h3 { font-size: 1.5em; }

p {
    color: #f8f8f2;
    margin-bottom: 1.2em;
}

/* Content areas */
main {
    background: #44475a;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Header */
header {
    background: #44475a;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-bottom: 2px solid #bd93f9;
}

header h1 {
    margin: 0;
    border-left: none;
    padding-left: 0;
}

header h1 a {
    color: #8be9fd;
    text-decoration: none;
    font-weight: 700;
}

header h1 a:hover {
    color: #ff79c6;
    transition: color 0.3s ease;
}

.site-description {
    color: #f8f8f2;
    font-style: italic;
    margin-top: 0.5em;
    font-size: 1.1em;
}

/* Navigation Menu */
.main-navigation {
    margin-top: 20px;
}

.main-navigation ul,
.header-nav {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px;
}

.main-navigation li,
.header-nav li {
    margin: 0 !important;
    padding: 0 !important;
}

.main-navigation a,
.header-nav a {
    color: #8be9fd !important;
    text-decoration: none !important;
    padding: 8px 12px !important;
    border-radius: 4px;
    background: rgba(139, 233, 253, 0.1) !important;
    transition: all 0.3s ease;
    font-weight: 500;
    border: none !important;
    display: inline-block !important;
}

.main-navigation a:hover,
.main-navigation a:focus,
.header-nav a:hover,
.header-nav a:focus {
    background: #ff79c6 !important;
    color: #f8f8f2 !important;
}

.main-navigation .current-menu-item a,
.header-nav .current-menu-item a {
    background: #bd93f9 !important;
    color: #282a36 !important;
}

/* Mobile navigation */
@media (max-width: 600px) {
    .main-navigation ul,
    .header-nav {
        flex-direction: column !important;
        gap: 10px;
    }

    .main-navigation a,
    .header-nav a {
        display: block !important;
        text-align: center !important;
        padding: 10px !important;
    }
}

/* Links */
a {
    color: #8be9fd;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

a:hover,
a:focus {
    color: #ff79c6;
    border-bottom-color: #ff79c6;
}

/* Footer */
footer {
    margin-top: 3em;
    padding: 20px;
    border-top: 2px solid #6272a4;
    text-align: center;
    background: #44475a;
    border-radius: 8px;
}

footer p {
    color: #6272a4;
    font-size: 0.9em;
}

/* Custom author styling */
.custom-author {
    color: #f1fa8c;
    font-style: italic;
    font-size: 0.9em;
    margin: 0.5em 0;
    background: #44475a;
    padding: 5px 10px;
    border-radius: 4px;
    border-left: 3px solid #ffb86c;
}

/* Post content */
article {
    background: #44475a;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Post list styling */
.post-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-item {
    background: #44475a;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #8be9fd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.post-item:hover {
    border-left-color: #ff79c6;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Story submission form styling */
.story-submission-form {
    background: #44475a;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid #6272a4;
}

.story-submission-form h2 {
    color: #ff79c6;
    margin-top: 0;
}

.story-submission-form label {
    color: #bd93f9;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.story-submission-form input[type="text"],
.story-submission-form input[type="email"],
.story-submission-form textarea {
    background: #282a36;
    border: 2px solid #6272a4;
    color: #f8f8f2;
    padding: 12px;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 14px;
}

.story-submission-form input:focus,
.story-submission-form textarea:focus {
    outline: none;
    border-color: #8be9fd;
    box-shadow: 0 0 0 2px rgba(139, 233, 253, 0.2);
}

.story-submission-form input[type="submit"] {
    background: #50fa7b;
    color: #282a36;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.story-submission-form input[type="submit"]:hover {
    background: #ff79c6;
    color: #f8f8f2;
}

/* Word count display */
#word-count {
    color: #6272a4;
    font-size: 14px;
    margin-top: 5px;
}

/* Success message */
.success-message {
    background: #50fa7b;
    color: #282a36;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Child pages list */
.child-pages {
    background: #44475a;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
    border-left: 4px solid #8be9fd;
}

.child-pages ul {
    list-style: none;
    padding: 0;
}

.child-pages li {
    margin-bottom: 8px;
}

.child-pages a {
    color: #8be9fd;
    text-decoration: none;
    padding: 5px 0;
    display: block;
}

.child-pages a:hover {
    color: #ff79c6;
    padding-left: 10px;
    transition: all 0.3s ease;
}

/* Blockquotes */
blockquote {
    background: #44475a;
    border-left: 4px solid #ffb86c;
    padding: 15px 20px;
    margin: 20px 0;
    color: #f8f8f2;
    font-style: italic;
}

/* Code blocks */
code {
    background: #282a36;
    color: #50fa7b;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: inherit;
    font-size: 0.9em;
}

pre {
    background: #282a36;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    border-left: 4px solid #bd93f9;
}

pre code {
    background: none;
    padding: 0;
}

/* Login page styling */
.login-required {
    background: #44475a;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid #6272a4;
    text-align: center;
}

.login-required h2 {
    color: #ff79c6;
    margin-top: 0;
}

.login-link {
    background: #8be9fd;
    color: #282a36 !important;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin: 10px 0;
    border: none !important;
    transition: background-color 0.3s ease;
}

.login-link:hover {
    background: #ff79c6 !important;
    color: #f8f8f2 !important;
}

.custom-login-form {
    background: #44475a;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid #6272a4;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.login-form .form-field {
    margin-bottom: 20px;
}

.login-form label {
    color: #bd93f9;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    background: #282a36;
    border: 2px solid #6272a4;
    color: #f8f8f2;
    padding: 12px;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 14px;
}

.login-form input:focus {
    outline: none;
    border-color: #8be9fd;
    box-shadow: 0 0 0 2px rgba(139, 233, 253, 0.2);
}

.login-submit {
    background: #50fa7b !important;
    color: #282a36 !important;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.3s ease;
}

.login-submit:hover {
    background: #ff79c6 !important;
    color: #f8f8f2 !important;
}

.remember-me {
    display: flex !important;
    align-items: center;
    gap: 8px;
    color: #f8f8f2 !important;
    font-weight: normal !important;
}

.remember-me input[type="checkbox"] {
    width: auto !important;
    margin: 0 !important;
}

.login-error {
    background: #ff5555;
    color: #f8f8f2;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: 600;
}

.login-links {
    margin-top: 20px;
    text-align: center;
}

.login-links a {
    color: #8be9fd;
    text-decoration: none;
}

.login-links a:hover {
    color: #ff79c6;
}

.already-logged-in {
    background: #50fa7b;
    color: #282a36;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
}

.already-logged-in a {
    color: #282a36 !important;
    text-decoration: underline;
}

/* Registration page styling */
.custom-register-form {
    background: #44475a;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid #6272a4;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.register-form .form-field {
    margin-bottom: 20px;
}

.register-form label {
    color: #bd93f9;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.register-form input[type="text"],
.register-form input[type="email"],
.register-form input[type="password"] {
    background: #282a36;
    border: 2px solid #6272a4;
    color: #f8f8f2;
    padding: 12px;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 14px;
}

.register-form input:focus {
    outline: none;
    border-color: #8be9fd;
    box-shadow: 0 0 0 2px rgba(139, 233, 253, 0.2);
}

.register-submit {
    background: #50fa7b !important;
    color: #282a36 !important;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.3s ease;
}

.register-submit:hover {
    background: #ff79c6 !important;
    color: #f8f8f2 !important;
}

.register-error {
    background: #ff5555;
    color: #f8f8f2;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: 600;
}

.register-success {
    background: #50fa7b;
    color: #282a36;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: 600;
}

.register-links {
    margin-top: 20px;
    text-align: center;
}

.register-links a {
    color: #8be9fd;
    text-decoration: none;
}

.register-links a:hover {
    color: #ff79c6;
}

.registration-disabled {
    background: #44475a;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid #6272a4;
    text-align: center;
}

.submissions-closed {
    background: #44475a;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid #ff5555;
    text-align: center;
}

.submissions-closed h2 {
    color: #ff5555;
    margin-top: 0;
}

.submission-announcement {
    background: #44475a;
    border: 2px solid #f1fa8c;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.submission-announcement h3 {
    color: #f1fa8c;
    margin-top: 0;
    margin-bottom: 10px;
    border-left: none;
    padding-left: 0;
    font-size: 1.2em;
}

.submission-announcement p {
    color: #f8f8f2;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Terms agreement styling */
.terms-agreement {
    display: flex !important;
    align-items: center;
    gap: 8px;
    color: #f8f8f2 !important;
    font-weight: normal !important;
    font-size: 14px;
}

.terms-agreement input[type="checkbox"] {
    width: auto !important;
    margin: 0 !important;
}

.terms-agreement a {
    color: #8be9fd;
    text-decoration: underline;
}

.terms-agreement a:hover {
    color: #ff79c6;
}

/* Thumbs up / likes styling */
.post-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.post-header a {
    font-weight: 600;
}

.post-date {
    color: #6272a4;
    font-size: 0.9em;
}

.post-likes {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 5px;
}

.thumbs-up-btn {
    background: #50fa7b;
    color: #282a36;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.thumbs-up-btn:hover:not(:disabled) {
    background: #ff79c6;
    color: #f8f8f2;
}

.thumbs-up-btn:disabled {
    background: #6272a4;
    cursor: not-allowed;
}

.liked-already {
    color: #50fa7b;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.likes-display {
    color: #8be9fd;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.login-to-like {
    font-size: 12px;
    color: #6272a4;
}

.login-to-like a {
    color: #8be9fd;
    text-decoration: none;
    border: none !important;
}

.login-to-like a:hover {
    color: #ff79c6;
}

.post-excerpt {
    color: #f8f8f2;
    line-height: 1.5;
}

/* Single post header styling */
.post-single-header {
    margin-bottom: 25px;
}

.post-single-header h1 {
    margin-top: 0;
    margin-bottom: 10px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.post-likes-single {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.post-content {
    line-height: 1.7;
}

/* Mobile responsiveness for post header */
@media (max-width: 600px) {
    .post-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .post-likes {
        margin-left: 0;
        align-self: flex-end;
    }

    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .post-likes-single {
        justify-content: flex-start;
    }
}

/* User info styling */
.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #44475a;
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 3px solid #8be9fd;
    margin-top: 8px;
}

.author-avatar {
    border-radius: 50%;
    border: 2px solid #8be9fd;
}

.author-name {
    color: #8be9fd;
    font-weight: 600;
    font-size: 0.9em;
}

/* Mobile responsiveness for user info */
@media (max-width: 600px) {
    .user-info {
        gap: 8px;
        padding: 6px 10px;
    }

    .author-name {
        font-size: 0.85em;
    }
}

/* Print styles - plain serif font, black text, no extra elements */
@media print {
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        font-family: Georgia, 'Times New Roman', serif !important;
        color: black !important;
        background: white !important;
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
        line-height: 1.6 !important;
    }

    /* Hide navigation, header links, footer, and interactive elements */
    header,
    footer,
    .main-navigation,
    .header-nav,
    .thumbs-up-btn,
    .post-likes,
    .post-likes-single,
    .login-to-like,
    .user-info,
    nav,
    .login-link,
    .register-link,
    button,
    input[type="submit"] {
        display: none !important;
    }

    /* Show only essential content */
    main,
    article,
    .post-content {
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        background: white !important;
    }

    /* Typography for print */
    h1, h2, h3, h4, h5, h6 {
        font-family: Georgia, 'Times New Roman', serif !important;
        color: black !important;
        border: none !important;
        padding: 0 !important;
        margin-top: 1em !important;
        margin-bottom: 0.5em !important;
        page-break-after: avoid !important;
    }

    h1 { font-size: 24pt !important; }
    h2 { font-size: 18pt !important; }
    h3 { font-size: 14pt !important; }

    p {
        font-family: Georgia, 'Times New Roman', serif !important;
        color: black !important;
        margin-bottom: 1em !important;
        orphans: 3 !important;
        widows: 3 !important;
    }

    /* Links */
    a {
        color: black !important;
        text-decoration: underline !important;
        border: none !important;
    }

    a[href]:after {
        content: " (" attr(href) ")" !important;
        font-size: 0.8em !important;
    }

    /* Remove URL from internal links */
    a[href^="#"]:after,
    a[href^="/"]:after {
        content: "" !important;
    }

    /* Custom author */
    .custom-author {
        font-family: Georgia, 'Times New Roman', serif !important;
        color: black !important;
        background: white !important;
        padding: 0 !important;
        border: none !important;
        font-style: italic !important;
        margin-bottom: 1em !important;
    }

    /* Post metadata */
    .post-date,
    .post-meta {
        font-family: Georgia, 'Times New Roman', serif !important;
        color: black !important;
        font-size: 10pt !important;
        margin-bottom: 1em !important;
    }

    /* Code blocks */
    code,
    pre {
        font-family: 'Courier New', monospace !important;
        color: black !important;
        background: white !important;
        border: 1px solid black !important;
        padding: 0.25em !important;
        page-break-inside: avoid !important;
    }

    pre {
        padding: 0.5em !important;
        white-space: pre-wrap !important;
    }

    /* Blockquotes */
    blockquote {
        font-family: Georgia, 'Times New Roman', serif !important;
        color: black !important;
        background: white !important;
        border-left: 3px solid black !important;
        padding: 0.5em 1em !important;
        margin: 1em 0 !important;
        font-style: italic !important;
        page-break-inside: avoid !important;
    }

    /* Lists */
    ul, ol {
        margin: 1em 0 !important;
    }

    li {
        page-break-inside: avoid !important;
    }

    /* Hide forms and submission elements */
    form,
    .story-submission-form,
    .custom-login-form,
    .custom-register-form {
        display: none !important;
    }

    /* Page breaks */
    article {
        page-break-after: always !important;
    }

    /* Ensure images are reasonable size if any */
    img {
        max-width: 100% !important;
        page-break-inside: avoid !important;
    }
}

/* ===========================
   COMMENTS STYLES
   =========================== */

.comments-area {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px dotted #6272a4;
}

.comments-title {
    color: #bd93f9;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list .comment {
    margin-bottom: 30px;
}

.comment-body {
    background: #44475a;
    padding: 20px;
    border-radius: 5px;
    position: relative;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.comment-author img {
    border-radius: 50%;
    border: 2px solid #bd93f9;
}

.comment-author .fn {
    color: #50fa7b;
    font-weight: bold;
}

.comment-author a {
    color: #50fa7b;
    text-decoration: none;
}

.comment-author a:hover {
    color: #8be9fd;
}

.comment-meta {
    font-size: 0.85em;
    color: #6272a4;
    margin-bottom: 10px;
}

.comment-meta a {
    color: #6272a4;
    text-decoration: none;
}

.comment-meta a:hover {
    color: #8be9fd;
}

.comment-awaiting-moderation {
    background: #ffb86c;
    color: #282a36;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.comment-content {
    color: #f8f8f2;
    line-height: 1.6;
    margin-bottom: 15px;
}

.comment-content p {
    margin: 10px 0;
}

.reply {
    margin-top: 10px;
}

.reply a {
    color: #8be9fd;
    text-decoration: none;
    font-size: 0.9em;
    padding: 5px 10px;
    border: 1px solid #8be9fd;
    border-radius: 3px;
    display: inline-block;
}

.reply a:hover {
    background: #8be9fd;
    color: #282a36;
}

/* Nested comments */
.comment-list .children {
    list-style: none;
    margin-left: 40px;
    margin-top: 20px;
}

.comment-list .children .comment-body {
    background: #3a3d4a;
}

/* Comment navigation */
.comment-navigation {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px dotted #6272a4;
    border-bottom: 1px dotted #6272a4;
}

.comment-navigation a {
    color: #8be9fd;
    text-decoration: none;
}

.comment-navigation a:hover {
    color: #bd93f9;
}

/* No comments message */
.no-comments {
    color: #6272a4;
    font-style: italic;
    padding: 20px;
    text-align: center;
}

/* Comment Form */
#respond {
    margin-top: 40px;
    background: #44475a;
    padding: 30px;
    border-radius: 5px;
}

#reply-title {
    color: #bd93f9;
    font-size: 1.3em;
    margin-bottom: 20px;
}

#reply-title small a {
    font-size: 0.7em;
    color: #ff5555;
    text-decoration: none;
    margin-left: 10px;
}

#reply-title small a:hover {
    color: #ff79c6;
}

.comment-form p {
    margin-bottom: 15px;
}

.comment-form label {
    display: block;
    color: #f8f8f2;
    margin-bottom: 5px;
    font-weight: bold;
}

.comment-form .required {
    color: #ff5555;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px;
    background: #282a36;
    border: 1px solid #6272a4;
    border-radius: 3px;
    color: #f8f8f2;
    font-family: inherit;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #8be9fd;
    box-shadow: 0 0 5px rgba(139, 233, 253, 0.3);
}

.comment-form textarea {
    resize: vertical;
    min-height: 150px;
}

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

.form-submit input[type="submit"] {
    background: #50fa7b;
    color: #282a36;
    border: none;
    padding: 12px 30px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-submit input[type="submit"]:hover {
    background: #8be9fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(80, 250, 123, 0.3);
}

.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-form-cookies-consent input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.comment-form-cookies-consent label {
    display: inline;
    font-weight: normal;
    margin: 0;
}

/* Logged in as message */
.logged-in-as {
    color: #6272a4;
    margin-bottom: 15px;
}

.logged-in-as a {
    color: #8be9fd;
    text-decoration: none;
}

.logged-in-as a:hover {
    color: #bd93f9;
}

/* Mobile responsive for comments */
@media (max-width: 768px) {
    .comment-list .children {
        margin-left: 20px;
    }

    .comment-body {
        padding: 15px;
    }

    #respond {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .comment-list .children {
        margin-left: 10px;
    }

    .comment-navigation {
        flex-direction: column;
        gap: 10px;
    }
}

/* ===========================
   USER ENGAGEMENT STATS
   =========================== */

.user-engagement-stats {
    background: #44475a;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
}

.user-engagement-stats h2 {
    color: #bd93f9;
    margin-top: 0;
    margin-bottom: 30px;
}

.engagement-score-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.score-circle {
    margin-bottom: 20px;
}

.rating-badge {
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    color: #282a36;
    font-size: 1.1em;
}

.engagement-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.engagement-stat {
    background: #282a36;
    padding: 15px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.engagement-stat .stat-label {
    color: #6272a4;
    font-size: 0.9em;
}

.engagement-stat .stat-value {
    color: #50fa7b;
    font-weight: bold;
    font-size: 1.1em;
}

.engagement-breakdown {
    background: #282a36;
    padding: 20px;
    border-radius: 5px;
}

.engagement-breakdown h3 {
    color: #8be9fd;
    margin-top: 0;
}

.engagement-breakdown ul {
    list-style: none;
    padding: 0;
}

.engagement-breakdown li {
    padding: 8px 0;
    color: #f8f8f2;
}

.engagement-breakdown li strong {
    color: #ffb86c;
}

@media (max-width: 768px) {
    .user-engagement-stats {
        padding: 20px;
    }

    .engagement-details {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   FORGOT PASSWORD FORM
   =========================== */

.forgot-password-form {
    background: #44475a;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    margin: 30px auto;
}

.forgot-password-form p {
    color: #f8f8f2;
    margin-bottom: 20px;
}

.forgot-password-form label {
    display: block;
    color: #f8f8f2;
    margin-bottom: 8px;
    font-weight: bold;
}

.forgot-password-form input[type="email"] {
    width: 100%;
    padding: 12px;
    background: #282a36;
    border: 2px solid #6272a4;
    border-radius: 5px;
    color: #f8f8f2;
    font-family: inherit;
    font-size: 1em;
}

.forgot-password-form input[type="email"]:focus {
    outline: none;
    border-color: #8be9fd;
    box-shadow: 0 0 5px rgba(139, 233, 253, 0.3);
}

.forgot-password-form input[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #50fa7b;
    color: #282a36;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

.forgot-password-form input[type="submit"]:hover {
    background: #8be9fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(80, 250, 123, 0.3);
}

.forgot-password-form .form-links {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dotted #6272a4;
}

.forgot-password-form .form-links p {
    margin: 10px 0;
    font-size: 0.9em;
}

.forgot-password-form .form-links a {
    color: #8be9fd;
}

.forgot-password-form .form-links a:hover {
    color: #bd93f9;
}

@media (max-width: 768px) {
    .forgot-password-form {
        padding: 20px;
        max-width: 100%;
    }
}