/**
 * Frontend styles for LDpromo
 */

.ldpromo-personalization {
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.ldpromo-offer-badge {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    background-color: #ff0000;
    margin-bottom: 15px;
    position: relative;
    z-index: 10;
}

.woocommerce ul.products li.product .ldpromo-offer-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.ldpromo-custom-fields {
    margin: 20px 0;
}

.ldpromo-custom-field {
    margin-bottom: 10px;
    padding: 10px;
    background: #f9f9f9;
    border-left: 3px solid #0073aa;
}

.ldpromo-custom-field strong {
    margin-right: 10px;
}

.ldpromo-custom-fields-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.ldpromo-custom-fields-table th {
    text-align: left;
    padding: 10px;
    background: #f9f9f9;
    border-bottom: 2px solid #ddd;
    font-weight: bold;
    width: 30%;
}

.ldpromo-custom-fields-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
