GrantForge Bot
Deploy to Hugging Face
afd56bc
/* GŁÓWNY GRID (2 kolumny) */
.dashboard-layout {
display: flex; /* Możemy użyć flexbox lub grid: 320px 1fr */
height: 100vh;
gap: 1px;
background: var(--border-subtle);
overflow: hidden;
}
.dashboard-sidebar-left {
width: 320px;
flex-shrink: 0;
background: rgba(10, 10, 10, 0.85);
backdrop-filter: blur(20px);
display: flex;
flex-direction: column;
overflow-y: auto;
border-right: 1px solid var(--border-subtle);
transition: width 0.3s ease, margin-left 0.3s ease;
}
.dashboard-main {
flex: 1;
background: rgba(5, 5, 5, 0.95);
background-image: radial-gradient(circle at 50% -20%, rgba(59, 130, 246, 0.1), transparent 50%);
display: flex;
flex-direction: column;
overflow-y: auto;
position: relative; /* Potrzebne do sticky header */
/* PANELE LEWE I PRAWE */
.sidebar-header {
padding: 1.8rem 1.5rem;
display: flex;
align-items: center;
gap: 1rem;
border-bottom: 1px solid var(--border-subtle);
}
.sidebar-logo {
width: 44px;
height: 44px;
background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
color: white;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-weight: 800;
font-family: var(--font-display);
font-size: 1.4rem;
box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}
.sidebar-content {
padding: 1.5rem;
flex: 1;
display: flex;
flex-direction: column;
gap: 1.5rem;
}
/* GLASS KARTY - WIĘKSZY CONTRAST i BLUR */
.glass-card {
background: linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
border: 1px solid var(--border-strong);
border-top-color: rgba(255,255,255,0.2);
border-left-color: rgba(255,255,255,0.15);
border-radius: 16px;
padding: 1.5rem;
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
box-shadow: 0 4px 20px rgba(0,0,0,0.3);
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}
.glass-card:hover {
transform: translateY(-3px);
box-shadow: 0 8px 30px rgba(0,0,0,0.4);
border-color: rgba(255,255,255,0.2);
}
.card-title {
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 1px;
color: var(--text-secondary);
font-weight: 700;
margin-bottom: 1.2rem;
display: flex;
justify-content: space-between;
align-items: center;
}
/* PROGRESS BAR */
.progress-rail {
height: 8px;
background: rgba(255,255,255,0.08);
border-radius: 4px;
overflow: hidden;
margin-top: 0.6rem;
box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}
.progress-fill {
height: 100%;
background: var(--accent-blue);
border-radius: 4px;
transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}
/* GŁÓWNA TREŚĆ STRONY */
.main-header {
padding: 2.5rem 3.5rem 0;
}
.main-title {
font-size: 2.2rem;
font-weight: 800;
margin-bottom: 2.5rem;
letter-spacing: -0.5px;
background: linear-gradient(to right, #fff, #a1a1aa);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
/* STEPPER */
.stepper {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 2rem;
position: relative;
}
.step {
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
align-items: center;
gap: 0.8rem;
}
.step-circle {
width: 36px;
height: 36px;
border-radius: 50%;
background: var(--bg-surface);
border: 2px solid var(--border-strong);
display: flex;
align-items: center;
justify-content: center;
font-size: 0.9rem;
font-weight: 700;
color: var(--text-muted);
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.step.active .step-circle {
border-color: var(--accent-blue);
background: var(--accent-blue);
color: white;
box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}
.step.completed .step-circle {
background: var(--accent-green);
border-color: var(--accent-green);
color: white;
}
.step-label {
font-size: 0.85rem;
color: var(--text-muted);
font-weight: 500;
}
.step.active .step-label {
color: var(--text-primary);
font-weight: 600;
}
/* ZAKŁADKI */
.tabs-header {
display: flex;
gap: 2.5rem;
border-bottom: 1px solid var(--border-strong);
padding: 0 3.5rem;
}
.tab-link {
padding: 1.2rem 0;
font-size: 1rem;
color: var(--text-secondary);
text-decoration: none;
border-bottom: 2px solid transparent;
transition: all 0.3s ease;
font-weight: 500;
}
.tab-link:hover {
color: var(--text-primary);
}
.tab-link.active {
color: var(--accent-blue);
border-bottom-color: var(--accent-blue);
font-weight: 700;
}
.main-content-scroll {
padding: 2.5rem 3.5rem;
flex: 1;
overflow-y: auto;
}
/* BADGE */
.badge {
padding: 0.3rem 0.8rem;
border-radius: 20px;
font-size: 0.75rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.badge-success { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-warning { background: rgba(245, 158, 11, 0.1); color: var(--accent-orange); border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-error { background: rgba(239, 68, 68, 0.1); color: var(--accent-red); border: 1px solid rgba(239, 68, 68, 0.3); }
/* Pricing Plans */
.pricing-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
margin-top: 2.5rem;
}
/* Responsywność ProjectWorkspace */
.workspace-container {
flex: 1;
display: flex;
overflow: hidden;
}
.workspace-sidebar {
width: 320px;
border-right: 1px solid rgba(255,255,255,0.05);
background: rgba(0,0,0,0.1);
overflow-y: auto;
padding: 1.5rem;
flex-shrink: 0;
transition: width 0.3s ease;
}
.workspace-main {
flex: 1;
overflow-y: auto;
padding: 2rem;
background: transparent;
}
@media (max-width: 1200px) {
.dashboard-sidebar-left {
width: 250px;
}
.workspace-sidebar {
width: 250px;
padding: 1rem;
}
}
@media (max-width: 900px) {
.dashboard-sidebar-left {
/* Zwinięty sidebar na węższych ekranach (zostawiamy ikony) */
width: 70px;
}
.dashboard-sidebar-left .sidebar-header h2,
.dashboard-sidebar-left .sidebar-header p,
.dashboard-sidebar-left .card-title,
.dashboard-sidebar-left span:not(.step-circle),
.dashboard-sidebar-left h3 {
display: none;
}
.workspace-sidebar {
display: none;
}
.workspace-main {
padding: 1rem;
}
.main-header {
padding: 1.5rem 1.5rem 0;
}
.tabs-header {
padding: 0 1.5rem;
gap: 1rem;
overflow-x: auto;
white-space: nowrap; /* Zapobiega łamaniu w lini */
}
.main-content-scroll {
padding: 1.5rem;
}
.pricing-grid {
grid-template-columns: 1fr;
gap: 1.5rem;
}
}
@media (max-width: 600px) {
.dashboard-layout {
grid-template-columns: 1fr;
}
.stepper {
flex-direction: column;
align-items: flex-start;
gap: 1rem;
}
.stepper::before {
display: none; /* Hide connecting line */
}
.step {
flex-direction: row;
}
.section-editor-grid {
grid-template-columns: 1fr !important;
}
.qa-panel-container {
bottom: 1rem !important;
right: 1rem !important;
}
.qa-panel-btn {
bottom: 1rem !important;
right: 1rem !important;
/* trochę mniejszy m.in by nie zasłaniał zbytnio */
width: 50px !important;
height: 50px !important;
}
.qa-panel-btn svg {
width: 20px;
height: 20px;
}
}
/* Modal Wizard Overlay Responsiveness */
@media (max-width: 768px) {
.glass-card {
padding: 1rem;
}
.wizard-textarea {
height: 150px !important;
}
}