/* Base Styles */

.welcome-header {
    padding: 1.5rem;
    background-color: rgb(var(--color-card));  /* Uses theme.css variable */
    border: 1px solid rgb(var(--color-card-border));
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: rgb(var(--color-text));
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-2px);
}

.card-header {
    border-radius: 8px 8px 0 0 !important;
}

/* Property List */
.property-list {
    max-height: 500px;
    overflow-y: auto;
}

.property-img-placeholder {
    height: 180px;
    font-size: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 5px;
}

/* Market Trend */
.market-trend {
    height: 200px;
}

/* Stat Cards */
.character-stat-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.stat-icon {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #7f8c8d;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0;
}

/* Property Items */
.property-item {
    cursor: pointer;
    transition: background-color 0.2s;
}

.property-item:hover {
    background-color: #f8f9fa;
}

/* Progress Bar */
.progress {
    height: 24px;
    border-radius: 12px;
}

.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Dark Mode */
[data-theme="dark"] {
    background-color: #1a1a1a;
    color: #f0f0f0;
}

[data-theme="dark"] .card,
[data-theme="dark"] .character-stat-card {
    background-color: #2d2d2d;
    color: #f0f0f0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

[data-theme="dark"] .property-item:hover {
    background-color: #3a3a3a;
}

[data-theme="dark"] .stat-value {
    color: #f0f0f0;
}

[data-theme="dark"] .property-img-placeholder {
    background-color: #3a3a3a;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .character-stat-card {
        padding: 15px;
    }
    
    .stat-icon {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
}