/* CRACKERBOT COSMIC THEME - Original Design */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #1a1f3a;  /* Brighter blue-purple */
    background: radial-gradient(ellipse at center, #2a2f4e 0%, #1a1f3a 100%);
    color: #00ff88;
    font-family: "Courier New", monospace;
    min-height: 100vh;
    overflow: hidden;
}

/* Cosmic Background Effect */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    z-index: -2;
}

/* App Container */
.app-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    height: 100vh;
    gap: 0;
}

/* Left Panel - Token Scanner */
.token-scanner-panel {
    background: rgba(26, 31, 58, 0.9);
    border-right: 1px solid #00ff88;
    padding: 20px;
    overflow-y: auto;
    position: relative;
}

.token-scanner-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff88, transparent);
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.scanner-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 255, 136, 0.3);
}

.scanner-header h3 {
    color: #00ff88;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.refresh-btn {
    background: transparent;
    border: 1px solid #00ff88;
    color: #00ff88;
    padding: 5px 15px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 11px;
}

.refresh-btn:hover {
    background: #00ff88;
    color: #0a0e1b;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

.token-search {
    width: 100%;
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.3);
    padding: 10px;
    color: #00ff88;
    margin-bottom: 20px;
    font-family: inherit;
    border-radius: 3px;
}

.token-search::placeholder {
    color: rgba(0, 255, 136, 0.5);
}

.token-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.token-item {
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    padding: 12px;
    border-radius: 5px;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
}

.token-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.2), transparent);
    transition: left 0.5s;
}

.token-item:hover::before {
    left: 100%;
}

.token-item:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: #00ff88;
    transform: translateX(5px);
}

.token-name {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.token-price {
    color: #00ccff;
    font-size: 14px;
}

.token-change {
    font-size: 12px;
    margin-left: 10px;
}

.token-change.positive {
    color: #00ff88;
}

.token-change.negative {
    color: #ff4444;
}

/* Wallets Panel */
.wallets-panel {
    background: rgba(10, 14, 27, 0.95);
    border-right: 1px solid #00ff88;
    border-top: 1px solid #00ff88;
    padding: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 280px;
    height: 200px;
}

.wallet-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #00ff88;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wallet-icon {
    margin-right: 10px;
    font-size: 20px;
}

/* Main Chat Container */
.chat-container {
    background: rgba(26, 31, 58, 0.85);  /* Lighter, more transparent */
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Animated Border */
.chat-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-image: linear-gradient(45deg, #00ff88, #00ccff, #8a2be2, #ff00ff) 1;
    animation: borderRotate 3s linear infinite;
    pointer-events: none;
}

@keyframes borderRotate {
    0% { border-image-source: linear-gradient(45deg, #00ff88, #00ccff, #8a2be2, #ff00ff); }
    25% { border-image-source: linear-gradient(90deg, #00ccff, #8a2be2, #ff00ff, #00ff88); }
    50% { border-image-source: linear-gradient(135deg, #8a2be2, #ff00ff, #00ff88, #00ccff); }
    75% { border-image-source: linear-gradient(180deg, #ff00ff, #00ff88, #00ccff, #8a2be2); }
    100% { border-image-source: linear-gradient(45deg, #00ff88, #00ccff, #8a2be2, #ff00ff); }
}

/* Chat Header */
.chat-header {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, rgba(0, 255, 136, 0.1) 100%);
    padding: 20px;
    border-bottom: 1px solid rgba(0, 255, 136, 0.3);
    backdrop-filter: blur(10px);
}

.app-title {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.bot-icon {
    font-size: 30px;
    margin-right: 15px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.app-title h1 {
    font-size: 24px;
    background: linear-gradient(90deg, #00ff88, #00ccff, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 3px;
}

#user-name {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

.header-buttons {
    display: flex;
    gap: 10px;
}

.header-buttons button {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid #00ff88;
    color: #00ff88;
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.header-buttons button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 136, 0.3);
    transition: left 0.3s;
}

.header-buttons button:hover::before {
    left: 0;
}

.header-buttons button:hover {
    text-shadow: 0 0 10px #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

/* Chat Messages */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.message {
    background: rgba(0, 255, 136, 0.05);
    border-left: 3px solid #00ff88;
    padding: 12px;
    margin-bottom: 15px;
    position: relative;
    animation: messageSlide 0.5s ease-out;
    z-index: 1;
}

.bot-message {
    background: rgba(138, 43, 226, 0.1);
    border-left-color: #8a2be2;
}

.bot-message strong {
    color: #ff00ff;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Task Status Section - TARGETED HIDE ONLY FLOATING VERSION */
.task-status-section {
    background: rgba(138, 43, 226, 0.05);
    border: 1px solid #8a2be2;
    margin: 20px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

/* TARGETED FIX: Only hide task status when it becomes a floating box */
#task-status-section[style*="position: absolute"],
#task-status-section[style*="position: fixed"],
.task-status-section[style*="position: absolute"],
.task-status-section[style*="position: fixed"] {
    display: none !important;
    visibility: hidden !important;
}

.task-status-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #8a2be2, transparent);
    animation: scan 2s linear infinite;
}

/* Progress Bar - KEEP WORKING */
.progress-container {
    background: rgba(0, 0, 0, 0.7);
    height: 30px;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 15px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00ff88, #00ccff, #8a2be2);
    transition: width 0.5s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    z-index: 1;
}

/* Choice Bubbles */
.choice-bubbles {
    padding: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 80px;
}

.choice-bubble {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(0, 255, 136, 0.3));
    border: 2px solid #8a2be2;
    padding: 12px 25px;
    color: #00ff88;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.choice-bubble::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.5), transparent);
    transition: all 0.3s;
    transform: translate(-50%, -50%);
}

.choice-bubble:hover::before {
    width: 100%;
    height: 100%;
}

.choice-bubble:hover {
    transform: scale(1.05);
    border-color: #00ff88;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
    text-shadow: 0 0 10px #00ff88;
}

/* Input Area */
.input-area {
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(0, 255, 136, 0.3);
    display: flex;
    gap: 15px;
}

#message-input {
    flex: 1;
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.3);
    padding: 12px;
    color: #00ff88;
    font-family: inherit;
    font-size: 14px;
}

#message-input:focus {
    outline: none;
    border-color: #00ff88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

/* Matrix Rain Canvas */
#matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
}

/* ========== THEME SYSTEM - KEEP WORKING ========== */
.theme-dropdown {
    position: relative;
    display: inline-block;
    z-index: 999999;
}

.theme-btn {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid #00ff88;
    color: #00ff88;
    padding: 8px 20px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 11px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #000000;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 255, 136, 0.3);
    z-index: 999999;
    border: 2px solid #00ff88;
    top: 100%;
    margin-top: 5px;
    pointer-events: auto;
}

.dropdown-content a {
    color: #00ff88;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    background: #000000;
    pointer-events: auto;
    position: relative;
    z-index: 999999;
}

.dropdown-content a:hover {
    background: rgba(0, 255, 136, 0.2);
}

/* Only show when JavaScript adds the .show class */
.dropdown-content.show {
    display: block;
    background: #000000;
    z-index: 2147483647;
}

/* Matrix Theme */
body.matrix-theme {
    background: #000;
    color: #00ff00;
}

.matrix-theme .chat-container {
    background: rgba(0, 20, 0, 0.9);
    border-color: #00ff00;
}

.matrix-theme .choice-bubble {
    background: transparent;
    border: 2px solid #00ff00;
    color: #00ff00;
}

/* Cyberpunk Theme */
body.cyberpunk-theme {
    background: linear-gradient(135deg, #0f0f23, #ff006e);
    color: #00ffff;
}

/* Neon Theme */
body.neon-theme {
    background: #0a0a0a;
    color: #ff00ff;
}

.neon-theme .chat-container {
    border: 2px solid #ff00ff;
    box-shadow: 0 0 40px #ff00ff;
}

/* Dark Theme */
body.dark-theme {
    background: #111;
    color: #fff;
}

/* Minimal Theme */
body.minimal-theme {
    background: #fff;
    color: #333;
}

.minimal-theme .chat-container {
    background: #fff;
    border: 1px solid #ddd;
}

/* ========== INLINE STYLES FROM HTML ========== */

/* Matrix Rain Canvas (from HTML inline) */
#matrix-rain-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.matrix-theme #matrix-rain-canvas {
    opacity: 0.15; /* CHANGE FROM 1 to 0.15 for subtle effect */
}

/* Backend Configuration Modal */
#backend-config-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(30, 0, 50, 0.95));
    border: 2px solid #00ff88;
    border-radius: 15px;
    padding: 30px;
    z-index: 10000;
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.5);
    min-width: 400px;
    backdrop-filter: blur(10px);
}

#backend-config-modal h3 {
    color: #00ff88;
    margin-top: 0;
    font-family: monospace;
    text-align: center;
    font-size: 20px;
}

#backend-config-modal input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #00ff88;
    color: #00ff88;
    border-radius: 5px;
    font-family: monospace;
    font-size: 14px;
}

#backend-config-modal button {
    width: 48%;
    padding: 10px;
    margin: 10px 1%;
    background: linear-gradient(135deg, #00ff88, #00ccff);
    border: none;
    color: #000;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

#backend-config-modal button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.5);
}

#backend-config-modal .instructions {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 5px;
    padding: 15px;
    margin: 15px 0;
    font-family: monospace;
    font-size: 12px;
    color: #00ff88;
    line-height: 1.5;
}

#backend-config-modal .current-url {
    color: #ffaa00;
    word-break: break-all;
}

#backend-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

/* Project Type Modal */
.project-type-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(30, 0, 50, 0.95));
    border: 2px solid #00ff88;
    border-radius: 20px;
    padding: 30px;
    z-index: 10000;
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.5);
    min-width: 600px;
    max-width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    backdrop-filter: blur(10px);
}

.project-type-modal h2 {
    color: #00ff88;
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.project-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.project-type-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border: 2px solid rgba(102, 126, 234, 0.5);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-type-card:hover {
    transform: translateY(-5px);
    border-color: #00ff88;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 204, 255, 0.2));
}

.project-type-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.project-type-name {
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

.project-type-desc {
    color: #aaa;
    font-size: 12px;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
}

.modal-close-btn:hover {
    background: rgba(255, 0, 0, 0.5);
    transform: rotate(90deg);
}


/* Modal Overlay - FIXED */
.modal-overlay {
    display: none;  /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

/* Only show when needed */
.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: #1a1a2e;
    border: 2px solid #00ff88;
    border-radius: 20px;
    padding: 20px;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
}

.projects-modal {
    width: 80%;
    max-width: 1200px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.project-card {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid #00ff88;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
}

/* ========== PROJECT MANAGER MODAL FIX ========== */
/* Project Manager Modal - NO DARK OVERLAY */
#projects-manager {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.7) !important; /* Less dark */
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#projects-manager .modal-content {
    background: linear-gradient(135deg, #1a1a2e, #0a0e1b) !important;
    border: 3px solid #00ff88 !important;
    border-radius: 20px !important;
    padding: 30px !important;
    width: 90% !important;
    max-width: 1200px !important;
    max-height: 85vh !important;
    overflow: auto !important;
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.5) !important;
}

#projects-manager .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #00ff88;
}

#projects-manager .modal-title {
    color: #00ff88 !important;
    font-size: 28px !important;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    margin: 0;
}

#projects-manager .modal-close {
    background: rgba(255, 68, 68, 0.2);
    border: 2px solid #ff4444;
    color: #ff4444;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    font-size: 16px;
}

#projects-manager .modal-close:hover {
    background: #ff4444;
    color: white;
    transform: scale(1.1);
}

#projects-manager .projects-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 20px !important;
    padding: 20px !important;
}

#projects-manager .project-card {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(138, 43, 226, 0.1)) !important;
    border: 2px solid #00ff88 !important;
    border-radius: 15px !important;
    padding: 20px !important;
    color: white !important;
    transition: all 0.3s !important;
    cursor: pointer !important;
}

#projects-manager .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(138, 43, 226, 0.2)) !important;
}

#projects-manager .project-name {
    color: #00ff88 !important;
    font-size: 18px !important;
    font-weight: bold !important;
    margin-bottom: 5px !important;
}

#projects-manager .project-type {
    color: #00ccff !important;
    font-size: 14px !important;
    margin-bottom: 5px !important;
}

#projects-manager .project-date {
    color: #888 !important;
    font-size: 12px !important;
    margin-bottom: 15px !important;
}

#projects-manager .project-actions {
    display: flex !important;
    gap: 10px !important;
    justify-content: center !important;
    margin-top: 15px !important;
}

#projects-manager .project-btn {
    padding: 8px 15px !important;
    border-radius: 20px !important;
    border: 1px solid #00ff88 !important;
    background: rgba(0, 255, 136, 0.1) !important;
    color: #00ff88 !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    font-size: 16px !important;
}

#projects-manager .project-btn:hover {
    background: #00ff88 !important;
    color: black !important;
    transform: scale(1.1);
}

#projects-manager .project-btn.delete {
    border-color: #ff4444 !important;
    color: #ff4444 !important;
    background: rgba(255, 68, 68, 0.1) !important;
}

#projects-manager .project-btn.delete:hover {
    background: #ff4444 !important;
    color: white !important;
}

#projects-manager .btn {
    padding: 10px 20px !important;
    background: linear-gradient(135deg, #00ff88, #00ccff) !important;
    color: black !important;
    border: none !important;
    border-radius: 25px !important;
    cursor: pointer !important;
    font-weight: bold !important;
    transition: all 0.3s !important;
}

#projects-manager .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.5);
}

#projects-manager .btn-danger {
    background: linear-gradient(135deg, #ff3333, #ff6666) !important;
}

/* Simple fallback modal styles */
#projects-manager-simple {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: #1a1a2e !important;
    border: 3px solid #00ff88 !important;
    border-radius: 20px !important;
    padding: 30px !important;
    z-index: 999999 !important;
    max-width: 600px !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    color: white !important;
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.5) !important;
}

/* Post-build options styling */
.choice-bubble.post-build-option {
    background: linear-gradient(135deg, #00ff88, #00ccff) !important;
    color: black !important;
    font-weight: bold !important;
}
/* Fix body overflow when modal is open */
body.modal-open {
    overflow: visible !important;
}

/* Ensure modal appears above everything */
#projects-manager {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2147483647 !important;
    overflow: visible !important;
}