body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    background-color: #f0f4f8;
}
#sidebar {
    width: 250px;
    background-color: #2c3e50;
    color: #ecf0f1;
    height: 100vh;
    transition: all 0.3s;
    overflow-y: auto;
}
#sidebar.collapsed {
    width: 60px;
}
#sidebar-header {
    padding: 20px;
    background-color: #ced3d8;
    text-align: center;
}
.menu-item {
    padding: 15px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.menu-item:hover {
    background-color: #3498db;
}
.menu-item.active {
    background-color: #2980b9;
}
#content {
    flex-grow: 1;
    padding: 20px;
    transition: all 0.3s;
}
h1, h2 {
    color: #e6ecf1;
}
.hidden { 
    display: none; 
}
form {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
input[type="file"], input[type="text"], select, button {
    margin: 10px 0;
    padding: 10px;
    width: 100%;
    border: 1px solid #bdc3c7;
    border-radius: 3px;
}
button {
    background-color: #3498db;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}
button:hover {
    background-color: #2980b9;
}
button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}
#well-list {
    list-style-type: none;
    padding: 0;
}
#well-list li {
    background-color: white;
    margin: 5px 0;
    padding: 10px;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
#toggle-sidebar {
    position: absolute;
    top: 10px;
    left: 10px;
    background: none;
    border: none;
    color: #ecf0f1;
    font-size: 24px;
    cursor: pointer;
}
#selected-folders {
    margin-top: 10px;
    padding: 10px;
    background-color: #ecf0f1;
    border-radius: 3px;
}
#selected-folders div {
    margin: 5px 0;
    padding: 5px;
    background-color: #bdc3c7;
    border-radius: 3px;
    display: flex;
    justify-content: space-between;
}
#selected-folders button {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 2px 5px;
    border-radius: 3px;
    cursor: pointer;
}
#drop-zone {
    width: 300px;
    height: 200px;
    border: 2px dashed #cccccc;
    border-radius: 20px;
    text-align: center;
    line-height: 200px;
    color: #cccccc;
    margin: 20px auto;
    font-family: Arial, sans-serif;
}
#drop-zone.hover {
    background-color: #f0f0f0;
}

.well-tree {
    list-style-type: none;
    padding-left: 0;
}

.well-folder {
    margin-bottom: 10px;
}

.folder-header {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.folder-toggle {
    margin-left: 5px;
}

.folder-toggle i {
    margin-right: 5px;
}

.las-files {
    list-style-type: none;
    padding-left: 25px;
}

.las-file {
    margin: 5px 0;
}

.well-checkbox {
    margin-right: 5px;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    background-color: #f0f4f8;
}


.menu-item {
    padding: 15px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.menu-item:hover {
    background-color: #3498db;
}

.menu-item.active {
    background-color: #2980b9;
}

#content {
    flex-grow: 1;
    padding: 20px;
    transition: all 0.3s;
}

h1, h2 {
    color: #2c3e50;
}

.hidden { 
    display: none; 
}

form {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

input[type="text"], button {
    margin: 10px 0;
    padding: 10px;
    width: 100%;
    border: 1px solid #bdc3c7;
    border-radius: 3px;
}

button {
    background-color: #3498db;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

#well-list {
    list-style-type: none;
    padding: 0;
}

.well-folder {
    background-color: white;
    margin: 5px 0;
    padding: 10px;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.folder-header {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.folder-toggle {
    margin-left: 10px;
}

.las-files {
    list-style-type: none;
    padding-left: 25px;
}

.las-file {
    margin: 5px 0;
}

.well-checkbox {
    margin-right: 5px;
}

#settingsModal {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

#settingsModal label {
    display: block;
    margin-top: 10px;
}

#settingsModal input {
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f0f0f0;
}
h1 {
    color: #333;
}
#terminal {
    background-color: #000;
    color: #00ff00;
    font-family: monospace;
    padding: 10px;
    height: 400px;
    overflow-y: auto;
    margin-top: 20px;
    border-radius: 5px;
}
#resultsContainer {
    margin-top: 20px;
}
#resultsContainer a {
    display: inline-block;
    margin: 5px;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}
#resultsContainer a:hover {
    background-color: #45a049;
}
/* ... (existing styles) ... */

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    display: none;
    margin: 10px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.status-message {
    margin-top: 10px;
    font-style: italic;
    color: #555;
}

#import-wells, #existing-wells, #resultsContainer {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* Sidebar Container */
#sidebar {
    width: 250px;
    background-color: #1a1a1a;
    color: #ffffff;
    height: 100vh;
    transition: all 0.3s;
    overflow-y: auto;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

#sidebar.collapsed {
    width: 60px;
}

/* Sidebar Header */
#sidebar-header {
    padding: 20px;
    background-color: #2c3e50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#sidebar-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

/* Toggle Button */
#toggle-sidebar {
    position: relative;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

#toggle-sidebar:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Menu Items */
.menu-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #e1e1e1;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    border-left: 3px solid transparent;
}

.menu-item i {
    margin-right: 12px;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.menu-item:hover {
    background-color: rgba(52, 152, 219, 0.1);
    color: #3498db;
    border-left-color: #3498db;
}

.menu-item.active {
    background-color: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border-left-color: #3498db;
}

/* Project Name Styling */
.project-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

.project-name i {
    margin-right: 10px;
    color: #3498db;
}

/* Collapsed State Adjustments */
#sidebar.collapsed .menu-item span {
    display: none;
}

#sidebar.collapsed .project-name span {
    display: none;
}

#sidebar.collapsed .menu-item {
    padding: 15px;
    justify-content: center;
}

#sidebar.collapsed .menu-item i {
    margin-right: 0;
    font-size: 1.4rem;
}

/* Divider */
.sidebar-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 10px 0;
}


/* Add to your CSS */
.remove-well-btn {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
}

.remove-well-btn i {
    color: #e74c3c;
    font-size: 1.2rem;
}

.remove-well-btn:hover i {
    color: #c0392b;
}

/* Add or update these styles in well_selections.css */

.selected-folder-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f3f4f6;
    padding: 0.75rem;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
}

.folder-content {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.folder-actions {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}
/* Well folder styles */
.well-folder {
    background-color: white;
    margin: 0.5rem 0;
    border-radius: 0.375rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.folder-header {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.folder-toggle {
    display: flex;
    align-items: center;
    flex-grow: 1;
    cursor: pointer;
}

.folder-toggle i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.remove-folder-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    color: #ef4444;
    cursor: pointer;
    transition: color 0.2s;
    font-size: 1rem;
}

/* LAS file styles */
.las-files {
    padding: 0.5rem 0;
    background-color: #f9fafb;
}

.las-file {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    background-color: white;
    border-radius: 0.25rem;
}

.las-file-name {
    flex-grow: 1;
    font-size: 0.9rem;
    color: #4b5563;
}

.remove-las-btn {
    background: none;
    border: none;
    padding: 0.25rem;
    color: #ef4444;
    cursor: pointer;
    transition: color 0.2s;
    font-size: 0.85rem;
    margin-left: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover states */
.remove-folder-btn:hover,
.remove-las-btn:hover {
    color: #dc2626;
}

/* Active states */
.remove-folder-btn:active,
.remove-las-btn:active {
    transform: scale(0.95);
}

/* Disabled states */
.remove-folder-btn:disabled,
.remove-las-btn:disabled {
    color: #9ca3af;
    cursor: not-allowed;
}

/* Prevent text selection on buttons */
.remove-folder-btn,
.remove-las-btn {
    user-select: none;
}

/* Updated Well folder styles */
.well-folder {
    background-color: white;
    margin: 0.5rem 0;
    border-radius: 0.375rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.folder-header {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.folder-toggle {
    display: flex;
    align-items: center;
    flex-grow: 1;
    cursor: pointer;
}

.folder-toggle i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

/* Updated LAS file styles */
.las-files {
    padding: 0.5rem 0;
    background-color: #f9fafb;
}

.las-file {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    margin: 0.25rem 0.5rem;
    background-color: white;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
}

.las-file:hover {
    background-color: #f3f4f6;
}

.las-file-name {
    flex-grow: 1;
    font-size: 0.9rem;
    color: #4b5563;
    padding-right: 1rem;
}

.file-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.view-btn {
    background-color: #3b82f6;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.view-btn:hover {
    background-color: #2563eb;
}

.remove-las-btn {
    background: none;
    border: none;
    padding: 0.25rem;
    color: #ef4444;
    cursor: pointer;
    transition: color 0.2s;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.remove-las-btn:hover {
    color: #dc2626;
}

/* Button states */
.view-btn:disabled,
.remove-las-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.view-btn:active,
.remove-las-btn:active {
    transform: scale(0.95);
}