/* Country Cards Styling */
.sams-country-cards-heading {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.sams-country-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.sams-country-card {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.sams-country-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #bbb;
}

.sams-country-card.selected {
    border-color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.05);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.2);
}

.sams-country-flag {
    height: 60px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sams-country-flag img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sams-country-name {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sams-country-cards-container {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 10px;
    }
    
    .sams-country-flag {
        height: 50px;
    }
    
    .sams-country-name {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .sams-country-cards-container {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    }
}
