/* Single SMM Panel Styles */

/* Fix GeneratePress flex layout */
.single-smm_panel .site-content {
    display: block !important;
}

.single-smm_panel .content-area {
    width: 100% !important;
    max-width: 100% !important;
}

/* Base styles */
body {
    margin: 0;
    padding: 0;
    background: #f5f5f5;
}

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 0;
    margin-bottom: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header h1 {
    margin: 0;
    text-align: center;
    font-size: 2em;
}

/* Back link */
.back-link {
    display: inline-block;
    margin: 10px 10px 100px;
    padding: 12px 24px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1.1em;
}

.back-link:hover {
    background: #5568d3;
    transform: translateX(-5px);
}

/* Hero section */
.hero-section {
    background: white;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.hero-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 6em;
    font-weight: bold;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px 20px;
}

/* Panel header */
.panel-header {
    background: white;
    padding: 30px;
    margin: -50px 20px 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 10;
}

.panel-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.panel-icon-large {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    object-fit: cover;
    border: 3px solid #e0e0e0;
    flex-shrink: 0;
}

.panel-icon-placeholder-large {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    background: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 3em;
    flex-shrink: 0;
}

.panel-title-area {
    flex-grow: 1;
}

.panel-title {
    margin: 0 0 10px 0;
    font-size: 2.5em;
    color: #2c3e50;
}

.panel-id-badge {
    display: inline-block;
    padding: 6px 14px;
    background: #f0f0f0;
    border-radius: 6px;
    font-size: 0.9em;
    color: #666;
    font-weight: 600;
}

.panel-rating-large {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.stars-large {
    color: #ffa500;
    font-size: 1.8em;
}

.rating-value-large {
    font-size: 2em;
    font-weight: 700;
    color: #2c3e50;
}

.reviews-count {
    font-size: 1.1em;
    color: #666;
}

/* Panel actions */
.panel-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary-large {
    background: #667eea;
    color: white;
}

.btn-primary-large:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.btn-trustpilot-large {
    background: #00b67a;
    color: white;
}

.btn-trustpilot-large:hover {
    background: #00a06a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 182, 122, 0.3);
}

/* Content grid */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* Panel description */
.panel-description {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.panel-description h2 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
}

.panel-description p {
    line-height: 1.8;
    color: #555;
    font-size: 1.05em;
}

/* Sidebar */
.panel-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    margin: 0 0 20px 0;
    color: #2c3e50;
    font-size: 1.3em;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #666;
    font-size: 0.9em;
}

.info-value {
    color: #2c3e50;
    font-weight: 600;
    text-align: right;
}

.info-value a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.info-value a:hover {
    text-decoration: underline;
}

/* Status badges */
.status-badge-large {
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

.status-maintenance {
    background: #fff3cd;
    color: #856404;
}

/* Responsive */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .panel-header-content {
        flex-direction: column;
        text-align: center;
    }

    .panel-title {
        font-size: 1.8em;
    }

    .hero-image,
    .hero-placeholder {
        height: 250px;
    }
}