html { font-size: 14px; } @media (min-width: 768px) { html { font-size: 16px; } } .btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus { box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb; } html { height: 100%; } body { min-height: 100vh; padding-top: 70px; /* Altura da navbar fixa */ display: flex; flex-direction: column; } /* Garantir que a navbar não seja afetada pelo flexbox */ .navbar { position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; z-index: 1030 !important; } /* Container principal com flexbox apenas para o conteúdo */ body > .container-fluid { flex: 1; display: flex; flex-direction: column; min-height: calc(100vh - 70px); /* Altura total menos navbar */ } /* Exceções para containers que não devem usar flexbox */ .position-fixed .container-fluid, .navbar .container-fluid, .user-page .container { display: block !important; flex: none !important; min-height: auto !important; } /* Correção específica para a tarja de preview */ .position-fixed .container-fluid .row { display: flex !important; flex-direction: row !important; align-items: center !important; margin: 0 !important; } .position-fixed .container-fluid .row .col, .position-fixed .container-fluid .row .col-auto { display: block !important; flex: none !important; } /* Garantir que páginas de usuário não sejam afetadas pelo flexbox global */ .user-page { flex: none !important; } /* Reset específico para user pages - deixar que o CSS inline controle */ .user-page .container, .user-page .row, .user-page .col, .user-page .col-lg-6, .user-page .col-md-8 { /* CSS inline controlará o layout */ } main { flex: 1; } .footer { width: 100%; margin-top: auto; background-color: #f8f9fa; border-top: 1px solid #dee2e6; padding: 20px 0; } /* Custom Styles */ .hero-section { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important; color: white !important; } .hover-card { transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; } .hover-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important; } .navbar-brand { font-size: 1.5rem; } .profile-image-placeholder { width: 120px; height: 120px; background-color: #f8f9fa; border: 4px solid #007bff; border-radius: 50%; font-size: 3rem; color: #6c757d; } /* Link Animation */ .link-button { transition: all 0.3s ease; position: relative; overflow: hidden; } .link-button::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.5s; } .link-button:hover::before { left: 100%; } /* Responsive improvements */ @media (max-width: 768px) { .hero-section h1 { font-size: 2.5rem; } .hero-section .lead { font-size: 1.1rem; } } /* Card improvements */ .card { border-radius: 15px; overflow: hidden; } .card-header { border-bottom: none; } .badge { font-size: 0.8rem; border-radius: 20px; } /* Button improvements */ .btn { border-radius: 50px; font-weight: 500; padding: 0.6rem 1.5rem; transition: all 0.3s ease; } .btn-lg { padding: 0.8rem 2rem; } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(37, 140, 251, 0.3); } /* Alert improvements */ .alert { border-radius: 15px; border: none; } /* Form improvements */ .form-control { border-radius: 10px; border: 2px solid #e9ecef; transition: all 0.3s ease; } .form-control:focus { border-color: #007bff; box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25); } /* Navbar improvements */ .navbar { border-radius: 0; box-shadow: 0 2px 10px rgba(0,0,0,0.1); display: flex !important; flex-wrap: nowrap !important; } /* Corrigir problemas de layout da navbar */ .navbar .container-fluid { display: flex !important; flex-direction: row !important; min-height: auto !important; flex-wrap: nowrap !important; } .navbar-nav { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; } .navbar-collapse { display: flex !important; flex-basis: auto !important; } .nav-link { border-radius: 20px; margin: 0 0.2rem; transition: all 0.3s ease; } .nav-link:hover { background-color: rgba(0,123,255,0.1); } /* Table improvements */ .table { border-radius: 15px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); } .table thead th { border-bottom: none; font-weight: 600; } /* Accordion improvements */ .accordion-item { border-radius: 10px; margin-bottom: 1rem; border: 1px solid #e9ecef; } .accordion-button { border-radius: 10px; font-weight: 500; } .accordion-button:not(.collapsed) { background-color: #f8f9fa; color: #007bff; } /* Loading animation */ .loading { display: inline-block; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,.3); border-radius: 50%; border-top-color: #fff; animation: spin 1s ease-in-out infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* Utility classes */ .text-gradient { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .shadow-primary { box-shadow: 0 4px 15px rgba(0,123,255,0.3); } .border-gradient { border: 2px solid; border-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%) 1; } /* Menu Home (mesmo gradiente do fundo principal) */ .bg-home-blue { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important; /* Removida linha divisória na home */ } /* Menu Dashboard (mais neutro) */ .bg-dashboard { background-color: #ffffff !important; border-bottom: 1px solid #dee2e6; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } /* Responsive adjustments */ @media (max-width: 576px) { body { padding-top: 60px; } .bg-home-blue .navbar-nav { background: rgba(102, 126, 234, 0.95); border-radius: 8px; margin-top: 10px; padding: 10px; flex-direction: column !important; } .navbar-nav { flex-direction: column !important; } .navbar-collapse { flex-direction: column !important; } } /* Para telas médias e grandes, manter horizontal */ @media (min-width: 577px) { .navbar-nav { flex-direction: row !important; } .navbar-collapse { flex-direction: row !important; justify-content: space-between !important; } } /* Hamburger menu para home */ .navbar-dark .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); } /* Hover effects para home menu */ .bg-home-blue .nav-link:hover { background-color: rgba(255, 255, 255, 0.1); border-radius: 4px; transition: all 0.3s ease; } /* Hover effects para dashboard menu */ .bg-dashboard .nav-link:hover { background-color: rgba(37, 99, 235, 0.1); border-radius: 4px; transition: all 0.3s ease; } /* Garantir contraste adequado no menu home */ .bg-home-blue .navbar-brand, .bg-home-blue .nav-link { color: #ffffff !important; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); }