.offer-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    cursor: pointer;
}

.offer-card img {
    width: 40px;
    height: auto;
    object-fit: cover;
    margin-right: 10px;
}

.offer-card .card-body .card-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}


.offer-card.active {
    border-color: #007bff;
    background-color: #e9f5ff;
}

.merchant-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    padding: 10px;
    max-height: 300px;
}

.merchant-card img {
    width: 80px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.merchant-card .card-body .card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-top: 10px;
}

.merchant-card .card-body .card-text {
    font-size: 14px;
    color: #951419;
    text-align: center;
    margin: 0px;
    font-weight: 900;
}

.merchant-card .card-body a{
    font-size: 16px;
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #951419;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    border-color: #951419;
}

.section-title{
    color: #951419;
}


.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: #2c3e50;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.back-link:hover {
    background: #951419;
    color: #ffffff;
    border-color: #951419;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.mod-img{
    text-align: center;
    margin-bottom: 20px;
}

.mod-img img{
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.offer-modal-content {
    padding: 20px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Image */
.offer-modal-content .mod-img {
    text-align: center;
    margin-bottom: 15px;
}

.offer-modal-content .mod-img img {
    max-height: 120px;
    object-fit: contain;
    border-radius: 8px;
}

/* Text */
.offer-modal-content p {
    font-size: 15px;
    color: #444;
    margin-bottom: 10px;
    line-height: 1.6;
}

.offer-modal-content p span {
    font-weight: 600;
    color: #111;
    margin-right: 5px;
}

/* Offer Details block */
.offer-modal-content p + * {
    font-size: 14px;
    color: #555;
    background: #f7f9fc;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Button */
.offer-modal-content .btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #4a90e2, #007bff);
    border: none;
    padding: 10px 18px;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.offer-modal-content .btn-primary:hover {
    background: linear-gradient(135deg, #357abd, #0056b3);
    transform: translateY(-1px);
}

/* Optional: Title styling (if modal header use koro) */
.modal-title {
    font-weight: 600;
    font-size: 18px;
    color: #222;
}

.offer-details {
    margin-top: 10px;
}

.offer-details strong {
    display: block;
    margin-bottom: 6px;
    color: #111;
}

.details-content {
    background: #f7f9fc;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
}
