@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"); #scc-dashboard-wrapper {
font-family: 'Inter', sans-serif;
background-color: #ffffff;
color: #111;
padding: 60px 20px;
box-sizing: border-box;
}
#scc-dashboard-wrapper * {
box-sizing: border-box;
}
.scc-container {
max-width: 1200px;
margin: 0 auto;
} .scc-content-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 40px;
}
.scc-header-left {
display: flex;
align-items: center;
gap: 32px;
}
#scc-page-title {
font-size: 36px;
font-weight: 800;
margin: 0;
color: #000;
} .scc-tabs {
display: flex;
gap: 8px;
background: #f1f5f9;
padding: 4px;
border-radius: 999px;
}
.scc-tab {
background: transparent;
border: none;
padding: 8px 20px;
border-radius: 999px;
font-size: 14px;
font-weight: 600;
color: #64748b;
cursor: pointer;
transition: all 0.2s;
}
.scc-tab.active {
background: #fff;
color: #0f172a;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.scc-tab:hover:not(.active) {
color: #334155;
} .scc-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 32px;
} .scc-card {
background: #fff;
display: flex;
flex-direction: column;
transition: transform 0.2s ease;
cursor: pointer;
}
.scc-card:hover {
transform: translateY(-4px);
}
.scc-card-image {
width: 100%;
aspect-ratio: 16/10;
background-color: #f3f4f6;
border-radius: 16px;
overflow: hidden;
margin-bottom: 20px;
position: relative;
}
.scc-card-image img {
width: 100%;
height: 100%;
object-fit: cover;
} .scc-pill {
display: inline-block;
background: #000;
color: #fff;
padding: 6px 14px;
border-radius: 999px;
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
margin-bottom: 12px;
}
.scc-pill.draft {
background: #e5e5e5;
color: #555;
}
.scc-card-title {
font-size: 20px;
font-weight: 700;
margin: 0 0 12px 0;
line-height: 1.4;
color: #000;
}
.scc-card-meta {
font-size: 13px;
color: #666;
margin-bottom: 20px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.scc-btn-readmore {
display: inline-flex;
align-items: center;
justify-content: center;
background: #000;
color: #fff;
border: none;
padding: 10px 24px;
border-radius: 999px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
text-decoration: none;
transition: background 0.2s;
}
.scc-btn-readmore:hover {
background: #333;
} .scc-btn {
padding: 10px 20px;
border-radius: 999px;
font-weight: 600;
cursor: pointer;
border: none;
font-size: 14px;
display: inline-flex;
align-items: center;
gap: 6px;
font-family: inherit;
}
.scc-btn-black {
background: #000;
color: #fff;
}
.scc-btn-black:hover {
background: #333;
color: #fff;
}
.scc-btn-secondary {
background: #f3f4f6;
color: #111;
}
.scc-btn-secondary:hover {
background: #e5e7eb;
} .scc-cat-list {
display: flex;
flex-direction: column;
gap: 12px;
}
.scc-cat-item {
background: #fff;
border: 1px solid #e2e8f0;
border-radius: 12px;
padding: 20px;
display: flex;
justify-content: space-between;
align-items: center;
transition: all 0.2s;
}
.scc-cat-item:hover {
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
border-color: #cbd5e1;
}
.scc-cat-info {
display: flex;
flex-direction: column;
}
.scc-cat-actions {
display: flex;
align-items: center;
gap: 12px;
}
.scc-badge {
background: #f1f5f9;
color: #64748b;
padding: 4px 10px;
border-radius: 6px;
font-size: 12px;
font-weight: 600;
} .scc-modal {
position: fixed;
inset: 0;
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(5px);
display: flex;
justify-content: center;
align-items: center;
z-index: 99999;
}
.scc-modal.hidden {
display: none;
}
.scc-modal-card {
background: #fff;
width: 700px;
max-width: 90%;
border-radius: 24px;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
padding: 40px;
max-height: 90vh;
overflow-y: auto;
border: 1px solid #eee;
}
.scc-modal-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 30px;
}
.scc-modal-header h2 {
margin: 0;
font-size: 24px;
font-weight: 800;
}
.scc-close-modal {
background: none;
border: none;
font-size: 28px;
cursor: pointer;
color: #999;
} .scc-form-group {
margin-bottom: 24px;
}
.scc-form-group.scc-media-upload {
text-align: center;
} .scc-form-group label {
display: block;
margin-bottom: 8px;
font-weight: 700;
font-size: 14px;
color: #000;
}
.scc-form-group input,
.scc-form-group textarea,
.scc-form-group select {
width: 100%;
padding: 14px 20px;
border-radius: 12px;
border: 1px solid #e5e5e5;
background: #f9f9f9;
font-size: 15px;
font-family: inherit;
outline: none;
}
.scc-form-group input:focus,
.scc-form-group textarea:focus {
background: #fff;
border-color: #000;
} .scc-row-group {
display: flex;
gap: 20px;
}
.scc-half {
flex: 1;
}
#scc-image-preview-container {
width: 100%;
height: 250px;
background: #f3f4f6;
border-radius: 16px;
margin-bottom: 12px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
position: relative;
border: 2px dashed #e5e7eb;
}
#scc-image-preview-container img {
width: 100%;
height: 100%;
object-fit: cover;
}
.scc-placeholder-image {
text-align: center;
color: #999;
}
.scc-placeholder-image .dashicons {
font-size: 32px;
width: 32px;
height: 32px;
margin-bottom: 8px;
}
.scc-form-footer {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 30px;
}
.scc-loading {
text-align: center;
padding: 60px;
color: #666;
font-weight: 500;
} .gamipress-user-points {
display: flex !important;
gap: 16px !important;
flex-wrap: wrap;
margin-top: 10px;
}
.gamipress-user-points-item {
flex: 1;
min-width: 140px;
background: #fff !important;
border: 1px solid #e2e8f0 !important;
border-radius: 16px !important;
padding: 16px 20px !important;
display: flex !important;
align-items: center !important;
justify-content: center;
gap: 12px !important;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
transition: all 0.2s ease !important;
text-decoration: none !important;
}
.gamipress-user-points-item:hover {
transform: translateY(-3px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
border-color: #cbd5e1 !important;
}
.gamipress-user-points-thumbnail {
margin: 0 !important;
line-height: 0;
}
.gamipress-user-points-thumbnail img {
width: 36px !important;
height: 36px !important;
object-fit: contain;
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}
.gamipress-user-points-amount {
font-size: 20px !important;
font-weight: 800 !important;
color: #1e293b !important;
line-height: 1;
}
.gamipress-user-points-label {
font-size: 13px !important;
font-weight: 600 !important;
color: #64748b !important;
margin-left: 4px;
} .scc-comment-list {
display: flex;
flex-direction: column;
gap: 16px;
max-width: 900px;
margin: 0 auto;
}
.scc-comment-item {
display: flex;
gap: 20px;
background: #fff;
border: 1px solid #e5e7eb;
border-radius: 16px;
padding: 24px;
transition: all 0.2s;
}
.scc-comment-item.pending {
border-left: 4px solid #000;
background: #fafafa;
}
.scc-comment-avatar {
flex-shrink: 0;
}
.scc-comment-avatar img {
width: 48px;
height: 48px;
border-radius: 50%;
object-fit: cover;
background: #f3f4f6;
}
.scc-comment-avatar .dashicons {
width: 48px;
height: 48px;
font-size: 40px;
color: #cbd5e1;
display: flex;
align-items: center;
justify-content: center;
}
.scc-comment-body {
flex: 1;
min-width: 0;
}
.scc-comment-meta {
font-size: 14px;
color: #64748b;
margin-bottom: 8px;
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
}
.scc-comment-meta strong {
color: #0f172a;
font-weight: 700;
}
.scc-comment-meta span {
color: #3b82f6;
font-weight: 500;
}
.scc-comment-content {
font-size: 15px;
line-height: 1.6;
color: #334155;
margin-bottom: 16px;
}
.scc-comment-content p {
margin: 0;
}
.scc-comment-actions {
display: flex;
gap: 8px;
}
.scc-btn-sm {
padding: 6px 16px;
font-size: 12px;
}
.scc-badge-status {
padding: 2px 8px;
border-radius: 4px;
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
}
.scc-badge-status.pending {
background: #fef3c7;
color: #92400e;
}
.scc-badge-status.approved {
background: #dcfce7;
color: #166534;
}
.scc-list {
display: block;
} .scc-checkbox-list {
border: 1px solid #e5e5e5;
border-radius: 12px;
padding: 12px;
max-height: 200px;
overflow-y: auto;
background: #f9f9f9;
display: flex;
flex-direction: column;
gap: 8px;
}
.scc-checkbox-item { .scc-list-view {
display: flex;
flex-direction: column;
gap: 16px;
}
.scc-list-view .scc-card {
flex-direction: row;
align-items: center;
padding: 16px;
height: auto;
gap: 20px;
}
.scc-list-view .scc-card-image {
width: 120px;
height: 80px;
border-radius: 8px;
margin-bottom: 0;
flex-shrink: 0;
}
.scc-list-view .scc-card>div:last-child {
flex: 1;
display: flex;
align-items: center;
justify-content: space-between;
}
.scc-list-view .scc-card-title {
font-size: 16px;
margin-bottom: 4px;
}
.scc-list-view .scc-card-meta {
margin-bottom: 0;
font-size: 12px;
}
.scc-list-view .scc-pill {
padding: 4px 10px;
font-size: 11px;
margin-bottom: 0;
margin-right: 12px;
}
.scc-list-view .scc-excerpt {
display: none; } @media (max-width: 768px) {
.scc-list-view .scc-card {
flex-direction: column;
align-items: flex-start;
}
.scc-list-view .scc-card-image {
width: 100%;
height: 200px;
}
.scc-list-view .scc-card>div:last-child {
width: 100%;
display: block;
}
}
display: flex;
align-items: center;
padding: 4px 6px;
font-size: 14px;
color: #333;
cursor: pointer;
border-radius: 6px;
transition: background 0.2s;
}
.scc-checkbox-item:hover {
background: #eee;
}
.scc-checkbox-item input[type="checkbox"] {
appearance: auto; margin-right: 10px;
width: 16px;
height: 16px;
min-width: 16px;
margin-top: 0;
cursor: pointer;
border: 1px solid #ccc;
background: #fff;
padding: 0;
} .scc-comment-filters {
display: flex;
gap: 16px;
margin-bottom: 24px;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
background: #fff;
padding: 16px;
border-radius: 16px;
border: 1px solid #e5e7eb;
}
.scc-filter-group {
display: flex;
background: #f1f5f9;
border-radius: 8px;
padding: 4px;
gap: 2px;
}
.scc-filter-btn {
border: none;
background: transparent;
padding: 8px 16px;
border-radius: 6px;
font-size: 13px;
color: #64748b;
cursor: pointer;
font-weight: 600;
transition: all 0.2s;
}
.scc-filter-btn.active {
background: #fff;
color: #0f172a;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.scc-filter-btn:hover:not(.active) {
color: #334155;
}
.scc-search-box {
position: relative;
flex: 1;
max-width: 320px;
}
.scc-search-box input {
width: 100%;
padding: 10px 12px 10px 40px;
border: 1px solid #e2e8f0;
border-radius: 8px;
font-size: 14px;
background: #f8fafc;
}
.scc-search-box input:focus {
background: #fff;
border-color: #000;
}
.scc-search-box .dashicons {
position: absolute;
left: 12px;
top: 50%;
transform: translateY(-50%);
color: #94a3b8;
font-size: 18px;
}