:root {
    --primary-color: #4a6fa5;
    --secondary-color: #166088;
    --accent-color: #4fc3f7;
    --text-color: #333;
    --bg-color: #f9f9f9;
    --panel-bg: #fff;
    --border-color: #ddd;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
}

/* Dark mode variables - overridden in dark-mode.css */
:root .dark-mode {
    --text-color: #f0f0f0;
    --bg-color: #1a1a1a;
    --panel-bg: #2d2d2d;
    --border-color: #444;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Base Styles */
.aiotpt-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    color: var(--text-color);
    background-color: var(--bg-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.aiotpt-theme-toggle {
    text-align: right;
    margin-bottom: 10px;
}

.aiotpt-theme-toggle button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 5px;
}

/* Input Section */
.aiotpt-input-section {
    margin-bottom: 20px;
}

.aiotpt-input-section textarea {
    width: 100%;
    min-height: 150px;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    resize: vertical;
    font-size: 16px;
    background-color: var(--panel-bg);
    color: var(--text-color);
}

.aiotpt-input-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.aiotpt-input-actions button {
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.aiotpt-input-actions button:hover {
    background-color: var(--secondary-color);
}

/* Navigation */
.aiotpt-tool-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.aiotpt-tool-nav li {
    margin-right: 5px;
}

.aiotpt-tool-nav a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--text-color);
    border-radius: 5px 5px 0 0;
    transition: all 0.3s;
}

.aiotpt-tool-nav a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.aiotpt-tool-nav a.active {
    background-color: var(--primary-color);
    color: white;
}

.aiotpt-tool-nav .icon {
    margin-right: 8px;
    font-size: 1.1em;
}

/* Panels */
.aiotpt-panel {
    display: none;
    padding: 20px;
    background-color: var(--panel-bg);
    border-radius: 0 5px 5px 5px;
    border: 1px solid var(--border-color);
    border-top: none;
}

.aiotpt-panel.active {
    display: block;
}

/* Analysis Panel */
.aiotpt-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat-card {
    padding: 15px;
    background-color: var(--bg-color);
    border-radius: 5px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-card h3 {
    margin-top: 0;
    font-size: 1rem;
    color: var(--secondary-color);
}

.stat-card p {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 10px 0 0 0;
}

.aiotpt-visual-stats {
    margin-top: 30px;
}

.aiotpt-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.chart-container {
    height: 250px;
    background-color: var(--bg-color);
    padding: 15px;
    border-radius: 5px;
}

/* Case Converter */
.aiotpt-case-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.aiotpt-case-options button {
    padding: 8px 15px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.aiotpt-case-options button:hover {
    background-color: var(--primary-color);
    color: white;
}

.aiotpt-output-section {
    margin-top: 15px;
}

.aiotpt-output-section textarea {
    width: 100%;
    min-height: 150px;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    resize: vertical;
    font-size: 16px;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.aiotpt-output-section button {
    margin-top: 10px;
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.aiotpt-output-section button:hover {
    background-color: var(--secondary-color);
}

/* Generator Tabs */
.aiotpt-generator-tabs,
.aiotpt-cleaner-tabs,
.aiotpt-social-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

.aiotpt-generator-tabs button,
.aiotpt-cleaner-tabs button,
.aiotpt-social-tabs button {
    padding: 8px 15px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.aiotpt-generator-tabs button.active,
.aiotpt-cleaner-tabs button.active,
.aiotpt-social-tabs button.active {
    background-color: var(--primary-color);
    color: white;
}

.aiotpt-generator-content,
.aiotpt-cleaner-content,
.aiotpt-social-content {
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 15px;
    background-color: var(--panel-bg);
}

.aiotpt-generator-panel,
.aiotpt-cleaner-panel,
.aiotpt-social-panel {
    display: none;
}

.aiotpt-generator-panel.active,
.aiotpt-cleaner-panel.active,
.aiotpt-social-panel.active {
    display: block;
}

/* Controls */
.aiotpt-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    align-items: center;
}

.aiotpt-controls label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.aiotpt-controls input[type="text"],
.aiotpt-controls input[type="number"],
.aiotpt-controls select {
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--panel-bg);
    color: var(--text-color);
}

.aiotpt-controls button {
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.aiotpt-controls button:hover {
    background-color: var(--secondary-color);
}

/* Titles Output */
#aiotpt-titles-output {
    list-style: none;
    padding: 0;
    margin: 0;
}

#aiotpt-titles-output li {
    padding: 10px;
    margin-bottom: 5px;
    background-color: var(--bg-color);
    border-radius: 4px;
}

/* Hashtags Output */
#aiotpt-hashtags-output {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.hashtag {
    display: inline-block;
    padding: 5px 10px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .aiotpt-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .aiotpt-charts {
        grid-template-columns: 1fr;
    }
    
    .aiotpt-tool-nav ul {
        flex-wrap: wrap;
    }
    
    .aiotpt-tool-nav li {
        margin-bottom: 5px;
    }
    
    .aiotpt-controls {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .aiotpt-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .aiotpt-input-actions {
        flex-wrap: wrap;
    }
    
    .aiotpt-case-options {
        flex-direction: column;
    }
    
    .aiotpt-case-options button {
        width: 100%;
    }
}
/* फाइल के अंत में नया CSS जोड़ें */
/* ...पहले से मौजूद CSS... */

/* Comparison Tool Styles */
.aiotpt-comparison-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.comparison-difference {
    background-color: #ffeb3b;
    padding: 2px;
}