.elkawa-blend-creator {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    border: none;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    font-family: 'Jost', sans-serif;
}

.elkawa-step {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.elkawa-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.elkawa-step-header {
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
    text-align: center;
}

.elkawa-step-header h3 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

/* Bean List Grid */
.elkawa-bean-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.elkawa-bean-item {
    border: 2px solid #eee;
    padding: 15px;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.elkawa-bean-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #ddd;
}

.elkawa-bean-item.selected {
    border-color: #4D8B55;
    background-color: #f1f8f3;
    box-shadow: 0 5px 20px rgba(77, 139, 85, 0.3);
}

.elkawa-bean-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.elkawa-bean-item.selected img {
    transform: scale(1.05);
}

.elkawa-bean-item h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.elkawa-bean-item p {
    margin: 0;
    color: #777;
    font-size: 14px;
}

/* Presets */
.elkawa-presets {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    width: 100%; /* Ensure full width */
}

.elkawa-preset-btn {
    background: #fff;
    border: 2px solid #4D8B55;
    color: #4D8B55;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.elkawa-preset-btn:hover {
    background: #4D8B55;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(77, 139, 85, 0.25);
}

/* Visualization Container */
.elkawa-visualization {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
    min-height: 320px; /* Ensure height for bag */
}

.elkawa-visual-bag {
    width: 200px;
    height: 300px;
    background: #e0e0e0;
    border-radius: 10px 10px 20px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.1);
    border: 5px solid #d0d0d0;
    flex-shrink: 0; /* Prevent shrinking */
}

.elkawa-visual-bag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 10;
    pointer-events: none;
}

.elkawa-visual-layer {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: height 0.5s ease-in-out, background-color 0.5s ease;
}

/* Sliders Area */
.elkawa-sliders-container {
    flex: 1;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
}

.elkawa-slider-row {
    margin-bottom: 20px;
}

.elkawa-slider-row:last-child {
    margin-bottom: 0;
}

.elkawa-slider-row label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.elkawa-slider-val {
    color: #4D8B55;
    font-weight: 700;
}

/* Custom Range Slider */
.elkawa-slider {
    -webkit-appearance: none; /* Safari/Chrome */
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #ddd;
    outline: none;
    transition: background 0.2s;
    margin: 0; /* Safari fix */
}

.elkawa-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4D8B55;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.2s;
    margin-top: 0px; /* Safari fix */
}

.elkawa-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.elkawa-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4D8B55;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Controls */
.elkawa-controls {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.elkawa-btn {
    padding: 12px 30px;
    background: #4D8B55;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(77, 139, 85, 0.3);
}

.elkawa-btn:hover {
    background: #3a6b41;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(77, 139, 85, 0.4);
}

.elkawa-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.elkawa-btn-secondary {
    background: #f0f0f0;
    color: #555;
    box-shadow: none;
}

.elkawa-btn-secondary:hover {
    background: #e0e0e0;
    color: #333;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Options Group (Radio) */
.elkawa-options-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.elkawa-radio-card {
    position: relative;
    width: 150px;
}

.elkawa-radio-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.elkawa-radio-content {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    background: #fff;
}

.elkawa-radio-card input:checked + .elkawa-radio-content {
    border-color: #4D8B55;
    background-color: #f1f8f3;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(77, 139, 85, 0.2);
}

.elkawa-radio-icon {
    font-size: 30px;
    margin-bottom: 10px;
    display: block;
}

/* Summary */
.elkawa-summary {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.elkawa-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
    color: #555;
}

.elkawa-summary-total {
    font-weight: 700;
    border-top: 2px dashed #ddd;
    padding-top: 15px;
    margin-top: 15px;
    font-size: 1.4em;
    color: #333;
    display: flex;
    justify-content: space-between;
}

.elkawa-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.elkawa-input-text {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.elkawa-input-text:focus {
    border-color: #4D8B55;
    outline: none;
}

textarea.elkawa-input-text {
    height: 100px;
    resize: vertical;
}

/* Responsive */
@media (max-width: 768px) {
    .elkawa-visualization {
        flex-direction: column;
        align-items: center;
    }
    
    .elkawa-bean-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .elkawa-controls {
        flex-direction: column-reverse;
    }
    
    .elkawa-btn {
        width: 100%;
    }
}
