/* Product Variant Disclaimer - Styles */

.pwk-modal-container {
    display: contents;
}

.pwk-modal-content {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.18);
}

.pwk-modal-header {
    background: linear-gradient(135deg, var(--color-2nd, #1d2224) 0%, #343a40 100%);
    color: #fff;
    padding: 1.25rem 1.5rem;
    border-bottom: none;
}

.pwk-modal-header h4 {
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
}

.pwk-modal-header i {
    font-size: 1.3rem;
}

.pwk-modal-close {
    opacity: 0.8;
    transition: opacity 0.2s ease;
    color: #fff;
    text-shadow: none;
    padding: 0.375rem 0.75rem;
}

.pwk-modal-close:hover {
    opacity: 1;
    color: #fff;
}

/* Product preview */
.pwk-product-preview {
    align-items: center;
}

.pwk-product-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid var(--color-1st, #ff324d);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Variant cards */
.pwk-variant-card {
    background-color: #f8f9fa;
    border-color: #e9ecef;
    transition: all 0.2s ease;
    border-radius: 10px;
}

.pwk-variant-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    background-color: #ffffff;
}

.pwk-variant-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.pwk-variant-placeholder {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9ecef;
    border-radius: 8px;
    color: #6c757d;
    font-size: 1.5rem;
}

.pwk-variant-card h6 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.pwk-variant-card ul li {
    padding: 1px 0;
}

/* Accept section */
.pwk-accept-section {
    background-color: #fff8f8;
    border-top: 2px solid var(--color-1st, #ff324d);
    margin-top: 1rem;
    padding-top: 1rem;
}

.pwk-accept-section .custom-control-label {
    font-size: 0.9rem;
    color: #333;
}

/* Buttons */
.pwk-confirm-btn {
    background-color: var(--color-1st, #ff324d);
    border-color: var(--color-1st, #ff324d);
    color: #fff;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.pwk-confirm-btn:hover:not(:disabled) {
    background-color: #e02d40;
    border-color: #e02d40;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 50, 77, 0.25);
}

.pwk-confirm-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Cancel button (fill-line style matching theme) */
.pwk-modal-footer .btn-fill-out:not(.pwk-confirm-btn) {
    background: transparent;
    color: var(--color-2nd, #1d2224);
    border: 1px solid #dee2e6;
    font-weight: 500;
    border-radius: 6px;
    padding: 0.5rem 1.5rem;
    transition: all 0.2s ease;
}

.pwk-modal-footer .btn-fill-out:not(.pwk-confirm-btn):hover {
    background-color: #f8f9fa;
    color: var(--color-1st, #ff324d);
    border-color: var(--color-1st, #ff324d);
}

/* Footer */
.pwk-modal-footer {
    border-top: 1px solid #e9ecef;
}

/* Responsive */
@media (max-width: 768px) {
    .pwk-modal-dialog-fixed {
        margin: 10px;
    }

    .pwk-product-preview {
        flex-direction: column;
        text-align: center;
    }

    .pwk-product-img {
        width: 70px;
        height: 70px;
        margin-right: 0;
        margin-bottom: 0.75rem;
    }

    .pwk-variant-card .col-auto {
        margin-bottom: 10px;
    }

    .modal-dialog {
        margin: 10px;
    }
}
