/* Custom styles for POE Purchase Tracker */

/* Pinned Character Buttons */
.character-button {
    transition: all 0.2s ease;
}

.character-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3) !important;
}

[data-bs-theme="dark"] .character-button {
    background-color: #333 !important;
    border-color: #0d6efd !important;
}

[data-bs-theme="dark"] .character-info small {
    color: #adb5bd !important;
}

/* Main Styling */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.footer {
    margin-top: auto;
}

/* Card styling */
.card {
    border: none;
    transition: box-shadow 0.3s;
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-header {
    border-bottom: none;
    background-color: rgba(0, 0, 0, 0.03);
}

[data-bs-theme="dark"] .card-header {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Button styling */
.btn {
    border-radius: 0.25rem;
}

.btn-primary {
    transition: all 0.3s;
}

.btn-primary:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Form controls */
.form-control, .form-select {
    border-radius: 0.25rem;
}

/* Table styling */
.table-responsive {
    border-radius: 0.25rem;
    overflow: hidden;
}

/* Item rarity colors */
.rarity-unique {
    color: #af6025;
}

.rarity-rare {
    color: #ffff77;
}

.rarity-magic {
    color: #8888ff;
}

.rarity-normal {
    color: #c8c8c8;
}

/* Dark mode specific adjustments */
[data-bs-theme="dark"] {
    --bs-body-bg: #222;
    --bs-body-color: #e9ecef;
}

[data-bs-theme="dark"] .card {
    background-color: #333;
}

[data-bs-theme="dark"] .table {
    --bs-table-color: #e9ecef;
    --bs-table-bg: #333;
    --bs-table-border-color: #444;
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
    background-color: #444;
    border-color: #555;
    color: #e9ecef;
}

/* Theme toggle styling */
.form-switch .form-check-input {
    cursor: pointer;
}
