/* Network Detail Page Styles */

/* Network Header */
.network-header {
/*    background-color: #2c4860;*/
    background-color: #e4f0fa;
    color: white;
    padding: 30px 0;
    margin-bottom: 30px;
}

.network-header-content {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.network-logo {
    width: 100px;
    height: 100px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.network-logo img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.network-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
}

.network-info {
    flex-grow: 1;
}

.network-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.network-info h1 {
    margin: 0;
    font-size: 1.8rem;
 /*   color: white;  */
    color: #161515;
}

.network-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.meta-item i {
    color: blue;
}

.network-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.stars {
    color: #FFD700;
    display: flex;
    gap: 2px;
}

.stars.small {
    font-size: 0.8rem;
}

.network-actions {
    display: flex;
    gap: 10px;
    justify-content: left;
    margin-top: 5px;
}

/* Main Content Layout */
.network-detail-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    margin-bottom: 50px;
}

.network-main {
    grid-column: 1;
}

.network-sidebar {
    grid-column: 2;
}

/* Section Styles */
.network-section {
    margin-bottom: 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
}

.section-title {
    font-size: 1.5rem;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
    color: #4c7c45;
}

.network-description p {
    line-height: 1.6;
    margin-bottom: 15px;
	color: black;
}

/* Network Details */
.network-details {
    margin-top: 25px;
}

.detail-section {
    margin-bottom: 20px;
}

.detail-section h3 {
    font-size: 1rem;
    margin: 0 0 12px 0;
    color: #000000;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-section h3 i {
    color: var(--primary-color);
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-tag {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--light-gray);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--dark-gray);
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.payment-method {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #161515;
}

.payment-method i {
    color: var(--success-color);
}

/* Offers Grid */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.offer-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--light-gray);
    padding: 15px;
}

.offer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.featured-offer {
    border-color: var(--primary-color);
    border-width: 2px;
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.offer-header {
    margin-bottom: 10px;
}

.offer-header h3 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.3;
    color: var(--primary-color);
}

.offer-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.offer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.offer-payout-type,
.offer-payout,
.offer-category,
.offer-countries {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.75rem;
    background-color: var(--light-gray);
    gap: 4px;
}

.offer-payout-type {
    background-color: #e3f2fd;
    color: #0d47a1;
}

.offer-payout {
    background-color: #e8f5e9;
    color: #1b5e20;
}

.offer-category {
    background-color: #f3e5f5;
    color: #4a148c;
}

.offer-countries {
    background-color: #fff3e0;
    color: #e65100;
}

.offer-description {
    margin: 10px 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #0e0d0d;
    flex-grow: 1;
}

.offer-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.view-all-link {
    text-align: center;
    margin-top: 20px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 30px 0 20px 0;
}

.page-link {
    display: inline-block;
    padding: 8px 12px;
    background-color: white;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s;
}

.page-link:hover {
    background-color: var(--light-gray);
}

.page-link.current {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-link.disabled {
    color: var(--text-muted);
    pointer-events: none;
    background-color: var(--light-gray);
}

/* Reviews Section */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 20px;
    border: 1px solid var(--light-gray);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--light-gray);
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.reviewer-details h4 {
    margin: 0;
    font-size: 1.1rem;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
	color: #0e0d0d;
}

.review-content h3 {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
}

.review-content p {
    margin: 0 0 15px 0;
    line-height: 1.6;
	color: #0e0d0d;
}

.review-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
}

.review-pros h4,
.review-cons h4 {
    margin: 0 0 10px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-pros h4 {
    color: var(--success-color);
}

.review-cons h4 {
    color: var(--danger-color);
}

.review-pros p,
.review-cons p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.no-reviews,
.no-offers {
    text-align: center;
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.no-reviews p,
.no-offers p {
    margin: 0 0 20px 0;
    font-size: 1.1rem;
    color: aliceblue;
}

/* Sidebar Styles */
.sidebar-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 30px;
}

.sidebar-card h3 {
    font-size: 1.0rem;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-gray);
    color: #404143;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--light-gray);
	color:	#000000;
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-list li i {
    color: var(--primary-color);
    margin-top: 3px;
    width: 20px;
    text-align: center;
	
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.2s;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-link.facebook {
    background-color: #3b5998;
}

.social-link.twitter {
    background-color: #1da1f2;
}

.social-link.linkedin {
    background-color: #0077b5;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.rating-summary {
    text-align: center;
}

.rating-big {
    margin-bottom: 20px;
}

.rating-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
    line-height: 1;
}

.rating-stars {
    font-size: 1.0rem;
    margin: 10px 0;
	color: #465c32;
}

.rating-count {
    font-size: 0.9rem;
    color: var(--text-muted);
	color: #465c32;
}

.sidebar-ad {
    margin-bottom: 30px;
}

.ad-slot-sidebar {
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 8px;
}

.ad-slot-sidebar img {
    width: 100%;
    height: auto;
    display: block;
}

.similar-networks-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.similar-networks-list li {
    margin-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 15px;
}

.similar-networks-list li:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.similar-network {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-color);
    text-decoration: none;
}

.similar-network:hover {
    color: var(--primary-color);
}

.similar-network-logo {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    overflow: hidden;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--light-gray);
}

.similar-network-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.network-logo-placeholder.small {
    font-size: 1.2rem;
}

.similar-network-info h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
}

/* Ad Containers */
.ad-container {
    margin: 30px 0;
}

.ad-wrapper {
    position: relative;
    background-color: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
}

.ad-label {
    position: absolute;
    top: 5px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 3px;
    z-index: 1;
}

.ad-slot {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 10px;
}

.ad-img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .network-detail-content {
        grid-template-columns: 1fr;
    }
    
    .network-main {
        grid-column: 1;
    }
    
    .network-sidebar {
        grid-column: 1;
    }
    
    .review-pros-cons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .network-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .network-meta {
        justify-content: center;
    }
    
    .network-actions {
        justify-content: center;
    }
    
    .network-details-grid {
        grid-template-columns: 1fr;
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
    }
    
    .review-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .reviewer-info {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .network-logo {
        width: 100px;
        height: 100px;
    }
    
    .network-info h1 {
        font-size: 2rem;
    }
}