/*
 * Stylesheet for SheStreamsLive.com
 * Version: 2.0
 * Author: G
 * Description: A unique theme with renamed classes (ssl-* prefix) using light pink, grey, white, and black.
 */

/* --- CSS Variables - Color Palette --- */
:root {
    --color-primary-pink: #FFC0CB; /* Light Pink */
    --color-background-grey: #f0f2f5; /* Light Grey */
    --color-background-white: #FFFFFF;
    --color-text-dark: #1c1e21; /* Black */
    --color-text-light: #4b4f56;
    --color-accent-gold: #FFD700;
    --color-live-red: #e60023;
    --font-primary: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* --- General Body & Typography --- */
body {
    background-color: var(--color-background-grey);
    color: var(--color-text-dark);
    font-family: var(--font-primary);
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--color-text-dark);
    margin-top: 0;
    margin-bottom: 0.5rem;
}

a {
    color: var(--color-primary-pink);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #e0a8b3;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Layout Wrappers --- */
.ssl-content-wrapper {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}
.ssl-content-wrapper-full {
    width: 100%;
    margin: 2rem 0;
}

/* --- Header --- */
.ssl-site-header {
    background-color: var(--color-background-white);
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.ssl-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.ssl-site-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-text-dark);
    text-decoration: none;
}
.ssl-site-logo:hover {
    color: var(--color-primary-pink);
}
.ssl-main-nav {
    display: flex;
    gap: 25px;
}
.ssl-main-nav a {
    color: var(--color-text-light);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}
.ssl-main-nav a:hover,
.ssl-main-nav a.active {
    color: var(--color-text-dark);
    border-bottom-color: var(--color-primary-pink);
}
.ssl-header-search .ssl-search-form {
    display: flex;
}
.ssl-header-search input[type="text"] {
    border: 1px solid #ccc;
    padding: 8px 12px;
    border-radius: 20px 0 0 20px;
    outline: none;
}
.ssl-header-search button {
    background: var(--color-primary-pink);
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
}

/* --- Footer --- */
.ssl-site-footer {
    background-color: #333;
    color: #ccc;
    padding: 2rem 0;
    margin-top: 3rem;
    font-size: 0.9rem;
}
.ssl-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.ssl-footer-container p {
    margin: 0.5rem 0;
}
.ssl-footer-links a {
    color: #fff;
    margin: 0 10px;
}
.ssl-footer-links a:hover {
    color: var(--color-primary-pink);
}

/* --- Homepage Hero Section --- */
.ssl-hero-section {
    background: url('https://placehold.co/1600x500/e0a8b3/FFFFFF?text=SheStreamsLive.com') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 5rem 1rem;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}
.ssl-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}
.ssl-hero-content {
    position: relative;
    z-index: 2;
}
.ssl-hero-content h1 {
    font-size: 3rem;
    color: white;
}
.ssl-hero-subtitle {
    font-size: 1.25rem;
    color: #eee;
}

/* --- Model/Performer Cards --- */
.ssl-model-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 2rem;
}
.ssl-model-card {
    background-color: var(--color-background-white);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ssl-model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}
.ssl-model-card a {
    text-decoration: none;
}
.ssl-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem 1rem 1rem;
    color: white;
}
.ssl-model-name {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}
.ssl-model-cta {
    font-size: 0.9rem;
    color: var(--color-primary-pink);
    font-weight: 500;
}
.ssl-live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--color-live-red);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 3;
}
.ssl-featured-badge {
    position: absolute;
    top: 10px;
    right: -35px;
    background-color: var(--color-accent-gold);
    color: black;
    padding: 8px 40px;
    font-weight: bold;
    transform: rotate(45deg);
    z-index: 3;
}

/* --- Pagination Styling --- */
.ssl-pagination {
    margin: 40px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

/* Style the links and the current page span */
.ssl-pagination a, 
.ssl-pagination span {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    background: #fff;
}

/* Hover Effect */
.ssl-pagination a:hover {
    background-color: #e0a8b3; /* Your Brand Pink */
    color: white;
    border-color: #e0a8b3;
}

/* Active Page (Current Page) */
.ssl-pagination span.current, 
.ssl-pagination .active {
    background-color: #333;
    color: white;
    border-color: #333;
    cursor: default;
}

/* "Next" and "Prev" specific styling if needed */
.ssl-pagination .prev, 
.ssl-pagination .next {
    background-color: #f9f9f9;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .ssl-pagination a, 
    .ssl-pagination span {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

.ssl-pagination .dots {
    padding: 8px 10px;
    color: #999;
    font-weight: bold;
}


/* --- Profile Page --- */
.ssl-profile-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
}
.ssl-profile-main .ssl-section-heading,
.ssl-profile-sidebar .ssl-widget-title {
    font-size: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary-pink);
    margin-bottom: 1.5rem;
}
.ssl-live-feed {
    background: black;
    border-radius: 8px;
    overflow: hidden;
}
.ssl-profile-sidebar {
    background-color: var(--color-background-white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.ssl-sidebar-header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.ssl-sidebar-thumb {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--color-primary-pink);
    margin: 0 auto 1rem;
}
.ssl-profile-subtitle {
    color: var(--color-text-light);
    margin: 0;
}
.ssl-cta-button {
    display: block;
    background-color: var(--color-primary-pink);
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 1.5rem 0;
}
.ssl-cta-button:hover {
    background-color: #e0a8b3;
    color: white;
    text-decoration: none;
}
.ssl-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.ssl-details-grid > div {
    background: var(--color-background-grey);
    padding: 8px;
    border-radius: 5px;
}
.ssl-tags-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ssl-tags-list li a {
    display: block;
    background: var(--color-background-grey);
    color: var(--color-text-dark);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
}
.ssl-tags-list li a:hover {
    background: var(--color-primary-pink);
    color: white;
    text-decoration: none;
}

/* --- FAQ Section --- */
.ssl-faq-section {
    margin-top: 3rem;
}
.ssl-faq-item {
    background: var(--color-background-white);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.ssl-faq-item h4 {
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
}

/* --- Blog Styling --- */
.ssl-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}
.ssl-blog-card {
    background: var(--color-background-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.07);
}
.ssl-card-text {
    padding: 20px;
}
.ssl-article-category {
    display: inline-block;
    background-color: var(--color-primary-pink);
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.ssl-article-category:hover {
    background-color: #e0a8b3;
    color: white;
    text-decoration: none;
}
.ssl-card-text h4 a {
    color: var(--color-text-dark);
    text-decoration: none;
}
.ssl-card-text h4 a:hover {
    color: var(--color-primary-pink);
}
.ssl-read-more-link {
    font-weight: bold;
}

/* --- Post Hero --- */
.ssl-post-hero {
     position: relative;
     height: 400px;
     color: white;
     display: flex;
     align-items: center;
     justify-content: center;
     text-align: center;
}
.ssl-post-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}
.ssl-post-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2;
}
.ssl-post-hero-content {
    position: relative;
    z-index: 3;
    padding: 20px;
}
.ssl-post-hero-content h1 {
    color: white;
    font-size: 2.5rem;
}
.ssl-article-meta {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #eee;
}

/* --- General Utility --- */
.ssl-page-header {
    background-color: var(--color-background-white);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
}
.ssl-no-results {
    background: var(--color-background-white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    grid-column: 1 / -1; /* Span full width of grid */
}
/* Add these new rules to your stylesheet.css */

.ssl-stream-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--color-primary-pink);
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
}

.ssl-stream-header .ssl-section-heading {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Styles for the status badge itself */
.ssl-status-badge {
    font-size: 0.9rem;
    font-weight: bold;
    padding: 6px 15px;         /* Creates space inside the button */
    border-radius: 20px;      /* This makes the corners fully rounded */
    color: white;             /* Sets the text color to white */
    text-transform: uppercase;
    flex-shrink: 0;
    margin-left: 1rem;
}

/* Red color for when the model is online */
.ssl-status-badge.online {
    background-color: #e60023; /* A vibrant live red */
}

/* Grey color for when the model is offline */
.ssl-status-badge.offline {
    background-color: #4b4f56; /* A dark grey for offline status */
}
/*
 * SheStreamsLive.com - Admin Dashboard Styles
 */

/* --- Admin Login Page --- */
.admin-login-page {
    background-color: var(--color-background-grey);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-card {
    background: var(--color-background-white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}
.login-card h1 {
    margin-bottom: 0.5rem;
}
.login-card p {
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
}
.login-card .form-group {
    text-align: left;
    margin-bottom: 1rem;
}
.login-card button[type="submit"] {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background: var(--color-primary-pink);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.login-card button[type="submit"]:hover {
    background: #e0a8b3;
}


/* --- Main Admin Body & Layout --- */
.admin-body {
    background-color: var(--color-background-grey);
}
.admin-header {
    background-color: var(--color-text-dark);
    color: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.admin-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}
.admin-header h2 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
}
.admin-header .logout-btn {
    color: white;
    background: var(--color-primary-pink);
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}
.admin-grid-layout {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 30px;
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}
.admin-main {
    grid-column: 1 / 2;
}
.admin-sidebar {
    grid-column: 2 / 3;
}


/* --- General Admin Components --- */
.admin-card {
    background: var(--color-background-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}
.admin-card .card-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
}
.admin-card .card-header h3 {
    margin: 0;
    font-size: 1.2rem;
}
.admin-card .card-body {
    padding: 1.5rem;
}
.admin-card .card-body.no-padding {
    padding: 0;
}


/* --- Forms --- */
.post-form .form-group {
    margin-bottom: 1.5rem;
}
.post-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--color-text-light);
}
.post-form input[type="text"],
.post-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}
.post-form input[type="text"]:focus,
.post-form textarea:focus {
    outline: none;
    border-color: var(--color-primary-pink);
    box-shadow: 0 0 0 2px rgba(255, 192, 203, 0.5);
}
.post-form .form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}


/* --- Tables --- */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}
.admin-table th, .admin-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.admin-table th {
    background-color: #f9f9f9;
    font-weight: bold;
}
.admin-table tbody tr:last-child td {
    border-bottom: none;
}
.admin-table tbody tr:hover {
    background-color: #f5f5f5;
}
.admin-table .actions-cell {
    text-align: right;
    white-space: nowrap;
}


/* --- Buttons & Actions --- */
.action-btn {
    display: inline-block;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.action-btn:hover {
    opacity: 0.8;
}
.action-btn.create { background-color: var(--color-primary-pink); }
.action-btn.cancel { background-color: var(--color-text-light); }
.action-btn.view { background-color: #3498db; }
.action-btn.edit { background-color: #f1c40f; }
.action-btn.delete { background-color: #e74c3c; }
.actions-cell .action-btn {
    padding: 6px 10px;
}
.actions-cell .action-btn + .action-btn {
    margin-left: 5px;
}


/* --- Notices --- */
.notice {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: bold;
}
.notice.success { background-color: #2ecc71; }
.notice.error { background-color: #e74c3c; }
/*
 * SheStreamsLive.com - NEW Blog Layout Styles
 */

.ssl-blog-layout-grid {
    display: grid;
    grid-template-columns: 1fr 320px; /* Main content and a sidebar */
    gap: 40px;
}

/* Main content area for posts */
.ssl-blog-main {
    grid-column: 1 / 2;
}

/* Sidebar Styles */
.ssl-blog-sidebar {
    grid-column: 2 / 3;
}
.ssl-sidebar-widget {
    background: var(--color-background-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}
.ssl-sidebar-widget .widget-title {
    font-size: 1.3rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary-pink);
    margin-bottom: 1rem;
}
.ssl-category-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.ssl-category-nav a {
    color: var(--color-text-dark);
    text-decoration: none;
    padding: 8px;
    border-radius: 5px;
}
.ssl-category-nav a:hover {
    background-color: var(--color-background-grey);
    color: var(--color-primary-pink);
}
.ssl-category-nav a.active {
    background-color: var(--color-primary-pink);
    color: white;
    font-weight: bold;
}


/* Homepage Blog Section - Centered Layout */
.ssl-home-blog {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    width: 100%;
    text-align: center; /* Centers text elements like headings */
}

.ssl-blog-grid {
    display: grid;
    /* This setup creates flexible columns that stay centered */
    grid-template-columns: repeat(auto-fit, minmax(300px, 350px)); 
    gap: 20px;
    margin-top: 20px;
    justify-content: center; /* CRITICAL: This centers the cards if there are only 1 or 2 */
}

.ssl-blog-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: left; /* Keeps text inside the card readable */
}

.ssl-blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.ssl-blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.ssl-card-text {
    padding: 15px;
}

.ssl-article-category-sm {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #e0a8b3; 
    font-weight: bold;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 5px;
}

.ssl-blog-card h4 {
    margin: 8px 0;
    font-size: 1.1rem;
    line-height: 1.3;
}

.ssl-blog-card h4 a {
    color: #333;
    text-decoration: none;
}

.ssl-blog-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

.ssl-view-all-btn {
    display: inline-block;
    padding: 10px 30px; /* Wider button looks better centered */
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.ssl-view-all-btn:hover {
    background-color: #e0a8b3;
}