body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #1c1c1c;
    color: #e0e0e0;
}

header {
    text-align: center;
    padding: 2rem 1rem;
    background-color: #2a2a2a;
}
header h1 {
    color: #b287ff;
}
header p {
    color: #ccc;
}
.filter-container {
    margin-top: 1rem;
}
.filter-container button {
    background-color: #444;
    color: #e0e0e0;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0.2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s;
}
.filter-container button:hover {
    background-color: #666;
}
.filter-container button.active {
    background-color: #b287ff;
    color: #1c1c1c;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
}

.card {
    background-color: #2a2a2a;
    border-radius: 10px;
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    position: relative;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.6);
}
.card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 8px;
    background-color: #444;
}
.card h2 {
    margin: 1rem 0 0.5rem;
    font-size: 1.1rem;
    color: #b287ff;
}
.price {
    font-size: 0.9rem;
    color: #ccc;
    margin: 0.3rem 0;
}
.card a {
    display: inline-block;
    margin-top: auto;
    padding: 0.5rem 1rem;
    background-color: #b287ff;
    color: #1c1c1c;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.2s;
}
.card a:hover {
    background-color: #9b6fff;
}

.priority-label {
    position: absolute;
    top: -10px;
    left: 10px;
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: bold;
    color: #fff;
}
.high-priority .priority-label {
    background-color: #ff4d4d;
}
.medium-priority .priority-label {
    background-color: #ffb84d;
}
.low-priority .priority-label {
    background-color: #4da6ff;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #2a2a2a;
    font-size: 0.9rem;
    color: #777;
}
