Files

709 lines
13 KiB
CSS
Raw Permalink Normal View History

2025-06-12 18:30:11 -03:00
/* Authentication Header Styles */
.auth-header {
2025-10-27 12:51:50 -03:00
background: linear-gradient(135deg, #4A5D8A 0%, #5A3E7A 100%);
2025-06-12 18:30:11 -03:00
color: white;
2025-06-16 17:33:52 -03:00
padding: 12px 0;
2025-10-27 12:51:50 -03:00
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
2025-06-16 17:33:52 -03:00
border-radius: 6px;
2025-06-12 18:30:11 -03:00
top: 0;
z-index: 1000;
}
.auth-container {
max-width: 1200px;
margin: 0 auto;
2025-06-16 17:33:52 -03:00
padding: 0 15px;
2025-06-12 18:30:11 -03:00
display: flex;
justify-content: space-between;
align-items: center;
2025-06-16 17:33:52 -03:00
min-height: 50px;
2025-06-12 18:30:11 -03:00
}
2025-12-03 16:42:52 -03:00
.logo h1 {
margin: 0;
font-size: 2rem;
font-weight: 700;
letter-spacing: -0.5px;
}
2025-06-12 18:30:11 -03:00
.logo h2 {
margin: 0;
2025-06-16 17:33:52 -03:00
font-size: 1.3rem;
2025-06-12 18:30:11 -03:00
font-weight: 600;
}
.auth-section {
display: flex;
align-items: center;
}
2025-12-03 16:42:52 -03:00
.auth-buttons {
display: flex;
align-items: center;
gap: 12px;
}
.auth-buttons .header-btn.primary {
background: linear-gradient(135deg, #6B8DD6 0%, #5A7BC6 100%);
border: 1px solid rgba(107, 141, 214, 0.6);
}
.auth-buttons .header-btn.primary:hover {
box-shadow: 0 4px 15px rgba(107, 141, 214, 0.4);
}
/* Authentication Modal */
.auth-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.85);
display: flex;
justify-content: center;
align-items: center;
z-index: 10000;
backdrop-filter: blur(8px);
animation: fadeIn 0.3s ease-out;
}
.auth-modal-content {
background: rgba(40, 40, 40, 0.95);
backdrop-filter: blur(20px);
border-radius: 12px;
padding: 40px;
max-width: 450px;
width: 90%;
2025-10-27 12:51:50 -03:00
border: 1px solid rgba(100, 100, 100, 0.3);
2025-12-03 16:42:52 -03:00
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
position: relative;
animation: slideUp 0.3s ease-out;
}
.close-modal-btn {
position: absolute;
top: 15px;
right: 15px;
background: transparent;
border: none;
color: rgba(255, 255, 255, 0.6);
font-size: 2rem;
cursor: pointer;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 6px;
transition: all 0.2s ease;
line-height: 1;
}
.close-modal-btn:hover {
background: rgba(255, 255, 255, 0.1);
color: white;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.auth-form {
background: transparent;
border-radius: 0;
padding: 0;
min-width: auto;
border: none;
2025-06-12 18:30:11 -03:00
}
.auth-form h3 {
2025-12-03 16:42:52 -03:00
margin: 0 0 25px 0;
2025-06-12 18:30:11 -03:00
text-align: center;
2025-12-03 16:42:52 -03:00
font-size: 1.6rem;
font-weight: 600;
color: white;
2025-06-12 18:30:11 -03:00
}
.auth-form .form-group {
margin-bottom: 15px;
}
.auth-form input {
width: 100%;
padding: 12px;
2025-10-27 12:51:50 -03:00
border: 1px solid rgba(100, 100, 100, 0.5);
2025-06-12 18:30:11 -03:00
border-radius: 6px;
2025-10-27 12:51:50 -03:00
background: rgba(30, 30, 30, 0.8);
color: #e0e0e0;
2025-06-12 18:30:11 -03:00
font-size: 1rem;
backdrop-filter: blur(10px);
box-sizing: border-box;
}
.auth-form input::placeholder {
2025-10-27 12:51:50 -03:00
color: rgba(160, 160, 160, 0.8);
2025-06-12 18:30:11 -03:00
}
.auth-form input:focus {
outline: none;
2025-10-27 12:51:50 -03:00
border-color: rgba(107, 141, 214, 0.8);
background: rgba(40, 40, 40, 0.9);
2025-06-12 18:30:11 -03:00
}
.auth-btn {
width: 100%;
padding: 12px;
2025-10-27 12:51:50 -03:00
background: rgba(107, 141, 214, 0.8);
2025-06-12 18:30:11 -03:00
color: white;
2025-10-27 12:51:50 -03:00
border: 1px solid rgba(107, 141, 214, 0.5);
2025-06-12 18:30:11 -03:00
border-radius: 6px;
cursor: pointer;
font-size: 1rem;
font-weight: 600;
transition: all 0.3s ease;
backdrop-filter: blur(10px);
}
.auth-btn:hover {
2025-10-27 12:51:50 -03:00
background: rgba(107, 141, 214, 0.9);
2025-06-12 18:30:11 -03:00
transform: translateY(-1px);
}
.auth-switch {
text-align: center;
margin: 15px 0 0 0;
font-size: 0.9rem;
2025-10-27 12:51:50 -03:00
color: rgba(200, 200, 200, 0.9);
2025-06-12 18:30:11 -03:00
}
.auth-switch a {
color: white;
text-decoration: none;
font-weight: 600;
}
.auth-switch a:hover {
text-decoration: underline;
}
.user-info {
display: flex;
align-items: center;
2025-06-16 17:33:52 -03:00
gap: 10px;
2025-06-12 18:30:11 -03:00
}
.user-details {
display: flex;
align-items: center;
gap: 15px;
flex-wrap: wrap;
2025-06-12 18:30:11 -03:00
}
.user-details span {
font-weight: 500;
2025-06-16 17:33:52 -03:00
font-size: 0.9rem;
white-space: nowrap;
}
/* Header buttons container */
.header-buttons {
display: flex;
align-items: center;
gap: 8px;
}
/* Header button styles */
.header-btn {
padding: 6px 12px;
2025-10-27 12:51:50 -03:00
background: rgba(107, 141, 214, 0.6);
color: white;
2025-10-27 12:51:50 -03:00
border: 1px solid rgba(107, 141, 214, 0.4);
border-radius: 6px;
cursor: pointer;
font-size: 0.8rem;
transition: all 0.3s ease;
backdrop-filter: blur(10px);
white-space: nowrap;
min-height: 32px;
}
.header-btn:hover {
2025-10-27 12:51:50 -03:00
background: rgba(107, 141, 214, 0.8);
transform: translateY(-1px);
}
.header-btn.logout:hover {
background: rgba(255, 107, 107, 0.3);
border-color: rgba(255, 107, 107, 0.5);
}
/* Mobile menu toggle button */
.mobile-menu-toggle {
display: none;
padding: 8px 12px;
2025-10-27 12:51:50 -03:00
background: rgba(107, 141, 214, 0.6);
color: white;
2025-10-27 12:51:50 -03:00
border: 1px solid rgba(107, 141, 214, 0.4);
border-radius: 6px;
cursor: pointer;
font-size: 1.2rem;
transition: all 0.3s ease;
backdrop-filter: blur(10px);
}
.mobile-menu-toggle:hover {
2025-10-27 12:51:50 -03:00
background: rgba(107, 141, 214, 0.8);
}
/* Mobile dropdown menu */
.mobile-menu {
position: absolute;
top: 100%;
right: 0;
2025-10-27 12:51:50 -03:00
background: rgba(74, 93, 138, 0.95);
backdrop-filter: blur(15px);
2025-10-27 12:51:50 -03:00
border: 1px solid rgba(100, 100, 100, 0.3);
border-radius: 8px;
2025-10-27 12:51:50 -03:00
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
z-index: 1000;
min-width: 160px;
margin-top: 8px;
2025-06-12 18:30:11 -03:00
}
.mobile-menu-item {
display: block;
width: 100%;
padding: 12px 16px;
background: transparent;
color: white;
border: none;
text-align: left;
cursor: pointer;
font-size: 0.9rem;
transition: all 0.2s ease;
2025-10-27 12:51:50 -03:00
border-bottom: 1px solid rgba(100, 100, 100, 0.2);
}
.mobile-menu-item:last-child {
border-bottom: none;
}
.mobile-menu-item:hover {
2025-10-27 12:51:50 -03:00
background: rgba(107, 141, 214, 0.4);
}
.mobile-menu-item.logout:hover {
background: rgba(255, 107, 107, 0.3);
}
/* Legacy support for existing logout-btn class */
2025-06-12 18:30:11 -03:00
.logout-btn {
2025-06-16 17:33:52 -03:00
padding: 6px 12px;
2025-10-27 12:51:50 -03:00
background: rgba(107, 141, 214, 0.6);
2025-06-12 18:30:11 -03:00
color: white;
2025-10-27 12:51:50 -03:00
border: 1px solid rgba(107, 141, 214, 0.4);
2025-06-12 18:30:11 -03:00
border-radius: 6px;
cursor: pointer;
2025-06-16 17:33:52 -03:00
font-size: 0.8rem;
2025-06-12 18:30:11 -03:00
transition: all 0.3s ease;
backdrop-filter: blur(10px);
}
.logout-btn:hover {
2025-10-27 12:51:50 -03:00
background: rgba(107, 141, 214, 0.8);
2025-06-12 18:30:11 -03:00
}
/* Loading Overlay */
.loading-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
2025-10-27 12:51:50 -03:00
background: rgba(0, 0, 0, 0.8);
2025-06-12 18:30:11 -03:00
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
z-index: 9999;
backdrop-filter: blur(5px);
}
.loading-spinner {
width: 50px;
height: 50px;
2025-10-27 12:51:50 -03:00
border: 4px solid rgba(107, 141, 214, 0.3);
border-top: 4px solid #6B8DD6;
2025-06-12 18:30:11 -03:00
border-radius: 50%;
animation: spin 1s linear infinite;
margin-bottom: 20px;
}
.loading-overlay p {
color: white;
font-size: 1.1rem;
font-weight: 500;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Utility Classes */
.hidden {
display: none !important;
}
.display-none {
display: none;
}
.display-block {
display: block;
}
/* Update main content spacing */
2025-06-13 19:18:31 -03:00
#app-content,
#settings-content {
2025-06-12 18:30:11 -03:00
padding-top: 20px;
}
/* Mobile Responsive for Auth */
@media (max-width: 768px) {
2025-06-16 17:33:52 -03:00
.auth-header {
padding: 10px 0;
position: relative;
2025-06-16 17:33:52 -03:00
}
2025-06-12 18:30:11 -03:00
.auth-container {
2025-06-16 17:33:52 -03:00
min-height: 45px;
padding: 0 12px;
position: relative;
2025-06-12 18:30:11 -03:00
}
.logo {
order: 1;
}
2025-06-16 17:33:52 -03:00
2025-12-03 16:42:52 -03:00
.logo h1 {
font-size: 1.4rem;
}
2025-06-16 17:33:52 -03:00
.logo h2 {
font-size: 1.1rem;
}
2025-12-03 16:42:52 -03:00
.auth-section {
2025-06-12 18:30:11 -03:00
order: 2;
width: 100%;
justify-content: center;
}
2025-12-03 16:42:52 -03:00
.auth-buttons {
order: 2;
gap: 8px;
}
.auth-buttons .header-btn {
font-size: 0.85rem;
padding: 8px 14px;
}
.user-info {
order: 2;
position: relative;
width: auto;
}
2025-06-13 19:18:31 -03:00
.auth-form,
.settings-form {
2025-06-12 18:30:11 -03:00
min-width: 280px;
padding: 20px;
}
.user-details {
gap: 10px;
position: relative;
}
.user-details span {
font-size: 0.8rem;
}
/* Hide desktop buttons on mobile */
.header-buttons {
display: none;
}
/* Show mobile menu toggle */
.mobile-menu-toggle {
display: block !important;
}
/* Ensure mobile menu appears correctly */
.mobile-menu {
right: 0;
width: 180px;
}
}
2025-12-03 16:42:52 -03:00
/* Landing Page Styles */
.landing-page {
background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
min-height: calc(100vh - 80px);
padding: 60px 20px;
}
.landing-container {
max-width: 1200px;
margin: 0 auto;
}
.landing-hero {
text-align: center;
margin-bottom: 60px;
animation: fadeInUp 0.8s ease-out;
}
.landing-title {
font-size: 3rem;
font-weight: 700;
color: white;
margin: 0 0 20px 0;
line-height: 1.2;
background: linear-gradient(135deg, #6B8DD6 0%, #9B7BC6 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.landing-subtitle {
font-size: 1.3rem;
color: rgba(255, 255, 255, 0.85);
max-width: 800px;
margin: 0 auto;
line-height: 1.6;
}
.landing-features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
margin-bottom: 60px;
animation: fadeInUp 0.8s ease-out 0.2s backwards;
}
.feature-card {
background: rgba(40, 40, 40, 0.6);
backdrop-filter: blur(10px);
border: 1px solid rgba(100, 100, 100, 0.3);
border-radius: 12px;
padding: 30px;
text-align: center;
transition: all 0.3s ease;
}
.feature-card:hover {
transform: translateY(-5px);
border-color: rgba(107, 141, 214, 0.5);
box-shadow: 0 8px 30px rgba(107, 141, 214, 0.2);
}
.feature-icon {
font-size: 3rem;
margin-bottom: 15px;
display: block;
}
.feature-card h3 {
color: white;
font-size: 1.3rem;
margin: 0 0 12px 0;
font-weight: 600;
}
.feature-card p {
color: rgba(255, 255, 255, 0.75);
font-size: 1rem;
line-height: 1.5;
margin: 0;
}
.landing-cta {
text-align: center;
background: rgba(74, 93, 138, 0.4);
backdrop-filter: blur(10px);
border: 1px solid rgba(100, 100, 100, 0.3);
border-radius: 12px;
padding: 50px 30px;
animation: fadeInUp 0.8s ease-out 0.4s backwards;
}
.landing-cta h2 {
color: white;
font-size: 2rem;
margin: 0 0 15px 0;
font-weight: 600;
}
.landing-cta p {
color: rgba(255, 255, 255, 0.85);
font-size: 1.1rem;
margin: 0 0 30px 0;
}
.cta-buttons {
display: flex;
gap: 15px;
justify-content: center;
flex-wrap: wrap;
}
.cta-btn {
padding: 15px 40px;
border-radius: 8px;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
border: none;
min-width: 220px;
}
.cta-btn.primary {
background: linear-gradient(135deg, #6B8DD6 0%, #5A7BC6 100%);
color: white;
box-shadow: 0 4px 15px rgba(107, 141, 214, 0.4);
}
.cta-btn.primary:hover {
transform: translateY(-2px);
box-shadow: 0 6px 25px rgba(107, 141, 214, 0.5);
}
.cta-btn.secondary {
background: rgba(40, 40, 40, 0.8);
color: white;
border: 1px solid rgba(107, 141, 214, 0.5);
}
.cta-btn.secondary:hover {
background: rgba(60, 60, 60, 0.9);
border-color: rgba(107, 141, 214, 0.8);
transform: translateY(-2px);
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* For very small screens */
@media (max-width: 480px) {
.auth-container {
padding: 0 8px;
flex-wrap: wrap;
justify-content: space-between;
}
2025-12-03 16:42:52 -03:00
.user-details span {
font-size: 0.75rem;
max-width: 150px;
overflow: hidden;
text-overflow: ellipsis;
}
2025-12-03 16:42:52 -03:00
.mobile-menu {
width: 160px;
right: -10px;
}
2025-12-03 16:42:52 -03:00
.logo h1 {
font-size: 1.3rem;
}
.logo h2 {
font-size: 1rem;
2025-06-12 18:30:11 -03:00
}
2025-12-03 16:42:52 -03:00
.auth-buttons {
gap: 8px;
}
.auth-buttons .header-btn {
padding: 6px 10px;
font-size: 0.8rem;
min-width: auto;
}
.auth-modal-content {
padding: 30px 20px;
}
}
/* Landing Page Responsive */
@media (max-width: 768px) {
.landing-page {
padding: 40px 15px;
}
.landing-title {
font-size: 2rem;
}
.landing-subtitle {
font-size: 1.1rem;
}
.landing-features {
grid-template-columns: 1fr;
gap: 20px;
}
.feature-card {
padding: 25px;
}
.landing-cta {
padding: 35px 20px;
}
.landing-cta h2 {
font-size: 1.5rem;
}
.cta-buttons {
flex-direction: column;
align-items: center;
}
.cta-btn {
width: 100%;
max-width: 300px;
}
2025-06-12 18:30:11 -03:00
}