3335 lines
62 KiB
CSS
Executable File
3335 lines
62 KiB
CSS
Executable File
/* =========================================
|
|
MSPE Admin Panel Stylesheet
|
|
========================================= */
|
|
|
|
:root {
|
|
--primary: #0ea5e9;
|
|
--primary-dark: #0284c7;
|
|
--secondary: #0d9488;
|
|
--success: #10b981;
|
|
--warning: #f59e0b;
|
|
--danger: #ef4444;
|
|
--dark: #0a1628;
|
|
--dark-light: #1e293b;
|
|
--gray-100: #f1f5f9;
|
|
--gray-200: #e2e8f0;
|
|
--gray-300: #cbd5e1;
|
|
--gray-400: #94a3b8;
|
|
--gray-500: #64748b;
|
|
--gray-600: #475569;
|
|
--gray-700: #334155;
|
|
--white: #ffffff;
|
|
--sidebar-width: 260px;
|
|
--header-height: 70px;
|
|
--font-main: 'DM Sans', sans-serif;
|
|
--shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
|
|
--shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
|
|
--shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
|
|
--radius-sm: 6px;
|
|
--radius-md: 10px;
|
|
--radius-lg: 16px;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-main);
|
|
background: var(--gray-100);
|
|
color: var(--gray-700);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
|
|
/* ========================
|
|
Login Page
|
|
======================== */
|
|
.login-page {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--dark);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.login-container {
|
|
width: 100%;
|
|
max-width: 450px;
|
|
padding: 2rem;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.login-card {
|
|
background: var(--white);
|
|
border-radius: var(--radius-lg);
|
|
padding: 3rem;
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.login-header {
|
|
text-align: center;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.login-logo {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.75rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.login-logo i {
|
|
font-size: 2.5rem;
|
|
color: var(--primary);
|
|
}
|
|
|
|
.login-logo span {
|
|
font-size: 2rem;
|
|
font-weight: 700;
|
|
color: var(--dark);
|
|
}
|
|
|
|
.login-header h1 {
|
|
font-size: 1.5rem;
|
|
color: var(--dark);
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.login-header p {
|
|
color: var(--gray-500);
|
|
}
|
|
|
|
.login-form .form-group {
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
.login-form label {
|
|
display: block;
|
|
font-weight: 500;
|
|
color: var(--gray-700);
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.input-icon {
|
|
position: relative;
|
|
}
|
|
|
|
.input-icon i {
|
|
position: absolute;
|
|
left: 1rem;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: var(--gray-400);
|
|
}
|
|
|
|
.input-icon input {
|
|
width: 100%;
|
|
padding: 0.875rem 1rem 0.875rem 2.75rem;
|
|
border: 2px solid var(--gray-200);
|
|
border-radius: var(--radius-md);
|
|
font-size: 1rem;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.input-icon input:focus {
|
|
outline: none;
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
|
|
}
|
|
|
|
.toggle-password {
|
|
position: absolute;
|
|
right: 1rem;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
background: none;
|
|
border: none;
|
|
color: var(--gray-400);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.form-options {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.checkbox-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
cursor: pointer;
|
|
font-size: 0.9rem;
|
|
color: var(--gray-600);
|
|
}
|
|
|
|
.forgot-link {
|
|
color: var(--primary);
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.forgot-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.login-message {
|
|
margin-top: 1rem;
|
|
padding: 0.75rem 1rem;
|
|
border-radius: var(--radius-sm);
|
|
font-size: 0.9rem;
|
|
display: none;
|
|
}
|
|
|
|
.login-message.success {
|
|
background: rgba(16, 185, 129, 0.1);
|
|
color: var(--success);
|
|
border: 1px solid rgba(16, 185, 129, 0.3);
|
|
}
|
|
|
|
.login-message.error {
|
|
background: rgba(239, 68, 68, 0.1);
|
|
color: var(--danger);
|
|
border: 1px solid rgba(239, 68, 68, 0.3);
|
|
}
|
|
|
|
.login-footer {
|
|
margin-top: 2rem;
|
|
padding-top: 1.5rem;
|
|
border-top: 1px solid var(--gray-200);
|
|
text-align: center;
|
|
}
|
|
|
|
.login-footer p {
|
|
font-size: 0.85rem;
|
|
color: var(--gray-500);
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.login-bg {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 0;
|
|
overflow: hidden;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.bg-shape {
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
opacity: 0.1;
|
|
}
|
|
|
|
.bg-shape-1 {
|
|
width: 600px;
|
|
height: 600px;
|
|
background: var(--primary);
|
|
top: -200px;
|
|
right: -200px;
|
|
}
|
|
|
|
.bg-shape-2 {
|
|
width: 400px;
|
|
height: 400px;
|
|
background: var(--secondary);
|
|
bottom: -100px;
|
|
left: -100px;
|
|
}
|
|
|
|
.bg-shape-3 {
|
|
width: 300px;
|
|
height: 300px;
|
|
background: var(--primary);
|
|
bottom: 20%;
|
|
right: 10%;
|
|
}
|
|
|
|
/* ========================
|
|
Buttons
|
|
======================== */
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
padding: 0.75rem 1.5rem;
|
|
border: none;
|
|
border-radius: var(--radius-md);
|
|
font-family: var(--font-main);
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: linear-gradient(135deg, var(--primary), var(--secondary));
|
|
color: var(--white);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: var(--gray-200);
|
|
color: var(--gray-700);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: var(--gray-300);
|
|
}
|
|
|
|
.btn-danger {
|
|
background: var(--danger);
|
|
color: var(--white);
|
|
}
|
|
|
|
.btn-danger:hover {
|
|
background: #dc2626;
|
|
}
|
|
|
|
.btn-block {
|
|
width: 100%;
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 0.5rem 1rem;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
/* ========================
|
|
Admin Layout
|
|
======================== */
|
|
.admin-wrapper {
|
|
display: flex;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* Sidebar */
|
|
.sidebar {
|
|
width: var(--sidebar-width);
|
|
background: var(--dark);
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
z-index: 100;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.sidebar-header {
|
|
padding: 1.5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
border-bottom: 1px solid rgba(255,255,255,0.1);
|
|
}
|
|
|
|
.sidebar-logo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.sidebar-logo i {
|
|
font-size: 1.75rem;
|
|
color: var(--primary);
|
|
}
|
|
|
|
.sidebar-logo span {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
color: var(--white);
|
|
}
|
|
|
|
.sidebar-toggle {
|
|
display: none;
|
|
background: none;
|
|
border: none;
|
|
color: var(--gray-400);
|
|
font-size: 1.25rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.sidebar-nav {
|
|
flex: 1;
|
|
padding: 1.5rem 0;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.nav-section {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.nav-section-title {
|
|
display: block;
|
|
padding: 0 1.5rem;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
color: var(--gray-500);
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.nav-menu {
|
|
list-style: none;
|
|
}
|
|
|
|
.nav-item {
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.nav-link {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
padding: 0.75rem 1.5rem;
|
|
color: var(--gray-400);
|
|
font-weight: 500;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.nav-link:hover {
|
|
color: var(--white);
|
|
background: rgba(255,255,255,0.05);
|
|
}
|
|
|
|
.nav-item.active .nav-link {
|
|
color: var(--white);
|
|
background: linear-gradient(90deg, rgba(14, 165, 233, 0.2), transparent);
|
|
border-left: 3px solid var(--primary);
|
|
}
|
|
|
|
.nav-link i {
|
|
width: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.nav-link .badge {
|
|
margin-left: auto;
|
|
background: var(--danger);
|
|
color: var(--white);
|
|
padding: 0.2rem 0.5rem;
|
|
border-radius: 10px;
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.sidebar-footer {
|
|
padding: 1.5rem;
|
|
border-top: 1px solid rgba(255,255,255,0.1);
|
|
}
|
|
|
|
.view-site-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
padding: 0.75rem;
|
|
background: rgba(255,255,255,0.05);
|
|
border-radius: var(--radius-md);
|
|
color: var(--gray-400);
|
|
font-weight: 500;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.view-site-btn:hover {
|
|
background: rgba(255,255,255,0.1);
|
|
color: var(--white);
|
|
}
|
|
|
|
/* Main Content */
|
|
.main-content {
|
|
flex: 1;
|
|
margin-left: var(--sidebar-width);
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Header */
|
|
.admin-header {
|
|
height: var(--header-height);
|
|
background: var(--white);
|
|
padding: 0 2rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
box-shadow: var(--shadow-sm);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 50;
|
|
}
|
|
|
|
.header-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.mobile-toggle {
|
|
display: none;
|
|
background: none;
|
|
border: none;
|
|
font-size: 1.25rem;
|
|
color: var(--gray-600);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.page-title {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
color: var(--dark);
|
|
}
|
|
|
|
.header-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.header-search {
|
|
position: relative;
|
|
}
|
|
|
|
.header-search i {
|
|
position: absolute;
|
|
left: 1rem;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: var(--gray-400);
|
|
}
|
|
|
|
.header-search input {
|
|
padding: 0.625rem 1rem 0.625rem 2.5rem;
|
|
border: 2px solid var(--gray-200);
|
|
border-radius: 30px;
|
|
width: 250px;
|
|
font-size: 0.9rem;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.header-search input:focus {
|
|
outline: none;
|
|
border-color: var(--primary);
|
|
width: 300px;
|
|
}
|
|
|
|
.notification-btn {
|
|
position: relative;
|
|
background: none;
|
|
border: none;
|
|
font-size: 1.25rem;
|
|
color: var(--gray-500);
|
|
cursor: pointer;
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
.notification-badge {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
background: var(--danger);
|
|
color: var(--white);
|
|
font-size: 0.65rem;
|
|
font-weight: 600;
|
|
padding: 0.15rem 0.4rem;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.header-user {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
position: relative;
|
|
}
|
|
|
|
.user-avatar {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.user-avatar img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.user-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.user-name {
|
|
font-weight: 600;
|
|
color: var(--dark);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.user-role {
|
|
font-size: 0.75rem;
|
|
color: var(--gray-500);
|
|
}
|
|
|
|
.user-dropdown {
|
|
position: relative;
|
|
}
|
|
|
|
.dropdown-toggle {
|
|
background: none;
|
|
border: none;
|
|
color: var(--gray-400);
|
|
cursor: pointer;
|
|
padding: 0.25rem;
|
|
}
|
|
|
|
.user-dropdown .dropdown-menu {
|
|
position: absolute;
|
|
top: 100%;
|
|
right: 0;
|
|
background: var(--white);
|
|
border-radius: var(--radius-md);
|
|
box-shadow: var(--shadow-lg);
|
|
min-width: 180px;
|
|
padding: 0.5rem 0;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transform: translateY(10px);
|
|
transition: all 0.3s ease;
|
|
list-style: none;
|
|
}
|
|
|
|
.user-dropdown:hover .dropdown-menu {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.user-dropdown .dropdown-menu li a {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
padding: 0.75rem 1rem;
|
|
color: var(--gray-600);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.user-dropdown .dropdown-menu li a:hover {
|
|
background: var(--gray-100);
|
|
color: var(--primary);
|
|
}
|
|
|
|
.user-dropdown .dropdown-menu .divider {
|
|
border-top: 1px solid var(--gray-200);
|
|
margin: 0.5rem 0;
|
|
}
|
|
|
|
/* Content Wrapper */
|
|
.content-wrapper {
|
|
padding: 2rem;
|
|
flex: 1;
|
|
}
|
|
|
|
/* ========================
|
|
Dashboard
|
|
======================== */
|
|
.stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 1.5rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.stat-card {
|
|
background: var(--white);
|
|
padding: 1.5rem;
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-sm);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.stat-icon {
|
|
width: 60px;
|
|
height: 60px;
|
|
border-radius: var(--radius-md);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.5rem;
|
|
color: var(--white);
|
|
}
|
|
|
|
.stat-icon.bg-blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
|
|
.stat-icon.bg-green { background: linear-gradient(135deg, #10b981, #059669); }
|
|
.stat-icon.bg-purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
|
|
.stat-icon.bg-orange { background: linear-gradient(135deg, #f59e0b, #d97706); }
|
|
|
|
.stat-info h3 {
|
|
font-size: 1.75rem;
|
|
font-weight: 700;
|
|
color: var(--dark);
|
|
line-height: 1;
|
|
}
|
|
|
|
.stat-info p {
|
|
color: var(--gray-500);
|
|
font-size: 0.9rem;
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.stat-trend {
|
|
margin-left: auto;
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.stat-trend.up { color: var(--success); }
|
|
.stat-trend.down { color: var(--danger); }
|
|
|
|
/* Cards */
|
|
.card {
|
|
background: var(--white);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-sm);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.card-header {
|
|
padding: 1.25rem 1.5rem;
|
|
border-bottom: 1px solid var(--gray-200);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.card-header h2, .card-header h3 {
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
color: var(--dark);
|
|
}
|
|
|
|
.card-body {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.view-all {
|
|
color: var(--primary);
|
|
font-weight: 500;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.view-all:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Dashboard Rows */
|
|
.dashboard-row {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.dashboard-row.two-col {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
/* Quick Actions */
|
|
.quick-actions {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 1rem;
|
|
}
|
|
|
|
.quick-action-btn {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
padding: 1.5rem;
|
|
background: var(--gray-100);
|
|
border-radius: var(--radius-md);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.quick-action-btn:hover {
|
|
background: var(--primary);
|
|
color: var(--white);
|
|
transform: translateY(-3px);
|
|
}
|
|
|
|
.quick-action-btn i {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.quick-action-btn span {
|
|
font-weight: 500;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
/* Content Lists */
|
|
.content-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.content-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
padding: 1rem 0;
|
|
border-bottom: 1px solid var(--gray-200);
|
|
}
|
|
|
|
.content-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.item-image {
|
|
width: 70px;
|
|
height: 50px;
|
|
border-radius: var(--radius-sm);
|
|
overflow: hidden;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.item-image img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.item-info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.item-info h4 {
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
color: var(--dark);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.item-meta {
|
|
font-size: 0.8rem;
|
|
color: var(--gray-500);
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.item-actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.action-btn {
|
|
width: 32px;
|
|
height: 32px;
|
|
border: none;
|
|
border-radius: var(--radius-sm);
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.action-btn.edit {
|
|
background: rgba(59, 130, 246, 0.1);
|
|
color: #3b82f6;
|
|
}
|
|
|
|
.action-btn.edit:hover {
|
|
background: #3b82f6;
|
|
color: var(--white);
|
|
}
|
|
|
|
.action-btn.view {
|
|
background: rgba(16, 185, 129, 0.1);
|
|
color: #10b981;
|
|
}
|
|
|
|
.action-btn.view:hover {
|
|
background: #10b981;
|
|
color: var(--white);
|
|
}
|
|
|
|
.action-btn.delete {
|
|
background: rgba(239, 68, 68, 0.1);
|
|
color: #ef4444;
|
|
}
|
|
|
|
.action-btn.delete:hover {
|
|
background: #ef4444;
|
|
color: var(--white);
|
|
}
|
|
|
|
/* Messages List */
|
|
.message-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
padding: 1rem 0;
|
|
border-bottom: 1px solid var(--gray-200);
|
|
}
|
|
|
|
.message-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.message-avatar {
|
|
width: 45px;
|
|
height: 45px;
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.message-avatar img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.message-info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.message-info h4 {
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
color: var(--dark);
|
|
}
|
|
|
|
.message-info p {
|
|
font-size: 0.85rem;
|
|
color: var(--gray-500);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.message-time {
|
|
font-size: 0.75rem;
|
|
color: var(--gray-400);
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.message-status {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.message-status.unread { background: var(--primary); }
|
|
.message-status.read { background: var(--gray-300); }
|
|
|
|
/* ========================
|
|
Content Management Pages
|
|
======================== */
|
|
.content-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.content-filters {
|
|
display: flex;
|
|
gap: 1rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.filter-group select {
|
|
padding: 0.625rem 2rem 0.625rem 1rem;
|
|
border: 2px solid var(--gray-200);
|
|
border-radius: var(--radius-md);
|
|
font-size: 0.9rem;
|
|
color: var(--gray-700);
|
|
background: var(--white);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.filter-group select:focus {
|
|
outline: none;
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.search-box {
|
|
position: relative;
|
|
}
|
|
|
|
.search-box i {
|
|
position: absolute;
|
|
left: 1rem;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: var(--gray-400);
|
|
}
|
|
|
|
.search-box input {
|
|
padding: 0.625rem 1rem 0.625rem 2.5rem;
|
|
border: 2px solid var(--gray-200);
|
|
border-radius: var(--radius-md);
|
|
width: 250px;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.search-box input:focus {
|
|
outline: none;
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
/* Data Table */
|
|
.table-responsive {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.data-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.data-table th,
|
|
.data-table td {
|
|
padding: 1rem 1.25rem;
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--gray-200);
|
|
}
|
|
|
|
.data-table th {
|
|
background: var(--gray-100);
|
|
font-weight: 600;
|
|
color: var(--gray-600);
|
|
font-size: 0.85rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.data-table tbody tr:hover {
|
|
background: var(--gray-100);
|
|
}
|
|
|
|
.table-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.table-item img {
|
|
width: 60px;
|
|
height: 40px;
|
|
border-radius: var(--radius-sm);
|
|
object-fit: cover;
|
|
}
|
|
|
|
.category-badge, .status-badge {
|
|
display: inline-block;
|
|
padding: 0.35rem 0.75rem;
|
|
border-radius: 20px;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.category-badge.news { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
|
|
.category-badge.events { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
|
|
.category-badge.insights { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
|
|
.category-badge.updates { background: rgba(16, 185, 129, 0.1); color: #10b981; }
|
|
|
|
.status-badge.published { background: rgba(16, 185, 129, 0.1); color: #10b981; }
|
|
.status-badge.draft { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
|
|
|
|
.table-actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.table-footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 1rem 1.25rem;
|
|
border-top: 1px solid var(--gray-200);
|
|
}
|
|
|
|
.bulk-actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.bulk-actions select {
|
|
padding: 0.5rem 1rem;
|
|
border: 2px solid var(--gray-200);
|
|
border-radius: var(--radius-sm);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.pagination {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.pagination-info {
|
|
font-size: 0.9rem;
|
|
color: var(--gray-500);
|
|
}
|
|
|
|
.pagination-controls {
|
|
display: flex;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.pagination-btn {
|
|
min-width: 36px;
|
|
height: 36px;
|
|
border: none;
|
|
background: var(--gray-100);
|
|
border-radius: var(--radius-sm);
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
font-weight: 500;
|
|
color: var(--gray-600);
|
|
}
|
|
|
|
.pagination-btn:hover:not(:disabled) {
|
|
background: var(--primary);
|
|
color: var(--white);
|
|
}
|
|
|
|
.pagination-btn.active {
|
|
background: var(--primary);
|
|
color: var(--white);
|
|
}
|
|
|
|
.pagination-btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* ========================
|
|
Form Styles
|
|
======================== */
|
|
.form-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 350px;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.form-main, .form-sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.edit-form .form-group {
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
.edit-form .form-group:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.edit-form label {
|
|
display: block;
|
|
font-weight: 500;
|
|
color: var(--gray-700);
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.edit-form input[type="text"],
|
|
.edit-form input[type="email"],
|
|
.edit-form input[type="datetime-local"],
|
|
.edit-form select,
|
|
.edit-form textarea {
|
|
width: 100%;
|
|
padding: 0.75rem 1rem;
|
|
border: 2px solid var(--gray-200);
|
|
border-radius: var(--radius-md);
|
|
font-size: 0.95rem;
|
|
font-family: var(--font-main);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.edit-form input:focus,
|
|
.edit-form select:focus,
|
|
.edit-form textarea:focus {
|
|
outline: none;
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
|
|
}
|
|
|
|
.edit-form textarea {
|
|
resize: vertical;
|
|
min-height: 150px;
|
|
}
|
|
|
|
.form-actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
/* Image Upload */
|
|
.image-upload {
|
|
border: 2px dashed var(--gray-300);
|
|
border-radius: var(--radius-md);
|
|
padding: 2rem;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
position: relative;
|
|
}
|
|
|
|
.image-upload:hover {
|
|
border-color: var(--primary);
|
|
background: rgba(14, 165, 233, 0.02);
|
|
}
|
|
|
|
.upload-placeholder {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.upload-placeholder i {
|
|
font-size: 2.5rem;
|
|
color: var(--gray-400);
|
|
}
|
|
|
|
.upload-placeholder p {
|
|
color: var(--gray-600);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.upload-placeholder span {
|
|
font-size: 0.8rem;
|
|
color: var(--gray-400);
|
|
}
|
|
|
|
.image-upload img {
|
|
max-width: 100%;
|
|
max-height: 200px;
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.remove-image {
|
|
position: absolute;
|
|
top: 0.5rem;
|
|
right: 0.5rem;
|
|
}
|
|
|
|
/* ========================
|
|
Modal
|
|
======================== */
|
|
.modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.modal.active {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
}
|
|
|
|
.modal-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.modal-content {
|
|
position: relative;
|
|
background: var(--white);
|
|
border-radius: var(--radius-lg);
|
|
width: 90%;
|
|
max-width: 500px;
|
|
box-shadow: var(--shadow-lg);
|
|
transform: scale(0.9);
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.modal.active .modal-content {
|
|
transform: scale(1);
|
|
}
|
|
|
|
.modal-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 1.25rem 1.5rem;
|
|
border-bottom: 1px solid var(--gray-200);
|
|
}
|
|
|
|
.modal-header h3 {
|
|
font-size: 1.25rem;
|
|
color: var(--dark);
|
|
}
|
|
|
|
.modal-close {
|
|
background: none;
|
|
border: none;
|
|
font-size: 1.5rem;
|
|
color: var(--gray-400);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.modal-body {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.modal-footer {
|
|
padding: 1rem 1.5rem;
|
|
border-top: 1px solid var(--gray-200);
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
/* ========================
|
|
Responsive
|
|
======================== */
|
|
@media (max-width: 1200px) {
|
|
.stats-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.quick-actions {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.form-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.form-sidebar {
|
|
order: -1;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.sidebar {
|
|
transform: translateX(-100%);
|
|
}
|
|
|
|
.sidebar.active {
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.main-content {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.mobile-toggle {
|
|
display: block;
|
|
}
|
|
|
|
.sidebar-toggle {
|
|
display: block;
|
|
}
|
|
|
|
.dashboard-row.two-col {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.header-search {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.content-wrapper {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.stats-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.content-header {
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.content-filters {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.search-box input {
|
|
width: 100%;
|
|
}
|
|
|
|
.admin-header {
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
.user-info {
|
|
display: none;
|
|
}
|
|
|
|
.table-footer {
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.login-card {
|
|
padding: 2rem 1.5rem;
|
|
}
|
|
|
|
.quick-actions {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* =========================================
|
|
CRM Extended Styles
|
|
========================================= */
|
|
|
|
/* Pages Management Grid */
|
|
.pages-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.page-admin-card {
|
|
background: var(--white);
|
|
border-radius: var(--radius-md);
|
|
padding: 1.5rem;
|
|
box-shadow: var(--shadow-sm);
|
|
border: 1px solid var(--gray-200);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.page-admin-card:hover {
|
|
box-shadow: var(--shadow-md);
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.page-admin-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.page-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
background: linear-gradient(135deg, var(--primary), var(--secondary));
|
|
border-radius: var(--radius-sm);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--white);
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.page-status {
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
padding: 0.25rem 0.75rem;
|
|
border-radius: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
}
|
|
|
|
.page-status.published {
|
|
background: rgba(16, 185, 129, 0.1);
|
|
color: var(--success);
|
|
}
|
|
|
|
.page-status.published i {
|
|
font-size: 0.5rem;
|
|
}
|
|
|
|
.page-status.draft {
|
|
background: rgba(245, 158, 11, 0.1);
|
|
color: var(--warning);
|
|
}
|
|
|
|
.page-admin-card h3 {
|
|
font-size: 1.125rem;
|
|
color: var(--dark);
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.page-admin-card p {
|
|
font-size: 0.875rem;
|
|
color: var(--gray-500);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.page-sections {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.section-tag {
|
|
background: var(--gray-100);
|
|
color: var(--gray-600);
|
|
padding: 0.25rem 0.625rem;
|
|
border-radius: 4px;
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.page-admin-actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
padding-top: 1rem;
|
|
border-top: 1px solid var(--gray-200);
|
|
}
|
|
|
|
/* Section collapse in page editor */
|
|
.sect-body.collapsed {
|
|
display: none;
|
|
}
|
|
|
|
/* Global Sections */
|
|
.global-sections-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
|
|
.global-section-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
padding: 1rem;
|
|
background: var(--gray-100);
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.global-section-item i {
|
|
font-size: 1.5rem;
|
|
color: var(--primary);
|
|
width: 40px;
|
|
text-align: center;
|
|
}
|
|
|
|
.global-section-item div {
|
|
flex: 1;
|
|
}
|
|
|
|
.global-section-item h4 {
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
color: var(--dark);
|
|
}
|
|
|
|
.global-section-item p {
|
|
font-size: 0.75rem;
|
|
color: var(--gray-500);
|
|
margin: 0;
|
|
}
|
|
|
|
/* Team Management Grid */
|
|
.team-admin-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.team-admin-card {
|
|
background: var(--white);
|
|
border-radius: var(--radius-md);
|
|
padding: 1.5rem;
|
|
text-align: center;
|
|
box-shadow: var(--shadow-sm);
|
|
border: 1px solid var(--gray-200);
|
|
}
|
|
|
|
.team-member-photo {
|
|
position: relative;
|
|
width: 120px;
|
|
height: 120px;
|
|
margin: 0 auto 1rem;
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.team-member-photo img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.photo-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.team-member-photo:hover .photo-overlay {
|
|
opacity: 1;
|
|
}
|
|
|
|
.team-member-info h3 {
|
|
font-size: 1.125rem;
|
|
color: var(--dark);
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.team-role {
|
|
display: block;
|
|
font-size: 0.875rem;
|
|
color: var(--primary);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.team-dept {
|
|
display: block;
|
|
font-size: 0.75rem;
|
|
color: var(--gray-500);
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.team-socials {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 0.75rem;
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
.social-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--gray-100);
|
|
color: var(--gray-500);
|
|
font-size: 0.875rem;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.social-icon:hover {
|
|
background: var(--primary);
|
|
color: var(--white);
|
|
}
|
|
|
|
.team-admin-actions {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
padding-top: 1rem;
|
|
border-top: 1px solid var(--gray-200);
|
|
}
|
|
|
|
.team-order {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-top: 1rem;
|
|
padding-top: 1rem;
|
|
border-top: 1px solid var(--gray-200);
|
|
font-size: 0.75rem;
|
|
color: var(--gray-500);
|
|
}
|
|
|
|
.order-controls {
|
|
display: flex;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.order-controls button {
|
|
background: var(--gray-100);
|
|
border: none;
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
color: var(--gray-600);
|
|
}
|
|
|
|
.order-controls button:hover:not(:disabled) {
|
|
background: var(--primary);
|
|
color: var(--white);
|
|
}
|
|
|
|
.order-controls button:disabled {
|
|
opacity: 0.3;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Testimonials Admin Grid */
|
|
.testimonials-admin-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.testimonial-admin-card {
|
|
background: var(--white);
|
|
border-radius: var(--radius-md);
|
|
padding: 1.5rem;
|
|
box-shadow: var(--shadow-sm);
|
|
border: 1px solid var(--gray-200);
|
|
}
|
|
|
|
.testimonial-admin-card.pending {
|
|
border-left: 4px solid var(--warning);
|
|
}
|
|
|
|
.testimonial-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.testimonial-author {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.testimonial-author img {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.testimonial-author h4 {
|
|
font-size: 0.9375rem;
|
|
color: var(--dark);
|
|
margin-bottom: 0.125rem;
|
|
}
|
|
|
|
.testimonial-author span {
|
|
font-size: 0.75rem;
|
|
color: var(--gray-500);
|
|
}
|
|
|
|
.testimonial-status {
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
padding: 0.25rem 0.625rem;
|
|
border-radius: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
}
|
|
|
|
.testimonial-status.published {
|
|
background: rgba(16, 185, 129, 0.1);
|
|
color: var(--success);
|
|
}
|
|
|
|
.testimonial-status.pending {
|
|
background: rgba(245, 158, 11, 0.1);
|
|
color: var(--warning);
|
|
}
|
|
|
|
.testimonial-rating {
|
|
color: #fbbf24;
|
|
font-size: 0.875rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.testimonial-rating i.far {
|
|
color: var(--gray-300);
|
|
}
|
|
|
|
.testimonial-text {
|
|
font-size: 0.875rem;
|
|
color: var(--gray-600);
|
|
line-height: 1.6;
|
|
margin-bottom: 1rem;
|
|
font-style: italic;
|
|
}
|
|
|
|
.testimonial-meta {
|
|
display: flex;
|
|
gap: 1rem;
|
|
font-size: 0.75rem;
|
|
color: var(--gray-400);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.testimonial-meta i {
|
|
margin-right: 0.35rem;
|
|
}
|
|
|
|
.testimonial-admin-actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
padding-top: 1rem;
|
|
border-top: 1px solid var(--gray-200);
|
|
}
|
|
|
|
/* Media Library Styles */
|
|
.media-stats {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background: var(--white);
|
|
padding: 1.25rem 1.5rem;
|
|
border-radius: var(--radius-md);
|
|
margin-bottom: 1.5rem;
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.storage-overview {
|
|
flex: 1;
|
|
max-width: 300px;
|
|
}
|
|
|
|
.storage-used {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.storage-used i {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.storage-value {
|
|
font-weight: 600;
|
|
color: var(--dark);
|
|
}
|
|
|
|
.storage-label {
|
|
font-size: 0.75rem;
|
|
color: var(--gray-500);
|
|
margin-left: 0.25rem;
|
|
}
|
|
|
|
.storage-bar {
|
|
height: 6px;
|
|
background: var(--gray-200);
|
|
border-radius: 3px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.storage-progress {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, var(--primary), var(--secondary));
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.media-counts {
|
|
display: flex;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.media-count-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-size: 0.875rem;
|
|
color: var(--gray-600);
|
|
}
|
|
|
|
.media-count-item i {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.media-toolbar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 1.5rem;
|
|
flex-wrap: wrap;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.toolbar-left,
|
|
.toolbar-right {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.media-folders {
|
|
display: flex;
|
|
gap: 1rem;
|
|
margin-bottom: 1.5rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.folder-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.75rem 1rem;
|
|
background: var(--white);
|
|
border-radius: var(--radius-sm);
|
|
cursor: pointer;
|
|
border: 1px solid var(--gray-200);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.folder-item:hover {
|
|
border-color: var(--primary);
|
|
background: rgba(14, 165, 233, 0.05);
|
|
}
|
|
|
|
.folder-item i {
|
|
color: #fbbf24;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.folder-item span {
|
|
font-weight: 500;
|
|
color: var(--dark);
|
|
}
|
|
|
|
.folder-item small {
|
|
font-size: 0.75rem;
|
|
color: var(--gray-400);
|
|
}
|
|
|
|
.media-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
|
|
.media-item {
|
|
position: relative;
|
|
background: var(--white);
|
|
border-radius: var(--radius-sm);
|
|
overflow: hidden;
|
|
box-shadow: var(--shadow-sm);
|
|
border: 1px solid var(--gray-200);
|
|
}
|
|
|
|
.media-preview {
|
|
position: relative;
|
|
height: 140px;
|
|
background: var(--gray-100);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.media-preview img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.media-preview.document,
|
|
.media-preview.video {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.media-preview.document i {
|
|
font-size: 3rem;
|
|
color: #ef4444;
|
|
}
|
|
|
|
.media-preview.video i {
|
|
font-size: 3rem;
|
|
color: var(--primary);
|
|
}
|
|
|
|
.media-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.media-item:hover .media-overlay {
|
|
opacity: 1;
|
|
}
|
|
|
|
.media-overlay .btn {
|
|
background: var(--white);
|
|
color: var(--dark);
|
|
border: none;
|
|
padding: 0.5rem;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.media-info {
|
|
padding: 0.75rem;
|
|
}
|
|
|
|
.media-name {
|
|
display: block;
|
|
font-size: 0.8125rem;
|
|
font-weight: 500;
|
|
color: var(--dark);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.media-size {
|
|
font-size: 0.75rem;
|
|
color: var(--gray-400);
|
|
}
|
|
|
|
.media-checkbox {
|
|
position: absolute;
|
|
top: 0.5rem;
|
|
left: 0.5rem;
|
|
z-index: 2;
|
|
}
|
|
|
|
.media-checkbox input {
|
|
width: 18px;
|
|
height: 18px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.bulk-actions {
|
|
position: fixed;
|
|
bottom: 2rem;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
background: var(--dark);
|
|
padding: 1rem 1.5rem;
|
|
border-radius: var(--radius-md);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
box-shadow: var(--shadow-lg);
|
|
z-index: 100;
|
|
}
|
|
|
|
.bulk-actions .selected-count {
|
|
color: var(--white);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.upload-dropzone {
|
|
border: 2px dashed var(--gray-300);
|
|
border-radius: var(--radius-md);
|
|
padding: 3rem 2rem;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.upload-dropzone:hover,
|
|
.upload-dropzone.dragover {
|
|
border-color: var(--primary);
|
|
background: rgba(14, 165, 233, 0.05);
|
|
}
|
|
|
|
.upload-dropzone i {
|
|
font-size: 3rem;
|
|
color: var(--gray-400);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.upload-dropzone h3 {
|
|
color: var(--dark);
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.upload-dropzone p {
|
|
color: var(--gray-500);
|
|
}
|
|
|
|
.upload-hint {
|
|
display: block;
|
|
font-size: 0.75rem;
|
|
color: var(--gray-400);
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
/* Users Table Styles */
|
|
.user-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.user-info img {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.user-info .name {
|
|
display: block;
|
|
font-weight: 500;
|
|
color: var(--dark);
|
|
}
|
|
|
|
.user-info .username {
|
|
display: block;
|
|
font-size: 0.75rem;
|
|
color: var(--gray-400);
|
|
}
|
|
|
|
.role-badge {
|
|
display: inline-block;
|
|
padding: 0.25rem 0.625rem;
|
|
border-radius: 4px;
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.role-badge.super-admin {
|
|
background: rgba(139, 92, 246, 0.1);
|
|
color: #8b5cf6;
|
|
}
|
|
|
|
.role-badge.editor {
|
|
background: rgba(16, 185, 129, 0.1);
|
|
color: var(--success);
|
|
}
|
|
|
|
.role-badge.contributor {
|
|
background: rgba(245, 158, 11, 0.1);
|
|
color: var(--warning);
|
|
}
|
|
|
|
.status-badge.active {
|
|
background: rgba(16, 185, 129, 0.1);
|
|
color: var(--success);
|
|
}
|
|
|
|
.status-badge.inactive {
|
|
background: rgba(107, 114, 128, 0.1);
|
|
color: var(--gray-500);
|
|
}
|
|
|
|
.status-badge.pending {
|
|
background: rgba(245, 158, 11, 0.1);
|
|
color: var(--warning);
|
|
}
|
|
|
|
.status-badge.confirmed {
|
|
background: rgba(16, 185, 129, 0.1);
|
|
color: var(--success);
|
|
}
|
|
|
|
.status-badge.completed {
|
|
background: rgba(14, 165, 233, 0.1);
|
|
color: var(--primary);
|
|
}
|
|
|
|
.status-badge.cancelled {
|
|
background: rgba(239, 68, 68, 0.1);
|
|
color: var(--danger);
|
|
}
|
|
|
|
/* Roles Grid */
|
|
.roles-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.role-card {
|
|
background: var(--gray-100);
|
|
border-radius: var(--radius-md);
|
|
padding: 1.25rem;
|
|
}
|
|
|
|
.role-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.role-count {
|
|
font-size: 0.75rem;
|
|
color: var(--gray-500);
|
|
}
|
|
|
|
.permissions-list {
|
|
list-style: none;
|
|
}
|
|
|
|
.permissions-list li {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.5rem 0;
|
|
font-size: 0.875rem;
|
|
color: var(--gray-600);
|
|
border-bottom: 1px solid var(--gray-200);
|
|
}
|
|
|
|
.permissions-list li:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.permissions-list li i.fa-check {
|
|
color: var(--success);
|
|
}
|
|
|
|
.permissions-list li i.fa-times {
|
|
color: var(--gray-400);
|
|
}
|
|
|
|
/* Activity Timeline */
|
|
.activity-timeline {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.activity-item {
|
|
display: flex;
|
|
gap: 1rem;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.activity-icon {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 0.875rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.activity-icon.login {
|
|
background: rgba(14, 165, 233, 0.1);
|
|
color: var(--primary);
|
|
}
|
|
|
|
.activity-icon.edit {
|
|
background: rgba(245, 158, 11, 0.1);
|
|
color: var(--warning);
|
|
}
|
|
|
|
.activity-icon.create {
|
|
background: rgba(16, 185, 129, 0.1);
|
|
color: var(--success);
|
|
}
|
|
|
|
.activity-icon.settings {
|
|
background: rgba(139, 92, 246, 0.1);
|
|
color: #8b5cf6;
|
|
}
|
|
|
|
.activity-content p {
|
|
font-size: 0.875rem;
|
|
color: var(--gray-700);
|
|
}
|
|
|
|
.activity-time {
|
|
font-size: 0.75rem;
|
|
color: var(--gray-400);
|
|
}
|
|
|
|
/* Filter Tabs */
|
|
.filter-tabs {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
margin-bottom: 1.5rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.filter-tab {
|
|
padding: 0.625rem 1rem;
|
|
background: var(--white);
|
|
border: 1px solid var(--gray-200);
|
|
border-radius: var(--radius-sm);
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
color: var(--gray-600);
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.filter-tab:hover {
|
|
border-color: var(--primary);
|
|
color: var(--primary);
|
|
}
|
|
|
|
.filter-tab.active {
|
|
background: var(--primary);
|
|
border-color: var(--primary);
|
|
color: var(--white);
|
|
}
|
|
|
|
.filter-tab .badge {
|
|
display: inline-block;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
padding: 0.125rem 0.5rem;
|
|
border-radius: 10px;
|
|
font-size: 0.75rem;
|
|
margin-left: 0.5rem;
|
|
}
|
|
|
|
/* Client Info in Tables */
|
|
.client-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.client-info .name {
|
|
font-weight: 500;
|
|
color: var(--dark);
|
|
}
|
|
|
|
.client-info .email {
|
|
font-size: 0.75rem;
|
|
color: var(--gray-400);
|
|
}
|
|
|
|
.service-badge {
|
|
display: inline-block;
|
|
background: var(--gray-100);
|
|
padding: 0.25rem 0.625rem;
|
|
border-radius: 4px;
|
|
font-size: 0.8125rem;
|
|
font-weight: 500;
|
|
color: var(--gray-700);
|
|
}
|
|
|
|
.datetime {
|
|
font-size: 0.8125rem;
|
|
color: var(--gray-600);
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.datetime i {
|
|
color: var(--gray-400);
|
|
margin-right: 0.35rem;
|
|
width: 14px;
|
|
}
|
|
|
|
.completed-row {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
/* Stats Row */
|
|
.stats-row {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 1rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.stat-card {
|
|
background: var(--white);
|
|
padding: 1.25rem;
|
|
border-radius: var(--radius-md);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.stat-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: var(--radius-sm);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.stat-details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
color: var(--dark);
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 0.8125rem;
|
|
color: var(--gray-500);
|
|
}
|
|
|
|
/* View Toggle */
|
|
.view-toggle {
|
|
display: flex;
|
|
border: 1px solid var(--gray-200);
|
|
border-radius: var(--radius-sm);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.view-btn {
|
|
padding: 0.5rem 0.75rem;
|
|
background: var(--white);
|
|
border: none;
|
|
cursor: pointer;
|
|
color: var(--gray-500);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.view-btn:hover {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.view-btn.active {
|
|
background: var(--primary);
|
|
color: var(--white);
|
|
}
|
|
|
|
/* Filter Bar */
|
|
.filter-bar {
|
|
display: flex;
|
|
gap: 1rem;
|
|
align-items: center;
|
|
}
|
|
|
|
/* Social Inputs */
|
|
.social-inputs {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.input-icon-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.input-icon-group i {
|
|
width: 24px;
|
|
color: var(--gray-400);
|
|
font-size: 1.125rem;
|
|
}
|
|
|
|
.input-icon-group input {
|
|
flex: 1;
|
|
}
|
|
|
|
/* Checkbox Group */
|
|
.checkbox-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.checkbox-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-size: 0.875rem;
|
|
color: var(--gray-600);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.checkbox-label input[type="checkbox"] {
|
|
width: 16px;
|
|
height: 16px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Action Buttons */
|
|
.action-buttons {
|
|
display: flex;
|
|
gap: 0.35rem;
|
|
}
|
|
|
|
/* Header Actions */
|
|
.header-actions {
|
|
display: flex;
|
|
gap: 1rem;
|
|
align-items: center;
|
|
}
|
|
|
|
/* Media View Modal */
|
|
.media-view-content {
|
|
display: grid;
|
|
grid-template-columns: 1fr 300px;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.media-view-preview {
|
|
background: var(--gray-100);
|
|
border-radius: var(--radius-sm);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 300px;
|
|
}
|
|
|
|
.media-view-preview img {
|
|
max-width: 100%;
|
|
max-height: 400px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.media-view-details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.detail-row {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.35rem;
|
|
}
|
|
|
|
.detail-row label {
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
color: var(--gray-500);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.detail-row span {
|
|
color: var(--gray-700);
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.url-copy {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.url-copy input {
|
|
flex: 1;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
/* Button Variations */
|
|
.btn-success {
|
|
background: var(--success);
|
|
color: var(--white);
|
|
border: none;
|
|
}
|
|
|
|
.btn-success:hover {
|
|
background: #059669;
|
|
}
|
|
|
|
/* Responsive Adjustments for New Components */
|
|
@media (max-width: 768px) {
|
|
.pages-grid,
|
|
.team-admin-grid,
|
|
.testimonials-admin-grid,
|
|
.roles-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.media-stats {
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.storage-overview {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.media-counts {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.media-view-content {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.bulk-actions {
|
|
left: 1rem;
|
|
right: 1rem;
|
|
transform: none;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
/* ============================================================
|
|
Settings Tabs
|
|
============================================================ */
|
|
.settings-tabs {
|
|
display: flex;
|
|
gap: 0.25rem;
|
|
margin-bottom: 1.5rem;
|
|
flex-wrap: wrap;
|
|
background: var(--gray-100, #f1f5f9);
|
|
padding: 0.25rem;
|
|
border-radius: 0.75rem;
|
|
}
|
|
|
|
.tab-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.625rem 1rem;
|
|
border: none;
|
|
background: transparent;
|
|
color: var(--gray-500, #64748b);
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
border-radius: 0.5rem;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.tab-btn:hover {
|
|
color: var(--gray-700, #334155);
|
|
background: var(--gray-200, #e2e8f0);
|
|
}
|
|
|
|
.tab-btn.active {
|
|
background: #fff;
|
|
color: var(--primary, #0ea5e9);
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.tab-btn i {
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.tab-content {
|
|
display: none;
|
|
}
|
|
|
|
.tab-content.active {
|
|
display: block;
|
|
}
|
|
|
|
/* Settings Form Layout */
|
|
.form-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 1rem;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.form-hint {
|
|
display: block;
|
|
font-size: 0.75rem;
|
|
color: var(--gray-400, #94a3b8);
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.code-textarea {
|
|
font-family: 'SF Mono', 'Fira Code', monospace;
|
|
font-size: 0.8125rem;
|
|
}
|
|
|
|
/* Color Picker */
|
|
.color-picker {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.color-picker input[type="color"] {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
width: 40px;
|
|
height: 40px;
|
|
border: 2px solid var(--gray-200, #e2e8f0);
|
|
border-radius: 0.5rem;
|
|
cursor: pointer;
|
|
padding: 2px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.color-picker input[type="color"]::-webkit-color-swatch-wrapper {
|
|
padding: 0;
|
|
}
|
|
|
|
.color-picker input[type="color"]::-webkit-color-swatch {
|
|
border: none;
|
|
border-radius: 0.35rem;
|
|
}
|
|
|
|
.color-picker input[type="text"] {
|
|
width: 120px;
|
|
font-family: 'SF Mono', 'Fira Code', monospace;
|
|
font-size: 0.8125rem;
|
|
}
|
|
|
|
/* Logo Upload */
|
|
.logo-upload {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.logo-upload .current-logo,
|
|
.logo-upload .current-favicon {
|
|
width: 60px;
|
|
height: 60px;
|
|
object-fit: contain;
|
|
border: 1px solid var(--gray-200, #e2e8f0);
|
|
border-radius: 0.5rem;
|
|
padding: 4px;
|
|
background: #fff;
|
|
}
|
|
|
|
/* Social Input */
|
|
.social-input label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.social-input label i {
|
|
width: 20px;
|
|
text-align: center;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
/* Integration Items */
|
|
.integration-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 1rem 0;
|
|
border-bottom: 1px solid var(--gray-100, #f1f5f9);
|
|
}
|
|
|
|
.integration-item:last-of-type {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.integration-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.integration-info i {
|
|
font-size: 1.5rem;
|
|
width: 32px;
|
|
text-align: center;
|
|
}
|
|
|
|
.integration-info h4 {
|
|
margin: 0;
|
|
font-size: 0.9375rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.integration-info p {
|
|
margin: 0;
|
|
font-size: 0.8125rem;
|
|
color: var(--gray-400, #94a3b8);
|
|
}
|
|
|
|
/* Toggle Switch */
|
|
.toggle-switch {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 44px;
|
|
height: 24px;
|
|
}
|
|
|
|
.toggle-switch input {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.toggle-slider {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
top: 0; left: 0; right: 0; bottom: 0;
|
|
background: var(--gray-300, #cbd5e1);
|
|
border-radius: 24px;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.toggle-slider::before {
|
|
content: '';
|
|
position: absolute;
|
|
height: 18px;
|
|
width: 18px;
|
|
left: 3px;
|
|
bottom: 3px;
|
|
background: #fff;
|
|
border-radius: 50%;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.toggle-switch input:checked + .toggle-slider {
|
|
background: var(--primary, #0ea5e9);
|
|
}
|
|
|
|
.toggle-switch input:checked + .toggle-slider::before {
|
|
transform: translateX(20px);
|
|
}
|
|
|
|
/* Settings responsive */
|
|
@media (max-width: 768px) {
|
|
.settings-tabs {
|
|
gap: 0.125rem;
|
|
}
|
|
|
|
.tab-btn {
|
|
padding: 0.5rem 0.625rem;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.tab-btn span {
|
|
display: none;
|
|
}
|
|
|
|
.form-row {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* ============================================================
|
|
Missing Classes & Fixes — safe additions only
|
|
============================================================ */
|
|
|
|
/* Extended CSS Variables */
|
|
:root {
|
|
--gray-50: #f8fafc;
|
|
--gray-900: #0f172a;
|
|
}
|
|
|
|
/* ── btn-outline ─────────────────────────────────────────── */
|
|
.btn-outline {
|
|
background: transparent;
|
|
border: 2px solid var(--gray-300);
|
|
color: var(--gray-700);
|
|
}
|
|
.btn-outline:hover {
|
|
border-color: var(--primary);
|
|
color: var(--primary);
|
|
background: rgba(14, 165, 233, 0.05);
|
|
transform: translateY(-1px);
|
|
}
|
|
.btn-outline.btn-danger,
|
|
.btn.btn-outline.btn-danger {
|
|
border-color: var(--danger);
|
|
color: var(--danger);
|
|
background: transparent;
|
|
}
|
|
.btn-outline.btn-danger:hover {
|
|
background: var(--danger);
|
|
color: var(--white);
|
|
}
|
|
|
|
/* ── form-control & form-select ──────────────────────────── */
|
|
.form-control,
|
|
.form-select {
|
|
width: 100%;
|
|
padding: 0.75rem 1rem;
|
|
border: 2px solid var(--gray-200);
|
|
border-radius: var(--radius-md);
|
|
font-size: 0.95rem;
|
|
font-family: var(--font-main);
|
|
color: var(--gray-700);
|
|
background: var(--white);
|
|
transition: border-color 0.3s ease, box-shadow 0.3s ease;
|
|
}
|
|
.form-control:focus,
|
|
.form-select:focus {
|
|
outline: none;
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
|
|
}
|
|
.form-control textarea,
|
|
textarea.form-control {
|
|
resize: vertical;
|
|
min-height: 100px;
|
|
}
|
|
|
|
/* Standalone .form-group (outside .edit-form) */
|
|
.form-group {
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
.form-group > label {
|
|
display: block;
|
|
font-weight: 500;
|
|
color: var(--gray-700);
|
|
margin-bottom: 0.5rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
/* ── Utility classes ─────────────────────────────────────── */
|
|
.opacity-50 { opacity: 0.5; }
|
|
.text-danger { color: var(--danger) !important; }
|
|
.text-center { text-align: center; }
|
|
.text-success { color: var(--success) !important; }
|
|
|
|
/* ── btn-icon ────────────────────────────────────────────── */
|
|
.btn.btn-icon,
|
|
.btn-icon {
|
|
width: 34px;
|
|
height: 34px;
|
|
padding: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: var(--radius-sm);
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
/* ── content-description ─────────────────────────────────── */
|
|
.content-description {
|
|
color: var(--gray-500);
|
|
font-size: 0.9rem;
|
|
margin: 0;
|
|
}
|
|
|
|
/* ── User dropdown active state (JS-toggled) ─────────────── */
|
|
.user-dropdown.active .dropdown-menu {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
/* ── Modal aliases (modal-backdrop / modal-container) ────── */
|
|
.modal-backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
border-radius: inherit;
|
|
}
|
|
.modal-container {
|
|
position: relative;
|
|
background: var(--white);
|
|
border-radius: var(--radius-lg);
|
|
width: 90%;
|
|
max-width: 600px;
|
|
max-height: 90vh;
|
|
overflow-y: auto;
|
|
box-shadow: var(--shadow-lg);
|
|
transform: scale(0.9);
|
|
transition: transform 0.3s ease;
|
|
}
|
|
.modal.active .modal-container {
|
|
transform: scale(1);
|
|
}
|
|
.modal-lg,
|
|
.modal-content.modal-lg,
|
|
.modal-container.modal-lg {
|
|
max-width: 760px;
|
|
}
|
|
.modal-sm,
|
|
.modal-content.modal-sm,
|
|
.modal-container.modal-sm {
|
|
max-width: 440px;
|
|
}
|
|
|
|
/* ── Services admin grid ─────────────────────────────────── */
|
|
.services-admin-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
gap: 1.5rem;
|
|
padding: 1.5rem 0;
|
|
}
|
|
.service-admin-card {
|
|
background: var(--white);
|
|
border-radius: var(--radius-md);
|
|
padding: 1.5rem;
|
|
box-shadow: var(--shadow-sm);
|
|
border: 1px solid var(--gray-200);
|
|
transition: all 0.3s ease;
|
|
}
|
|
.service-admin-card:hover {
|
|
box-shadow: var(--shadow-md);
|
|
border-color: var(--primary);
|
|
}
|
|
.service-admin-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
margin-bottom: 1rem;
|
|
}
|
|
.service-admin-card .service-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: var(--radius-sm);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.25rem;
|
|
}
|
|
.service-admin-card .service-actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
align-items: center;
|
|
}
|
|
.service-admin-card h3 {
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
color: var(--dark);
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
.service-admin-card > p {
|
|
font-size: 0.875rem;
|
|
color: var(--gray-500);
|
|
margin-bottom: 1rem;
|
|
}
|
|
.service-meta {
|
|
font-size: 0.8rem;
|
|
color: var(--gray-400);
|
|
display: flex;
|
|
gap: 1rem;
|
|
align-items: center;
|
|
}
|
|
|
|
/* ── Portfolio admin grid & cards ────────────────────────── */
|
|
.portfolio-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 1.5rem;
|
|
padding: 1.5rem;
|
|
}
|
|
.portfolio-admin-card {
|
|
background: var(--white);
|
|
border-radius: var(--radius-md);
|
|
overflow: hidden;
|
|
box-shadow: var(--shadow-sm);
|
|
border: 1px solid var(--gray-200);
|
|
transition: all 0.3s ease;
|
|
}
|
|
.portfolio-admin-card:hover {
|
|
box-shadow: var(--shadow-md);
|
|
transform: translateY(-3px);
|
|
}
|
|
.portfolio-admin-image {
|
|
position: relative;
|
|
height: 180px;
|
|
overflow: hidden;
|
|
background: var(--gray-100);
|
|
}
|
|
.portfolio-admin-image img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
.portfolio-admin-card:hover .portfolio-admin-image img {
|
|
transform: scale(1.05);
|
|
}
|
|
.portfolio-status {
|
|
position: absolute;
|
|
top: 0.75rem;
|
|
left: 0.75rem;
|
|
padding: 0.25rem 0.625rem;
|
|
border-radius: 20px;
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
.portfolio-status.published { background: rgba(16,185,129,0.9); color: #fff; }
|
|
.portfolio-status.draft { background: rgba(245,158,11,0.9); color: #fff; }
|
|
.portfolio-featured {
|
|
position: absolute;
|
|
top: 0.75rem;
|
|
right: 0.75rem;
|
|
background: #fbbf24;
|
|
color: #fff;
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 0.75rem;
|
|
}
|
|
.portfolio-admin-content {
|
|
padding: 1.25rem;
|
|
}
|
|
.portfolio-admin-content h3 {
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
color: var(--dark);
|
|
margin-bottom: 0.25rem;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.portfolio-category {
|
|
font-size: 0.8rem;
|
|
color: var(--primary);
|
|
font-weight: 500;
|
|
text-transform: capitalize;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
.portfolio-client {
|
|
font-size: 0.8rem;
|
|
color: var(--gray-500);
|
|
margin-bottom: 1rem;
|
|
}
|
|
.portfolio-admin-actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
padding-top: 1rem;
|
|
border-top: 1px solid var(--gray-100);
|
|
}
|
|
|
|
/* ── Portfolio / Content editor layout ───────────────────── */
|
|
.editor-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 320px;
|
|
gap: 2rem;
|
|
}
|
|
.editor-main,
|
|
.editor-sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
}
|
|
.editor-actions {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
}
|
|
.editor-textarea {
|
|
min-height: 250px;
|
|
resize: vertical;
|
|
font-family: inherit;
|
|
line-height: 1.6;
|
|
}
|
|
@media (max-width: 1024px) {
|
|
.editor-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.editor-sidebar {
|
|
order: -1;
|
|
}
|
|
}
|
|
|
|
/* ── Image / file upload areas ───────────────────────────── */
|
|
.image-upload-area {
|
|
border: 2px dashed var(--gray-300);
|
|
border-radius: var(--radius-md);
|
|
padding: 2rem 1.5rem;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
background-size: cover;
|
|
background-position: center;
|
|
min-height: 140px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
}
|
|
.image-upload-area:hover {
|
|
border-color: var(--primary);
|
|
background-color: rgba(14, 165, 233, 0.02);
|
|
}
|
|
.image-upload-area i { font-size: 2rem; color: var(--gray-400); }
|
|
.image-upload-area p { color: var(--gray-600); font-weight: 500; margin: 0; }
|
|
.image-upload-area span { font-size: 0.8rem; color: var(--gray-400); }
|
|
|
|
.file-upload-area {
|
|
border: 2px dashed var(--gray-300);
|
|
border-radius: var(--radius-md);
|
|
padding: 1.5rem;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
position: relative;
|
|
}
|
|
.file-upload-area:hover { border-color: var(--primary); }
|
|
.file-upload-area i { font-size: 2rem; color: var(--gray-400); display: block; margin-bottom: 0.5rem; }
|
|
.file-upload-area p { color: var(--gray-600); font-weight: 500; margin-bottom: 0.25rem; }
|
|
.file-upload-area span { font-size: 0.75rem; color: var(--gray-400); }
|
|
.file-upload-area input[type="file"] {
|
|
position: absolute;
|
|
inset: 0;
|
|
opacity: 0;
|
|
cursor: pointer;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
/* ── Gallery upload / preview ────────────────────────────── */
|
|
.gallery-upload-area {
|
|
border: 2px dashed var(--gray-300);
|
|
border-radius: var(--radius-md);
|
|
padding: 1.5rem;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
.gallery-upload-area:hover { border-color: var(--primary); }
|
|
.gallery-upload-area i { font-size: 1.75rem; color: var(--gray-400); display: block; margin-bottom: 0.5rem; }
|
|
.gallery-upload-area p { color: var(--gray-600); margin: 0; }
|
|
.gallery-preview {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 0.5rem;
|
|
margin-top: 1rem;
|
|
}
|
|
.gallery-preview img {
|
|
width: 100%;
|
|
aspect-ratio: 1;
|
|
object-fit: cover;
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
.gallery-preview-item {
|
|
position: relative;
|
|
border-radius: var(--radius-sm);
|
|
overflow: hidden;
|
|
aspect-ratio: 1;
|
|
}
|
|
.gallery-preview-item img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
}
|
|
.gallery-remove-btn {
|
|
position: absolute;
|
|
top: 0.25rem;
|
|
right: 0.25rem;
|
|
width: 22px;
|
|
height: 22px;
|
|
border-radius: 50%;
|
|
background: rgba(0,0,0,0.6);
|
|
color: #fff;
|
|
border: none;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 0.625rem;
|
|
padding: 0;
|
|
line-height: 1;
|
|
}
|
|
.gallery-remove-btn:hover { background: var(--danger, #ef4444); }
|
|
|
|
/* ── Project results grid ────────────────────────────────── */
|
|
.results-grid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
.result-item {
|
|
display: grid;
|
|
grid-template-columns: 1fr 2fr;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
/* ── Checkbox wrapper ────────────────────────────────────── */
|
|
.checkbox-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
cursor: pointer;
|
|
font-weight: 500;
|
|
color: var(--gray-700);
|
|
font-size: 0.9rem;
|
|
}
|
|
.checkbox-wrapper input[type="checkbox"] {
|
|
width: 16px;
|
|
height: 16px;
|
|
cursor: pointer;
|
|
accent-color: var(--primary);
|
|
}
|
|
|
|
/* ── Subscribers stat cards small variant ────────────────── */
|
|
.stats-row .stat-card h4 {
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
color: var(--gray-600);
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
.stats-row .stat-card h2 {
|
|
font-size: 1.75rem;
|
|
font-weight: 700;
|
|
color: var(--dark);
|
|
line-height: 1;
|
|
}
|
|
|
|
/* ── Service card features list ─────────────────────────── */
|
|
.service-features-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0.5rem 0 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.25rem;
|
|
}
|
|
.service-features-list li {
|
|
font-size: 0.8125rem;
|
|
color: var(--gray-600);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.375rem;
|
|
}
|
|
.service-features-list li i {
|
|
color: var(--success, #10b981);
|
|
font-size: 0.7rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* ── Responsive additions ────────────────────────────────── */
|
|
@media (max-width: 768px) {
|
|
.services-admin-grid,
|
|
.portfolio-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.editor-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.result-item {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|