/* General */
.sc-btn {
    background-color: #3b82f6;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
}

.sc-btn:hover {
    background-color: #2563eb;
}

.sc-btn-full {
    width: 100%;
}

.sc-form-group {
    margin-bottom: 15px;
}

.sc-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.sc-form-group input,
.sc-form-group textarea,
.sc-form-group select {
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* Verification Board */
.sc-verification-board {
    max-width: 800px;
    margin: 0 auto;
}

.sc-verification-form-wrapper {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.sc-verification-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.sc-ver-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #888;
    font-size: 14px;
}

.sc-ver-content img {
    max-width: 100%;
    border-radius: 5px;
    margin-top: 10px;
}

/* Manager Dashboard */
.sc-manager-dashboard {
    background: #f8f9fa;
    padding: 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.sc-manager-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.sc-header-title h2 {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 5px 0;
    color: #111827;
}

.sc-header-title p {
    color: #6b7280;
    margin: 0;
}

.sc-header-actions {
    display: flex;
    gap: 10px;
}

.sc-btn-outline {
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 10px 20px;
    border-radius: 8px;
    color: #374151;
    font-weight: 600;
    cursor: pointer;
}

.sc-btn-primary {
    background: #2563eb;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

.sc-manager-tabs {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 30px;
}

.sc-tab {
    background: none;
    border: none;
    padding: 15px 0;
    font-size: 16px;
    color: #6b7280;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid transparent;
}

.sc-tab.active {
    color: #2563eb;
    border-bottom: 2px solid #2563eb;
}

.sc-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.sc-card-header {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f3f4f6;
}

.sc-card-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.sc-badge-blue {
    background: #eff6ff;
    color: #2563eb;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.sc-table-responsive {
    width: 100%;
    overflow-x: auto;
}

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

.sc-table th {
    text-align: left;
    padding: 15px 30px;
    color: #6b7280;
    font-weight: 600;
    font-size: 14px;
    background: #f9fafb;
}

.sc-table td {
    padding: 20px 30px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

.sc-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sc-avatar {
    width: 40px;
    height: 40px;
    background: #dbeafe;
    color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.sc-user-name {
    font-weight: 700;
    color: #111827;
}

.sc-user-email {
    font-size: 13px;
    color: #6b7280;
}

.sc-board-badge {
    background: #f3f4f6;
    color: #374151;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 13px;
}

.sc-status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.sc-status-badge.pending {
    background: #fffbeb;
    color: #d97706;
}

.sc-status-badge.approved {
    background: #dcfce7;
    color: #16a34a;
}

.sc-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sc-action-link {
    background: none;
    border: none;
    color: #2563eb;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}

.sc-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.sc-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.sc-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e5e7eb;
    transition: .4s;
    border-radius: 24px;
}

.sc-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.sc-slider {
    background-color: #2563eb;
}

input:checked+.sc-slider:before {
    transform: translateX(20px);
}

.sc-toggle-label {
    margin-left: 50px;
    font-size: 14px;
    color: #374151;
    line-height: 24px;
}

.sc-card-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #f3f4f6;
}

.sc-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

/* Board Cards */
.sc-section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sc-boards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.sc-board-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.sc-board-card.new {
    border: 2px dashed #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    box-shadow: none;
    min-height: 300px;
}

.sc-new-board-link {
    text-align: center;
    text-decoration: none;
    color: #6b7280;
}

.sc-plus-icon {
    width: 50px;
    height: 50px;
    background: #6b7280;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 10px;
}

.sc-board-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.sc-board-header h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
}

.sc-date {
    font-size: 13px;
    color: #9ca3af;
}

.sc-board-settings {
    background: #f9fafb;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.sc-setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #374151;
    font-weight: 600;
}

.sc-toggle-small {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

.sc-toggle-small input {
    opacity: 0;
    width: 0;
    height: 0;
}

.sc-slider-small {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e5e7eb;
    transition: .4s;
    border-radius: 20px;
}

.sc-slider-small:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.sc-slider-small {
    background-color: #2563eb;
}

input:checked+.sc-slider-small:before {
    transform: translateX(16px);
}

.sc-btn-block {
    width: 100%;
    background: #e5e7eb;
    color: #374151;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* Slider */
.sc-slider-container {
    overflow: hidden;
    padding: 20px 0;
    position: relative;
    max-width: 100%;
}

.sc-slider-wrapper {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.sc-slide-item {
    width: 320px;
    min-width: 320px;
    max-width: 320px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 0;
    padding: 0;
    transition: transform 0.3s ease;
}

.sc-slide-item:hover {
    transform: translateY(-5px);
}

.sc-slide-item img {
    width: 320px !important;
    height: 240px !important;
    min-width: 320px !important;
    min-height: 240px !important;
    max-width: 320px !important;
    max-height: 240px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 16px !important;
    margin-bottom: 0 !important;
    display: block !important;
}

.sc-slide-placeholder {
    width: 320px;
    height: 240px;
    min-width: 320px;
    min-height: 240px;
    background: #f3f4f6;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    margin-bottom: 0;
}

.sc-slide-placeholder .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
}

.sc-slide-desc {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    text-align: left;
    padding: 15px;
}

.sc-slide-empty {
    width: 100%;
    padding: 40px;
    text-align: center;
    color: #9ca3af;
    font-size: 16px;
}

/* Professional Redesign for sc_verification */
:root {
    --sc-primary: #3b82f6;
    --sc-primary-dark: #2563eb;
    --sc-bg: #f3f4f6;
    --sc-card-bg: #ffffff;
    --sc-text-main: #1f2937;
    --sc-text-sub: #6b7280;
    --sc-border: #e5e7eb;
    --sc-radius: 16px;
    --sc-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.sc-verification-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--sc-text-main);
}

@media (max-width: 900px) {
    .sc-verification-container {
        grid-template-columns: 1fr;
    }
}

/* Cards */
.sc-verification-card,
.sc-sidebar-widget,
.sc-feed-item {
    background: var(--sc-card-bg);
    border-radius: var(--sc-radius);
    box-shadow: var(--sc-shadow);
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid var(--sc-border);
}

.sc-verification-card h3,
.sc-sidebar-widget h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px;
    color: var(--sc-text-main);
}

/* Form Elements */
.sc-form-group {
    margin-bottom: 20px;
}

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

.sc-form-group input[type="text"],
.sc-form-group textarea,
.sc-form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--sc-border);
    border-radius: 12px;
    font-size: 15px;
    background: #f9fafb;
    transition: all 0.2s;
}

.sc-form-group input:focus,
.sc-form-group textarea:focus,
.sc-form-group select:focus {
    outline: none;
    border-color: var(--sc-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* File Upload */
.sc-file-upload-area {
    border: 2px dashed var(--sc-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    background: #f9fafb;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.sc-file-upload-area:hover {
    border-color: var(--sc-primary);
    background: #eff6ff;
}

.sc-file-upload-area input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.sc-file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--sc-text-sub);
}

.sc-file-label .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: var(--sc-primary);
}

.sc-file-label small {
    font-size: 12px;
}

/* Buttons */
.sc-btn-primary-lg {
    background: var(--sc-primary);
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
}

.sc-btn-primary-lg:hover {
    background: var(--sc-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

.sc-btn-outline-full {
    background: transparent;
    color: var(--sc-primary);
    border: 2px solid var(--sc-primary);
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
    transition: all 0.2s;
}

.sc-btn-outline-full:hover {
    background: var(--sc-primary);
    color: #fff;
}

/* Stats Widgets */
.sc-stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 16px;
    margin-bottom: 15px;
}

.sc-stat-card.primary {
    background: #eff6ff;
}

.sc-stat-icon {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.sc-stat-icon .dashicons {
    color: var(--sc-primary);
    font-size: 24px;
}

.sc-stat-info .label {
    display: block;
    font-size: 13px;
    color: var(--sc-text-sub);
    margin-bottom: 4px;
}

.sc-stat-info .value {
    display: block;
    font-size: 18px;
    font-weight: 800;
}

.sc-stat-info .trend {
    font-size: 12px;
    font-weight: 600;
}

.sc-stat-info .trend.up {
    color: #10b981;
}

/* Progress List */
.sc-progress-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--sc-border);
}

.sc-progress-item:last-child {
    border-bottom: none;
}

.sc-progress-item .icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sc-progress-item .icon.home {
    background: #fee2e2;
    color: #ef4444;
}

.sc-progress-item .icon.chart {
    background: #fef3c7;
    color: #f59e0b;
}

.sc-progress-item .label {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.sc-progress-item .value {
    font-weight: 700;
    color: var(--sc-primary);
}

/* Feed Items */
.sc-feed-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.sc-feed-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.sc-feed-meta {
    flex: 1;
}

.sc-feed-name {
    display: block;
    font-weight: 700;
    font-size: 15px;
}

.sc-feed-time {
    font-size: 13px;
    color: var(--sc-text-sub);
}

.sc-feed-badge {
    background: #f3f4f6;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.sc-feed-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.sc-feed-content {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 20px;
}

.sc-feed-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.sc-feed-photos img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
}

/* Feed Actions (Updated - Override) */
.sc-feed-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f3f4f6;
    margin-top: 15px;
}

.sc-feed-actions-left {
    display: flex;
    gap: 15px;
}

.sc-feed-actions-right {
    display: flex;
    gap: 8px;
}

.sc-delete-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    color: #6b7280;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sc-delete-btn:hover {
    background: #fef2f2;
    color: #ef4444;
}

.sc-delete-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.sc-feed-actions {
    max-width: none;
    box-shadow: none;
    overflow: visible;
    display: block;
}

.sc-like-btn,
.sc-comment-btn,
.sc-share-btn,
.sc-modal-like-btn,
.sc-comment-btn-static {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #9ca3af;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.sc-like-btn .dashicons,
.sc-comment-btn .dashicons,
.sc-share-btn .dashicons,
.sc-modal-like-btn .dashicons,
.sc-comment-btn-static .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.sc-like-btn:hover,
.sc-comment-btn:hover,
.sc-share-btn:hover {
    color: var(--sc-text-main);
}

.sc-like-btn.liked,
.sc-modal-like-btn.liked {
    color: #ef4444;
}

.sc-like-btn.liked .dashicons,
.sc-modal-like-btn.liked .dashicons {
    color: #ef4444;
}

.sc-modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--sc-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sc-modal-close {
    background: #f3f4f6;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sc-modal-body {
    padding: 24px;
}

.sc-rank-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 16px;
    margin-bottom: 10px;
}

.sc-rank-item.rank-1 {
    background: #fffbeb;
    border: 1px solid #fcd34d;
}

.sc-rank-item.rank-2 {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.sc-rank-item.rank-3 {
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.rank-num {
    font-weight: 800;
    font-size: 18px;
    width: 24px;
}

.rank-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.rank-name {
    flex: 1;
    font-weight: 600;
}

.rank-points {
    font-weight: 700;
    color: var(--sc-primary);
}

.sc-my-rank {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--sc-border);
    text-align: center;
}

/* Access Denied */
.sc-access-denied-container {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--sc-shadow);
    max-width: 500px;
    margin: 40px auto;
}

.sc-access-denied-icon {
    width: 80px;
    height: 80px;
    background: #fee2e2;
    color: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.sc-access-denied-icon .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
}

.sc-access-denied-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
}

.sc-access-denied-message {
    color: var(--sc-text-sub);
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Main Summary Shortcode */
.sc-main-summary {
    padding: 40px 0;
    background: #fff;
}

.sc-main-summary .sc-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.sc-main-summary .sc-stat-item {
    text-align: center;
}

.sc-main-summary .sc-stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 10px;
}

.sc-main-summary .sc-stat-number {
    font-size: 64px;
    font-weight: 800;
    color: #FF6B00;
    line-height: 1;
}

.sc-main-summary .sc-stat-label {
    font-size: 28px;
    font-weight: 700;
    color: #000;
}

.sc-main-summary .sc-stat-desc {
    font-size: 20px;
    font-weight: 600;
    color: #000;
}

@media (max-width: 768px) {
    .sc-main-summary .sc-stats {
        flex-direction: column;
        gap: 40px;
    }

    .sc-main-summary .sc-stat-number {
        font-size: 48px;
    }

    .sc-main-summary .sc-stat-label {
        font-size: 20px;
    }

    .sc-main-summary .sc-stat-desc {
        font-size: 16px;
    }
}

/* Split Modal Styles */
.sc-modal-split {
    max-width: 1000px;
    width: 90%;
    height: 80vh;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    padding: 0;
    /* Override default padding */
}

.sc-modal-left {
    flex: 1.2;
    background: #000;
    /* Dark background for image focus */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-y: auto;
}

.sc-modal-post-content {
    width: 100%;
    background: #fff;
    min-height: 100%;
    padding: 30px;
}

.sc-modal-image-container {
    margin: 20px 0;
    background: #f3f4f6;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sc-modal-image {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.sc-modal-right {
    flex: 0.8;
    border-left: 1px solid var(--sc-border);
    display: flex;
    flex-direction: column;
    background: #fff;
}

.sc-modal-header-simple {
    padding: 20px;
    border-bottom: 1px solid var(--sc-border);
}

.sc-modal-header-simple h3 {
    margin: 0;
    font-size: 18px;
}

.sc-modal-body-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.sc-modal-footer-input {
    padding: 24px;
    border-top: 1px solid var(--sc-border);
    background: #f9fafb;
}

.sc-comment-form-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.sc-comment-form-row input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    transition: all 0.2s ease;
    outline: none;
}

.sc-comment-form-row input:focus {
    border-color: #ec4899;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.08);
}

.sc-comment-form-row input::placeholder {
    color: #9ca3af;
    font-size: 13px;
}

.sc-btn-primary-sm {
    background: #ec4899;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.sc-btn-primary-sm:hover {
    background: #db2777;
}

.sc-btn-primary-sm:active {
    background: #be185d;
    transform: scale(0.98);
}

.sc-modal-close-floating {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 100;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Comments List */
.sc-comment-item {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.sc-comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.sc-comment-body {
    flex: 1;
}

.sc-comment-meta {
    margin-bottom: 4px;
}

.sc-comment-author {
    font-weight: 700;
    font-size: 14px;
    margin-right: 8px;
}

.sc-comment-date {
    font-size: 12px;
    color: #9ca3af;
}

.sc-comment-content {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .sc-modal-split {
        flex-direction: column;
        height: 90vh;
        overflow-y: auto;
    }

    .sc-modal-left,
    .sc-modal-right {
        flex: none;
        width: 100%;
        overflow: visible;
    }

    .sc-modal-right {
        border-left: none;
        border-top: 1px solid var(--sc-border);
    }
}


/* Compact Search Filter - New Design */
.sc-search-filter-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: #f9fafb;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: none;
}

.sc-filter-select {
    padding: 10px 32px 10px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23374151" d="M6 9L1 4h10z"/></svg>') no-repeat right 10px center;
    background-size: 12px;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    width: 90px;
}

.sc-filter-select:hover {
    border-color: #d1d5db;
    background-color: #f9fafb;
}

.sc-filter-select:focus {
    border-color: #ec4899;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
}

.sc-search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.sc-search-input-wrapper .dashicons {
    position: absolute;
    left: 14px;
    color: #9ca3af;
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.sc-filter-keyword-input {
    width: 100%;
    padding: 10px 14px 10px 50px !important;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    background: #fff;
    transition: all 0.2s ease;
    outline: none;
}

.sc-filter-keyword-input:hover {
    background: #fff;
    border-color: #d1d5db;
}

.sc-filter-keyword-input:focus {
    background: #fff;
    border-color: #ec4899;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
}

.sc-filter-keyword-input::placeholder {
    color: #9ca3af;
}

.sc-period-toggle {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
    border: none !important;
    padding: 10px 24px;
    border-radius: 8px !important;
    font-size: 14px;
    font-weight: 700;
    color: #fff !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: -0.01em;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(236, 72, 153, 0.35);
}

.sc-period-toggle .dashicons {
    display: none;
}

.sc-period-toggle::before {
    display: none;
}

.sc-period-toggle:hover {
    color: #fff;
    background: linear-gradient(135deg, #db2777 0%, #be185d 100%);
}

.sc-period-toggle.active {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: #fff;
    box-shadow: 0 3px 8px rgba(236, 72, 153, 0.35);
}

.sc-period-toggle.active::before {
    width: 0;
}

.sc-btn-search-compact {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
    border: none !important;
    padding: 10px 24px;
    border-radius: 8px !important;
    font-size: 14px;
    font-weight: 700;
    color: #fff !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: -0.01em;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(236, 72, 153, 0.35);
}

.sc-btn-search-compact::before {
    display: none;
}

.sc-btn-search-compact:hover {
    color: #fff;
    background: linear-gradient(135deg, #db2777 0%, #be185d 100%);
}

.sc-btn-search-compact.active,
.sc-btn-search-compact:active {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: #fff;
    box-shadow: 0 3px 8px rgba(236, 72, 153, 0.35);
}

.sc-btn-search-compact.active::before,
.sc-btn-search-compact:active::before {
    width: 0;
}

/* Date Picker Dropdown */
.sc-date-picker-dropdown {
    position: relative;
    margin-top: 12px;
    margin-bottom: 12px;
}

.sc-date-picker-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sc-date-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sc-date-group label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
}

.sc-date-input {
    padding: 8px 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    color: #374151;
    outline: none;
    transition: all 0.2s ease;
}

.sc-date-input:focus {
    border-color: #ec4899;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
}

.sc-date-separator {
    color: #d1d5db;
    font-weight: 600;
    margin-top: 20px;
}

.sc-btn-date-apply,
.sc-btn-date-reset {
    padding: 8px 20px;
    border-radius: 8px !important;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 20px;
}

.sc-btn-date-apply {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
    color: white !important;
}

.sc-btn-date-apply:hover {
    background: linear-gradient(135deg, #db2777 0%, #be185d 100%);
}

.sc-btn-date-reset {
    background: #f3f4f6;
    color: #6b7280;
}

.sc-btn-date-reset:hover {
    background: #e5e7eb;
    color: #374151;
}

/* Pagination - Premium Design */
.sc-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 40px 0 30px;
    padding: 20px 0;
}

.sc-page-btn {
    min-width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    color: #4b5563;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sc-page-btn:hover {
    background: linear-gradient(135deg, #fef3f8 0%, #fce8f3 100%);
    border-color: #ec4899;
    color: #ec4899;
    box-shadow: 0 2px 6px rgba(236, 72, 153, 0.15);
    transform: translateY(-2px);
}

.sc-page-btn.active {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    border-color: #ec4899;
    color: white;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.35);
    transform: translateY(-1px);
}

.sc-page-prev,
.sc-page-next {
    font-size: 22px;
    padding: 0;
    width: 42px;
    font-weight: 600;
}

.sc-page-prev:hover,
.sc-page-next:hover {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: white;
}

/* Tab Filter Buttons */
.sc-feed-header {
    margin-bottom: 30px;
}

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

.sc-feed-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.sc-feed-filters {
    display: flex;
    gap: 8px;
    padding: 6px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}

.sc-feed-filters button {
    background: transparent;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: -0.01em;
}

.sc-feed-filters button::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ec4899 0%, #f472b6 100%);
    transition: width 0.3s ease;
}

.sc-feed-filters button:hover {
    color: #ec4899;
    background: rgba(236, 72, 153, 0.08);
}

.sc-feed-filters button.active {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: #fff;
    box-shadow: 0 3px 8px rgba(236, 72, 153, 0.35);
}

.sc-feed-filters button.active::before {
    width: 0;
}

/* Modal Overlay */
.sc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.sc-modal {
    background: #fff;
    border-radius: 20px;
    max-width: 90%;
    max-height: 90%;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
}

/* Larger image in modal */
.sc-modal-image {
    max-width: 100%;
    max-height: 600px;
    object-fit: contain;
    width: 100%;
}

.sc-modal-image-container {
    background: #f9fafb;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

/* Hide profile avatar in feed items */
.sc-feed-avatar {
    display: none;
}

/* Hide modal avatar */
.sc-modal-avatar {
    display: none;
}

/* Fix modal layout */
.sc-modal-split {
    width: 95%;
    max-width: 1100px;
    height: 85vh;
}

.sc-modal-left {
    background: #fff;
    flex: 1.3;
}

.sc-modal-image {
    max-height: 550px;
    width: 100%;
}

/* Cursor pointer for clickable elements */
.sc-open-modal-trigger {
    cursor: pointer;
}

.sc-feed-title.sc-open-modal-trigger:hover {
    color: #ec4899;
}

/* Faster modal - remove blur filter */
.sc-modal-overlay {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* File Upload Redesign */
.sc-file-upload-area {
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
    padding: 10px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.sc-file-upload-area:hover {
    border-color: #d1d5db;
    background: #f3f4f6;
}

.sc-upload-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    /* Let clicks pass through to input/label */
}

.sc-file-label {
    display: flex;
    flex-direction: row;
    /* Side by side */
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 100%;
    cursor: pointer;
    pointer-events: auto;
    /* Re-enable pointer events */
    text-align: left;
}

.sc-file-label .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #3b82f6;
    /* Blue icon */
    flex-shrink: 0;
}

.sc-label-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sc-file-label span {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.4;
}

.sc-file-label small {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

/* File Preview inside Drop Area */
.sc-file-preview {
    display: flex;
    gap: 10px;
    width: 100%;
    overflow-x: auto;
    padding: 5px;
    z-index: 10;
    /* Ensure it stays above placeholder if needed, though we hide placeholder */
    display: none;
    /* Hidden by default */
}

.sc-preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.sc-file-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.sc-remove-photo {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ef4444;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #fff;
    transition: transform 0.2s;
}

.sc-remove-photo:hover {
    transform: scale(1.1);
    background: #dc2626;
}

/* Hide original input but keep it functional */
#sc-photos {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 20;
    /* Ensure it covers everything for clicking */
}