/* Blotnik Options Styles */
.blotnik-options-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.blotnik-options-container h3 {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
}

.blotnik-options-list {
    margin-bottom: 20px;
}

.blotnik-option {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.blotnik-option:hover {
    border-color: #3498db;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.1);
}

.blotnik-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 35px;
    margin-bottom: 8px;
    user-select: none;
}

.blotnik-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 4px;
    border: 2px solid #ddd;
    transition: all 0.2s ease;
}

.blotnik-checkbox:hover input ~ .checkmark {
    background-color: #ccc;
}

.blotnik-checkbox input:checked ~ .checkmark {
    background-color: #3498db;
    border-color: #3498db;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.blotnik-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.blotnik-checkbox .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.option-name {
    flex: 1;
    font-weight: 500;
    color: #2c3e50;
    margin-right: 10px;
}

.option-price {
    font-weight: 600;
    color: #27ae60;
    font-size: 14px;
}

.option-description {
    font-size: 13px;
    color: #6c757d;
    margin-left: 35px;
    font-style: italic;
}

.blotnik-options-summary {
    background: white;
    padding: 15px;
    border-radius: 6px;
    border: 2px solid #3498db;
}

.total-additional-cost {
    text-align: center;
}

.total-additional-cost strong {
    color: #2c3e50;
    font-size: 16px;
}

#additional-options-total {
    color: #27ae60;
    font-size: 18px;
}

/* Cart Options Styles */
.blotnik-cart-options {
    background: #f8f9fa;
    border-radius: 6px;
    margin: 15px 0;
}

.blotnik-cart-options .card-block {
    padding: 15px;
}

.blotnik-cart-options h4 {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 5px;
}

.blotnik-cart-selected-options {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blotnik-cart-option {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f4;
}

.blotnik-cart-option:last-child {
    border-bottom: none;
}

.blotnik-cart-option i {
    margin-right: 10px;
    font-size: 16px;
}

.blotnik-cart-option .option-name {
    flex: 1;
    margin-right: 10px;
    color: #2c3e50;
}

.blotnik-cart-option .option-price {
    font-weight: 600;
    color: #27ae60;
}

/* Order Detail Options Styles */
.blotnik-order-options {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    border-left: 4px solid #3498db;
}

.blotnik-order-options h4 {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 12px;
}

.blotnik-selected-options {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blotnik-selected-options li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    background: white;
    margin-bottom: 8px;
    padding: 10px 15px;
    border-radius: 4px;
}

.blotnik-selected-options li:last-child {
    margin-bottom: 0;
}

.blotnik-selected-options i {
    margin-right: 10px;
    color: #27ae60;
}

.blotnik-selected-options .option-price {
    margin-left: auto;
    font-weight: 600;
    color: #27ae60;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blotnik-options-container {
        margin: 15px 0;
        padding: 15px;
    }
    
    .blotnik-option {
        padding: 12px;
    }
    
    .blotnik-checkbox {
        padding-left: 30px;
    }
    
    .option-name {
        font-size: 14px;
    }
    
    .option-price {
        font-size: 13px;
    }
    
    .option-description {
        font-size: 12px;
        margin-left: 30px;
    }
}

/* Animation for checkbox selection */
@keyframes checkboxSelect {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.blotnik-checkbox input:checked ~ .checkmark {
    animation: checkboxSelect 0.2s ease;
}

/* Hover effects */
.blotnik-option:hover .option-name {
    color: #3498db;
}

.blotnik-option:hover .checkmark {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Focus states for accessibility */
.blotnik-checkbox input:focus ~ .checkmark {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}