besper-frontend-site-dev-main
Version:
Professional B-esper Frontend Site - Site-wide integration toolkit for full website bot deployment
346 lines (296 loc) • 5.71 kB
CSS
/* Site-specific CSS for B-esper site renderer */
/* Includes pitchdeck section, enhanced layout, and unauthenticated user styles */
/* Pitchdeck Section Styles */
.besper-pitchdeck-section {
background: #fafbfc;
padding: 64px 0;
margin: 48px 0;
}
.pitchdeck-container {
max-width: 1280px;
margin: 0 auto;
padding: 0 24px;
}
.pitchdeck-container .section-header {
text-align: center;
margin-bottom: 48px;
}
.pitchdeck-container .section-header h2 {
font-size: 32px;
font-weight: 600;
color: #1a1f36;
margin-bottom: 12px;
letter-spacing: -0.5px;
}
.pitchdeck-container .section-header p {
font-size: 18px;
color: #6b7280;
max-width: 600px;
margin: 0 auto;
}
.pitchdeck-content {
background: white;
border-radius: 12px;
padding: 48px;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
border: 1px solid #e5e7eb;
}
.pitchdeck-preview {
display: flex;
align-items: center;
gap: 32px;
margin-bottom: 32px;
}
.pitchdeck-thumbnail {
flex-shrink: 0;
background: #f8f9fa;
border-radius: 8px;
padding: 16px;
border: 1px solid #e5e7eb;
}
.pitchdeck-info {
flex: 1;
}
.pitchdeck-info h3 {
font-size: 24px;
font-weight: 600;
color: #1a1f36;
margin-bottom: 8px;
}
.pitchdeck-info p {
font-size: 16px;
color: #6b7280;
line-height: 1.6;
margin-bottom: 16px;
}
.pitchdeck-stats {
display: flex;
gap: 16px;
font-size: 14px;
color: #9ca3af;
}
.pitchdeck-stats span {
padding: 4px 8px;
background: #f3f4f6;
border-radius: 4px;
font-weight: 500;
}
.pitchdeck-actions {
display: flex;
gap: 16px;
justify-content: center;
padding-top: 32px;
border-top: 1px solid #f3f4f6;
}
.pitchdeck-btn {
display: flex;
align-items: center;
gap: 8px;
padding: 12px 24px;
border-radius: 8px;
font-size: 16px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s ease;
border: none;
text-decoration: none;
}
.pitchdeck-btn.primary {
background: #0066cc;
color: white;
}
.pitchdeck-btn.primary:hover {
background: #0052a3;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}
.pitchdeck-btn.secondary {
background: white;
color: #374151;
border: 1px solid #d1d5db;
}
.pitchdeck-btn.secondary:hover {
background: #f9fafb;
border-color: #0066cc;
color: #0066cc;
transform: translateY(-1px);
}
/* Enhanced Home Page Layout */
.besper-home-page {
min-height: 100vh;
}
.besper-impact-wrapper {
position: relative;
z-index: 1;
}
/* Unauthenticated User Templates */
.unauthenticated-template {
background: #ffffff;
min-height: 100vh;
}
.unauthenticated-template .header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 32px 0;
text-align: center;
}
.unauthenticated-template .header h1 {
font-size: 48px;
font-weight: 700;
margin-bottom: 16px;
letter-spacing: -1px;
}
.unauthenticated-template .header p {
font-size: 20px;
opacity: 0.9;
max-width: 600px;
margin: 0 auto;
}
.unauthenticated-template .main-content {
padding: 64px 0;
}
.unauthenticated-template .cta-section {
background: #f8f9fa;
padding: 64px 0;
text-align: center;
}
.unauthenticated-template .cta-section h2 {
font-size: 32px;
font-weight: 600;
color: #1a1f36;
margin-bottom: 16px;
}
.unauthenticated-template .cta-section p {
font-size: 18px;
color: #6b7280;
margin-bottom: 32px;
}
.cta-button {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 16px 32px;
background: #0066cc;
color: white;
border: none;
border-radius: 8px;
font-size: 18px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
text-decoration: none;
}
.cta-button:hover {
background: #0052a3;
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(0, 102, 204, 0.3);
}
/* Responsive Design */
@media (max-width: 768px) {
.pitchdeck-content {
padding: 24px;
}
.pitchdeck-preview {
flex-direction: column;
text-align: center;
gap: 24px;
}
.pitchdeck-actions {
flex-direction: column;
align-items: center;
}
.pitchdeck-btn {
width: 100%;
justify-content: center;
max-width: 280px;
}
.unauthenticated-template .header h1 {
font-size: 32px;
}
.unauthenticated-template .header p {
font-size: 16px;
padding: 0 16px;
}
}
/* Loading States */
.besper-loading {
display: flex;
align-items: center;
justify-content: center;
padding: 64px;
color: #6b7280;
}
.besper-loading::after {
content: '';
width: 24px;
height: 24px;
border: 2px solid #e5e7eb;
border-top: 2px solid #0066cc;
border-radius: 50%;
animation: spin 1s linear infinite;
margin-left: 12px;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
/* Error States */
.besper-error {
padding: 32px;
text-align: center;
color: #dc2626;
background: #fef2f2;
border: 1px solid #fecaca;
border-radius: 8px;
margin: 16px 0;
}
.besper-error h3 {
font-size: 18px;
font-weight: 600;
margin-bottom: 8px;
}
.besper-error p {
color: #7f1d1d;
margin-bottom: 16px;
}
.besper-error button {
background: #dc2626;
color: white;
border: none;
padding: 8px 16px;
border-radius: 4px;
cursor: pointer;
font-weight: 500;
}
.besper-error button:hover {
background: #b91c1c;
}
/* Animation Utilities */
.fade-in {
animation: fadeIn 0.5s ease-in-out;
}
.slide-up {
animation: slideUp 0.6s ease-out;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(24px);
}
to {
opacity: 1;
transform: translateY(0);
}
}