/**
 * Styles for the Jewelry Sets feature
 *
 * @since      1.3.0
 */

/* Sets Tab Styling */
.jpc-sets-selection-container {
    margin: 15px 0;
    padding: 10px 0;
}

.jpc-sets-intro {
    margin-bottom: 15px;
    font-size: 16px;
}

.jpc-sets-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.jpc-set-item {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 15px;
    transition: all 0.3s ease;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.jpc-set-item.selected {
    border-color: #d4af37;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.2);
}

.jpc-set-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.jpc-set-name {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.jpc-set-price {
    font-weight: bold;
    color: #d4af37;
    font-size: 18px;
}

.jpc-set-description {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.jpc-set-details {
    margin-bottom: 15px;
    font-size: 14px;
}

.jpc-set-diamonds, 
.jpc-set-gemstones {
    margin-bottom: 5px;
}

.jpc-select-set {
    width: 100%;
    padding: 10px;
    background-color: #f9f9f9;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.jpc-select-set:hover {
    background-color: #f0f0f0;
}

.jpc-set-item.selected .jpc-select-set {
    background-color: #d4af37;
    color: #fff;
    border-color: #d4af37;
}

.jpc-no-sets {
    font-style: italic;
    color: #666;
}

/* Tabbed Interface Styling */
.jpc-tabbed-interface {
    margin: 20px 0;
    font-family: inherit;
}

.jpc-tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 -1px 0;
    border-bottom: 1px solid #ddd;
}

.jpc-tabs li {
    margin: 0 5px 0 0;
}

.jpc-tabs li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    transition: all 0.3s ease;
}

.jpc-tabs li.active a {
    background: #fff;
    color: #d4af37;
    border-bottom: 1px solid #fff;
    font-weight: bold;
}

.jpc-tabs li a:hover {
    background: #e9e9e9;
}

.jpc-tab-content {
    border: 1px solid #ddd;
    border-top: none;
    padding: 20px;
    background: #fff;
}

.jpc-tab-pane {
    display: none;
}

.jpc-tab-pane.active {
    display: block;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .jpc-sets-list {
        grid-template-columns: 1fr;
    }
    
    .jpc-tabs {
        flex-direction: column;
        border-bottom: none;
    }
    
    .jpc-tabs li {
        margin: 0 0 5px 0;
    }
    
    .jpc-tabs li a {
        border-radius: 4px;
        border-bottom: 1px solid #ddd;
    }
    
    .jpc-tabs li.active a {
        border-bottom: 1px solid #d4af37;
    }
    
    .jpc-tab-content {
        border: 1px solid #ddd;
    }
}