/* Tweetly Modern Theme - Global Styling */

:root {
    /* Primary color palette */
    --primary: #0d6efd;
    --primary-hover: #0b5ed7;
    --secondary: #6c757d;
    --success: #198754;
    --info: #0dcaf0;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #212529;
    --purple: #6f42c1;
    
    /* Background colors */
    --bg-dark: #121212;
    --bg-darker: #0a0a0a;
    --bg-card: #1e1e2d;
    --bg-subtle: #141414;
    --bg-active: #2c2c40;
    
    /* Border colors */
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-light: rgba(255, 255, 255, 0.1);
    
    /* Text colors */
    --text-primary: #fff;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-subtle: rgba(255, 255, 255, 0.3);
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.25);
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Border radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-pill: 50rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* Global styles */
body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

/* Typography enhancement */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--info);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary);
}

/* Button styling */
.btn {
    border-radius: var(--radius-md);
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    transition: all var(--transition-fast);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.btn-success {
    background-color: var(--success);
    border-color: var(--success);
}

.btn-success:hover {
    background-color: #146c43;
    border-color: #146c43;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(25, 135, 84, 0.3);
}

.btn-danger {
    background-color: var(--danger);
    border-color: var(--danger);
}

.btn-danger:hover {
    background-color: #bb2d3b;
    border-color: #bb2d3b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.btn-info {
    background-color: var(--info);
    border-color: var(--info);
    color: #000;
}

.btn-info:hover {
    background-color: #31d2f2;
    border-color: #31d2f2;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 202, 240, 0.3);
}

.btn-light {
    background-color: var(--light);
    border-color: var(--light);
    color: #000;
}

.btn-light:hover {
    background-color: #e9ecef;
    border-color: #e9ecef;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(248, 249, 250, 0.3);
}

.btn-dark {
    background-color: var(--dark);
    border-color: var(--dark);
}

.btn-dark:hover {
    background-color: #1c1f23;
    border-color: #1c1f23;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 37, 41, 0.3);
}

.btn-lg {
    font-size: 1.125rem;
    padding: 0.75rem 1.5rem;
}

.btn-sm {
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
}

.btn-icon-sm {
    width: 2rem;
    height: 2rem;
    padding: 0.25rem;
}

.btn-icon-lg {
    width: 3rem;
    height: 3rem;
    padding: 0.75rem;
}

/* Cards styling */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1rem 1.25rem;
}

.card-body {
    padding: 1.25rem;
}

.card-footer {
    background-color: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--border-subtle);
    padding: 1rem 1.25rem;
}

/* Form controls */
.form-control, .form-select {
    background-color: #1a1a2e;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus, .form-select:focus {
    background-color: #1a1a2e;
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-subtle);
}

.form-label {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-text {
    color: var(--text-muted);
}

.form-check-input {
    background-color: #1a1a2e;
    border: 1px solid var(--border-light);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Navbar */
.navbar {
    background-color: var(--bg-darker);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color var(--transition-fast);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: var(--text-primary);
}

.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Dropdown */
.dropdown-menu {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    transition: all var(--transition-fast);
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--text-primary);
}

.dropdown-item.active, .dropdown-item:active {
    background-color: var(--primary);
    color: white;
}

.dropdown-divider {
    border-top-color: var(--border-subtle);
}

/* Tables */
.table {
    color: var(--text-primary);
}

.table > :not(caption) > * > * {
    border-bottom-color: var(--border-subtle);
    padding: 0.75rem;
}

.table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.table-dark {
    background-color: var(--bg-card);
    color: var(--text-primary);
}

/* Pagination */
.pagination {
    margin-bottom: 0;
}

.page-link {
    background-color: var(--bg-card);
    border-color: var(--border-subtle);
    color: var(--text-secondary);
    padding: 0.5rem 0.75rem;
    transition: all var(--transition-fast);
}

.page-link:hover {
    background-color: var(--bg-active);
    border-color: var(--border-light);
    color: var(--text-primary);
}

.page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

/* Alerts */
.alert {
    border: none;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
}

.alert-primary {
    background-color: rgba(13, 110, 253, 0.15);
    color: #9ec5fe;
}

.alert-secondary {
    background-color: rgba(108, 117, 125, 0.15);
    color: #c4c8cb;
}

.alert-success {
    background-color: rgba(25, 135, 84, 0.15);
    color: #75b798;
}

.alert-info {
    background-color: rgba(13, 202, 240, 0.15);
    color: #6edff6;
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.15);
    color: #ffda6a;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.15);
    color: #ea868f;
}

.alert-light {
    background-color: rgba(248, 249, 250, 0.15);
    color: #f8f9fa;
}

.alert-dark {
    background-color: rgba(33, 37, 41, 0.15);
    color: #adb5bd;
}

/* Progress bars */
.progress {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-pill);
    height: 0.5rem;
}

.progress-bar {
    background-color: var(--primary);
}

/* Lists */
.list-group {
    border-radius: var(--radius-md);
}

.list-group-item {
    background-color: var(--bg-card);
    border-color: var(--border-subtle);
    color: var(--text-secondary);
}

.list-group-item.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.list-group-item-action:hover, .list-group-item-action:focus {
    background-color: var(--bg-active);
    color: var(--text-primary);
}

/* Accordion */
.accordion {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.accordion-item {
    background-color: var(--bg-card);
    border-color: var(--border-subtle);
}

.accordion-button {
    background-color: var(--bg-card);
    color: var(--text-primary);
    font-weight: 500;
    padding: 1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary);
}

.accordion-button:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d6efd'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Footer */
.footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 2rem 0;
}

/* Modal */
.modal-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
}

.modal-header {
    border-bottom-color: var(--border-subtle);
}

.modal-footer {
    border-top-color: var(--border-subtle);
}

.modal-backdrop.show {
    opacity: 0.7;
    backdrop-filter: blur(3px);
}

/* Utilities */
.border-subtle {
    border-color: var(--border-subtle) !important;
}

.text-gradient {
    background: linear-gradient(45deg, var(--primary), var(--info));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.bg-gradient-subtle {
    background: linear-gradient(135deg, var(--bg-dark), #1a1a2e);
}

.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* Animation utilities */
.transition-normal {
    transition: all var(--transition-normal);
}

.hover-lift {
    transition: transform var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-scale {
    transition: transform var(--transition-normal);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Dashboard layout */
.dashboard-container {
    display: flex;
    min-height: calc(100vh - 72px);
}

.sidebar {
    background-color: var(--bg-darker);
    border-right: 1px solid var(--border-subtle);
    flex: 0 0 260px;
    padding: 1.5rem 0;
    transition: all var(--transition-normal);
}

.sidebar-collapsed {
    flex: 0 0 70px;
}

.sidebar-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 0 1.25rem 1.5rem;
}

.sidebar-toggle {
    background-color: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 50%;
    color: var(--text-muted);
    height: 32px;
    padding: 0;
    width: 32px;
}

.sidebar-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-item {
    margin-bottom: 0.25rem;
}

.sidebar-link {
    align-items: center;
    border-radius: 0.25rem;
    color: var(--text-secondary);
    display: flex;
    padding: 0.75rem 1.25rem;
    transition: all var(--transition-fast);
}

.sidebar-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.sidebar-link.active {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary);
}

.sidebar-icon {
    flex-shrink: 0;
    font-size: 1.25rem;
    margin-right: 1rem;
}

.sidebar-collapsed .sidebar-header {
    justify-content: center;
    padding-bottom: 1rem;
}

.sidebar-collapsed .sidebar-link {
    justify-content: center;
    padding: 0.75rem;
}

.sidebar-collapsed .sidebar-text,
.sidebar-collapsed .sidebar-toggle {
    display: none;
}

.sidebar-collapsed .sidebar-icon {
    margin-right: 0;
}

.main-content {
    flex: 1;
    padding: 1.5rem;
}

.content-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Stats card */
.stat-card {
    align-items: center;
    display: flex;
    padding: 1.25rem;
}

.stat-icon-wrapper {
    align-items: center;
    border-radius: 12px;
    display: flex;
    height: 56px;
    justify-content: center;
    margin-right: 1rem;
    width: 56px;
}

.stat-icon-primary {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary);
}

.stat-icon-success {
    background-color: rgba(25, 135, 84, 0.1);
    color: var(--success);
}

.stat-icon-info {
    background-color: rgba(13, 202, 240, 0.1);
    color: var(--info);
}

.stat-icon-warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: var(--warning);
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.stat-chart {
    height: 40px;
    margin-left: auto;
    width: 80px;
}

/* Activity timeline */
.activity-timeline {
    position: relative;
}

.timeline-line {
    background-color: var(--border-light);
    bottom: 0;
    left: 19px;
    position: absolute;
    top: 0;
    width: 2px;
}

.timeline-item {
    display: flex;
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-icon {
    align-items: center;
    background-color: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: 50%;
    color: var(--primary);
    display: flex;
    flex-shrink: 0;
    height: 40px;
    justify-content: center;
    margin-right: 1rem;
    width: 40px;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    padding-top: 0.25rem;
}

.timeline-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.timeline-subtitle {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.timeline-body {
    color: var(--text-secondary);
}

/* User profile card */
.profile-card {
    text-align: center;
}

.profile-avatar {
    border-radius: 50%;
    height: 96px;
    margin: 0 auto 1rem;
    width: 96px;
}

.profile-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.profile-title {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.profile-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.profile-stat {
    flex: 1;
    padding: 0.5rem;
}

.profile-stat-value {
    font-size: 1.25rem;
    font-weight: 600;
}

.profile-stat-label {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.profile-social {
    display: flex;
    justify-content: center;
}

.profile-social-link {
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-secondary);
    display: flex;
    height: 36px;
    justify-content: center;
    margin: 0 0.25rem;
    transition: all var(--transition-fast);
    width: 36px;
}

.profile-social-link:hover {
    background-color: var(--primary);
    color: white;
}

/* Notifications */
.notification {
    border-radius: var(--radius-md);
    display: flex;
    margin-bottom: 0.75rem;
    padding: 1rem;
    transition: background-color var(--transition-fast);
}

.notification:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.notification-icon {
    flex-shrink: 0;
    margin-right: 1rem;
    font-size: 1.25rem;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.notification-message {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.notification-time {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.notification-unread {
    background-color: rgba(13, 110, 253, 0.05);
}

.notification-unread .notification-icon {
    color: var(--primary);
}

/* Post cards */
.post-card {
    margin-bottom: 1.5rem;
}

.post-header {
    align-items: center;
    display: flex;
    margin-bottom: 1rem;
}

.post-avatar {
    border-radius: 50%;
    height: 48px;
    margin-right: 1rem;
    width: 48px;
}

.post-meta {
    flex: 1;
}

.post-author {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.post-time {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.post-actions {
    color: var(--text-muted);
    font-size: 1.25rem;
}

.post-content {
    margin-bottom: 1rem;
}

.post-text {
    margin-bottom: 1rem;
}

.post-image {
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    max-height: 300px;
    object-fit: cover;
    width: 100%;
}

.post-footer {
    align-items: center;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    padding-top: 1rem;
}

.post-reactions {
    display: flex;
    margin-right: auto;
}

.post-reaction {
    align-items: center;
    color: var(--text-muted);
    display: flex;
    margin-right: 1.5rem;
    transition: color var(--transition-fast);
}

.post-reaction:hover {
    color: var(--text-primary);
}

.post-reaction i {
    font-size: 1.25rem;
    margin-right: 0.5rem;
}

.post-share {
    color: var(--text-muted);
}

/* Timeline for tweets */
.tweet-timeline {
    margin-bottom: 2rem;
}

.tweet {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    padding: 1.25rem;
    transition: all var(--transition-normal);
}

.tweet:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.tweet-header {
    align-items: center;
    display: flex;
    margin-bottom: 1rem;
}

.tweet-avatar {
    border-radius: 50%;
    height: 48px;
    margin-right: 1rem;
    width: 48px;
}

.tweet-user {
    flex: 1;
}

.tweet-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.tweet-username {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.tweet-time {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.tweet-content {
    margin-bottom: 1rem;
}

.tweet-text {
    margin-bottom: 1rem;
}

.tweet-media {
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    max-height: 300px;
    object-fit: cover;
    width: 100%;
}

.tweet-footer {
    align-items: center;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    padding-top: 1rem;
}

.tweet-stats {
    display: flex;
    margin-right: auto;
}

.tweet-stat {
    align-items: center;
    color: var(--text-muted);
    display: flex;
    margin-right: 1.5rem;
    transition: color var(--transition-fast);
}

.tweet-stat:hover {
    color: var(--text-primary);
}

.tweet-stat i {
    font-size: 1.25rem;
    margin-right: 0.5rem;
}

.tweet-actions {
    display: flex;
}

.tweet-action {
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-muted);
    display: flex;
    height: 36px;
    justify-content: center;
    margin-left: 0.5rem;
    transition: all var(--transition-fast);
    width: 36px;
}

.tweet-action:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* Dashboard chart card */
.chart-card {
    height: 100%;
}

.chart-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.chart-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
}

.chart-container {
    height: 250px;
    margin-bottom: 1rem;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
}

.chart-legend-item {
    align-items: center;
    display: flex;
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
}

.chart-legend-color {
    border-radius: 50%;
    height: 12px;
    margin-right: 0.5rem;
    width: 12px;
}

.chart-legend-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Calendar widget */
.calendar {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.calendar-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.calendar-title {
    font-size: 1.125rem;
    font-weight: 600;
}

.calendar-navigation {
    display: flex;
}

.calendar-nav-btn {
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 50%;
    color: var(--text-muted);
    display: flex;
    height: 32px;
    justify-content: center;
    margin-left: 0.5rem;
    padding: 0;
    transition: all var(--transition-fast);
    width: 32px;
}

.calendar-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 0.5rem;
}

.calendar-weekday {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem;
    text-align: center;
    text-transform: uppercase;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-day {
    aspect-ratio: 1;
    align-items: center;
    border-radius: 50%;
    color: var(--text-secondary);
    display: flex;
    font-size: 0.875rem;
    justify-content: center;
    margin: 2px;
    position: relative;
    transition: all var(--transition-fast);
}

.calendar-day:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.calendar-day.today {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.calendar-day.active {
    background-color: var(--primary);
    color: white;
}

.calendar-day.has-events::after {
    background-color: var(--info);
    border-radius: 50%;
    bottom: 4px;
    content: "";
    height: 4px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 4px;
}

.calendar-day.other-month {
    color: var(--text-muted);
}

/* Settings pages */
.settings-sidebar {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.25rem 0;
}

.settings-link {
    align-items: center;
    color: var(--text-secondary);
    display: flex;
    padding: 0.75rem 1.25rem;
    transition: all var(--transition-fast);
}

.settings-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.settings-link.active {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary);
    font-weight: 500;
}

.settings-icon {
    font-size: 1.25rem;
    margin-right: 1rem;
}

.settings-header {
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

.settings-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.settings-description {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Authentication Pages */
.auth-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.auth-background {
    background: linear-gradient(135deg, #1e1e2d, #0f0f1e);
    flex: 1;
    padding: 2rem;
}

.auth-card {
    border-radius: var(--radius-lg);
    margin: 0 auto;
    max-width: 400px;
    padding: 2rem;
}

.auth-header {
    margin-bottom: 2rem;
    text-align: center;
}

.auth-logo {
    height: 48px;
    margin-bottom: 1rem;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-muted);
}

.auth-form {
    margin-bottom: 1.5rem;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.auth-link {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.auth-link:hover {
    color: var(--primary);
}

.auth-divider {
    align-items: center;
    display: flex;
    margin: 1.5rem 0;
}

.auth-divider-line {
    background-color: var(--border-subtle);
    flex: 1;
    height: 1px;
}

.auth-divider-text {
    color: var(--text-muted);
    margin: 0 1rem;
}

.auth-social {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.auth-social-btn {
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    display: flex;
    justify-content: center;
    margin: 0 0.5rem;
    padding: 0.75rem;
    transition: all var(--transition-fast);
    width: 48px;
}

.auth-social-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.auth-footer {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 2rem;
    text-align: center;
}

/* Gradient text and buttons */
.gradient-text {
    background: linear-gradient(45deg, var(--primary), var(--info));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.btn-gradient {
    background: linear-gradient(45deg, var(--primary), var(--info));
    border: none;
    color: white;
}

.btn-gradient:hover {
    background: linear-gradient(45deg, var(--primary), var(--info));
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
    color: white;
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Media queries for responsive design */
@media (max-width: 1199.98px) {
    .sidebar {
        flex: 0 0 240px;
    }
}

@media (max-width: 991.98px) {
    .sidebar {
        flex: 0 0 200px;
    }
}

@media (max-width: 767.98px) {
    .dashboard-container {
        flex-direction: column;
    }
    
    .sidebar {
        border-bottom: 1px solid var(--border-subtle);
        border-right: none;
        flex: auto;
        padding: 1rem 0;
    }
    
    .sidebar-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .sidebar-item {
        margin: 0 0.25rem;
    }
    
    .sidebar-link {
        padding: 0.5rem 0.75rem;
    }
    
    .sidebar-icon {
        margin-right: 0.5rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .content-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .content-header .btn-group,
    .content-header .btn {
        margin-top: 1rem;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .sidebar-menu {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .sidebar-link {
        white-space: nowrap;
    }
}