@charset "utf-8";
/* limitlessnexus.css */

/* Reset and Base Styles (from shroomtown.css) */
:root {
    --primary-color: #00ff88; /* Vibrant green for creation */
    --secondary-color: #ff8800; /* Orange for transformation */
    --accent-color: #aa00ff; /* Purple for unity */
    --background-gradient: linear-gradient(to bottom, #0a0a23, #1a1a3a); /* Kept for reference, but not used */
    --success-color: #4CAF50;
    --error-color: #f44336;
    --border-radius: 4px;
    --spacing-unit: 10px;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #000; /* Solid black background */
    margin: 0;
    padding: 0;
}

/* Layout (from shroomtown.css + new styles) */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--spacing-unit);
    background: transparent; /* Ensure black background shows through */
}

.gradient {
    background: linear-gradient(to bottom, #fff, #f5f5f5);
    padding: var(--spacing-unit) 0;
}

.gradient-bottom {
    background: linear-gradient(to bottom, #f5f5f5, #fff);
}

/* Header and Navigation (from shroomtown.css + new styles) */
.site-header {
    text-align: center;
    padding: var(--spacing-unit);
}

.site-header img {
    width: 100%; /* Stretch proportionally to fit container */
    max-width: none; /* Remove the 1000px constraint */
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Navigation Bar (from shroomtown.css + new styles) */
.main-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    background: #2a3f5a;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: var(--spacing-unit);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
    min-height: 50px;
}

.main-nav .nav-item {
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: inline-block;
    transition: background-color 0.3s;
}

.main-nav .nav-item:hover {
    background-color: #34495e;
    color: var(--secondary-color);
}

/* Login Panel (from shroomtown.css) */
.login-panel {
    background-color: #f8f9fa;
    padding: var(--spacing-unit);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-unit);
}

.login-panel form {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-unit);
    align-items: center;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group small {
    display: block;
    color: #666;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Buttons (from shroomtown.css + new styles) */
button, .btn {
    background-color: #3498db; /* Default blue from shroomtown.css */
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

button:hover, .btn:hover {
    background-color: #2980b9;
}

.btn-primary {
    background-color: var(--primary-color); /* Use our new green */
    color: #000;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

.btn-link {
    background: none;
    color: #3498db;
    padding: 0;
}

.btn-link:hover {
    background: none;
    color: #2980b9;
}

.btn-search {
    background-color: #666;
}

.btn-search:hover {
    background-color: #555;
}

/* Messages (from shroomtown.css) */
.error {
    color: #e74c3c;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #e74c3c;
    border-radius: 4px;

    background-color: #fde8e8;
}

.success {
    color: #27ae60;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #27ae60;
    border-radius: 4px;
    background-color: #e8f8f0;
}

/* Sidebar Menu (from shroomtown.css) */
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 0.5rem 0;
    font-weight: bold;
}

.menu-item img {
    margin-right: 0.5rem;
    width: 24px;
    height: 24px;
}

.footnote {
    display: block;
    font-size: 0.875rem;
    color: #666;
    margin-left: 1.5rem;
}

.side_content_top,
.side_content_bottom {
    height: 10px;
    background-color: #f8f9fa;
}

.side-content {
    padding: var(--spacing-unit);
}

/* User Panel (from shroomtown.css) */
.user-panel {
    background-color: #f8f9fa;
    padding: var(--spacing-unit);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-unit);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-unit);
}

.user-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-unit);
}

/* Main Content (from shroomtown.css + new styles) */
.main-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    background-color: transparent; /* Let black background show through */
}

.content-grid {
    display: grid;
    grid-template-columns: 200px 1fr; /* Sidebar is 200px, main content takes the rest */
    gap: 20px;
    align-items: start; /* Align items to the top */
    min-height: 500px; /* Ensure the grid has enough height for the canvas */
    background: transparent; /* Ensure black background shows through */
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

.sidebar {
    background-color: #f8f9fa;
    padding: var(--spacing-unit);
    border-radius: var(--border-radius);
    height: fit-content; /* Sidebar only takes the height it needs */
}

.search-panel {
    margin-bottom: var(--spacing-unit);
}

.search-panel h3 {
    margin-bottom: calc(var(--spacing-unit) / 2);
}

.content-area {
    background-color: transparent; /* No background for Sephirot canvas */
    padding: 0; /* Remove padding to let canvas take full space */
}

/* Ensure the canvas takes up the full space in the content area */
#canvasZone, #renderCanvas {
    width: 100%;
    height: 500px;
    touch-action: none;
    display: block;
}

/* Form-specific styling for submit_content.php (new) */
.type-menu {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
}

.type-menu a {
    text-align: center;
    color: #fff;
    text-decoration: none;
}

.type-menu img {
    display: block;
    margin: 0 auto 5px;
    width: 90px;
    height: 90px;
}

/* Footer (from shroomtown.css + new styles) */
.site-footer {
    margin-top: var(--spacing-unit);
    padding: var(--spacing-unit);
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-unit);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-unit);
}

.footer-links a {
    color: var(--primary-color);
    margin: 0 10px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* Utility Classes (from shroomtown.css) */
.alert {
    padding: var(--spacing-unit);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-unit);
}

.alert-success {
    background-color: var(--success-color);
    color: white;
}

.alert-error {
    background-color: var(--error-color);
    color: white;
}

.panel-break {
    height: var(--spacing-unit);
}

/* Responsive Design (from shroomtown.css) */
@media (max-width: 1024px) {
    .container {
        padding: 0 calc(var(--spacing-unit) * 2);
    }
}

@media (max-width: 768px) {
    .user-panel,
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .user-nav,
    .footer-links {
        justify-content: center;
    }

    .main-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
    }
    
    .main-content {
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .form-group {
        min-width: 100%;
    }

    .btn {
        width: 100%;
    }
}

/* Legacy Support (from shroomtown.css) */
.non-fixed_table {
    border-collapse: collapse;
    width: 100%;
}

.textfield_left,
.textfield_right,
.button_left,
.button_right {
    display: none;
}

.textfield {
    width: 100%;
    padding: calc(var(--spacing-unit) / 2);
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
}

.button_center {
    padding: calc(var(--spacing-unit) / 2) var(--spacing-unit);
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    cursor: pointer;
}

.button_center:hover {
    background-color: var(--secondary-color);
}

/* Accessibility (from shroomtown.css) */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Print Styles (from shroomtown.css) */
@media print {
    .gradient,
    .gradient-bottom {
        background: none;
    }

    .main-nav,
    .login-panel,
    .user-panel,
    .sidebar {
        display: none;
    }

    .content-grid {
        display: block;
    }

    .content-area {
        padding: 0;
    }
}

/* Filter Styles */
.filter-section {
    margin-bottom: 20px;
}

.filter-group {
    margin-bottom: 15px;
}

.filter-group h4 {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.filter-item {
    margin-bottom: 5px;
}

.filter-item a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.filter-item a:hover {
    color: var(--primary-color);
}

.filter-subgroup {
    margin-bottom: 10px;
}

.filter-indent {
    margin-left: 10px;
}

.filter-item img {
    margin-right: 5px;
}

/* Form Styling for Keywords Search */
.form-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.form-control {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

