/* Partner Deals Container */
.partner-deals-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Grid Layout */
.partner-deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    justify-content: flex-start;
}

/* Deal Card */
.partner-deal-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e5e9;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Deal Header */
.deal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

/* Deal Type Badge */
.deal-type-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.5px;
    position: absolute;
    top: 16px;
    left: 16px;
}

/* Partner Logo */
.partner-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    position: absolute;
    top: 16px;
    right: 16px;
}

/* Deal Content */
.deal-content {
    margin-bottom: 20px;
    padding-top: 20px;
}

.partner-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.deal-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.deal-coupon {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    margin-top: 10px;
    font-weight: 700;
}

/* Deal Discount Section */
.deal-discount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.discount-percentage {
    font-size: 1.5rem;
    font-weight: 700;
    color: #28a745;
}

.deal-validity {
    font-size: 0.85rem;
    color: #999;
    font-weight: 500;
}

/* Deal Actions */
.deal-actions {
    margin-top: auto;
}

.deal-actions > .claim-deal-btn {
    display: block;
    width: 100%;
    background: #007cba;
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
}

.claim-deal-btn:hover {
    background: #005a87;
    color: #fff;
    text-decoration: none;
}

/* No Deals Message */
.no-deals-message {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 40px;
}

.no-deals-message p {
    font-size: 1.2rem;
    color: #6c757d;
    margin: 0;
}

/* Pagination Styles */
.partner-deals-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding: 20px 0;
}

.pagination-link {
    display: inline-block;
    padding: 8px 12px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.pagination-link:hover {
    background: #007cba;
    color: #fff;
    text-decoration: none;
}

.pagination-link.current {
    background: #007cba;
    color: #fff;
    font-weight: 700;
}

.pagination-numbers {
    display: flex;
    gap: 5px;
    align-items: center;
}

.pagination-dots {
    padding: 8px 4px;
    color: #999;
    font-weight: 500;
}

.prev-link,
.next-link {
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .partner-deals-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        justify-content: flex-start;
    }
    
    .partner-deal-card {
        padding: 20px;
        max-width: none;
        margin: 0;
    }
    
    .deal-type-badge {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    .partner-logo {
        width: 32px;
        height: 32px;
    }
    
    .partner-name {
        font-size: 1.1rem;
    }
    
    .discount-percentage {
        font-size: 1.3rem;
    }
    
    .partner-deals-pagination {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .pagination-link {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
}

/* Medium screens - 2 cards per row */
@media (min-width: 769px) and (max-width: 1200px) {
    .partner-deals-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* 3 cards per row */
        justify-content: flex-start;
    }
}

/* Large screens - 3+ cards per row */
@media (min-width: 1201px) {
    .partner-deals-grid {
        /* 3 cards per row */
        grid-template-columns: repeat(auto-fit, minmax(320px, 31%));
        justify-content: flex-start;
    }
}


