297 lines
5.5 KiB
CSS
297 lines
5.5 KiB
CSS
:root {
|
|
--bg: #f4f7f6;
|
|
--surface: #ffffff;
|
|
--text: #1e293b;
|
|
--muted: #64748b;
|
|
--border: #e2e8f0;
|
|
--primary: #3b82f6;
|
|
--primary-hover: #2563eb;
|
|
--accent: #0ea5e9;
|
|
--success: #10b981;
|
|
--warning: #f59e0b;
|
|
--shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
|
|
}
|
|
|
|
body.app-body {
|
|
background:
|
|
radial-gradient(circle at top left, rgba(59, 130, 246, 0.05), transparent 40%),
|
|
radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.05), transparent 40%),
|
|
var(--bg);
|
|
color: var(--text);
|
|
font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
font-size: 15px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.navbar {
|
|
backdrop-filter: blur(10px);
|
|
background: rgba(255, 255, 255, 0.85) !important;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
|
|
}
|
|
|
|
.navbar-brand {
|
|
letter-spacing: 0.02em;
|
|
color: var(--primary) !important;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.card,
|
|
.panel {
|
|
border: 1px solid var(--border);
|
|
border-radius: 16px;
|
|
background: var(--surface);
|
|
box-shadow: var(--shadow);
|
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
.hero-section {
|
|
position: relative;
|
|
border-radius: 24px;
|
|
overflow: hidden;
|
|
background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
|
|
border: 1px solid var(--border);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.hero-img-container {
|
|
height: 100%;
|
|
min-height: 400px;
|
|
background-size: cover;
|
|
background-position: center;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.hero-content {
|
|
padding: 60px 40px;
|
|
z-index: 2;
|
|
}
|
|
|
|
.motivation-box {
|
|
background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
|
|
color: white;
|
|
padding: 40px;
|
|
border-radius: 20px;
|
|
text-align: center;
|
|
box-shadow: 0 15px 35px rgba(59, 130, 246, 0.2);
|
|
}
|
|
|
|
.motivation-box h3 {
|
|
font-weight: 700;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.feature-icon {
|
|
width: 60px;
|
|
height: 60px;
|
|
background: #eff6ff;
|
|
color: var(--primary);
|
|
border-radius: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 24px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.stat-card {
|
|
padding: 24px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 16px;
|
|
background: var(--surface);
|
|
box-shadow: var(--shadow);
|
|
text-align: center;
|
|
}
|
|
|
|
.stat-card .fs-4 {
|
|
color: var(--primary);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.badge-status,
|
|
.badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 13px;
|
|
padding: 8px 14px;
|
|
border-radius: 999px;
|
|
font-weight: 600;
|
|
border: 1px solid transparent;
|
|
}
|
|
|
|
.badge-status.posted,
|
|
.badge.posted {
|
|
background: #f1f5f9;
|
|
color: #475569;
|
|
}
|
|
|
|
.badge-status.offered,
|
|
.badge.offered {
|
|
background: #e0f2fe;
|
|
color: #0284c7;
|
|
}
|
|
|
|
.badge-status.confirmed,
|
|
.badge.confirmed {
|
|
background: #dcfce7;
|
|
color: #16a34a;
|
|
}
|
|
|
|
.badge-status.in_transit,
|
|
.badge.in_transit {
|
|
background: #fef3c7;
|
|
color: #d97706;
|
|
}
|
|
|
|
.badge-status.delivered,
|
|
.badge.delivered {
|
|
background: #f3e8ff;
|
|
color: #9333ea;
|
|
}
|
|
|
|
.table thead th {
|
|
font-size: 13px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: var(--muted);
|
|
border-bottom: 2px solid #f1f5f9;
|
|
padding-bottom: 12px;
|
|
}
|
|
|
|
.table tbody td {
|
|
vertical-align: middle;
|
|
padding: 16px 8px;
|
|
border-bottom: 1px solid #f8fafc;
|
|
}
|
|
|
|
.table tbody tr:hover {
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.form-control,
|
|
.form-select {
|
|
border-radius: 12px;
|
|
border: 1px solid var(--border);
|
|
padding: 12px 16px;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.form-control:focus,
|
|
.form-select:focus {
|
|
background: white;
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
|
|
}
|
|
|
|
.form-label {
|
|
font-weight: 600;
|
|
color: #475569;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--primary);
|
|
border-color: var(--primary);
|
|
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
|
|
}
|
|
|
|
.btn-primary:hover,
|
|
.btn-primary:focus {
|
|
background: var(--primary-hover);
|
|
border-color: var(--primary-hover);
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
|
|
}
|
|
|
|
.btn {
|
|
border-radius: 12px;
|
|
font-weight: 600;
|
|
padding: 10px 20px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.btn-outline-dark {
|
|
border-color: var(--border);
|
|
color: #334155;
|
|
}
|
|
|
|
.btn-outline-dark:hover {
|
|
background: #f1f5f9;
|
|
color: #0f172a;
|
|
border-color: #cbd5e1;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
margin-bottom: 20px;
|
|
color: var(--text);
|
|
}
|
|
|
|
.muted {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.alert {
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.admin-sidebar {
|
|
position: sticky;
|
|
top: 76px;
|
|
height: calc(100vh - 76px);
|
|
overflow-y: auto;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.admin-nav-link {
|
|
display: block;
|
|
padding: 12px 16px;
|
|
border-radius: 12px;
|
|
color: #475569;
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
border: 1px solid transparent;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.admin-nav-link:hover {
|
|
background: #f1f5f9;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.admin-nav-link.active {
|
|
background: #eff6ff;
|
|
color: var(--primary);
|
|
border-color: #bfdbfe;
|
|
}
|
|
|
|
[dir="rtl"] .navbar .ms-auto {
|
|
margin-left: 0 !important;
|
|
margin-right: auto !important;
|
|
}
|
|
|
|
[dir="rtl"] .text-end {
|
|
text-align: left !important;
|
|
}
|
|
|
|
[dir="rtl"] .text-start {
|
|
text-align: right !important;
|
|
}
|
|
|
|
@media (max-width: 991px) {
|
|
.hero-content {
|
|
padding: 30px 20px;
|
|
}
|
|
|
|
.hero-img-container {
|
|
min-height: 250px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.admin-sidebar {
|
|
position: static;
|
|
height: auto;
|
|
overflow-y: visible;
|
|
}
|
|
} |