/*!*********************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/css/setup.css ***!
  \*********************************************************************/
/* Setup page CSS */

/* Global variables */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #6b7280;
    --background-color: #f3f4f6;
    --surface-color: #ffffff;
    --text-color: #1f2937;
    --border-color: #d1d5db;
    --error-color: #ef4444;
    --success-color: #10b981;
    --header-height: 60px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.5;
    min-height: 100vh;
    padding-top: var(--header-height);
}

/* Header styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--surface-color);
    box-shadow: var(--box-shadow);
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo-container img {
    height: 32px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    list-style-type: none;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Main content area */
.main-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Container styles */
.container {
    background-color: var(--surface-color);
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.hidden {
    display: none !important;
}

/* Section header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

/* Form styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group-block {
    display: flex;
    justify-content: left;
    align-items: center;
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    background-color: #fff;
}

input[type="number"] {
    width: auto;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.required {
    color: var(--error-color);
}

/* Checkbox styling */
.form-group.checkbox {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.form-group.checkbox input {
    margin-right: 0.5rem;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

/* Button styles */
.btn {
    cursor: pointer;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    border: 1px solid transparent;
    font-size: 0.875rem;
    line-height: 1.25rem;
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

.btn-secondary:hover {
    background-color: #4b5563;
}

/* Projects grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.project-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.project-card h2 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.project-card p {
    font-size: 0.875rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    height: 4.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
}

.project-card .project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: var(--surface-color);
    margin: 15% auto;
    padding: 2rem;
    border-radius: 0.5rem;
    width: 80%;
    max-width: 500px;
    box-shadow: var(--box-shadow);
}

.close-modal {
    color: var(--secondary-color);
    float: right;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: var(--text-color);
}

#modal-title {
    margin-bottom: 1rem;
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .header-container {
        padding: 0 1rem;
    }

    .nav-menu li {
        margin-left: 1rem;
    }

    .container {
        padding: 1.5rem;
    }

    .modal-content {
        width: 90%;
        margin: 10% auto;
    }
}
/*!******************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/css/project-detail.css ***!
  \******************************************************************************/
/* src/css/project-detail.css */

/* Global variables needed by these styles - consider a shared variables file later */
:root {
    --primary-color: #2563eb;
    --secondary-color: #6b7280;
    --border-color: #d1d5db;
    --error-color: #ef4444;
    --drawer-transition: 0.3s ease;
    --background-color: #f3f4f6; /* Added for project path display */
    --text-color: #1f2937; /* Added for header title */
}

/* Collapsible drawers specific to Project Detail View */
.collapsible-drawers {
    margin-bottom: 2rem;
}

.drawer {
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #f9fafb;
    cursor: pointer;
}

.drawer-header h2 {
    font-size: 1rem;
    font-weight: 500;
}

.toggle-drawer {
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: transform var(--drawer-transition);
}

.drawer-content {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    /* display: none; Let JS handle initial state */
}

.drawer.active .drawer-content {
    display: block;
}

.drawer.active .toggle-drawer {
    transform: rotate(180deg);
}

/* Save button container specific to Project Detail View */
.save-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.save-container .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* Static text display (like project path) */
.form-static-text {
    background-color: var(--background-color);
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    font-family: monospace; /* Or choose appropriate font */
    color: var(--secondary-color);
    margin-top: 0.5rem; /* Align with inputs */
    word-break: break-all; /* Prevent long paths from breaking layout */
}

/* Header title specific to this page */
.header-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
}

/* Explain Link Styling */
.explain-link {
    margin-left: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.explain-link:hover {
    text-decoration: underline;
}

.explanation-content {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background-color: #eef2ff; /* Light indigo background */
    border-left: 4px solid var(--primary-color);
    font-size: 0.875rem;
    color: #374151; /* Gray-700 */
    border-radius: 0 0.25rem 0.25rem 0; /* Slight rounding */
    flex-basis: 100%;
    width: 100%;
}

.project-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Explanation link and content styles */
.explain-link {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    font-size: 0.8em;
    font-weight: bold;
    color: #fff;
    background-color: #6c757d; /* Bootstrap secondary color */
    border-radius: 50%;
    text-decoration: none;
    cursor: pointer;
    vertical-align: middle; /* Align with the label text */
    line-height: 1.2;
}

.explain-link:hover {
    background-color: #444;
    text-decoration: none;
}

.explanation-content {
    display: none; /* Initially hidden */
    margin-top: 8px;
    padding: 10px;
    border: 1px solid #ced4da; /* Light grey border */
    border-radius: 4px;
    background-color: #f8f9fa; /* Light background */
    font-size: 0.9em;
    color: #495057;
    line-height: 1.4;
}

/* Added styles for JSON input textarea */
.code-input {
    font-family: 'Courier New', Courier, monospace;
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    padding: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.4;
    width: 100%; /* Ensure it takes full width */
}

/* Add styles for input validation feedback */
.form-error {
    color: #dc3545; /* Bootstrap danger color */
    font-size: 0.875em;
    margin-top: 0.25rem;
    display: none; /* Hide by default */
}

input.input-error,
textarea.input-error,
select.input-error {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); /* Optional: Add a glow */
}

/* Ensure error messages are shown when they have content */
.form-error:not(:empty) {
    display: block;
}

/* Added styles for validation error messages */
.form-error {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none; /* Hidden by default */
}

.form-error.visible {
    display: block; /* Visible when needed */
}
/*!*********************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/css/optimize_analysis.css ***!
  \*********************************************************************************/
/* Code Analysis Styling */

.code-analysis {
    margin-top: 2rem;
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

.code-analysis h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.code-analysis form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.code-analysis form > div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.code-analysis label {
    font-weight: 500;
    color: var(--text-color);
}

.code-analysis select,
.code-analysis textarea {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    font-family: inherit;
}

.code-analysis select:focus,
.code-analysis textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.status-message {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    padding: 0.5rem;
    border-radius: 0.25rem;
}

.status-message.processing {
    background-color: #e0f2fe;
    color: #0277bd;
    border: 1px solid #81d4fa;
}

.status-message.success {
    background-color: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.status-message.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.textarea-wide {
    width: 100%;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.4;
    resize: vertical;
}

.code-analysis button {
    align-self: flex-start;
    margin-top: 0.5rem;
}

/*!************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/css/optimize.css ***!
  \************************************************************************/
/* src/css/optimize.css */

/* Global variables needed by these styles - consider a shared variables file later */
:root {
    --primary-color: #2563eb;
    --secondary-color: #6b7280;
    --border-color: #d1d5db;
    --error-color: #ef4444;
    --drawer-transition: 0.3s ease;
    --background-color: #f3f4f6;
    --text-color: #1f2937;
}

/* Collapsible drawers specific to Optimize View */
.collapsible-drawers {
    margin-bottom: 2rem;
}

.drawer {
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #f9fafb;
    cursor: pointer;
}

.drawer-header h2 {
    font-size: 1rem;
    font-weight: 500;
}

.toggle-drawer {
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: transform var(--drawer-transition);
}

.drawer-content {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    display: none; /* Hidden by default */
}

.drawer.active .drawer-content {
    display: block;
}

.drawer.active .toggle-drawer {
    transform: rotate(180deg);
}

/* Planner sub-section */
.planner-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

select[multiple] {
    min-height: 180px;
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
}

/* Additional button styling */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25rem;
    border-radius: 0.375rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #4b5563;
    border-color: #4b5563;
}

/* Label styling */
label {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    display: block;
}

/* ====================================================================
 * ESTIMATOR SECTION STYLES
 * ==================================================================== */

#estimator-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#estimator-section > div {
    padding: 1rem;
    border-radius: 0.375rem;
    border: 1px solid var(--border-color);
}

#estimator-optimize {
    background-color: #f0f9ff;
    border-color: #0ea5e9;
}

#estimator-running {
    background-color: #fef3c7;
    border-color: #f59e0b;
}

#estimator-review {
    background-color: #f0fdf4;
    border-color: #22c55e;
}

#estimator-loading {
    background-color: #f3f4f6;
    border-color: var(--border-color);
    text-align: center;
}

#range-editor {
    margin: 1rem 0;
}

#range-json {
    width: 100%;
    min-height: 300px;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    background-color: #f8fafc;
    resize: vertical;
}

#range-json:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.estimator-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.estimator-actions .btn {
    flex: 0 0 auto;
}

/* Responsive design for estimator */
@media (max-width: 768px) {
    #range-json {
        min-height: 200px;
        font-size: 0.75rem;
    }
    
    .estimator-actions {
        flex-direction: column;
    }
    
    .estimator-actions .btn {
        width: 100%;
    }
}

/* Success/Error states for estimator messages */
.estimator-message {
    padding: 0.75rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.estimator-message.success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #22c55e;
}

.estimator-message.error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

.estimator-message.info {
    background-color: #eff6ff;
    color: #1e40af;
    border: 1px solid #3b82f6;
}

/*!***********************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/css/globals.css ***!
  \***********************************************************************/
/* Global variables */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #6b7280;
    --background-color: #f3f4f6;
    --surface-color: #ffffff;
    --text-color: #1f2937;
    --border-color: #d1d5db;
    --error-color: #ef4444;
    --success-color: #10b981;
    --header-height: 60px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.5;
    min-height: 100vh;
    padding-top: var(--header-height);
}

.hidden {
    display: none !important;
}

/* Button styles */
.btn {
    cursor: pointer;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    border: 1px solid transparent;
    font-size: 0.875rem;
    line-height: 1.25rem;
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

.btn-secondary:hover {
    background-color: #4b5563;
}

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

.btn-danger:hover {
    background-color: #b91c1c; /* darker red for hover */
}

/* Form element base styles */
label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="number"],
textarea {
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    background-color: #fff;
}

input[type="number"] {
    width: auto;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.required {
    color: var(--error-color);
}

/* Checkbox styling */
.form-group.checkbox {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.form-group.checkbox input {
    margin-right: 0.5rem;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

/* Modal base styles (if used globally) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.4);
    align-items: center;
    justify-content: center;
}


/*# sourceMappingURL=main.min.css.map*/