.ikbase-style-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.ikbase-style-option {
    position: relative;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.ikbase-style-option:hover {
    border-color: #007cba;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.1);
    transform: translateY(-2px);
}

.ikbase-style-option.selected {
    border-color: #007cba !important;
    background: #f0f8ff !important;
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.2) !important;
    transform: translateY(-1px) !important;
}

.ikbase-style-option.selected::after {
    content: "✓";
    position: absolute;
    top: 10px;
    right: 10px;
    background: #007cba;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ikbase-style-preview {
    width: 100%;
    height: 150px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
    background: #f9f9f9;
}

.ikbase-style-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ikbase-style-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.ikbase-style-description {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 10px;
}

.ikbase-style-features {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 12px;
    color: #777;
}

.ikbase-style-features li {
    padding: 2px 0;
    position: relative;
    padding-left: 15px;
}

.ikbase-style-features li::before {
    content: "•";
    color: #007cba;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Radio buttons removed - using visual selector only */

/* Responsive adjustments */
@media (max-width: 768px) {
    .ikbase-style-selector {
        grid-template-columns: 1fr;
    }
    
    .ikbase-style-option {
        padding: 12px;
    }
    
    .ikbase-style-preview {
        height: 120px;
    }
}

/* Admin form table adjustments */
.form-table .ikbase-style-selector-wrapper {
    max-width: none;
}

.form-table .ikbase-style-selector-wrapper .description {
    margin-top: 15px;
    font-style: italic;
    color: #666;
}

/* Loading state */
.ikbase-style-option.loading {
    opacity: 0.6;
    pointer-events: none;
}

.ikbase-style-option.loading::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007cba;
    border-radius: 50%;
    animation: ikbase-spin 1s linear infinite;
}

@keyframes ikbase-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 