/* Fallpreis-Anfragen und Aktions-Boxen */

/* Custom Offer (grün/blau) */
.custom-offer-request {
    background: #f8fdf9;
    color: #000;
    padding: 10px 12px;
    margin: 8px 0;
    border-radius: 4px;
    border: 1px solid #c8e6c9;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.custom-offer-request strong {
    color: #2e7d32;
    font-size: 12px;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.custom-offer-request .price-info {
    background: #ffffff;
    padding: 6px 10px;
    border-radius: 3px;
    margin: 4px 0;
    font-size: 12px;
    color: #424242;
    border-left: 2px solid #4CAF50;
    display: flex;
    align-items: center;
    gap: 6px;
}

.custom-offer-request .price-info::before {
    content: '💰';
    font-size: 12px;
}

.custom-offer-request .price-value {
    color: #1b5e20;
    font-weight: 600;
    font-size: 13px;
}

.custom-offer-request .timestamp {
    color: #888;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.custom-offer-request .timestamp::before {
    content: '🕐';
    font-size: 11px;
}

/* Fallpreis-Anfrage (orange) */
.dutch-price-request {
    background: #fffef8;
    color: #000;
    padding: 10px 12px;
    margin: 8px 0;
    border-radius: 4px;
    border: 1px solid #ffe0b2;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.dutch-price-request strong {
    color: #e65100;
    font-size: 12px;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.dutch-price-request .price-info {
    background: #ffffff;
    padding: 6px 10px;
    border-radius: 3px;
    margin: 4px 0;
    font-size: 12px;
    color: #424242;
    border-left: 2px solid #ff9800;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dutch-price-request .price-info::before {
    content: '💰';
    font-size: 12px;
}

.dutch-price-request .price-value {
    color: #e65100;
    font-weight: 600;
    font-size: 13px;
}

.dutch-price-request .timestamp {
    color: #888;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.dutch-price-request .timestamp::before {
    content: '🕐';
    font-size: 11px;
}

/* Zusage-Bestätigung (Grün) */
.dutch-price-accepted {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #000;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #28a745;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

.dutch-price-accepted::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 0 0 0 100%;
}

.dutch-price-accepted strong {
    color: #155724;
    font-size: 16px;
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
}

.dutch-price-accepted .message-info {
    background: rgba(255, 255, 255, 0.5);
    padding: 10px 12px;
    border-radius: 6px;
    margin: 8px 0;
    font-size: 14px;
    color: #212121;
}

.dutch-price-accepted .price-value {
    color: #155724;
    font-weight: bold;
    font-size: 16px;
}

.dutch-price-accepted .note {
    color: #424242;
    font-size: 13px;
    margin-top: 8px;
    opacity: 0.9;
}

/* Moderne Bestätigungsnachricht mit Icon */
.offer-accepted-message {
    background: #f1f8f4;
    border: 1px solid #a5d6a7;
    border-radius: 4px;
    padding: 10px 12px;
    margin: 8px 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.offer-accepted-icon {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

.offer-accepted-content {
    flex: 1;
}

.offer-accepted-title {
    color: #2e7d32;
    font-size: 12px;
    font-weight: 600;
    margin: 0 0 6px 0;
    line-height: 1.4;
}

.offer-accepted-price {
    background: #ffffff;
    padding: 6px 10px;
    border-radius: 3px;
    margin: 4px 0;
    font-size: 12px;
    color: #424242;
    border-left: 2px solid #4CAF50;
}

.offer-accepted-price strong {
    color: #2e7d32;
    font-size: 13px;
    font-weight: 600;
}

.offer-accepted-note {
    color: #2e7d32;
    font-size: 11px;
    margin: 4px 0 0 0;
    opacity: 0.85;
    line-height: 1.4;
}

/* Ablehnung (Rot) */
.dutch-price-declined {
    background: #fef5f5;
    color: #000;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid #ffcdd2;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.dutch-price-declined span {
    color: #c62828;
    font-size: 12px;
    display: block;
}

/* Zusagen/Ablehnen Buttons im Messages-Bereich */
.dutch-request-actions {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e8e8e8;
}

.dutch-request-actions p {
    font-size: 11px;
    color: #888;
    margin: 0 0 8px 0;
    font-weight: 500;
}

.dutch-request-actions .button-group {
    display: flex;
    gap: 8px;
}

.dutch-request-actions form {
    flex: 1;
}

.dutch-request-actions button {
    width: 100%;
    padding: 7px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.dutch-request-actions button[name="action"][value="accept_offer"] {
    background: #4CAF50;
    color: white;
}

.dutch-request-actions button[name="action"][value="accept_offer"]:hover {
    background: #45a049;
}

.dutch-request-actions button[name="action"][value="decline_offer"] {
    background: #fafafa;
    color: #616161;
    border: 1px solid #e0e0e0;
}

.dutch-request-actions button[name="action"][value="decline_offer"]:hover {
    background: #f0f0f0;
    border-color: #d0d0d0;
}
