/* Provider Details Page Styles */

/* Provider Hero Section */
.provider-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
}

.provider-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;
}

.provider-logo-large {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.provider-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
}

.provider-logo-large .provider-logo-fallback {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.provider-info-main h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.provider-info-main p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.provider-rating {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #ffd700;
    font-size: 1.2rem;
}

.provider-actions-main {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.provider-actions-main .btn {
    min-width: 180px;
}

/* Provider Content Section */
.provider-content {
    padding: 60px 0;
    background: #f8fafc;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.content-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.content-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #2d3748;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

/* Plans Grid */
.plans-grid {
    display: grid;
    gap: 20px;
}

.plan-card {
    background: #f7fafc;
    border-radius: 12px;
    padding: 25px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.plan-card:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.plan-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
}

.plan-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.plan-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.plan-detail {
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-detail i {
    color: #667eea;
    width: 16px;
}

.plan-detail span {
    font-size: 0.9rem;
    color: #4a5568;
}

.plan-type {
    display: inline-block;
    background: #e6fffa;
    color: #234e52;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Features Grid */
.features-grid {
    display: grid;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f7fafc;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.feature-item:hover {
    background: #edf2f7;
}

.feature-item i {
    color: #48bb78;
    font-size: 1.2rem;
    width: 20px;
}

.feature-item span {
    font-weight: 500;
    color: #2d3748;
}

/* Coverage Section */
.coverage-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2d3748;
}

.provinces-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.province-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Reviews Section */
.reviews-summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    align-items: start;
}

.overall-rating {
    text-align: center;
}

.rating-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.rating-circle span {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.rating-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2d3748;
}

.rating-details p {
    font-size: 0.9rem;
    color: #718096;
}

.rating-breakdown {
    display: grid;
    gap: 10px;
}

.rating-bar {
    display: grid;
    grid-template-columns: 60px 1fr 40px;
    gap: 10px;
    align-items: center;
}

.rating-bar span {
    font-size: 0.9rem;
    color: #4a5568;
}

.bar-container {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Technical Specs */
.tech-specs {
    display: grid;
    gap: 20px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.spec-item:hover {
    background: #edf2f7;
}

.spec-item i {
    color: #667eea;
    font-size: 1.5rem;
    width: 24px;
}

.spec-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2d3748;
}

.spec-item p {
    font-size: 0.9rem;
    color: #4a5568;
}

/* Contact Info */
.contact-info {
    display: grid;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.contact-item:hover {
    background: #edf2f7;
}

.contact-item i {
    color: #667eea;
    font-size: 1.5rem;
    width: 24px;
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2d3748;
}

.contact-item p {
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 3px;
}

.contact-item small {
    font-size: 0.8rem;
    color: #718096;
}

.contact-item a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Related Providers Section */
.related-providers {
    padding: 60px 0;
    background: white;
}

.related-providers h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: #2d3748;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-provider-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.related-provider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.related-provider-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.related-provider-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.related-provider-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.related-provider-logo .provider-logo-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
}

.related-provider-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2d3748;
}

.related-provider-info p {
    font-size: 0.9rem;
    color: #718096;
}

.related-provider-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.related-stat {
    text-align: center;
    padding: 10px;
    background: #f7fafc;
    border-radius: 8px;
}

.related-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 3px;
}

.related-stat-label {
    font-size: 0.8rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .provider-header {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .provider-logo-large {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
        margin: 0 auto;
    }
    
    .provider-info-main h1 {
        font-size: 2rem;
    }
    
    .provider-actions-main {
        flex-direction: row;
        justify-content: center;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    

    
    .reviews-summary {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .plan-details {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .provider-hero {
        padding: 40px 0;
    }
    
    .provider-content {
        padding: 40px 0;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .provider-actions-main .btn {
        min-width: 150px;
        font-size: 0.9rem;
    }
    
    .plan-card {
        padding: 20px;
    }
    
    .spec-item,
    .contact-item {
        padding: 15px;
    }
} 