Files
matt ec72c5d62b
Some checks failed
build-website / build (push) Failing after 1m2s
Initial import of HarborSmith website
2025-09-18 22:20:01 +02:00

1457 lines
26 KiB
CSS

/* HarborSmith Client Portal Styles */
/* ================================ */
/* CSS Reset and Base Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Root Variables */
:root {
/* Colors */
--primary-50: #eff6ff;
--primary-100: #dbeafe;
--primary-200: #bfdbfe;
--primary-500: #3b82f6;
--primary-600: #2563eb;
--primary-700: #1d4ed8;
--primary-900: #1e3a8a;
--gray-50: #f9fafb;
--gray-100: #f3f4f6;
--gray-200: #e5e7eb;
--gray-300: #d1d5db;
--gray-400: #9ca3af;
--gray-500: #6b7280;
--gray-600: #4b5563;
--gray-700: #374151;
--gray-800: #1f2937;
--gray-900: #111827;
--success-50: #f0fdf4;
--success-100: #dcfce7;
--success-500: #22c55e;
--success-600: #16a34a;
--success-700: #15803d;
--warning-50: #fffbeb;
--warning-100: #fef3c7;
--warning-500: #f59e0b;
--warning-600: #d97706;
--warning-700: #b45309;
--danger-50: #fef2f2;
--danger-100: #fee2e2;
--danger-200: #fecaca;
--danger-500: #ef4444;
--danger-600: #dc2626;
--danger-700: #b91c1c;
--info-50: #eff6ff;
--info-100: #dbeafe;
--info-200: #bfdbfe;
--info-500: #3b82f6;
--info-600: #2563eb;
--info-700: #1d4ed8;
/* Shadows */
--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
--shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
--shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
/* Layout */
--sidebar-width: 260px;
--header-height: 70px;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
line-height: 1.6;
color: var(--gray-800);
background: var(--gray-50);
}
/* Portal-specific variables */
.portal {
--sidebar-width: 280px;
--sidebar-collapsed: 80px;
--header-height: 70px;
--card-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
--card-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.12);
--success: #10b981;
--warning: #f59e0b;
--error: #ef4444;
--info: #3b82f6;
}
/* Portal Layout Structure */
.portal-wrapper {
min-height: 100vh;
background: var(--soft-cream);
display: flex;
}
/* Sidebar Navigation */
.portal-sidebar {
width: var(--sidebar-width);
background: var(--primary-blue);
color: var(--white);
position: fixed;
height: 100vh;
left: 0;
top: 0;
transition: var(--transition);
z-index: 1000;
overflow-y: auto;
}
.portal-sidebar.collapsed {
width: var(--sidebar-collapsed);
}
.sidebar-header {
padding: var(--space-md);
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
display: flex;
align-items: center;
justify-content: space-between;
}
.sidebar-logo {
display: flex;
align-items: center;
gap: var(--space-sm);
text-decoration: none;
color: var(--white);
}
.sidebar-logo img {
width: 40px;
height: 40px;
border-radius: 8px;
}
.sidebar-logo span {
font-family: var(--font-display);
font-size: 1.25rem;
font-weight: 700;
transition: opacity 0.3s;
}
.portal-sidebar.collapsed .sidebar-logo span {
opacity: 0;
width: 0;
}
.sidebar-toggle {
background: none;
border: none;
color: var(--white);
cursor: pointer;
padding: 0.5rem;
border-radius: 4px;
transition: var(--transition);
}
.sidebar-toggle:hover {
background: rgba(255, 255, 255, 0.1);
}
/* Sidebar Navigation Menu */
.sidebar-nav {
padding: var(--space-md) 0;
}
.sidebar-section {
margin-bottom: var(--space-md);
}
.sidebar-section-title {
padding: 0 var(--space-md);
margin-bottom: var(--space-sm);
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.1em;
opacity: 0.7;
transition: opacity 0.3s;
}
.portal-sidebar.collapsed .sidebar-section-title {
opacity: 0;
}
.sidebar-link {
display: flex;
align-items: center;
gap: var(--space-sm);
padding: 0.75rem var(--space-md);
color: var(--white);
text-decoration: none;
transition: var(--transition);
position: relative;
}
.sidebar-link:hover {
background: rgba(255, 255, 255, 0.1);
}
.sidebar-link.active {
background: var(--warm-orange);
}
.sidebar-link.active::before {
content: '';
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 4px;
background: var(--warm-yellow);
}
.sidebar-link i {
width: 24px;
height: 24px;
flex-shrink: 0;
}
.sidebar-link span {
transition: opacity 0.3s;
}
.portal-sidebar.collapsed .sidebar-link span {
opacity: 0;
width: 0;
}
/* Main Content Area */
.portal-main {
margin-left: var(--sidebar-width);
flex: 1;
transition: var(--transition);
min-height: 100vh;
}
.portal-sidebar.collapsed + .portal-main {
margin-left: var(--sidebar-collapsed);
}
/* Portal Header */
.portal-header {
background: var(--white);
height: var(--header-height);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 var(--space-lg);
border-bottom: 1px solid var(--border);
position: sticky;
top: 0;
z-index: 100;
}
.portal-breadcrumb {
display: flex;
align-items: center;
gap: var(--space-xs);
color: var(--text-light);
}
.breadcrumb-separator {
margin: 0 var(--space-xs);
}
.portal-header-actions {
display: flex;
align-items: center;
gap: var(--space-md);
}
.header-search {
position: relative;
}
.header-search input {
padding: 0.5rem 1rem 0.5rem 2.5rem;
border: 1px solid var(--border);
border-radius: 8px;
width: 300px;
transition: var(--transition);
}
.header-search input:focus {
outline: none;
border-color: var(--warm-orange);
box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}
.header-search i {
position: absolute;
left: 0.75rem;
top: 50%;
transform: translateY(-50%);
color: var(--text-light);
width: 20px;
height: 20px;
}
.header-notifications {
position: relative;
}
.notification-badge {
position: absolute;
top: -4px;
right: -4px;
background: var(--warm-orange);
color: var(--white);
font-size: 0.75rem;
padding: 2px 6px;
border-radius: 10px;
}
.header-user {
display: flex;
align-items: center;
gap: var(--space-sm);
padding: 0.5rem;
border-radius: 8px;
cursor: pointer;
transition: var(--transition);
}
.header-user:hover {
background: var(--soft-cream);
}
.user-avatar {
width: 40px;
height: 40px;
border-radius: 50%;
background: var(--gradient-warm);
display: flex;
align-items: center;
justify-content: center;
color: var(--white);
font-weight: 600;
}
/* Portal Content */
.portal-content {
padding: 2rem;
max-width: 1400px;
margin: 0 auto;
}
.portal-page-header {
margin-bottom: var(--space-lg);
}
.portal-page-title {
font-family: var(--font-display);
font-size: 2rem;
color: var(--text-dark);
margin-bottom: 0.5rem;
}
.portal-page-subtitle {
color: var(--text-light);
font-size: 1.1rem;
}
/* Dashboard Cards */
.dashboard-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: var(--space-md);
margin-bottom: var(--space-lg);
}
/* Portal Container */
.portal-container {
display: flex;
min-height: 100vh;
background: var(--gray-50);
}
/* Main Content Wrapper */
.portal-main {
flex: 1;
margin-left: var(--sidebar-width);
transition: margin-left 0.3s ease;
}
/* Portal Sidebar Styles */
.portal-sidebar {
width: var(--sidebar-width);
background: #1e3a5f;
position: fixed;
height: 100vh;
left: 0;
top: 0;
z-index: 100;
display: flex;
flex-direction: column;
}
.sidebar-header {
padding: 1.5rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebar-logo {
height: 40px;
width: auto;
}
.sidebar-nav {
flex: 1;
padding: 1rem 0;
}
.nav-item {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.75rem 1.5rem;
color: rgba(255, 255, 255, 0.8);
text-decoration: none;
transition: all 0.2s;
}
.nav-item:hover {
background: rgba(255, 255, 255, 0.1);
color: white;
}
.nav-item.active {
background: rgba(255, 255, 255, 0.15);
color: white;
border-left: 3px solid white;
}
.nav-icon {
font-size: 1.2rem;
width: 24px;
text-align: center;
}
.nav-text {
font-size: 0.95rem;
}
.sidebar-footer {
padding: 1rem 0;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* Portal Header */
.portal-header {
background: white;
padding: 1rem 2rem;
border-bottom: 1px solid var(--gray-200);
display: flex;
align-items: center;
justify-content: space-between;
position: sticky;
top: 0;
z-index: 50;
}
.header-left {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.header-title {
font-size: 1.5rem;
font-weight: 600;
color: var(--gray-900);
margin: 0;
}
.breadcrumb {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.875rem;
color: var(--gray-600);
}
.breadcrumb a {
color: var(--primary-600);
text-decoration: none;
}
.breadcrumb a:hover {
text-decoration: underline;
}
.header-right {
display: flex;
align-items: center;
gap: 1rem;
}
.icon-button {
position: relative;
background: none;
border: none;
font-size: 1.25rem;
cursor: pointer;
padding: 0.5rem;
border-radius: 8px;
transition: background 0.2s;
}
.icon-button:hover {
background: var(--gray-100);
}
.notification-badge {
position: absolute;
top: 0;
right: 0;
background: var(--danger-500);
color: white;
font-size: 0.7rem;
padding: 0.125rem 0.375rem;
border-radius: 10px;
min-width: 18px;
text-align: center;
}
.user-menu {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.5rem;
border-radius: 8px;
cursor: pointer;
transition: background 0.2s;
}
.user-menu:hover {
background: var(--gray-100);
}
.user-avatar {
width: 36px;
height: 36px;
border-radius: 50%;
background: var(--primary-500);
color: white;
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
}
.user-name {
font-size: 0.9rem;
font-weight: 500;
color: var(--gray-700);
}
.dropdown-arrow {
font-size: 0.75rem;
color: var(--gray-500);
}
/* Cards and Content */
.card {
background: white;
border-radius: 12px;
box-shadow: var(--shadow-sm);
margin-bottom: 1.5rem;
overflow: hidden;
}
.card-header {
padding: 1.5rem;
border-bottom: 1px solid var(--gray-200);
}
.card-title {
font-size: 1.25rem;
font-weight: 600;
color: var(--gray-900);
margin: 0;
}
.card-body {
padding: 1.5rem;
}
/* Forms */
.form-group {
margin-bottom: 1.25rem;
}
.form-group label {
display: block;
margin-bottom: 0.5rem;
font-size: 0.9rem;
font-weight: 500;
color: var(--gray-700);
}
.form-control {
width: 100%;
padding: 0.625rem 0.875rem;
border: 1px solid var(--gray-300);
border-radius: 8px;
font-size: 0.95rem;
transition: all 0.2s;
}
.form-control:focus {
outline: none;
border-color: var(--primary-500);
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.form-row {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1rem;
}
/* Buttons */
.btn {
padding: 0.625rem 1.25rem;
border-radius: 8px;
font-size: 0.95rem;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
border: none;
display: inline-flex;
align-items: center;
gap: 0.5rem;
}
.btn-primary {
background: var(--primary-600);
color: white;
}
.btn-primary:hover {
background: var(--primary-700);
transform: translateY(-1px);
box-shadow: var(--shadow-md);
}
.btn-outline {
background: white;
border: 1px solid var(--gray-300);
color: var(--gray-700);
}
.btn-outline:hover {
background: var(--gray-50);
border-color: var(--gray-400);
}
.btn-sm {
padding: 0.375rem 0.75rem;
font-size: 0.875rem;
}
.btn-lg {
padding: 0.75rem 1.5rem;
font-size: 1rem;
}
/* Action Buttons */
.action-buttons {
display: flex;
gap: 0.75rem;
margin-top: 1.5rem;
}
/* Pagination */
.pagination {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
margin-top: 2rem;
}
.pagination-info {
color: var(--gray-600);
font-size: 0.9rem;
}
/* Summary Grid */
.summary-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
padding: 1rem;
background: var(--gray-50);
border-radius: 8px;
}
.summary-item {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.summary-label {
font-size: 0.875rem;
color: var(--gray-600);
}
/* Utility Classes */
.text-sm {
font-size: 0.875rem;
}
.text-muted {
color: var(--gray-600);
}
.text-right {
text-align: right;
}
/* Checkbox */
.checkbox-label {
display: flex;
align-items: center;
gap: 0.5rem;
cursor: pointer;
margin-bottom: 0.5rem;
}
.checkbox-label input[type="checkbox"] {
width: 18px;
height: 18px;
cursor: pointer;
}
/* Sidebar Toggle */
.sidebar-toggle {
display: none;
background: none;
border: none;
color: white;
cursor: pointer;
padding: 0.5rem;
}
.sidebar-toggle span {
display: block;
width: 20px;
height: 2px;
background: white;
margin: 4px 0;
transition: all 0.3s;
}
/* Responsive */
@media (max-width: 768px) {
.portal-sidebar {
transform: translateX(-100%);
transition: transform 0.3s;
}
.portal-sidebar.active {
transform: translateX(0);
}
.portal-main {
margin-left: 0;
}
.sidebar-toggle {
display: block;
}
.form-row {
grid-template-columns: 1fr;
}
}
.dashboard-card {
background: var(--white);
border-radius: 12px;
padding: var(--space-md);
box-shadow: var(--card-shadow);
transition: var(--transition);
}
.dashboard-card:hover {
box-shadow: var(--card-shadow-hover);
transform: translateY(-2px);
}
.card-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: var(--space-md);
}
.card-title {
font-size: 1.1rem;
font-weight: 600;
color: var(--text-dark);
}
.card-icon {
width: 48px;
height: 48px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
background: var(--gradient-warm);
color: var(--white);
}
.card-value {
font-size: 2rem;
font-weight: 700;
color: var(--primary-blue);
margin-bottom: 0.5rem;
}
.card-change {
display: inline-flex;
align-items: center;
gap: 0.25rem;
padding: 0.25rem 0.5rem;
border-radius: 4px;
font-size: 0.875rem;
font-weight: 500;
}
.card-change.positive {
background: rgba(16, 185, 129, 0.1);
color: var(--success);
}
.card-change.negative {
background: rgba(239, 68, 68, 0.1);
color: var(--error);
}
/* Status Badges */
.status-badge {
display: inline-flex;
align-items: center;
gap: 0.25rem;
padding: 0.25rem 0.75rem;
border-radius: 20px;
font-size: 0.875rem;
font-weight: 500;
}
.status-badge.success {
background: rgba(16, 185, 129, 0.1);
color: var(--success);
}
.status-badge.warning {
background: rgba(245, 158, 11, 0.1);
color: var(--warning);
}
.status-badge.error {
background: rgba(239, 68, 68, 0.1);
color: var(--error);
}
.status-badge.info {
background: rgba(59, 130, 246, 0.1);
color: var(--info);
}
/* Tables */
.data-table {
background: var(--white);
border-radius: 12px;
overflow: hidden;
box-shadow: var(--card-shadow);
}
.table-header {
padding: var(--space-md);
border-bottom: 1px solid var(--border);
display: flex;
align-items: center;
justify-content: space-between;
}
.table-actions {
display: flex;
gap: var(--space-sm);
}
table {
width: 100%;
border-collapse: collapse;
}
thead {
background: var(--soft-cream);
}
th {
text-align: left;
padding: var(--space-sm) var(--space-md);
font-weight: 600;
color: var(--text-dark);
font-size: 0.875rem;
text-transform: uppercase;
letter-spacing: 0.05em;
}
td {
padding: var(--space-md);
border-bottom: 1px solid var(--border);
color: var(--text-dark);
}
tbody tr:hover {
background: var(--soft-cream);
}
tbody tr:last-child td {
border-bottom: none;
}
/* Forms */
.portal-form {
background: var(--white);
border-radius: 12px;
padding: var(--space-lg);
box-shadow: var(--card-shadow);
}
.form-section {
margin-bottom: var(--space-lg);
}
.form-section-title {
font-size: 1.25rem;
font-weight: 600;
color: var(--text-dark);
margin-bottom: var(--space-md);
padding-bottom: var(--space-sm);
border-bottom: 2px solid var(--soft-cream);
}
.form-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: var(--space-md);
}
.form-group {
margin-bottom: var(--space-md);
}
.form-label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
color: var(--text-dark);
}
.form-label.required::after {
content: ' *';
color: var(--error);
}
.form-input,
.form-select,
.form-textarea {
width: 100%;
padding: 0.75rem;
border: 1px solid var(--border);
border-radius: 8px;
font-size: 1rem;
transition: var(--transition);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
outline: none;
border-color: var(--warm-orange);
box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}
.form-textarea {
resize: vertical;
min-height: 120px;
}
.form-help {
font-size: 0.875rem;
color: var(--text-light);
margin-top: 0.25rem;
}
.form-error {
font-size: 0.875rem;
color: var(--error);
margin-top: 0.25rem;
}
/* Buttons */
.btn-portal {
padding: 0.75rem 1.5rem;
border-radius: 8px;
font-weight: 500;
border: none;
cursor: pointer;
transition: var(--transition);
display: inline-flex;
align-items: center;
gap: 0.5rem;
}
.btn-portal-primary {
background: var(--gradient-warm);
color: var(--white);
}
.btn-portal-primary:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
}
.btn-portal-secondary {
background: var(--soft-cream);
color: var(--text-dark);
border: 1px solid var(--border);
}
.btn-portal-secondary:hover {
background: var(--white);
border-color: var(--warm-orange);
}
.btn-portal-danger {
background: var(--error);
color: var(--white);
}
.btn-portal-danger:hover {
background: #dc2626;
}
/* Upload Area */
.upload-area {
border: 2px dashed var(--border);
border-radius: 12px;
padding: var(--space-lg);
text-align: center;
transition: var(--transition);
cursor: pointer;
}
.upload-area:hover {
border-color: var(--warm-orange);
background: var(--soft-cream);
}
.upload-area.dragging {
border-color: var(--warm-orange);
background: rgba(220, 20, 60, 0.05);
}
.upload-icon {
width: 48px;
height: 48px;
margin: 0 auto var(--space-sm);
color: var(--text-light);
}
/* Timeline */
.timeline {
position: relative;
padding-left: var(--space-lg);
}
.timeline::before {
content: '';
position: absolute;
left: 15px;
top: 0;
bottom: 0;
width: 2px;
background: var(--border);
}
.timeline-item {
position: relative;
margin-bottom: var(--space-md);
}
.timeline-marker {
position: absolute;
left: -25px;
width: 12px;
height: 12px;
border-radius: 50%;
background: var(--white);
border: 2px solid var(--warm-orange);
}
.timeline-content {
background: var(--white);
padding: var(--space-md);
border-radius: 8px;
box-shadow: var(--card-shadow);
}
.timeline-date {
font-size: 0.875rem;
color: var(--text-light);
margin-bottom: 0.5rem;
}
/* Calendar */
.calendar-widget {
background: var(--white);
border-radius: 12px;
padding: var(--space-md);
box-shadow: var(--card-shadow);
}
.calendar-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: var(--space-md);
}
.calendar-grid {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 2px;
}
.calendar-day {
aspect-ratio: 1;
display: flex;
align-items: center;
justify-content: center;
border-radius: 8px;
cursor: pointer;
transition: var(--transition);
}
.calendar-day:hover {
background: var(--soft-cream);
}
.calendar-day.active {
background: var(--gradient-warm);
color: var(--white);
}
.calendar-day.has-event {
position: relative;
}
.calendar-day.has-event::after {
content: '';
position: absolute;
bottom: 4px;
width: 4px;
height: 4px;
border-radius: 50%;
background: var(--primary-orange);
}
/* Login Page Specific */
.login-container {
min-height: 100vh;
display: flex;
}
.login-left {
flex: 1;
position: relative;
overflow: hidden;
}
.login-video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.login-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, rgba(0, 31, 63, 0.8) 0%, rgba(220, 20, 60, 0.6) 100%);
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
color: var(--white);
padding: var(--space-lg);
}
.login-brand {
text-align: center;
margin-bottom: var(--space-lg);
}
.login-brand img {
width: 120px;
height: 120px;
margin-bottom: var(--space-md);
border-radius: 20px;
}
.login-brand h1 {
font-family: var(--font-display);
font-size: 3rem;
margin-bottom: var(--space-sm);
}
.login-tagline {
font-size: 1.25rem;
opacity: 0.9;
}
.login-right {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
background: var(--white);
padding: var(--space-lg);
}
.login-form-container {
width: 100%;
max-width: 400px;
}
.login-form-header {
text-align: center;
margin-bottom: var(--space-lg);
}
.login-form-title {
font-family: var(--font-display);
font-size: 2rem;
color: var(--text-dark);
margin-bottom: 0.5rem;
}
.login-form-subtitle {
color: var(--text-light);
}
.role-selector {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space-sm);
margin-bottom: var(--space-md);
}
.role-option {
padding: var(--space-sm);
border: 2px solid var(--border);
border-radius: 8px;
text-align: center;
cursor: pointer;
transition: var(--transition);
}
.role-option:hover {
border-color: var(--warm-orange);
}
.role-option.active {
border-color: var(--warm-orange);
background: rgba(220, 20, 60, 0.05);
}
.divider {
text-align: center;
position: relative;
margin: var(--space-md) 0;
}
.divider::before {
content: '';
position: absolute;
top: 50%;
left: 0;
right: 0;
height: 1px;
background: var(--border);
}
.divider span {
background: var(--white);
padding: 0 var(--space-sm);
position: relative;
color: var(--text-light);
}
.oauth-buttons {
display: grid;
gap: var(--space-sm);
}
.oauth-btn {
display: flex;
align-items: center;
justify-content: center;
gap: var(--space-sm);
padding: 0.75rem;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--white);
cursor: pointer;
transition: var(--transition);
}
.oauth-btn:hover {
background: var(--soft-cream);
}
/* Responsive Design */
@media (max-width: 1024px) {
.portal-sidebar {
transform: translateX(-100%);
}
.portal-sidebar.open {
transform: translateX(0);
}
.portal-main {
margin-left: 0;
}
.dashboard-grid {
grid-template-columns: 1fr;
}
.form-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 768px) {
.login-container {
flex-direction: column;
}
.login-left {
height: 30vh;
}
.portal-content {
padding: var(--space-md);
}
.header-search {
display: none;
}
.table-wrapper {
overflow-x: auto;
}
}
/* Loading States */
.skeleton {
background: linear-gradient(90deg, var(--soft-cream) 25%, var(--white) 50%, var(--soft-cream) 75%);
background-size: 200% 100%;
animation: loading 1.5s infinite;
}
@keyframes loading {
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
}
/* Tooltips */
.tooltip {
position: relative;
}
.tooltip::after {
content: attr(data-tooltip);
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(-50%);
padding: 0.5rem 0.75rem;
background: var(--text-dark);
color: var(--white);
font-size: 0.875rem;
border-radius: 4px;
white-space: nowrap;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s;
}
.tooltip:hover::after {
opacity: 1;
}
/* Animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-fadeIn {
animation: fadeIn 0.5s ease-out;
}
/* Print Styles */
@media print {
.portal-sidebar,
.portal-header,
.btn-portal,
.table-actions {
display: none !important;
}
.portal-main {
margin: 0 !important;
}
.portal-content {
padding: 0 !important;
}
}