Files
CRM/public/style.css

1351 lines
25 KiB
CSS

/* ==========================================
MischCRM Premium Design System & Styles
========================================== */
/* Design Tokens & Variables */
:root {
--font-family-title: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
--font-family-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
/* Premium Color Palette (HSL Tailored) */
--bg-primary: hsl(240, 15%, 8%);
--bg-secondary: hsl(250, 15%, 4%);
--accent-purple: hsl(270, 75%, 60%);
--accent-purple-glow: hsla(270, 75%, 60%, 0.15);
--accent-cyan: hsl(190, 85%, 50%);
--accent-cyan-glow: hsla(190, 85%, 50%, 0.15);
--accent-gold: hsl(45, 90%, 55%);
--accent-gold-glow: hsla(45, 90%, 55%, 0.15);
--accent-pink: hsl(330, 85%, 55%);
--accent-pink-glow: hsla(330, 85%, 55%, 0.15);
--accent-red: hsl(0, 75%, 55%);
/* Glassmorphism settings */
--glass-bg: rgba(18, 16, 28, 0.55);
--glass-bg-hover: rgba(26, 23, 40, 0.65);
--glass-border: rgba(255, 255, 255, 0.05);
--glass-border-hover: rgba(255, 255, 255, 0.09);
--glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
/* Text colors */
--text-main: hsl(0, 0%, 95%);
--text-muted: hsl(240, 10%, 70%);
--text-dimmed: hsl(240, 8%, 50%);
/* Spacers & Border Radii */
--radius-lg: 20px;
--radius-md: 12px;
--radius-sm: 8px;
--transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
--transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
/* Global Reset & Base */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
scrollbar-width: thin;
scrollbar-color: var(--accent-purple-glow) transparent;
}
body {
font-family: var(--font-family-body);
background-color: var(--bg-secondary);
color: var(--text-main);
min-height: 100vh;
overflow-x: hidden;
position: relative;
}
/* Animated Neon Background Gradients */
body::before, body::after {
content: "";
position: absolute;
width: 50vw;
height: 50vw;
border-radius: 50%;
filter: blur(140px);
z-index: -1;
opacity: 0.25;
pointer-events: none;
animation: pulse-glow 15s infinite alternate;
}
body::before {
top: -10vw;
left: -10vw;
background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
}
body::after {
bottom: -10vw;
right: -10vw;
background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
animation-delay: -5s;
}
@keyframes pulse-glow {
0% { transform: scale(1) translate(0, 0); }
100% { transform: scale(1.15) translate(5vw, 5vw); }
}
/* App Container Layout */
.app-container {
display: grid;
grid-template-columns: 280px 1fr;
min-height: 100vh;
}
/* Glassmorphic Panel Base Utility */
.glass-panel {
background: var(--glass-bg);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid var(--glass-border);
box-shadow: var(--glass-shadow);
border-radius: var(--radius-lg);
transition: var(--transition-smooth);
}
.glass-panel:hover {
background: var(--glass-bg-hover);
border-color: var(--glass-border-hover);
}
/* Sidebar Styling */
.sidebar {
background: rgba(10, 8, 18, 0.8);
border-right: 1px solid var(--glass-border);
display: flex;
flex-direction: column;
padding: 30px 20px;
height: 100vh;
position: sticky;
top: 0;
z-index: 100;
}
.logo-area {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 50px;
position: relative;
padding: 5px;
}
.logo-glow {
position: absolute;
width: 45px;
height: 45px;
background: var(--accent-purple);
filter: blur(25px);
opacity: 0.6;
border-radius: 50%;
left: 0;
z-index: -1;
}
.logo-icon {
width: 32px;
height: 32px;
color: var(--accent-purple);
filter: drop-shadow(0 0 8px var(--accent-purple));
}
.logo-text {
font-family: var(--font-family-title);
font-size: 24px;
font-weight: 800;
letter-spacing: -0.5px;
}
.logo-text span {
color: var(--accent-cyan);
filter: drop-shadow(0 0 8px var(--accent-cyan-glow));
}
.nav-menu {
display: flex;
flex-direction: column;
gap: 8px;
flex: 1;
}
.nav-item {
display: flex;
align-items: center;
gap: 16px;
padding: 14px 18px;
color: var(--text-muted);
text-decoration: none;
font-weight: 500;
border-radius: var(--radius-md);
transition: var(--transition-smooth);
border: 1px solid transparent;
}
.nav-item i {
width: 20px;
height: 20px;
transition: var(--transition-bounce);
}
.nav-item:hover {
color: var(--text-main);
background: rgba(255, 255, 255, 0.03);
transform: translateX(4px);
}
.nav-item.active {
color: var(--text-main);
background: rgba(147, 51, 234, 0.12);
border: 1px solid rgba(147, 51, 234, 0.25);
box-shadow: 0 0 15px rgba(147, 51, 234, 0.1);
}
.nav-item.active i {
color: var(--accent-purple);
transform: scale(1.15);
filter: drop-shadow(0 0 5px var(--accent-purple));
}
.sidebar-footer {
padding-top: 20px;
border-top: 1px solid var(--glass-border);
color: var(--text-dimmed);
font-size: 12px;
text-align: center;
}
/* Main Content Area */
.main-content {
padding: 40px;
display: flex;
flex-direction: column;
gap: 30px;
overflow-y: auto;
max-height: 100vh;
}
.top-bar {
display: flex;
justify-content: space-between;
align-items: center;
}
.top-bar h1 {
font-family: var(--font-family-title);
font-size: 34px;
font-weight: 800;
letter-spacing: -0.7px;
background: linear-gradient(135deg, var(--text-main) 30%, var(--text-muted) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.user-profile {
display: flex;
align-items: center;
gap: 16px;
}
.welcome-text {
font-size: 14px;
color: var(--text-muted);
}
.welcome-text span {
font-weight: 600;
color: var(--text-main);
}
.avatar-ring {
width: 42px;
height: 42px;
border-radius: 50%;
background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-cyan) 100%);
padding: 2px;
box-shadow: 0 0 10px rgba(147, 51, 234, 0.25);
}
.avatar-fallback {
width: 100%;
height: 100%;
background: var(--bg-primary);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 14px;
color: var(--text-main);
}
/* Tab Management */
.tab-pane {
display: none;
opacity: 0;
transform: translateY(15px);
transition: opacity 0.4s ease, transform 0.4s ease;
}
.tab-pane.active {
display: flex;
flex-direction: column;
gap: 30px;
opacity: 1;
transform: translateY(0);
}
/* Stats Cards Grid */
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 20px;
}
.stat-card {
display: flex;
align-items: center;
gap: 20px;
padding: 24px;
}
.stat-icon-wrapper {
width: 52px;
height: 52px;
border-radius: var(--radius-md);
display: flex;
align-items: center;
justify-content: center;
box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.05);
}
.stat-icon-wrapper i {
width: 24px;
height: 24px;
}
.stat-icon-wrapper.blue { background: var(--accent-cyan-glow); color: var(--accent-cyan); }
.stat-icon-wrapper.purple { background: var(--accent-purple-glow); color: var(--accent-purple); }
.stat-icon-wrapper.gold { background: var(--accent-gold-glow); color: var(--accent-gold); }
.stat-icon-wrapper.pink { background: var(--accent-pink-glow); color: var(--accent-pink); }
.stat-data {
display: flex;
flex-direction: column;
gap: 4px;
}
.stat-label {
font-size: 13px;
color: var(--text-muted);
font-weight: 500;
}
.stat-value {
font-family: var(--font-family-title);
font-size: 28px;
font-weight: 800;
}
/* Dashboard Grid Layout */
.dashboard-columns {
display: grid;
grid-template-columns: 1.2fr 1fr;
gap: 24px;
}
.dashboard-left, .dashboard-right {
display: flex;
flex-direction: column;
gap: 24px;
}
/* General Sections in Dashboard */
.card-section {
padding: 30px;
display: flex;
flex-direction: column;
gap: 20px;
}
.section-header {
border-bottom: 1px solid var(--glass-border);
padding-bottom: 15px;
}
.section-header h2 {
font-family: var(--font-family-title);
font-size: 20px;
font-weight: 700;
display: flex;
align-items: center;
gap: 12px;
}
.header-icon {
width: 22px;
height: 22px;
color: var(--accent-purple);
}
.section-desc {
font-size: 13px;
color: var(--text-muted);
margin-top: 6px;
}
/* Premium Forms */
.premium-form {
display: flex;
flex-direction: column;
gap: 16px;
}
.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
}
.form-group {
display: flex;
flex-direction: column;
gap: 8px;
}
.form-group label {
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
color: var(--text-muted);
}
.premium-form input,
.premium-form select,
.premium-form textarea,
.inline-add-form input,
.inline-meeting-form input,
.inline-meeting-form textarea {
background: rgba(255, 255, 255, 0.02);
border: 1px solid var(--glass-border);
border-radius: var(--radius-sm);
padding: 12px 16px;
color: var(--text-main);
font-family: var(--font-family-body);
font-size: 14px;
transition: var(--transition-smooth);
}
.premium-form input:focus,
.premium-form select:focus,
.premium-form textarea:focus,
.inline-add-form input:focus,
.inline-meeting-form input:focus,
.inline-meeting-form textarea:focus {
border-color: var(--accent-purple);
background: rgba(255, 255, 255, 0.04);
outline: none;
box-shadow: 0 0 12px var(--accent-purple-glow);
}
.premium-form select option {
background: var(--bg-primary);
color: var(--text-main);
}
/* Premium Buttons */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 12px 24px;
font-family: var(--font-family-body);
font-size: 14px;
font-weight: 600;
border-radius: var(--radius-md);
border: none;
cursor: pointer;
transition: var(--transition-bounce);
}
.btn-primary {
background: linear-gradient(135deg, var(--accent-purple) 0%, hsl(285, 75%, 55%) 100%);
color: var(--text-main);
box-shadow: 0 4px 15px var(--accent-purple-glow);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(147, 51, 234, 0.35);
filter: brightness(1.1);
}
.btn-secondary {
background: rgba(255, 255, 255, 0.05);
color: var(--text-main);
border: 1px solid var(--glass-border);
}
.btn-secondary:hover {
background: rgba(255, 255, 255, 0.08);
border-color: var(--glass-border-hover);
}
.btn-danger {
background: rgba(239, 68, 68, 0.1);
color: hsl(0, 85%, 65%);
border: 1px solid rgba(239, 68, 68, 0.2);
}
.btn-danger:hover {
background: var(--accent-red);
color: white;
box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
}
.btn-full {
width: 100%;
}
.btn-sm {
padding: 8px 14px;
font-size: 12px;
}
/* Lists UI (Dashboard lists) */
.list-container {
display: flex;
flex-direction: column;
gap: 12px;
max-height: 280px;
overflow-y: auto;
padding-right: 5px;
}
.scrollable-list-container {
max-height: 380px;
}
.list-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 18px;
background: rgba(255, 255, 255, 0.01);
border: 1px solid var(--glass-border);
border-radius: var(--radius-md);
transition: var(--transition-smooth);
cursor: pointer;
}
.list-item:hover {
background: rgba(255, 255, 255, 0.03);
border-color: var(--glass-border-hover);
transform: translateX(3px);
}
.list-item-left {
display: flex;
align-items: center;
gap: 14px;
}
.item-avatar-mini {
width: 38px;
height: 38px;
border-radius: 50%;
background: var(--accent-purple-glow);
color: var(--accent-purple);
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 13px;
border: 1px solid rgba(147, 51, 234, 0.2);
}
.list-item-left.urgent .item-avatar-mini {
background: rgba(239, 68, 68, 0.1);
color: hsl(0, 85%, 65%);
border-color: rgba(239, 68, 68, 0.2);
}
.list-item-left.birthday .item-avatar-mini {
background: var(--accent-pink-glow);
color: var(--accent-pink);
border-color: rgba(236, 72, 153, 0.2);
}
.item-main-info {
display: flex;
flex-direction: column;
gap: 2px;
}
.item-title {
font-weight: 600;
font-size: 14px;
}
.item-sub {
font-size: 12px;
color: var(--text-muted);
}
.badge {
padding: 6px 12px;
border-radius: 30px;
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.3px;
}
.badge-urgent-red { background: rgba(239, 68, 68, 0.15); color: hsl(0, 85%, 65%); border: 1px solid rgba(239, 68, 68, 0.2); }
.badge-urgent-yellow { background: rgba(245, 158, 11, 0.15); color: hsl(35, 90%, 60%); border: 1px solid rgba(245, 158, 11, 0.2); }
.badge-purple { background: var(--accent-purple-glow); color: var(--accent-purple); border: 1px solid rgba(147, 51, 234, 0.2); }
/* TAB 2: FRIENDS DIRECTORY ACCORDIONS & GRID */
.directory-actions {
display: flex;
justify-content: space-between;
align-items: center;
gap: 20px;
}
.search-bar-wrapper {
flex: 1;
max-width: 450px;
display: flex;
align-items: center;
gap: 12px;
padding: 10px 16px;
border-radius: var(--radius-md);
}
.search-icon {
width: 18px;
height: 18px;
color: var(--text-dimmed);
}
.search-bar-wrapper input {
background: transparent;
border: none;
color: var(--text-main);
font-size: 14px;
outline: none;
width: 100%;
}
.friends-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 24px;
}
.friend-card {
padding: 24px;
display: flex;
flex-direction: column;
gap: 20px;
cursor: pointer;
position: relative;
overflow: hidden;
}
.friend-card::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 4px;
background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
opacity: 0;
transition: var(--transition-smooth);
}
.friend-card:hover::after {
opacity: 1;
}
.friend-card-header {
display: flex;
align-items: center;
gap: 16px;
}
.card-avatar {
width: 52px;
height: 52px;
border-radius: 50%;
background: linear-gradient(135deg, var(--accent-purple) 0%, hsl(260, 60%, 45%) 100%);
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 18px;
color: white;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.card-title-block {
display: flex;
flex-direction: column;
gap: 2px;
}
.card-title-block h3 {
font-size: 16px;
font-weight: 700;
letter-spacing: -0.3px;
}
.card-title-block span {
font-size: 11px;
color: var(--text-muted);
text-transform: uppercase;
font-weight: 600;
letter-spacing: 0.3px;
}
.card-body-details {
display: flex;
flex-direction: column;
gap: 10px;
font-size: 13px;
border-top: 1px solid var(--glass-border);
border-bottom: 1px solid var(--glass-border);
padding: 14px 0;
color: var(--text-muted);
}
.card-detail-item {
display: flex;
align-items: center;
gap: 10px;
}
.card-detail-item i {
width: 16px;
height: 16px;
color: var(--text-dimmed);
}
.friend-card-footer {
display: flex;
justify-content: space-between;
align-items: center;
}
.card-honor-badge {
display: flex;
align-items: center;
gap: 6px;
font-size: 13px;
font-weight: 600;
color: var(--accent-gold);
}
.card-honor-badge i {
width: 16px;
height: 16px;
}
.btn-open-profile {
font-size: 12px;
color: var(--accent-cyan);
background: transparent;
border: none;
cursor: pointer;
display: flex;
align-items: center;
gap: 4px;
font-weight: 600;
transition: var(--transition-smooth);
}
.friend-card:hover .btn-open-profile {
transform: translateX(4px);
color: white;
}
/* Modals Core Styles */
.modal-backdrop {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: rgba(5, 4, 10, 0.75);
backdrop-filter: blur(8px);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease;
}
.modal-backdrop.open {
opacity: 1;
pointer-events: auto;
}
.modal-container {
width: 90%;
max-width: 600px;
max-height: 85vh;
display: flex;
flex-direction: column;
overflow: hidden;
transform: scale(0.9) translateY(20px);
transition: var(--transition-bounce);
padding: 0 !important; /* Managed locally */
}
.modal-backdrop.open .modal-container {
transform: scale(1) translateY(0);
}
.detail-modal-size {
max-width: 950px;
}
.modal-header {
padding: 24px 30px;
border-bottom: 1px solid var(--glass-border);
display: flex;
justify-content: space-between;
align-items: center;
}
.modal-header h2 {
font-family: var(--font-family-title);
font-size: 22px;
font-weight: 700;
display: flex;
align-items: center;
gap: 12px;
}
.modal-header h2 i {
color: var(--accent-purple);
}
.modal-close {
background: transparent;
border: none;
color: var(--text-muted);
cursor: pointer;
transition: var(--transition-smooth);
}
.modal-close:hover {
color: var(--accent-red);
transform: rotate(90deg);
}
.modal-scroll-area {
padding: 30px;
overflow-y: auto;
flex: 1;
display: flex;
flex-direction: column;
gap: 20px;
}
.modal-footer {
padding: 20px 30px;
border-top: 1px solid var(--glass-border);
display: flex;
justify-content: flex-end;
gap: 14px;
}
/* Detail Modal Specific Layout */
.modal-title-profile {
display: flex;
align-items: center;
gap: 20px;
}
.profile-avatar {
width: 58px;
height: 58px;
border-radius: 50%;
background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-cyan) 100%);
display: flex;
align-items: center;
justify-content: center;
font-weight: 800;
font-size: 22px;
color: white;
box-shadow: 0 4px 15px var(--accent-purple-glow);
}
.profile-meta-title {
display: flex;
flex-direction: column;
gap: 4px;
}
.profile-meta-title h2 {
margin: 0;
font-size: 24px;
}
.relationship-badge {
font-size: 11px;
background: var(--accent-purple-glow);
color: var(--accent-purple);
padding: 3px 8px;
border-radius: 30px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.3px;
align-self: flex-start;
border: 1px solid rgba(147, 51, 234, 0.25);
}
.detail-columns {
display: grid;
grid-template-columns: 1fr 1.3fr;
gap: 30px;
}
.detail-col-info, .detail-col-interactive {
display: flex;
flex-direction: column;
gap: 24px;
}
/* Ehre Meter / Honor Counter */
.honor-badge-section {
padding: 20px;
display: flex;
flex-direction: column;
gap: 12px;
align-items: center;
border-color: rgba(229, 178, 59, 0.15);
background: radial-gradient(circle at center, rgba(229, 178, 59, 0.05) 0%, rgba(18, 16, 28, 0.55) 100%);
}
.honor-header {
display: flex;
align-items: center;
gap: 8px;
font-size: 11px;
font-weight: 700;
color: var(--accent-gold);
letter-spacing: 1px;
}
.honor-icon {
width: 14px;
height: 14px;
filter: drop-shadow(0 0 5px var(--accent-gold));
}
.honor-counter-row {
display: flex;
align-items: center;
gap: 24px;
}
.btn-honor {
width: 38px;
height: 38px;
border-radius: 50%;
border: 1px solid rgba(229, 178, 59, 0.2);
background: rgba(255, 255, 255, 0.02);
color: var(--accent-gold);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: var(--transition-bounce);
}
.btn-honor:hover {
background: var(--accent-gold);
color: var(--bg-primary);
transform: scale(1.1);
box-shadow: 0 0 15px rgba(229, 178, 59, 0.35);
}
.btn-honor:active {
transform: scale(0.9);
}
.honor-value-display {
display: flex;
flex-direction: column;
align-items: center;
min-width: 70px;
}
#detail-honor-value {
font-family: var(--font-family-title);
font-size: 38px;
font-weight: 900;
color: var(--accent-gold);
line-height: 1;
}
/* Ehre Counter Animation class when updated */
.honor-bump {
animation: bounce-value 0.3s ease-out;
}
@keyframes bounce-value {
0% { transform: scale(1); }
50% { transform: scale(1.3); color: white; }
100% { transform: scale(1); }
}
.honor-label-sub {
font-size: 11px;
text-transform: uppercase;
color: var(--text-dimmed);
font-weight: 600;
letter-spacing: 0.5px;
margin-top: 4px;
}
.detail-card {
padding: 24px;
}
.detail-card h3, .interactive-section h3 {
font-family: var(--font-family-title);
font-size: 16px;
font-weight: 700;
margin-bottom: 16px;
display: flex;
align-items: center;
gap: 10px;
border-bottom: 1px solid var(--glass-border);
padding-bottom: 10px;
}
.card-icon-title {
width: 18px;
height: 18px;
color: var(--accent-cyan);
}
.info-list {
display: flex;
flex-direction: column;
gap: 12px;
}
.info-item {
display: flex;
justify-content: space-between;
font-size: 13px;
padding: 4px 0;
}
.info-label {
color: var(--text-muted);
font-weight: 500;
display: flex;
align-items: center;
gap: 8px;
}
.info-label i {
width: 14px;
height: 14px;
color: var(--text-dimmed);
}
.info-val {
font-weight: 600;
text-align: right;
max-width: 60%;
}
.pre-wrap {
white-space: pre-wrap;
}
.info-item-block {
display: flex;
flex-direction: column;
gap: 6px;
font-size: 13px;
}
.info-block-text {
background: rgba(255, 255, 255, 0.01);
border: 1px solid var(--glass-border);
padding: 10px 14px;
border-radius: var(--radius-sm);
color: var(--text-main);
line-height: 1.5;
}
/* Interactive Components inside detail modal */
.interactive-section {
padding: 24px;
}
.inline-add-form, .inline-meeting-form {
display: flex;
gap: 10px;
margin-bottom: 15px;
}
.inline-meeting-form {
flex-direction: column;
}
.inline-add-form input {
flex: 1;
}
/* Topics checklist */
.topics-list {
display: flex;
flex-direction: column;
gap: 8px;
list-style: none;
}
.topic-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 14px;
background: rgba(255, 255, 255, 0.01);
border: 1px solid var(--glass-border);
border-radius: var(--radius-sm);
transition: var(--transition-smooth);
}
.topic-item:hover {
background: rgba(255, 255, 255, 0.03);
}
.topic-item-left {
display: flex;
align-items: center;
gap: 12px;
cursor: pointer;
flex: 1;
}
.topic-checkbox {
width: 18px;
height: 18px;
border-radius: 4px;
border: 2px solid var(--text-dimmed);
display: flex;
align-items: center;
justify-content: center;
transition: var(--transition-bounce);
}
.topic-checkbox i {
width: 12px;
height: 12px;
color: white;
display: none;
}
.topic-item.completed .topic-checkbox {
border-color: var(--accent-cyan);
background: var(--accent-cyan);
}
.topic-item.completed .topic-checkbox i {
display: block;
}
.topic-text {
font-size: 13px;
font-weight: 500;
transition: var(--transition-smooth);
}
.topic-item.completed .topic-text {
text-decoration: line-through;
color: var(--text-dimmed);
}
.btn-topic-delete {
background: transparent;
border: none;
color: var(--text-dimmed);
cursor: pointer;
transition: var(--transition-smooth);
}
.btn-topic-delete:hover {
color: var(--accent-red);
}
/* Meetings timeline */
.timeline {
display: flex;
flex-direction: column;
position: relative;
padding-left: 20px;
}
.timeline::before {
content: "";
position: absolute;
top: 5px;
left: 5px;
width: 2px;
height: 100%;
background: var(--accent-purple-glow);
}
.timeline-item {
position: relative;
padding-bottom: 24px;
}
.timeline-item:last-child {
padding-bottom: 0;
}
.timeline-dot {
position: absolute;
left: -20px;
top: 4px;
width: 12px;
height: 12px;
border-radius: 50%;
background: var(--accent-purple);
box-shadow: 0 0 8px var(--accent-purple);
}
.timeline-content {
background: rgba(255, 255, 255, 0.01);
border: 1px solid var(--glass-border);
padding: 14px 18px;
border-radius: var(--radius-md);
}
.timeline-meta {
display: flex;
justify-content: space-between;
margin-bottom: 8px;
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.timeline-date {
color: var(--accent-cyan);
}
.timeline-mood {
color: var(--accent-gold);
}
.timeline-activity {
font-weight: 700;
font-size: 14px;
margin-bottom: 6px;
}
.timeline-details {
font-size: 13px;
color: var(--text-muted);
line-height: 1.5;
}
.btn-delete-meeting {
background: transparent;
border: none;
color: var(--text-dimmed);
cursor: pointer;
font-size: 11px;
margin-top: 10px;
display: inline-flex;
align-items: center;
gap: 4px;
transition: var(--transition-smooth);
}
.btn-delete-meeting:hover {
color: var(--accent-red);
}
/* Obsidian Import tab specifically styling */
.import-container {
max-width: 800px;
margin: 0 auto;
}
.import-result-panel {
margin-top: 25px;
padding: 24px;
border-color: var(--accent-cyan);
background: radial-gradient(circle at top left, rgba(6, 182, 212, 0.05) 0%, rgba(18, 16, 28, 0.55) 100%);
display: flex;
flex-direction: column;
gap: 10px;
}
.import-result-header {
font-family: var(--font-family-title);
font-size: 18px;
font-weight: 700;
color: var(--accent-cyan);
display: flex;
align-items: center;
gap: 10px;
}
.hidden {
display: none !important;
}
/* Utilities */
.loading-spinner {
border: 3px solid rgba(255, 255, 255, 0.05);
border-radius: 50%;
border-top: 3px solid var(--accent-purple);
width: 24px;
height: 24px;
animation: spin 1s linear infinite;
margin: 20px auto;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Responsive Overrides */
@media (max-width: 1024px) {
.app-container {
grid-template-columns: 1fr;
}
.sidebar {
display: none; /* In production: a top drawer menu would be implemented */
}
.detail-columns {
grid-template-columns: 1fr;
}
}