/* Base Styles */
:root {
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --bg-tertiary: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent-color: #4caf50;
    --accent-hover: #3d8b40;
    --error-color: #f44336;
    --warning-color: #ff9800;
    --info-color: #2196f3;
    --success-color: #4caf50;
    --border-color: #333333;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

.app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styles */
header {
    background-color: var(--bg-secondary);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px var(--shadow-color);
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

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

nav ul li {
    margin-left: 1.5rem;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

nav a:hover, nav a.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

/* Main Content */
main {
    flex: 1;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Footer */
footer {
    background-color: var(--bg-secondary);
    padding: 1rem 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 1rem;
    background-color: var(--bg-secondary);
    border-radius: 8px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Feature Cards */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px var(--shadow-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Info Section */
.info-section {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 8px;
}

.info-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.info-section p {
    color: var(--text-secondary);
}

/* Page Header */
.page-header {
    margin-bottom: 2rem;
    text-align: center;
}

.page-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-secondary);
}

/* Workflow Container */
.workflow-container {
    max-width: 800px;
    margin: 0 auto;
}

.workflow-step {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.workflow-step h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: var(--accent-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.select-dark, .input-dark {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.button-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.custom-path {
    background-color: var(--bg-tertiary);
    padding: 0.8rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border-left: 3px solid var(--accent-color);
}

.selected-path-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.selected-path {
    font-family: monospace;
    word-break: break-all;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s;
}

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

.btn-secondary {
    background-color: #444444;
    color: white;
}

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

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

.btn-blue:hover {
    background-color: #0b7dda; /* Darker shade of info-color */
}

.btn-orange {
    background-color: #e67e22; /* Orange color */
    color: white;
}

.btn-orange:hover {
    background-color: #d35400; /* Darker shade of orange */
}

.btn-info {
    background-color: #17a2b8; /* Different blue for info buttons */
    color: white;
}

.btn-info:hover {
    background-color: #138496; /* Darker shade for hover */
}

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

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

/* Summary Box */
.summary-box {
    background-color: var(--bg-tertiary);
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.summary-section {
    background-color: var(--bg-secondary);
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.repo-list {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 1rem;
    background-color: var(--bg-tertiary);
    border-radius: 4px;
    padding: 0.5rem;
}

.repo-item {
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    background-color: var(--bg-tertiary);
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.repo-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Custom styles for repo items in Step 2 */
#repo-select-list .repo-item {
    margin-bottom: 0;
    border-radius: 0;
    background-color: transparent;
}

#repo-select-list .repo-item:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

#repo-select-list .repo-item:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.repo-name {
    flex: 1;
    font-weight: 500;
}

.repo-files {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.repo-remove-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.2rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    margin-left: 10px;
}

.repo-remove-btn:hover {
    background-color: var(--error-color);
    color: white;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.summary-header h4 {
    color: var(--text-primary);
}

.count-badge {
    background-color: var(--accent-color);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

.file-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
}

.file-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.file-path {
    color: var(--text-secondary);
    font-family: monospace;
    font-size: 0.9rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
}

.notification-content {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    box-shadow: 0 4px 8px var(--shadow-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification-close {
    margin-left: 1rem;
    cursor: pointer;
    font-size: 1.2rem;
}

.notification-error .notification-content {
    border-left: 4px solid var(--error-color);
}

.notification-warning .notification-content {
    border-left: 4px solid var(--warning-color);
}

.notification-info .notification-content {
    border-left: 4px solid var(--info-color);
}

.notification-success .notification-content {
    border-left: 4px solid var(--success-color);
}

/* Loading Indicator */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
}

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

.loading-indicator p {
    color: var(--text-secondary);
}

/* Error Container */
.error-container {
    text-align: center;
    padding: 3rem 1rem;
}

.error-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.error-container p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Utilities */
.hidden {
    display: none;
}

/* Matrix Effect */
.matrix-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.25; /* More visible */
}

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

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fall {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 0.75rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .workflow-step {
        padding: 1.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Repo Checklist Styles */
.repo-checklist {
    max-height: 300px;
    overflow-y: auto;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 1rem;
}

.repo-checkbox-item {
    padding: 0.8rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.repo-checkbox-item:last-child {
    border-bottom: none;
}

.repo-checkbox-item label {
    margin-bottom: 0;
    margin-left: 0.5rem;
    cursor: pointer;
    flex: 1;
}

.repo-checkbox-item input[type="checkbox"] {
    cursor: pointer;
    width: 16px;
    height: 16px;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 2px;
}

.repo-checkbox-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Disabled Step Styles */
.workflow-step.disabled {
    opacity: 0.7;
    pointer-events: none;
}

.workflow-step.disabled::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1;
}

/* Add relative positioning for workflow steps */
.workflow-step {
    position: relative;
}

/* Selection count badge */
.selection-count {
    background-color: var(--accent-color);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

/* File Tree Styles */
.file-tree {
    max-height: 500px;
    overflow-y: auto;
    background-color: var(--bg-tertiary);
    border-radius: 4px;
    margin-bottom: 1rem;
    padding: 0.5rem;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.9rem;
}

.tree-repo {
    margin-bottom: 1.5rem;
}

.tree-repo:last-child {
    margin-bottom: 0;
}

.tree-repo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
}

.tree-repo-header:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.tree-repo-name {
    display: flex;
    align-items: center;
}

.tree-repo-icon {
    margin-right: 0.5rem;
}

.tree-repo-stats {
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
    margin-right: 0.5rem;
}

.tree-repo-actions {
    display: flex;
    gap: 0.5rem;
}

.tree-action-button {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.8rem;
}

.tree-action-button:hover {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

.tree-repo-content {
    padding-left: 0.5rem;
}

.tree-directory {
    margin: 0.3rem 0;
}

.tree-directory-header {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    transition: background-color 0.2s;
}

.tree-directory-header:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.tree-directory-name {
    display: flex;
    align-items: center;
    flex: 1;
}

.tree-directory-icon {
    margin-right: 0.5rem;
    transition: transform 0.2s;
}

.tree-directory.expanded > .tree-directory-header .tree-directory-icon {
    transform: rotate(90deg);
}

.tree-directory-count {
    font-size: 0.75rem;
    color: var(--text-secondary);
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.1rem 0.3rem;
    border-radius: 10px;
    margin-left: 0.5rem;
    white-space: nowrap;
}

.tree-directory-content {
    padding-left: 1.5rem;
    display: none;
}

.tree-directory.expanded > .tree-directory-content {
    display: block;
}

.tree-file {
    display: flex;
    align-items: center;
    padding: 0.2rem 0.4rem;
    margin: 0.1rem 0;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s;
    justify-content: space-between;
}

.tree-file:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.tree-file-icon {
    margin-right: 0.5rem;
    font-size: 0.9rem;
    min-width: 1rem;
    text-align: center;
}

.tree-file-name {
    word-break: break-all;
    flex: 1;
    margin-right: 0.5rem;
}

.tree-file-ext {
    color: var(--text-secondary);
}

/* File Preview Modal */
.file-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.file-preview-modal.visible {
    opacity: 1;
    pointer-events: all;
}

.file-preview-content {
    background-color: var(--bg-secondary);
    border-radius: 8px;
    max-width: 90%;
    max-height: 90%;
    width: 800px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.file-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.file-preview-title {
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.file-preview-title-icon {
    margin-right: 0.5rem;
}

.file-preview-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.file-preview-close:hover {
    color: var(--text-primary);
}

.file-preview-body {
    padding: 1rem;
    overflow-y: auto;
    flex: 1;
}

.file-preview-code {
    background-color: var(--bg-tertiary);
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    white-space: pre;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Tree search */
.tree-search {
    position: relative;
    margin-bottom: 1rem;
}

.tree-search-input {
    width: 100%;
    padding: 0.6rem 2.5rem 0.6rem 2rem;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.tree-search-icon {
    position: absolute;
    left: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.tree-search-clear {
    position: absolute;
    right: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1rem;
    display: none;
}

.tree-search-input:not(:placeholder-shown) + .tree-search-clear {
    display: block;
}

/* Match highlight */
.match-highlight {
    background-color: rgba(76, 175, 80, 0.2);
    border-radius: 2px;
}

/* Empty state */
.tree-empty {
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary);
}

.tree-empty-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* File types */
.tree-file.html .tree-file-icon { color: #e44d26; }
.tree-file.css .tree-file-icon { color: #264de4; }
.tree-file.js .tree-file-icon { color: #f7df1e; }
.tree-file.jsx .tree-file-icon { color: #61dafb; }
.tree-file.ts .tree-file-icon { color: #007acc; }
.tree-file.tsx .tree-file-icon { color: #007acc; }
.tree-file.json .tree-file-icon { color: #5b5b5b; }
.tree-file.md .tree-file-icon { color: #1e88e5; }
.tree-file.py .tree-file-icon { color: #3572A5; }
.tree-file.java .tree-file-icon { color: #b07219; }
.tree-file.go .tree-file-icon { color: #00ADD8; }
.tree-file.rb .tree-file-icon { color: #CC342D; }
.tree-file.php .tree-file-icon { color: #4F5D95; }

/* File tokens */
.tree-file-tokens {
    font-size: 0.75rem;
    color: var(--text-secondary);
    background-color: rgba(76, 175, 80, 0.1);
    padding: 0.1rem 0.3rem;
    border-radius: 10px;
    margin-left: auto;
}

/* Separate directory count badges */
.tree-directory-file-count,
.tree-directory-token-count {
    font-size: 0.75rem;
    color: var(--text-secondary);
    padding: 0.1rem 0.3rem;
    border-radius: 10px;
    margin-left: 0.5rem;
    white-space: nowrap;
}

.tree-directory-file-count {
    background-color: rgba(33, 150, 243, 0.1); /* Light blue background */
}

.tree-directory-token-count {
    background-color: rgba(76, 175, 80, 0.1); /* Light green background - same as file tokens */
}

/* Tree Checkbox Styles */
.tree-checkbox {
    margin-right: 0.5rem;
    width: 16px;
    height: 16px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    background-color: var(--bg-tertiary);
    position: relative;
    flex-shrink: 0;
}

.tree-checkbox:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.tree-checkbox:checked::after {
    content: "✓";
    font-size: 12px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tree-checkbox:hover {
    border-color: var(--accent-color);
}

/* File Tree Item Styles with Checkboxes */
.tree-repo-header, .tree-directory-header, .tree-file {
    display: flex;
    align-items: center;
}

.tree-repo-header .tree-checkbox, 
.tree-directory-header .tree-checkbox, 
.tree-file .tree-checkbox {
    margin-right: 0.7rem;
}

.tree-file-content {
    display: flex;
    align-items: center;
    flex: 1;
    cursor: pointer;
}

/* File type colors should apply to the content, not the whole item */
.tree-file.html .tree-file-icon { color: #e44d26; }
.tree-file.css .tree-file-icon { color: #264de4; }
.tree-file.js .tree-file-icon { color: #f7df1e; }
.tree-file.jsx .tree-file-icon { color: #61dafb; }
.tree-file.ts .tree-file-icon { color: #007acc; }
.tree-file.tsx .tree-file-icon { color: #007acc; }
.tree-file.json .tree-file-icon { color: #5b5b5b; }
.tree-file.md .tree-file-icon { color: #1e88e5; }
.tree-file.py .tree-file-icon { color: #3572A5; }
.tree-file.java .tree-file-icon { color: #b07219; }
.tree-file.go .tree-file-icon { color: #00ADD8; }
.tree-file.rb .tree-file-icon { color: #CC342D; }
.tree-file.php .tree-file-icon { color: #4F5D95; }

/* Indeterminate state for checkboxes - enhance visibility */
.tree-checkbox.indeterminate {
    background-color: rgba(76, 175, 80, 0.5);
    border-color: var(--accent-color);
    position: relative;
}

.tree-checkbox.indeterminate::after {
    content: "−";
    font-size: 12px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Force indeterminate state display through CSS */
.tree-checkbox[data-indeterminate="true"] {
    background-color: rgba(76, 175, 80, 0.5);
    border-color: var(--accent-color);
    position: relative;
}

.tree-checkbox[data-indeterminate="true"]::after {
    content: "−";
    font-size: 12px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Add pulsing animation for indeterminate state to draw attention */
@keyframes pulse-border {
    0% { border-color: var(--accent-color); }
    50% { border-color: rgba(76, 175, 80, 0.3); }
    100% { border-color: var(--accent-color); }
}

.tree-checkbox.indeterminate,
.tree-checkbox[data-indeterminate="true"] {
    animation: pulse-border 2s infinite;
}

/* Checkbox wrapper to improve click handling */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    margin-right: 0.5rem;
    cursor: pointer;
}

.tree-repo-header .checkbox-wrapper, 
.tree-directory-header .checkbox-wrapper, 
.tree-file .checkbox-wrapper {
    margin-right: 0.7rem;
}

/* Update tree item styles to work with checkbox wrapper */
.tree-repo-header, .tree-directory-header, .tree-file {
    display: flex;
    align-items: center;
}

.tree-repo-header .tree-checkbox, 
.tree-directory-header .tree-checkbox, 
.tree-file .tree-checkbox {
    margin-right: 0;
}

/* Make sure file content has pointer cursor */
.tree-file-content {
    display: flex;
    align-items: center;
    flex: 1;
    cursor: pointer;
}

/* Total tokens display above copy button */
.total-tokens-display {
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--text-primary);
}

.token-count-badge {
    background-color: var(--accent-color);
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.9em;
    margin-left: 5px;
}

.prompt-settings {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.settings-group {
    margin-bottom: 15px;
}

.settings-group h4 {
    margin: 0 0 15px 0;
    color: var(--text-primary);
    font-size: 16px;
}

.setting-item {
    margin-bottom: 10px;
}

.setting-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    cursor: pointer;
}

.setting-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}