#vinnvinn-packout-builder-container {
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#packout-builder-wrapper {
    min-height: 600px;
    width: 100%;
    position: relative;
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
}

#packout-builder-wrapper.loaded {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#packout-builder-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	border: none;
	outline: none
}

.vinnvinn-packout-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.vinnvinn-packout-loading:before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.packout-product-list {
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}

.packout-product-list h3 {
    margin: 0 0 15px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.packout-product-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.packout-product-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.packout-product-list li:last-child {
    border-bottom: none;
}

.product-name {
    flex: 1;
    font-weight: 500;
}

.product-quantity {
    margin: 0 15px;
    color: #666;
}

.product-price {
    font-weight: 600;
    color: #333;
}

.packout-total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
}

.total-price {
    color: #d32f2f;
}

.vinnvinn-packout-actions {
    margin: 20px 0;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.vinnvinn-packout-actions .button {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.packout-save-config {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.packout-save-config:hover {
    background: #f5f5f5;
    border-color: #bbb;
}

.packout-add-to-cart {
    background: #d32f2f;
    color: #fff;
    border: 1px solid #d32f2f;
}

.packout-add-to-cart:hover {
    background: #b71c1c;
    border-color: #b71c1c;
}

.packout-add-to-cart:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.vinnvinn-packout-notification {
    position: fixed;
    top: 20px;
    right: -400px;
    max-width: 350px;
    padding: 15px 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: right 0.3s ease;
    z-index: 9999;
}

.vinnvinn-packout-notification.show {
    right: 20px;
}

.vinnvinn-packout-notification.success {
    border-left: 4px solid #4caf50;
}

.vinnvinn-packout-notification.error {
    border-left: 4px solid #f44336;
}

.vinnvinn-packout-notification.warning {
    border-left: 4px solid #ff9800;
}

.vinnvinn-packout-notification .close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
}

.vinnvinn-packout-notification .close:hover {
    color: #333;
}

.packout-configuration-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.packout-configuration-list li {
    padding: 3px 0;
    color: #666;
}

@media (max-width: 768px) {
    #packout-builder-wrapper {
        min-height: 400px;
    }
    
    .vinnvinn-packout-actions {
        flex-direction: column;
    }
    
    .vinnvinn-packout-actions .button {
        width: 100%;
    }
    
    .vinnvinn-packout-notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .vinnvinn-packout-notification.show {
        right: 10px;
    }
}