:root {
    --neon-blue: #00f3ff;
    --neon-purple: #9d00ff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --sidebar-width: 300px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', 'Orbitron', sans-serif;
}

body {
    background: #000;
    color: #fff;
    overflow: hidden;
}

#scene-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
    margin-bottom: 15px;
}

#ui-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2;
    width: 300px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding-right: 10px;
}

#task-form {
    margin-bottom: 20px;
}

#task-form input,
#task-form textarea {
    padding: 8px;
    margin: 5px 0;
}

.neon-input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--neon-blue);
    border-radius: 5px;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease;
}

.neon-input:focus {
    outline: none;
    box-shadow: 0 0 15px var(--neon-blue);
}

.neon-button {
    background: transparent;
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    transition: all 0.3s ease;
    margin: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.neon-button:hover {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 20px var(--neon-blue);
}

.neon-button.danger {
    border-color: #ff0055;
    color: #ff0055;
}

.neon-button.danger:hover {
    background: #ff0055;
    color: #000;
    box-shadow: 0 0 20px #ff0055;
}

.neon-button.success {
    border-color: #00ff88;
    color: #00ff88;
}

.neon-button.success:hover {
    background: #00ff88;
    color: #000;
    box-shadow: 0 0 20px #00ff88;
}

.neon-checkbox {
    display: flex;
    align-items: center;
    margin: 10px 0;
    cursor: pointer;
}

.neon-checkbox input {
    margin-right: 10px;
}

#task-details {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    min-width: 300px;
    text-align: center;
}

.hidden {
    display: none;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes glow {
    0% { box-shadow: 0 0 5px var(--neon-blue); }
    50% { box-shadow: 0 0 20px var(--neon-blue), 0 0 40px var(--neon-purple); }
    100% { box-shadow: 0 0 5px var(--neon-blue); }
}

#achievements {
    margin-bottom: 20px;
}

#completed-count {
    font-size: 1.2em;
    margin: 10px 0;
    color: var(--neon-blue);
    text-shadow: 0 0 5px var(--neon-blue);
}

.showcase {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    width: 80%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

#completed-list {
    margin: 20px 0;
}

.completed-item {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid #00ff88;
    border-radius: 5px;
    padding: 15px;
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.completed-item .task-info {
    flex-grow: 1;
}

.completed-item h4 {
    color: #00ff88;
    margin-bottom: 5px;
}

.completed-item p {
    font-size: 0.9em;
    opacity: 0.8;
}

/* Scrollbar styling for the showcase */
.showcase::-webkit-scrollbar {
    width: 8px;
}

.showcase::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.showcase::-webkit-scrollbar-thumb {
    background: var(--neon-blue);
    border-radius: 4px;
}

.showcase::-webkit-scrollbar-thumb:hover {
    background: var(--neon-purple);
}

/* Add scrollbar styling for the UI container */
#ui-container::-webkit-scrollbar {
    width: 8px;
}

#ui-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

#ui-container::-webkit-scrollbar-thumb {
    background: var(--neon-blue);
    border-radius: 4px;
}

#ui-container::-webkit-scrollbar-thumb:hover {
    background: var(--neon-purple);
}

/* Add new styles for screen size warning */
#screen-size-warning {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    color: var(--neon-blue);
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

#screen-size-warning .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
}

#screen-size-warning h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--neon-blue);
}

#screen-size-warning p {
    margin: 10px 0;
    line-height: 1.5;
}

/* Show warning on screens smaller than 1024px */
@media screen and (max-width: 1024px) {
    #screen-size-warning {
        display: block;
    }
    
    #scene-container,
    #ui-container,
    #task-details,
    #completed-showcase {
        display: none !important;
    }
}

/* Sidebar styles */
#sidebar {
    position: fixed;
    left: -300px;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-right: 1px solid var(--glass-border);
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 20px;
    padding-top: 80px;
}

#sidebar.open {
    left: 0;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

#sidebar-toggle {
    position: fixed;
    left: 20px;
    top: 20px;
    z-index: 11;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 24px;
    user-select: none;
}

#sidebar-toggle:hover {
    background: var(--neon-blue);
    color: #000;
}

#sidebar h2 {
    margin-bottom: 15px;
}

#task-list-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px;
}

#task-list-container h3 {
    color: var(--neon-blue);
    font-family: 'Orbitron', sans-serif;
    font-size: 1em;
    padding: 10px 5px;
    margin: 10px 0 5px 0;
    border-bottom: 1px solid var(--neon-blue);
    text-shadow: 0 0 5px var(--neon-blue);
}

.task-list-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 12px;
    margin: 8px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 100%;
}

.task-list-item:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
}

.task-list-item h4 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 5px;
    color: var(--neon-blue);
}

.task-list-item p {
    font-size: 0.9em;
    opacity: 0.8;
    font-family: 'Roboto', sans-serif;
}

.priority-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.priority-1 { background-color: #00ccff; }
.priority-2 { background-color: #ff9900; }
.priority-3 { background-color: #ff00ff; }
.priority-4, .priority-5 { background-color: #ffff00; }
.urgent { background-color: #ff3366; }
.completed { background-color: #00ff88; }

.view-toggle {
    display: flex;
    margin-bottom: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    padding: 2px;
    position: sticky;
    top: 80px;
    z-index: 1;
}

.view-toggle button {
    flex: 1;
    padding: 8px;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: #fff;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.view-toggle button.active {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 10px var(--neon-blue);
}

.view-toggle button:first-child {
    border-radius: 5px 0 0 0;
    border-bottom: none;
}

.view-toggle button:nth-child(2) {
    border-radius: 0;
    border-left: none;
    border-bottom: none;
}

.view-toggle button:last-child {
    border-radius: 0 5px 0 0;
    border-left: none;
    border-bottom: none;
}

/* Improve readability for task details */
#task-details h3 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 15px;
}

#task-details p {
    font-family: 'Roboto', sans-serif;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Improve readability for form elements */
#task-form h2, #achievements h2 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 15px;
}

#task-description {
    min-height: 80px;
    line-height: 1.4;
}

/* Add styles for required fields */
.neon-input:required {
    border-color: var(--neon-purple);
}

.neon-input:required:focus {
    box-shadow: 0 0 15px var(--neon-purple);
}

.neon-input:invalid {
    border-color: #ff3366;
}

.neon-input:invalid:focus {
    box-shadow: 0 0 15px #ff3366;
}

/* Add these new styles for date headers and task list container */
#task-list-container {
    padding: 5px;
}

#task-list-container h3 {
    color: var(--neon-blue);
    font-family: 'Orbitron', sans-serif;
    font-size: 1em;
    padding: 10px 5px;
    margin: 10px 0 5px 0;
    border-bottom: 1px solid var(--neon-blue);
    text-shadow: 0 0 5px var(--neon-blue);
}

/* Add smooth transitions for view changes */
.task-list-item {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.3s ease;
}

.task-list-item.fade-out {
    opacity: 0;
    transform: translateX(-20px);
}

/* Update scrollbar styling for task list container */
#task-list-container::-webkit-scrollbar {
    width: 5px;
}

#task-list-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

#task-list-container::-webkit-scrollbar-thumb {
    background: var(--neon-blue);
    border-radius: 3px;
}

#task-list-container::-webkit-scrollbar-thumb:hover {
    background: var(--neon-purple);
}

/* AI Task Generator styles */
#ai-task-generator {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    width: 90%;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid var(--neon-blue);
    box-shadow: 0 0 30px var(--neon-blue);
}

#ai-task-generator h2 {
    color: var(--neon-blue);
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px var(--neon-blue);
}

#project-description {
    width: 100%;
    height: 150px;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--neon-blue);
    color: #fff;
    padding: 15px;
    font-size: 16px;
    resize: none;
}

.ai-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

#ai-loading {
    text-align: center;
    margin-top: 20px;
}

.ai-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--neon-blue);
    border-top: 4px solid transparent;
    border-radius: 50%;
    margin: 0 auto 15px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Make with AI button styles */
#make-with-ai {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    padding: 12px 25px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1em;
    letter-spacing: 1px;
    background: transparent;
    border: 2px solid var(--neon-purple);
    color: var(--neon-purple);
    cursor: pointer;
    transition: all 0.3s ease;
}

#make-with-ai:hover {
    background: var(--neon-purple);
    color: #000;
    box-shadow: 0 0 20px var(--neon-purple);
}

.suggestions-container {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid var(--neon-blue);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.5);
}

.suggestions-container h4 {
    color: var(--neon-blue);
    margin: 0 0 10px 0;
}

.suggestion-item {
    display: flex;
    align-items: center;
    margin: 5px 0;
    padding: 5px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.suggestion-item:hover {
    border-color: var(--neon-purple);
    background: rgba(157, 0, 255, 0.1);
}

.suggestion-item input[type="checkbox"] {
    margin-right: 10px;
}

.suggestion-item label {
    color: #fff;
    cursor: pointer;
} 