/* TravelTracks.org Color Themes */

/* Version number styling */
.version {
    font-size: 0.6em;
    font-weight: normal;
    color: #888;
    margin-left: 0.5em;
}

/* Favorites section styling */
.favorites-section {
    margin-bottom: 2em;
    padding: 1em;
    background: #f8f9fa;
    border-radius: 8px;
}

.favorites-section h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5em;
}

.favorites-list {
    list-style: none;
    padding: 0;
}

.favorites-list li {
    padding: 0.5em;
    margin: 0.3em 0;
    background: white;
    border-left: 3px solid #007bff;
    border-radius: 4px;
}

/* Default Theme (Blue) - already the default */
body.theme-default {
    /* Uses existing default styles */
}

/* Dark Mode Theme */
body.theme-dark {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

body.theme-dark .app-header {
    background: linear-gradient(135deg, #2c3e50 0%, #1a1a1a 100%);
    border-bottom: 2px solid #444;
}

body.theme-dark .tab-btn {
    background-color: #2c3e50;
    color: #e0e0e0;
    border-color: #444;
}

body.theme-dark .tab-btn:hover {
    background-color: #34495e;
}

body.theme-dark .tab-btn.active {
    background-color: #3498db;
    color: white;
}

body.theme-dark .tab-pane {
    background-color: #2c2c2c;
    color: #e0e0e0;
}

body.theme-dark .data-table table {
    background-color: #2c2c2c;
    color: #e0e0e0;
}

body.theme-dark .data-table th {
    background-color: #34495e;
    color: #e0e0e0;
}

body.theme-dark .data-table tr:hover {
    background-color: #34495e;
}

body.theme-dark .btn-primary {
    background-color: #3498db;
}

body.theme-dark .btn-primary:hover {
    background-color: #2980b9;
}

body.theme-dark .favorites-section {
    background-color: #2c2c2c;
    border: 1px solid #444;
}

body.theme-dark .favorites-section h3 {
    color: #e0e0e0;
    border-bottom-color: #3498db;
}

body.theme-dark .favorites-list li {
    background-color: #1a1a1a;
    border-left-color: #3498db;
    color: #e0e0e0;
}

/* Green Theme */
body.theme-green .app-header {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

body.theme-green .tab-btn.active {
    background-color: #27ae60;
    border-color: #27ae60;
}

body.theme-green .btn-primary {
    background-color: #27ae60;
}

body.theme-green .btn-primary:hover {
    background-color: #229954;
}

body.theme-green .mode-btn.active {
    background-color: #27ae60;
    border-color: #27ae60;
}

body.theme-green .favorites-section h3 {
    border-bottom-color: #27ae60;
}

body.theme-green .favorites-list li {
    border-left-color: #27ae60;
}

/* Purple Theme */
body.theme-purple .app-header {
    background: linear-gradient(135deg, #8e44ad 0%, #6c3483 100%);
}

body.theme-purple .tab-btn.active {
    background-color: #8e44ad;
    border-color: #8e44ad;
}

body.theme-purple .btn-primary {
    background-color: #8e44ad;
}

body.theme-purple .btn-primary:hover {
    background-color: #6c3483;
}

body.theme-purple .mode-btn.active {
    background-color: #8e44ad;
    border-color: #8e44ad;
}

body.theme-purple .favorites-section h3 {
    border-bottom-color: #8e44ad;
}

body.theme-purple .favorites-list li {
    border-left-color: #8e44ad;
}

/* Orange Theme */
body.theme-orange .app-header {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

body.theme-orange .tab-btn.active {
    background-color: #e67e22;
    border-color: #e67e22;
}

body.theme-orange .btn-primary {
    background-color: #e67e22;
}

body.theme-orange .btn-primary:hover {
    background-color: #d35400;
}

body.theme-orange .mode-btn.active {
    background-color: #e67e22;
    border-color: #e67e22;
}

body.theme-orange .favorites-section h3 {
    border-bottom-color: #e67e22;
}

body.theme-orange .favorites-list li {
    border-left-color: #e67e22;
}

/* Profile Page Theme Support */

/* Default theme - blue gradient */
body.theme-default .stat-card {
    border-left-color: #667eea;
}

body.theme-default .stat-value {
    color: #667eea;
}

body.theme-default .collapsible-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body.theme-default .collapsible-header:hover {
    background: linear-gradient(135deg, #5568d3 0%, #653a8b 100%);
}

/* Removed - causing unwanted background on flight statistics */

/* Dark theme */
body.theme-dark .stat-card {
    background: #2c2c2c;
    border-color: #444;
    border-left-color: #3498db;
}

body.theme-dark .stat-value {
    color: #3498db;
}

body.theme-dark .collapsible-header {
    background: linear-gradient(135deg, #2c3e50 0%, #1a1a1a 100%);
}

body.theme-dark .collapsible-header:hover {
    background: linear-gradient(135deg, #34495e 0%, #2c2c2c 100%);
}

/* Removed - causing unwanted background on flight statistics */

/* Green theme */
body.theme-green .stat-card {
    border-left-color: #27ae60;
}

body.theme-green .stat-value {
    color: #27ae60;
}

body.theme-green .collapsible-header {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

body.theme-green .collapsible-header:hover {
    background: linear-gradient(135deg, #229954 0%, #1e8449 100%);
}

/* Removed - causing unwanted background on flight statistics */

/* Purple theme */
body.theme-purple .stat-card {
    border-left-color: #8e44ad;
}

body.theme-purple .stat-value {
    color: #8e44ad;
}

body.theme-purple .collapsible-header {
    background: linear-gradient(135deg, #8e44ad 0%, #6c3483 100%);
}

body.theme-purple .collapsible-header:hover {
    background: linear-gradient(135deg, #6c3483 0%, #5b2c6f 100%);
}

/* Removed - causing unwanted background on flight statistics */

/* Orange theme */
body.theme-orange .stat-card {
    border-left-color: #e67e22;
}

body.theme-orange .stat-value {
    color: #e67e22;
}

body.theme-orange .collapsible-header {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

body.theme-orange .collapsible-header:hover {
    background: linear-gradient(135deg, #d35400 0%, #ba4a00 100%);
}

/* Removed - causing unwanted background on flight statistics */


/* Red Theme */
body.theme-red .app-header {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

body.theme-red .tab-btn.active {
    background-color: #e74c3c;
    border-color: #e74c3c;
}

body.theme-red .btn-primary {
    background-color: #e74c3c;
}

body.theme-red .btn-primary:hover {
    background-color: #c0392b;
}

body.theme-red .mode-btn.active {
    background-color: #e74c3c;
    border-color: #e74c3c;
}

body.theme-red .favorites-section h3 {
    border-bottom-color: #e74c3c;
}

body.theme-red .favorites-list li {
    border-left-color: #e74c3c;
}

body.theme-red .stat-card {
    border-left-color: #e74c3c;
}

body.theme-red .stat-value {
    color: #e74c3c;
}

body.theme-red .collapsible-header {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

body.theme-red .collapsible-header:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
}

/* Teal Theme */
body.theme-teal .app-header {
    background: linear-gradient(135deg, #16a085 0%, #138d75 100%);
}

body.theme-teal .tab-btn.active {
    background-color: #16a085;
    border-color: #16a085;
}

body.theme-teal .btn-primary {
    background-color: #16a085;
}

body.theme-teal .btn-primary:hover {
    background-color: #138d75;
}

body.theme-teal .mode-btn.active {
    background-color: #16a085;
    border-color: #16a085;
}

body.theme-teal .favorites-section h3 {
    border-bottom-color: #16a085;
}

body.theme-teal .favorites-list li {
    border-left-color: #16a085;
}

body.theme-teal .stat-card {
    border-left-color: #16a085;
}

body.theme-teal .stat-value {
    color: #16a085;
}

body.theme-teal .collapsible-header {
    background: linear-gradient(135deg, #16a085 0%, #138d75 100%);
}

body.theme-teal .collapsible-header:hover {
    background: linear-gradient(135deg, #138d75 0%, #117864 100%);
}

/* Navy Theme */
body.theme-navy .app-header {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
}

body.theme-navy .tab-btn.active {
    background-color: #34495e;
    border-color: #34495e;
}

body.theme-navy .btn-primary {
    background-color: #34495e;
}

body.theme-navy .btn-primary:hover {
    background-color: #2c3e50;
}

body.theme-navy .mode-btn.active {
    background-color: #34495e;
    border-color: #34495e;
}

body.theme-navy .favorites-section h3 {
    border-bottom-color: #34495e;
}

body.theme-navy .favorites-list li {
    border-left-color: #34495e;
}

body.theme-navy .stat-card {
    border-left-color: #34495e;
}

body.theme-navy .stat-value {
    color: #5d6d7e;
}

body.theme-navy .collapsible-header {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
}

body.theme-navy .collapsible-header:hover {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
}

/* Rose Theme */
body.theme-rose .app-header {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
}

body.theme-rose .tab-btn.active {
    background-color: #e91e63;
    border-color: #e91e63;
}

body.theme-rose .btn-primary {
    background-color: #e91e63;
}

body.theme-rose .btn-primary:hover {
    background-color: #c2185b;
}

body.theme-rose .mode-btn.active {
    background-color: #e91e63;
    border-color: #e91e63;
}

body.theme-rose .favorites-section h3 {
    border-bottom-color: #e91e63;
}

body.theme-rose .favorites-list li {
    border-left-color: #e91e63;
}

body.theme-rose .stat-card {
    border-left-color: #e91e63;
}

body.theme-rose .stat-value {
    color: #e91e63;
}

body.theme-rose .collapsible-header {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
}

body.theme-rose .collapsible-header:hover {
    background: linear-gradient(135deg, #c2185b 0%, #ad1457 100%);
}

/* Slate Theme */
body.theme-slate {
    background-color: #2f3640;
    color: #dcdde1;
}

body.theme-slate .app-header {
    background: linear-gradient(135deg, #353b48 0%, #2f3640 100%);
    border-bottom: 2px solid #4a5568;
}

body.theme-slate .tab-btn {
    background-color: #353b48;
    color: #dcdde1;
    border-color: #4a5568;
}

body.theme-slate .tab-btn:hover {
    background-color: #4a5568;
}

body.theme-slate .tab-btn.active {
    background-color: #718096;
    border-color: #718096;
    color: white;
}

body.theme-slate .tab-pane {
    background-color: #353b48;
    color: #dcdde1;
}

body.theme-slate .data-table table {
    background-color: #353b48;
    color: #dcdde1;
}

body.theme-slate .data-table th {
    background-color: #4a5568;
    color: #dcdde1;
}

body.theme-slate .data-table tr:hover {
    background-color: #4a5568;
}

body.theme-slate .btn-primary {
    background-color: #718096;
}

body.theme-slate .btn-primary:hover {
    background-color: #4a5568;
}

body.theme-slate .mode-btn.active {
    background-color: #718096;
    border-color: #718096;
}

body.theme-slate .favorites-section {
    background-color: #353b48;
    border: 1px solid #4a5568;
}

body.theme-slate .favorites-section h3 {
    color: #dcdde1;
    border-bottom-color: #718096;
}

body.theme-slate .favorites-list li {
    background-color: #2f3640;
    border-left-color: #718096;
    color: #dcdde1;
}

body.theme-slate .stat-card {
    background: #353b48;
    border-color: #4a5568;
    border-left-color: #718096;
}

body.theme-slate .stat-value {
    color: #a0aec0;
}

body.theme-slate .collapsible-header {
    background: linear-gradient(135deg, #353b48 0%, #2f3640 100%);
}

body.theme-slate .collapsible-header:hover {
    background: linear-gradient(135deg, #4a5568 0%, #353b48 100%);
}
