/* Bahwesh Shipping Review v1.4 */

.bsr-weight-review-box {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3e0 100%);
    border: 2px solid #ffcc80;
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(230, 81, 0, 0.1);
}

.bsr-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.bsr-icon {
    font-size: 1.5rem;
}

.bsr-header-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: #E65100;
}

.bsr-message {
    background: rgba(255, 255, 255, 0.8);
    padding: 12px 15px;
    border-radius: 10px;
    border-left: 4px solid #E65100;
    color: #5d4037;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 15px;
}

.bsr-checkbox {
    margin: 15px 0;
}

.bsr-checkbox label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #5d4037;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    border: 1px solid #ffcc80;
    transition: all 0.3s ease;
}

.bsr-checkbox label:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: #E65100;
}

.bsr-checkbox input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: #E65100;
    cursor: pointer;
}

.bsr-user-input {
    margin: 15px 0;
}

.bsr-user-input label {
    display: block;
    font-size: 0.9rem;
    color: #5d4037;
    margin-bottom: 8px;
    font-weight: 600;
}

.bsr-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 180px;
}

.bsr-input-wrap input {
    flex: 1;
    padding: 12px 14px;
    border: 2px solid #ffcc80;
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
    width: 100%;
}

.bsr-input-wrap input:focus {
    border-color: #E65100;
    box-shadow: 0 0 0 4px rgba(230, 81, 0, 0.15);
    outline: none;
}

.bsr-unit {
    font-weight: 700;
    color: #E65100;
    font-size: 1rem;
}

.bsr-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background: #25D366;
    color: white !important;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    margin-top: 10px;
}

.bsr-whatsapp-btn:hover {
    background: #1fb855;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: white !important;
}

.bsr-whatsapp-btn svg {
    flex-shrink: 0;
}

/* Apply button */
.bsr-apply-btn {
    padding: 12px 20px;
    background: #E65100;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bsr-apply-btn:hover {
    background: #bf4400;
}

/* Warning box */
.bsr-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 10px;
    padding: 12px 15px;
    margin: 15px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #856404;
}

.bsr-warning-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* RTL Support */
[dir="rtl"] .bsr-weight-review-box,
html[lang^="ar"] .bsr-weight-review-box {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .bsr-header,
[dir="rtl"] .bsr-checkbox label,
html[lang^="ar"] .bsr-header,
html[lang^="ar"] .bsr-checkbox label {
    flex-direction: row-reverse;
}

[dir="rtl"] .bsr-message,
html[lang^="ar"] .bsr-message {
    border-left: none;
    border-right: 4px solid #E65100;
}

/* Responsive */
@media (max-width: 768px) {
    .bsr-weight-review-box {
        padding: 15px;
        margin: 15px 0;
    }

    .bsr-header {
        flex-wrap: wrap;
    }

    .bsr-message {
        font-size: 0.9rem;
        padding: 10px 12px;
    }

    .bsr-input-wrap {
        max-width: 100%;
    }
}

/* Section wrappers */
.weight-review-checkout-section,
.weight-review-checkout-section-alt {
    margin: 20px 0;
}
