﻿.image-source-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Creates 3 equal columns */
    gap: 1rem; /* Space between cards */
    margin-top: 0.5rem;
}

.source-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.5rem;
    border: 2px solid var(--border-color); /* Default border */
    border-radius: 8px;
    background-color: var(--surface-color);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-align: center;
    min-height: 80px; /* Ensure cards have some height */
}

    .source-card:hover {
        background-color: var(--border-color); /* Subtle hover effect */
    }

    .source-card.selected {
        border-color: var(--accent-color); /* Highlight border when selected */
        background-color: #2a2a2a; /* Slightly different background when selected */
        box-shadow: 0 0 10px rgba(76, 175, 80, 0.3); /* Optional glow */
    }

.card-icon {
    font-size: 1.5rem; /* Adjust icon size */
    margin-bottom: 0.5rem;
}

.card-label {
    font-size: 0.9rem;
    color: var(--primary-text);
}

/* Make selected label slightly bolder */
.source-card.selected .card-label {
    font-weight: 500;
}
