:root {
    --bg-dark: #0a0a14;
    --bg-card: #141424;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    --glass: rgba(255, 255, 255, 0.03);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

button,
.btn {
    cursor: pointer;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background-color: var(--glass);
    border: 1px solid var(--border);
    color: white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 20, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 28px;
    height: 28px;
    background: var(--primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

nav a:hover {
    color: var(--text-main);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hero Section */
.hero {
    padding: 100px 0 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 540px;
}

.badge {
    display: inline-flex;
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

h1 span {
    color: var(--primary);
    display: block;
}

.hero-text {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.no-credit {
    font-size: 12px;
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
}

.dashboard-card {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border);
    padding: 12px;
    box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.dashboard-card img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

/* Trusted By */
.trusted-by {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.trusted-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.brand-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    opacity: 0.6;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
}

/* Features */
.features-section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Platform Experience */
.experience-section {
    padding: 120px 0;
}

.experience-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.experience-title-row h2 {
    font-size: 32px;
}

.experience-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.exp-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.exp-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.exp-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.exp-overlay h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.exp-overlay p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.exp-side-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.exp-side-card {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
}

.exp-side-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.icon-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
}

/* CTA Box */
.cta-box {
    margin: 120px 0;
    padding: 80px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(10, 10, 20, 0.5) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 32px;
    text-align: center;
}

.cta-box h2 {
    font-size: 48px;
    margin-bottom: 16px;
}

.cta-box p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Footer */
footer {
    padding: 100px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 280px;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.footer-col h5 {
    font-size: 16px;
    margin-bottom: 24px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--text-main);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 12px;
}

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

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
}

@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .experience-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    nav {
        display: none;
    }
}

/* Auth Layout */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    background-color: var(--bg-dark);
}

.auth-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    max-width: 600px;
}

.auth-right {
    flex: 1;
    background: linear-gradient(135deg, #141424 0%, #0a0a14 100%);
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--border);
}

@media (max-width: 992px) {
    .auth-right {
        display: none;
    }

    .auth-left {
        max-width: 100%;
        padding: 40px 24px;
        margin: 0 auto;
    }
}

.auth-header {
    margin-bottom: 40px;
}

.auth-header h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-muted);
}

/* Forms */
.form-group {
    margin-bottom: 24px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    color: white;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    font-size: 14px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.checkbox-group input {
    accent-color: var(--primary);
}

.forgot-link {
    color: var(--primary);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 32px 0;
    color: var(--text-muted);
    font-size: 12px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border);
}

.divider:not(:empty)::before {
    margin-right: 12px;
}

.divider:not(:empty)::after {
    margin-left: 12px;
}

.social-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.btn-social {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: white;
    font-size: 14px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.05);
}

.auth-footer {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

/* Info Side Panel */
.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 32px;
}

.info-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 32px;
}

.info-list {
    list-style: none;
    margin-bottom: 48px;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--text-main);
}

.check-circle {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 32px;
    border-radius: 16px;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    background: #4f46e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.testimonial-info h5 {
    font-size: 14px;
}

.testimonial-info p {
    font-size: 12px;
    color: var(--text-muted);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Centered Layout (Forgot Password) */
.auth-centered {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background-color: var(--bg-dark);
}

.centered-card {
    width: 100%;
    max-width: 480px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 48px;
    border-radius: 20px;
    text-align: center;
}

.centered-icon {
    width: 56px;
    height: 56px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
}

.error-message {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* Dashboard Layout */
.dash-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg-dark);
}

.sidebar {
    width: 260px;
    background: #0d0d1a;
    border-right: 1px solid var(--border);
    padding: 32px 16px;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
}

.sidebar-logo {
    margin-bottom: 48px;
    padding: 0 16px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

.nav-item i {
    width: 18px;
}

.sidebar-footer {
    padding: 16px;
}

.btn-new-post {
    width: 100%;
    margin-bottom: 16px;
}

/* Main Panel */
.main-panel {
    flex: 1;
    margin-left: 260px;
    padding: 32px 48px;
}

.dash-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.search-bar {
    position: relative;
    width: 400px;
}

.search-bar input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 16px 12px 44px;
    color: white;
}

.search-bar i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 18px;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.notif-btn {
    position: relative;
    color: var(--text-muted);
    cursor: pointer;
}

.notif-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-info {
    text-align: right;
}

.user-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.user-role {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
    background: #2563eb;
}

/* Overview Content */
.overview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}

.overview-header h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.overview-header p {
    color: var(--text-muted);
}

.time-filters {
    display: flex;
    background: var(--bg-card);
    border-radius: 10px;
    padding: 4px;
}

.time-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
}

.time-btn.active {
    background: var(--primary);
    color: white;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
}

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

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trend-badge {
    padding: 4px 8px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.trend-up {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.trend-down {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
}

/* Analytics Row */
.analytics-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.content-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 24px;
}

.card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
}

.view-report {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
}

/* Chart Placeholder */
.chart-placeholder {
    height: 300px;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding: 24px 0;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary), transparent);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
}

/* Account List */
.account-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.account-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.account-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.account-info {
    flex: 1;
}

.acc-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.acc-platform {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-online {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

/* Bottom Row */
.bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.post-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.post-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
}

.post-info {
    flex: 1;
}

.post-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.post-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.badge-scheduled {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

/* Top Performing */
.top-post-card {
    display: flex;
    gap: 20px;
    padding-top: 16px;
}

.top-post-img {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    object-fit: cover;
}

.top-post-content {
    flex: 1;
}

.top-post-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 12px;
}

.top-post-meta {
    font-size: 12px;
    color: var(--text-muted);
}

/* Integrations / Accounts Page */
.integrations {
    max-width: 1400px;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.platform-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.platform-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

.platform-card.platform-connected {
    border-color: rgba(16, 185, 129, 0.3);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, var(--bg-card) 100%);
}

.platform-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.platform-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.3);
}

.platform-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pill-connected {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-pill-not {
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.status-pill-reconnect {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.platform-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.platform-actions form {
    display: flex;
}

.btn-icon-only {
    padding: 12px;
    min-width: auto;
}

.btn-reconnect {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.btn-reconnect:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.3);
}

/* Request Integration Card */
.request-card {
    background: transparent;
    border: 2px dashed var(--border);
    cursor: pointer;
    min-height: 240px;
}

.request-card:hover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.03);
}

.request-plus-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Alert Messages */
.alert {
    padding: 12px 24px;
    border-radius: 12px;
    margin-bottom: 32px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Responsive */
@media (max-width: 768px) {
    .platform-grid {
        grid-template-columns: 1fr;
    }

    .main-panel {
        margin-left: 0;
        padding: 24px;
    }

    .sidebar {
        display: none;
    }
}
/* Create Post Page */
.post-create-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    align-items: start;
}

.post-form-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 24px;
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-accounts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.account-select-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.account-select-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.account-select-card.selected {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
}

.account-select-card input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.content-editor-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 24px;
}

.content-textarea {
    width: 100%;
    background: transparent;
    border: none;
    padding: 24px;
    color: white;
    font-family: inherit;
    font-size: 16px;
    resize: none;
    min-height: 200px;
}

.content-textarea:focus {
    outline: none;
}

.editor-toolbar {
    padding: 12px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toolbar-tools {
    display: flex;
    gap: 16px;
    color: var(--text-muted);
}

.tool-icon {
    cursor: pointer;
    transition: color 0.2s ease;
}

.tool-icon:hover {
    color: white;
}

.char-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.counter-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
}

.media-upload-area {
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-top: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.media-upload-area:hover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.02);
}

.upload-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    color: white;
    font-family: inherit;
}

.preview-panel {
    position: sticky;
    top: 32px;
}

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

.device-toggle {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 4px;
}

.toggle-btn {
    padding: 6px;
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
}

.toggle-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.preview-tabs {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.tab-item {
    padding-bottom: 12px;
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
}

.tab-item.active {
    color: white;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.preview-card {
    background: #1a1a2e;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--border);
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.btn-group {
    display: flex;
    gap: 12px;
}

@media (max-width: 1200px) {
    .post-create-grid {
        grid-template-columns: 1fr;
    }
    .preview-panel {
        position: static;
    }
}

/* Posts Table Styles */
.posts-header {
    margin-bottom: 32px;
}

.filters-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
}

.search-input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-input-wrapper input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 16px 12px 44px;
    color: white;
}

.filter-select {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0 16px;
    color: white;
    font-size: 14px;
}

.posts-table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
}

.posts-table {
    width: 100%;
    border-collapse: collapse;
}

.posts-table th {
    text-align: left;
    padding: 16px 24px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
}

.posts-table td {
    padding: 24px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.posts-table tr:last-child td {
    border-bottom: none;
}

.post-content-cell {
    display: flex;
    gap: 16px;
    max-width: 400px;
}

.post-thumb-small {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.post-text-preview {
    font-size: 14px;
    color: white;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-type-badge {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 4px;
}

.channel-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.channel-icon-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge-scheduled {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
}

.status-badge-published {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
}

.status-badge-failed {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
}

.status-badge-draft {
    background: rgba(156, 163, 175, 0.1);
    color: #9ca3af;
}

.performance-cell {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.performance-stat {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
}

.btn-pagination {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
}

.btn-pagination:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Settings Page Layout */
.settings-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: calc(100vh - 150px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
}

.settings-sidebar {
    background: rgba(255, 255, 255, 0.02);
    border-right: 1px solid var(--border);
    padding: 32px 16px;
}

.settings-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.settings-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.settings-nav-item i {
    width: 18px;
}

.settings-nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.settings-nav-item.active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

.settings-content {
    padding: 48px;
    max-width: 900px;
}

.profile-avatar-section {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 20px;
    margin-bottom: 32px;
}

.avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.settings-section-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.settings-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.settings-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.settings-input-wrapper i {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
}

.settings-input-wrapper input,
.settings-input-wrapper textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 16px;
    color: white;
    font-size: 14px;
}

.settings-input-wrapper.with-icon input {
    padding-left: 44px;
}

.floating-action-bar {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    background: #312e81; /* Indigo color from screenshot */
    border-radius: 16px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 32px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    z-index: 100;
    width: fit-content;
}

.unsaved-text {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.bar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-ghost {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.btn-white {
    background: white;
    color: black;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
