﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --text-color: #e2e8f0;
    --text-muted: #94a3b8;
    --border-color: #334155;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--bg-color) 0%, #1e293b 100%);
    color: var(--text-color);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.status-bar {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.status-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.status-value {
    font-weight: 600;
    font-size: 1rem;
}

.card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card h2 {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group select {
    width: 100%;
    padding: 12px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.form-group input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: var(--bg-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
}

.btn-remove {
    background: var(--error-color);
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-remove:hover {
    background: #dc2626;
}

.actions {
    text-align: center;
    margin-top: 30px;
}

.message {
    padding: 12px;
    border-radius: 6px;
    margin-top: 15px;
    font-size: 0.95rem;
}

.message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success-color);
    color: var(--success-color);
}

.message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error-color);
    color: var(--error-color);
}

.message.info {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.info-text {
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.6;
}

.source-list {
    list-style: none;
    padding: 0;
}

.source-list li {
    padding: 10px;
    margin-bottom: 8px;
    background: var(--bg-color);
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.source-list li.error {
    background: var(--error-color) !important;
    color: white !important;
}

.source-tier-header {
    background: transparent !important;
    border: none !important;
    padding: 15px 10px 5px 10px !important;
    margin-top: 10px;
    margin-bottom: 5px !important;
}

.source-tier-header strong {
    color: var(--primary-color);
    font-size: 1rem;
}

.source-stats {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: white !important;
    padding: 15px !important;
    border-radius: 8px !important;
    margin-bottom: 15px !important;
    border: none !important;
}

.source-stats strong {
    color: white !important;
    font-size: 1.1rem;
}

.source-more {
    font-style: italic;
    color: var(--text-muted) !important;
    background: transparent !important;
    border: none !important;
    padding: 5px 10px !important;
}

.install-steps {
    padding-left: 20px;
    color: var(--text-color);
    line-height: 1.8;
}

.install-steps li {
    margin-bottom: 10px;
}

.install-steps a {
    color: var(--primary-color);
    text-decoration: none;
}

.install-steps a:hover {
    text-decoration: underline;
}

/* Path Mapping */
.path-mapping {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
}

.path-mapping input {
    flex: 1;
    padding: 10px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color);
}

.path-mapping span {
    color: var(--text-muted);
    font-weight: bold;
}

.path-mapping-item {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
}

.path-mapping-item input {
    flex: 1;
    padding: 10px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color);
}

.path-mapping-item span {
    color: var(--text-muted);
    font-weight: bold;
}

.path-mapping-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.path-mapping-actions .btn {
    flex: 1;
    min-width: 200px;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: var(--success-color);
    color: white;
}

.notification.error {
    background: var(--error-color);
    color: white;
}

.notification.info {
    background: var(--primary-color);
    color: white;
}

.notification.warning {
    background: var(--warning-color);
    color: white;
}

/* Tabs - Modern Redesign */
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: -2px;
    background: var(--bg-color);
    border-radius: 12px 12px 0 0;
    padding: 12px 12px 0 12px;
    overflow-x: auto;
    scrollbar-width: thin;
    position: relative;
    z-index: 1;
}

.tabs::-webkit-scrollbar {
    height: 6px;
}

.tabs::-webkit-scrollbar-track {
    background: var(--bg-color);
    border-radius: 3px;
}

.tabs::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.tabs::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.tab-button {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 12px 20px 14px 20px;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    border-bottom: none;
    position: relative;
    white-space: nowrap;
    min-width: fit-content;
}

.tab-button::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px 3px 0 0;
    transition: transform 0.2s ease;
}

.tab-button:hover:not(.active) {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.tab-button:hover:not(.active)::before {
    transform: translateX(-50%) scaleX(0.5);
}

.tab-button.active {
    background: var(--card-bg);
    color: var(--primary-color);
    border: 2px solid var(--border-color);
    border-bottom: none;
    padding-bottom: 16px;
    box-shadow: 0 -2px 8px rgba(99, 102, 241, 0.1);
}

.tab-button.active::before {
    transform: translateX(-50%) scaleX(1);
}

.tab-content {
    display: none;
    background: var(--card-bg);
    border-radius: 0 0 12px 12px;
    border: 2px solid var(--border-color);
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 0;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive tabs */
@media (max-width: 768px) {
    .tabs {
        padding: 8px 8px 0 8px;
        gap: 4px;
    }
    
    .tab-button {
        padding: 10px 14px 12px 14px;
        font-size: 13px;
        min-width: auto;
    }
    
    .tab-button.active {
        padding-bottom: 14px;
    }
    
    .tab-content {
        padding: 20px;
    }
}

/* Source Priority List */
.source-priority-section {
    margin-bottom: 30px;
}

.source-priority-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
    min-height: 200px;
    max-height: 600px;
    overflow-y: auto;
    padding: 10px;
    background: var(--bg-color);
    border-radius: 8px;
    border: 2px dashed var(--border-color);
}

.source-priority-list:empty::after {
    content: '👆 Click "Add Source" to get started';
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    color: var(--text-muted);
    font-style: italic;
}

.source-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--text-muted);
}

.source-placeholder span {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Source Priority Item - Enhanced */
.source-priority-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--card-bg);
    padding: 15px;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: grab;
    position: relative;
}

.source-priority-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.source-priority-item:active {
    cursor: grabbing;
}

.source-priority-item.dragging {
    opacity: 0.5;
    transform: rotate(2deg);
    cursor: grabbing;
}

/* Drag Handle */
.drag-handle {
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: grab;
    user-select: none;
    padding: 5px;
    transition: color 0.3s;
}

.drag-handle:hover {
    color: var(--primary-color);
}

.source-priority-item:active .drag-handle {
    cursor: grabbing;
}

/* Priority Badge */
.priority-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

/* Source Info */
.source-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.source-info strong {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.source-info small {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Source Controls */
.source-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Toggle Switch - Enhanced */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: 0.4s;
    border-radius: 28px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, var(--success-color), #059669);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.toggle-switch:hover .toggle-slider {
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

/* Icon Buttons */
.btn-icon {
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    color: var(--text-color);
    width: 38px;
    height: 38px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-weight: bold;
}

.btn-icon:hover:not(:disabled) {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.4);
}

.btn-icon:active:not(:disabled) {
    transform: translateY(0);
}

.btn-icon:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: var(--bg-color);
}

.btn-remove-source {
    background: var(--error-color);
    border-color: var(--error-color);
    color: white;
}

.btn-remove-source:hover {
    background: #dc2626;
    border-color: #dc2626;
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.4);
}

/* Available Sources Section */
.source-filter-container {
    flex: 0 0 300px;
}

.source-filter-input {
    width: 100%;
    padding: 10px 15px;
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s;
}

.source-filter-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Available Sources Grid */
.available-sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.available-source-card {
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.available-source-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
}

.source-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 10px;
}

.source-card-header strong {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
}

/* Tier Badges */
.tier-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.tier-badge.tier-1 {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.tier-badge.tier-2 {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.tier-badge.tier-3 {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.tier-badge.tier-4 {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.source-url {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
    margin-bottom: 10px;
    word-break: break-all;
}

.source-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    min-height: 40px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
    width: 100%;
    border-radius: 6px;
    font-weight: 600;
}

/* Loading Placeholder */
.loading-placeholder {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    color: var(--text-muted);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Source Statistics */
.source-stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-box {
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
}

.stat-box:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tier Information */
.tier-info-container {
    margin-top: 30px;
}

.tier-info-container h4 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.tier-card {
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s;
}

.tier-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tier-card.tier-1 {
    border-color: #10b981;
}

.tier-card.tier-2 {
    border-color: #3b82f6;
}

.tier-card.tier-3 {
    border-color: #f59e0b;
}

.tier-card.tier-4 {
    border-color: #6366f1;
}

.tier-badge-large {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.tier-card.tier-1 .tier-badge-large {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.tier-card.tier-2 .tier-badge-large {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.tier-card.tier-3 .tier-badge-large {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.tier-card.tier-4 .tier-badge-large {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

/* Info Card */
.info-card {
    background: var(--bg-color);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 20px;
    margin-top: 15px;
}

.info-card p {
    margin: 0 0 15px 0;
    color: var(--text-color);
    line-height: 1.6;
}

.info-card ol {
    margin: 15px 0;
    padding-left: 25px;
    color: var(--text-color);
}

.info-card ol li {
    margin: 8px 0;
    line-height: 1.6;
}

.info-card strong {
    color: var(--primary-color);
}

/* Collapsible Sections */
.collapsible-section {
    margin: 25px 0;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-color);
}

.collapsible-header {
    padding: 15px 20px;
    margin: 0;
    background: var(--card-bg);
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.collapsible-header:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}

.collapse-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    display: inline-block;
    width: 20px;
    text-align: center;
}

.collapsible-header:not(.collapsed) .collapse-icon {
    transform: rotate(90deg);
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.collapsible-content.expanded {
    max-height: 2000px;
    padding: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .source-filter-container {
        flex: 1;
        width: 100%;
    }
    
    .source-priority-item {
        flex-wrap: wrap;
    }
    
    .source-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .available-sources-grid {
        grid-template-columns: 1fr;
    }
    
    .source-stats-container {
        grid-template-columns: 1fr;
    }
    
    .tier-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs {
        padding: 8px;
        gap: 4px;
    }
    
    .tab-button {
        padding: 10px 14px;
        font-size: 13px;
        min-width: auto;
    }
    
    .tab-button.active {
        padding-bottom: 14px;
    }
    
    .tab-content {
        padding: 20px;
    }
}

.footer {
    background: transparent;
    border-top: 1px solid rgba(51, 65, 85, 0.3);
    margin-top: 40px;
    padding: 15px 20px;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-content p {
    margin: 3px 0;
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.4;
    opacity: 0.7;
}

.footer-content strong {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.footer-links {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(51, 65, 85, 0.2);
    font-size: 0.7rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    padding: 0 5px;
    opacity: 0.7;
}

.footer-links a:hover {
    color: var(--primary-color);
    opacity: 1;
}

@media (max-width: 768px) {
    .footer {
        padding: 12px 15px;
        margin-top: 30px;
    }
    
    .footer-content p {
        font-size: 0.7rem;
    }
    
    .footer-links {
        font-size: 0.65rem;
    }
}
