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

/* Reset and Base Styles */
: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);
    --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, Helvetica, sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #000; /* From earlier CSS */
    background-image: url(_graphics/window_background.png); /* Restored */
    background-repeat: repeat;
    margin: 0;
    text-align: center;
}

/* Links (from earlier CSS) */
a:link {
    text-decoration: none;
    color: #004080;
}

a:visited {
    text-decoration: none;
    color: #004080;
}

a:hover {
    text-decoration: underline;
    color: #004080;
}

a:active {
    text-decoration: none;
    color: #004080;
}

/* Utility Classes (from earlier CSS) */
.red {
    color: #C00000;
}

.green {
    color: #80ff00;
}

.footnote {
    font-size: 9px;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--spacing-unit);
}

.body {
    width: 980px;
    padding: 10px;
    overflow: hidden;
    background-image: url(_graphics/body_background.png); /* Restored */
    background-repeat: repeat-y;
    line-height: 10px;
}

.gradient {
    background-image: url(_graphics/gradient.png); /* Restored */
    background-repeat: repeat-y;
    width: 100%;
    background-position: center;
    text-align: center;
    height: 100%;
}

.gradient-bottom {
    background-image: url(_graphics/gradient_bottom.png); /* Restored */
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    height: 40px;
}

/* Header and Navigation */
.site-header {
    text-align: center;
    padding: var(--spacing-unit);
}

.site-header img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.logo {
    width: 1000px;
    height: 90px;
}

.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;
}

.navigation_bar {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #000000;
    height: 20px;
    width: 980px;
    padding-right: 10px;
    padding-left: 10px;
    text-align: left;
    font-weight: bold;
    line-height: 20px;
    background-image: url(_graphics/navigation_bar.png); /* Restored */
}

.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);
}

/* Account Panel (from earlier CSS) */
.account_panel_break {
    background-image: url(_graphics/account_panel_break.png); /* Restored */
    width: 1000px;
    height: 10px;
}

.account_panel_left {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #000000;
    height: 40px;
    padding-right: 10px;
    padding-left: 10px;
    text-align: left;
    background-image: url(_graphics/account_panel_left.png); /* Restored */
    overflow: hidden;
    line-height: 40px;
    white-space: nowrap;
}

.account_panel_right {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #000000;
    height: 40px;
    padding-right: 10px;
    padding-left: 10px;
    text-align: right;
    background-image: url(_graphics/account_panel_right.png); /* Restored */
    background-position: right;
    overflow: hidden;
    line-height: 40px;
    white-space: nowrap;
}

/* Login Panel */
.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 */
button, .btn {
    background-color: #3498db;
    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);
    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;
}

.button_left {
    width: 10px;
    height: 20px;
    background-image: url(_graphics/button_left.png); /* Restored */
}

.button_center {
    height: 20px;
    background-image: url(_graphics/button_center.png); /* Restored */
    background-repeat: repeat-x;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #003040;
    text-align: center;
    line-height: 20px;
}

.button_right {
    width: 10px;
    height: 20px;
    background-image: url(_graphics/button_right.png); /* Restored */
}

/* Messages */
.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 */
.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;
}

.side_content {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #000000;
    text-align: left;
    vertical-align: top;
    overflow: hidden;
    background-image: url(_graphics/side_content_center.png); /* Restored */
    background-repeat: repeat-y;
    line-height: 14px;
    width: 120px;
    padding-left: 10px;
    padding-right: 10px;
}

.side_content_top {
    width: 140px;
    height: 10px;
    background-image: url(_graphics/side_content_top.png); /* Restored */
}

.side_content_bottom {
    width: 140px;
    height: 10px;
    background-image: url(_graphics/side_content_bottom.png); /* Restored */
}

.side_divider_thin {
    width: 120px;
    height: 30px;
    background-image: url(_graphics/side_divider_thin.png); /* Restored */
    background-position: center;
    background-repeat: no-repeat;
}

.side_divider_thick {
    width: 120px;
    height: 24px;
    background-image: url(_graphics/side_divider_thick.png); /* Restored */
    background-position: center;
    background-repeat: no-repeat;
}

/* User Panel */
.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 */
.main-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    background-color: transparent; /* Ensure transparency for Sephirot canvas */
}

.content-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    align-items: start;
    min-height: 500px;
}

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

.sidebar {
    background-color: transparent; /* Let side_content background show through */
    padding: var(--spacing-unit);
    border-radius: var(--border-radius);
    height: fit-content;
}

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

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

.content-area {
    background-color: transparent; /* Ensure transparency for Sephirot canvas */
    padding: 0;
}

/* Sephirot Canvas */
#canvasZone, #renderCanvas {
    width: 100%;
    height: 500px;
    touch-action: none;
    display: block;
}

/* Headers and Content (from earlier CSS) */
.header {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 12px;
    color: #FFFFFF;
    height: 35px;
    overflow: hidden;
    text-align: left;
    vertical-align: top;
    background-image: url(_graphics/header.png); /* Restored */
    background-repeat: repeat-x;
    line-height: 26px;
}

.header_left {
    width: 10px;
    height: 35px;
    background-image: url(_graphics/header.png); /* Restored */
}

.header_right {
    width: 10px;
    height: 35px;
    background-image: url(_graphics/header.png); /* Restored */
}

.side_header {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 12px;
    color: #FFFFFF;
    height: 35px;
    overflow: hidden;
    text-align: left;
    vertical-align: top;
    background-image: url(_graphics/side_header.png); /* Restored */
    line-height: 26px;
    padding-left: 10px;
    padding-right: 10px;
}

.subheader {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #000000;
    height: 30px;
    text-align: left;
    vertical-align: top;
    overflow: hidden;
    line-height: 20px;
    background-image: url(_graphics/subheader_center.png); /* Restored */
    background-repeat: repeat-x;
}

.subheader_left {
    width: 10px;
    height: 30px;
    background-image: url(_graphics/subheader_left.png); /* Restored */
}

.subheader_right {
    width: 10px;
    height: 30px;
    background-image: url(_graphics/subheader_right.png); /* Restored */
}

.white_subheader {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #000000;
    background-color: #FFFFFF;
    height: 16px;
    text-align: left;
    overflow: hidden;
    padding-right: 5px;
    padding-left: 5px;
    line-height: 16px;
}

.white_subheader_content {
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-right-color: #FFFFFF;
    border-bottom-color: #FFFFFF;
    border-left-color: #FFFFFF;
    padding: 4px;
}

.content {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #000000;
    text-align: left;
    vertical-align: top;
    overflow: hidden;
    background-image: url(_graphics/content_center.png); /* Restored */
    background-repeat: repeat;
    line-height: 14px;
}

.content_top_left {
    width: 10px;
    height: 10px;
    background-image: url(_graphics/content_top_left.png); /* Restored */
}

.content_top_right {
    width: 10px;
    height: 10px;
    background-image: url(_graphics/content_top_right.png); /* Restored */
}

.content_bottom_left {
    width: 10px;
    height: 10px;
    background-image: url(_graphics/content_bottom_left.png); /* Restored */
}

.content_bottom_right {
    width: 10px;
    height: 10px;
    background-image: url(_graphics/content_bottom_right.png); /* Restored */
}

.content_top {
    height: 10px;
    background-image: url(_graphics/content_top.png); /* Restored */
    background-repeat: repeat-x;
}

.content_bottom {
    height: 10px;
    background-image: url(_graphics/content_bottom.png); /* Restored */
    background-repeat: repeat-x;
}

.content_left {
    width: 10px;
    background-image: url(_graphics/content_left.png); /* Restored */
    background-repeat: repeat-y;
}

.content_right {
    width: 10px;
    background-image: url(_graphics/content_right.png); /* Restored */
    background-repeat: repeat-y;
}

.subcontent {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #000000;
    text-align: left;
    vertical-align: top;
    overflow: hidden;
    background-image: url(_graphics/subcontent_center.png); /* Restored */
    background-repeat: repeat;
    line-height: 14px;
}

.subcontent_top_left {
    width: 10px;
    height: 10px;
    background-image: url(_graphics/subcontent_top_left.png); /* Restored */
}

.subcontent_top_right {
    width: 10px;
    height: 10px;
    background-image: url(_graphics/subcontent_top_right.png); /* Restored */
}

.subcontent_bottom_left {
    width: 10px;
    height: 10px;
    background-image: url(_graphics/subcontent_bottom_left.png); /* Restored */
}

.subcontent_bottom_right {
    width: 10px;
    height: 10px;
    background-image: url(_graphics/subcontent_bottom_right.png); /* Restored */
}

.subcontent_top {
    height: 10px;
    background-image: url(_graphics/subcontent_top.png); /* Restored */
    background-repeat: repeat-x;
}

.subcontent_bottom {
    height: 10px;
    background-image: url(_graphics/subcontent_bottom.png); /* Restored */
    background-repeat: repeat-x;
}

.subcontent_left {
    width: 10px;
    background-image: url(_graphics/subcontent_left.png); /* Restored */
    background-repeat: repeat-y;
}

.subcontent_right {
    width: 10px;
    background-image: url(_graphics/subcontent_right.png); /* Restored */
    background-repeat: repeat-y;
}

/* Form-specific styling for submit_content.php */
.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 */
.site-footer {
    margin-top: var(--spacing-unit);
    padding: var(--spacing-unit);
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
}

.footer {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    color: #000000;
    height: 20px;
    width: 980px;
    padding-right: 10px;
    padding-left: 10px;
    text-align: left;
    vertical-align: middle;
    background-image: url(_graphics/footer.png); /* Restored */
    overflow: hidden;
}

.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 */
.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);
}

.title {
    font-size: 12px;
    font-weight: bold;
}

.medium_thumbnail {
    overflow: hidden;
    text-align: center;
    padding: 20px;
    width: 90px;
}

.thumbnail {
    overflow: hidden;
    text-align: center;
    width: 120px;
    table-layout: fixed;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
}

.textfield {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #000000;
    width: 100%;
    height: 14px;
    padding-top: 3px;
    padding-bottom: 3px;
    text-align: left;
    vertical-align: middle;
    background-image: url(_graphics/textfield_center.png); /* Restored */
    background-repeat: repeat-x;
    background-color: transparent;
    border: 0px;
    margin: 0px;
    padding-left: 0px;
    padding-right: 0px;
}

.textfield_left {
    width: 10px;
    height: 20px;
    background-image: url(_graphics/textfield_left.png); /* Restored */
}

.textfield_right {
    width: 10px;
    height: 20px;
    background-image: url(_graphics/textfield_right.png); /* Restored */
}

.textfield_right_submit {
    width: 15px;
    height: 20px;
    background-image: url(_graphics/textfield_right_submit.png); /* Restored */
    cursor: pointer;
}

.textarea {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #000000;
    overflow: hidden;
    text-align: left;
    vertical-align: top;
    line-height: 14px;
    background-image: url(_graphics/textarea_center.png); /* Restored */
    background-repeat: repeat;
    width: 100%;
    background-color: transparent;
    border: 0px;
    margin: 0px;
    padding: 0px;
}

.textarea_top_left {
    width: 10px;
    height: 10px;
    background-image: url(_graphics/textarea_top_left.png); /* Restored */
}

.textarea_top_right {
    width: 10px;
    height: 10px;
    background-image: url(_graphics/textarea_top_right.png); /* Restored */
}

.textarea_bottom_left {
    width: 10px;
    height: 10px;
    background-image: url(_graphics/textarea_bottom_left.png); /* Restored */
}

.textarea_bottom_right {
    width: 10px;
    height: 10px;
    background-image: url(_graphics/textarea_bottom_right.png); /* Restored */
}

.textarea_top {
    height: 10px;
    background-image: url(_graphics/textarea_top.png); /* Restored */
    background-repeat: repeat-x;
}

.textarea_bottom {
    height: 10px;
    background-image: url(_graphics/textarea_bottom.png); /* Restored */
    background-repeat: repeat-x;
}

.textarea_left {
    width: 10px;
    background-image: url(_graphics/textarea_left.png); /* Restored */
    background-repeat: repeat-y;
}

.textarea_right {
    width: 10px;
    background-image: url(_graphics/textarea_right.png); /* Restored */
    background-repeat: repeat-y;
}

.textfield_simple {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #000000;
    width: 100%;
    height: 14px;
    text-align: left;
    vertical-align: middle;
    border: 1px;
    margin: 0px;
    padding: 2px;
}

.textarea_simple {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #000000;
    overflow: hidden;
    text-align: left;
    vertical-align: top;
    line-height: 14px;
    width: 100%;
    border: 1px;
    margin: 0px;
    padding: 2px;
}

.literature_div {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #000000;
    width: 560px;
    height: 420px;
    border: 1px solid #607880;
    overflow: auto;
    padding: 9px;
    text-align: left;
    line-height: 16px;
    background-color: #c8cccb;
    background-image: url(_graphics/subcontent_background.png); /* Restored */
    background-repeat: repeat;
}

.home_websites_content {
    height: 95px;
    width: 510px;
    overflow: hidden;
    vertical-align: top;
}

.fixed_content {
    background-color: #b6bbb9;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #000000;
    padding: 9px;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    text-align: left;
    overflow: auto;
    border-right-color: #003040;
    border-bottom-color: #003040;
    border-left-color: #003040;
    background-image: url(_graphics/content_background.png); /* Restored */
    background-repeat: repeat;
    line-height: 14px;
    background-attachment: fixed;
}

.chat_message {
    width: 210px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 20px;
    background-image: url(_graphics/chat_message_header.png); /* Restored */
    background-position: 0px 20px;
    background-repeat: no-repeat;
}

.title_cell {
    width: 120px;
    height: 28px;
    text-align: center;
    vertical-align: top;
    overflow: hidden;
}

.scroll_up {
    width: 100%;
    height: 15px;
    background-image: url(_graphics/scroll_up_grey.png); /* Restored */
    background-position: top center;
    background-repeat: no-repeat;
    cursor: default;
}

.scroll_down {
    width: 100%;
    height: 15px;
    background-image: url(_graphics/scroll_down_grey.png); /* Restored */
    background-position: bottom center;
    background-repeat: no-repeat;
    cursor: default;
}

.tab {
    width: 110px;
    height: 30px;
    color: #003040;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    background-image: url(_graphics/tab.png); /* Restored */
    cursor: pointer;
}

/* Miscellaneous */
.non-fixed_table {
    table-layout: auto;
}

form {
    margin: 0px;
}

img {
    border: 0px;
}

table {
    table-layout: fixed;
    overflow: hidden;
}

.recaptchatable .recaptcha_image_cell, #recaptcha_table {
    table-layout: auto;
    background-color: #dfe5e5 !important;
}

#recaptcha_table {
    table-layout: auto;
}

#recaptcha_response_field {
    border-color: #808080 !important;
    background-color: #FFFFFF !important;
}

.line_limit {
    overflow: hidden;
    height: 84px;
}

/* Responsive Design */
@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%;
    }
}

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

/* Print Styles */
@media print {
    .gradient,
    .gradient-bottom {
        background: none;
    }

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

    .content-grid {
        display: block;
    }

    .content-area {
        padding: 0;
    }
}