/* Archive SMM Panels Styles */

/* Fix GeneratePress flex layout */
.post-type-archive-smm_panel .site-content {
    display: block !important;
}

.post-type-archive-smm_panel .content-area {
    width: 100% !important;
    max-width: 100% !important;
}

/* Header styles */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 0;
    margin-bottom: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.header h1 {
    margin: 0;
    text-align: center;
    font-size: 2.5em;
}

.header p {
    text-align: center;
    margin: 10px 0 0 0;
    opacity: 0.9;
    font-size: 1.1em;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Panels Grid */
.panels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Panel Card */
.panel-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.panel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.panel-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f0f0f0;
}

.panel-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3em;
}

.panel-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.panel-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.panel-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid #e0e0e0;
    flex-shrink: 0;
}

.panel-icon-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5em;
    flex-shrink: 0;
}

.panel-title-section {
    flex-grow: 1;
    min-width: 0;
}

.panel-title {
    margin: 0 0 5px 0;
    font-size: 1.3em;
}

.panel-title a {
    text-decoration: none;
    color: #2c3e50;
}

.panel-title a:hover {
    color: #667eea;
}

.panel-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    color: #666;
}

.stars {
    color: #ffa500;
    font-size: 1.1em;
}

.rating-value {
    font-weight: 600;
    color: #2c3e50;
}

.panel-short-desc {
    color: #666;
    line-height: 1.6;
    margin: 15px 0;
    font-size: 0.95em;
}

.panel-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.75em;
    text-transform: uppercase;
    color: #999;
    font-weight: 600;
    margin-bottom: 3px;
}

.meta-value {
    color: #2c3e50;
    font-weight: 600;
}

.panel-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

.status-maintenance {
    background: #fff3cd;
    color: #856404;
}

.btn-primary {
    display: inline-block;
    padding: 10px 20px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #5568d3;
}

.btn-trustpilot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #00b67a;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-trustpilot:hover {
    background: #00a06a;
}

.no-panels {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.pagination .current {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.pagination .dots {
    border: none;
    background: transparent;
    color: #999;
    cursor: default;
}

.pagination .prev,
.pagination .next {
    padding: 0 16px;
}