Spaces:
Runtime error
Runtime error
| .documents-hero { | |
| background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, #047857 100%); | |
| padding: 3rem 0; | |
| position: relative; | |
| overflow: hidden; | |
| color: white; | |
| margin-top: -1rem; | |
| margin-bottom: 3rem; | |
| } | |
| .documents-hero::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background: | |
| radial-gradient(circle at 30% 70%, rgba(120, 119, 198, 0.15) 0%, transparent 50%), | |
| radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%); | |
| animation: documentsFloat 20s ease-in-out infinite; | |
| } | |
| @keyframes documentsFloat { | |
| 0%, 100% { transform: translateY(0px) rotate(0deg); } | |
| 50% { transform: translateY(-10px) rotate(1deg); } | |
| } | |
| .hero-content { | |
| position: relative; | |
| z-index: 2; | |
| text-align: center; | |
| max-width: 600px; | |
| margin: 0 auto; | |
| } | |
| .hero-greeting { | |
| font-size: clamp(2rem, 4vw, 3rem); | |
| font-weight: 900; | |
| margin-bottom: 1rem; | |
| background: linear-gradient(45deg, #fff, rgba(255,255,255,0.8)); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| } | |
| .hero-subtitle { | |
| font-size: 1.2rem; | |
| opacity: 0.9; | |
| margin-bottom: 2rem; | |
| } | |
| .btn-hero-action { | |
| background: rgba(255, 255, 255, 0.2); | |
| color: white; | |
| border: 2px solid rgba(255, 255, 255, 0.3); | |
| border-radius: 50px; | |
| padding: 0.75rem 2rem; | |
| font-weight: 600; | |
| text-decoration: none; | |
| display: inline-block; | |
| margin: 0.5rem; | |
| position: relative; | |
| overflow: hidden; | |
| transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); | |
| backdrop-filter: blur(10px); | |
| } | |
| .btn-hero-action::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: -100%; | |
| width: 100%; | |
| height: 100%; | |
| background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); | |
| transition: left 0.5s; | |
| } | |
| .btn-hero-action:hover::before { | |
| left: 100%; | |
| } | |
| .btn-hero-action:hover { | |
| transform: translateY(-3px); | |
| box-shadow: 0 20px 40px rgba(0,0,0,0.3); | |
| background: rgba(255, 255, 255, 0.3); | |
| border-color: rgba(255, 255, 255, 0.5); | |
| } | |
| /* Document Cards */ | |
| .document-card { | |
| background: var(--card-bg); | |
| border-radius: 20px; | |
| padding: 2rem; | |
| box-shadow: var(--shadow); | |
| border: 1px solid var(--border-color); | |
| position: relative; | |
| overflow: hidden; | |
| transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); | |
| animation: documentCardSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) both; | |
| } | |
| .document-card:nth-child(1) { animation-delay: 0.1s; } | |
| .document-card:nth-child(2) { animation-delay: 0.2s; } | |
| .document-card:nth-child(3) { animation-delay: 0.3s; } | |
| .document-card:nth-child(4) { animation-delay: 0.4s; } | |
| .document-card:nth-child(5) { animation-delay: 0.5s; } | |
| .document-card:nth-child(6) { animation-delay: 0.6s; } | |
| @keyframes documentCardSlideIn { | |
| from { | |
| opacity: 0; | |
| transform: translateY(30px) scale(0.95); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0) scale(1); | |
| } | |
| } | |
| .document-card:hover { | |
| transform: translateY(-8px); | |
| box-shadow: 0 25px 50px rgba(0,0,0,0.15); | |
| } | |
| .file-icon { | |
| width: 60px; | |
| height: 60px; | |
| border-radius: 15px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 1.5rem; | |
| margin-bottom: 1rem; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .file-icon::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1)); | |
| border-radius: inherit; | |
| } | |
| .file-icon i { | |
| position: relative; | |
| z-index: 1; | |
| } | |
| .document-title { | |
| font-size: 1.1rem; | |
| font-weight: 700; | |
| color: var(--text-primary); | |
| margin-bottom: 0.5rem; | |
| display: -webkit-box; | |
| -webkit-line-clamp: 2; | |
| -webkit-box-orient: vertical; | |
| overflow: hidden; | |
| line-clamp: 2; | |
| } | |
| .file-icon-pdf { | |
| background: linear-gradient(135deg, #dc2626, #b91c1c) ; | |
| } | |
| .file-icon-docx { | |
| background: linear-gradient(135deg, #2563eb, #1d4ed8) ; | |
| } | |
| .file-icon-pptx { | |
| background: linear-gradient(135deg, #ea580c, #c2410c) ; | |
| } | |
| .file-icon-generic { | |
| background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) ; | |
| } | |
| .document-meta { | |
| font-size: 0.875rem; | |
| color: var(--text-secondary); | |
| margin-bottom: 1rem; | |
| } | |
| .document-actions { | |
| display: flex; | |
| gap: 0.5rem; | |
| justify-content: flex-end; | |
| } | |
| .btn-document-action { | |
| background: transparent; | |
| border: none; | |
| color: var(--text-secondary); | |
| font-size: 1rem; | |
| padding: 0.5rem; | |
| border-radius: 8px; | |
| transition: all 0.2s ease; | |
| cursor: pointer; | |
| } | |
| .btn-document-action:hover { | |
| background: var(--background-light); | |
| color: var(--primary-color); | |
| transform: scale(1.1); | |
| } | |
| /* Empty State */ | |
| .empty-state { | |
| text-align: center; | |
| padding: 4rem 2rem; | |
| color: var(--text-secondary); | |
| } | |
| .empty-state-icon { | |
| font-size: 4rem; | |
| margin-bottom: 1.5rem; | |
| opacity: 0.5; | |
| } | |
| .empty-state-title { | |
| font-size: 1.5rem; | |
| font-weight: 600; | |
| margin-bottom: 1rem; | |
| color: var(--text-primary); | |
| } | |
| .empty-state-text { | |
| font-size: 1.1rem; | |
| margin-bottom: 2rem; | |
| } | |
| /* Filters */ | |
| .filters-card { | |
| background: var(--card-bg); | |
| border-radius: 16px; | |
| padding: 2rem; | |
| box-shadow: var(--shadow); | |
| border: 1px solid var(--border-color); | |
| margin-bottom: 2rem; | |
| backdrop-filter: blur(10px); | |
| } | |
| .filter-input { | |
| background: var(--input-bg); | |
| border: 2px solid var(--border-color); | |
| border-radius: 10px; | |
| padding: 0.75rem 1rem; | |
| color: var(--text-primary); | |
| transition: all 0.3s ease; | |
| } | |
| .filter-input:focus { | |
| border-color: var(--primary-color); | |
| box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1); | |
| outline: none; | |
| } | |
| .filter-select { | |
| background: var(--input-bg); | |
| border: 2px solid var(--border-color); | |
| border-radius: 10px; | |
| padding: 0.75rem 1rem; | |
| color: var(--text-primary); | |
| transition: all 0.3s ease; | |
| } | |
| .filter-select:focus { | |
| border-color: var(--primary-color); | |
| box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1); | |
| outline: none; | |
| } | |
| .btn-filter { | |
| background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); | |
| color: white; | |
| border: none; | |
| border-radius: 10px; | |
| padding: 0.75rem 1.5rem; | |
| font-weight: 600; | |
| transition: all 0.3s ease; | |
| } | |
| .btn-filter:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3); | |
| } | |
| .btn-clear { | |
| background: var(--background-light); | |
| color: var(--text-secondary); | |
| border: 2px solid var(--border-color); | |
| border-radius: 10px; | |
| padding: 0.75rem 1.5rem; | |
| font-weight: 600; | |
| transition: all 0.3s ease; | |
| } | |
| .btn-clear:hover { | |
| background: var(--border-color); | |
| color: var(--text-primary); | |
| transform: translateY(-2px); | |
| } | |
| /* Responsive */ | |
| @media (max-width: 768px) { | |
| .documents-hero { | |
| padding: 2rem 0; | |
| } | |
| .hero-greeting { | |
| font-size: 2rem; | |
| } | |
| .hero-subtitle { | |
| font-size: 1rem; | |
| } | |
| .btn-hero-action { | |
| padding: 0.5rem 1.5rem; | |
| margin: 0.25rem; | |
| } | |
| .document-card { | |
| padding: 1.5rem; | |
| } | |
| .filters-card { | |
| padding: 1.5rem; | |
| } | |
| } | |
| [data-theme="dark"] .documents-hero { | |
| background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%); | |
| } |