/* User Dashboard Styles */
.dashboard-shell {
    padding: 48px 0;
    background: #f8fafc;
    min-height: calc(100vh - 200px);
}

.user-dashboard-layout {
    display: grid;
    grid-template-columns: minmax(240px, 280px) 1fr;
    gap: 32px;
    align-items: flex-start;
}

.user-dashboard-sidebar {
    position: sticky;
    top: 104px;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: fit-content;
}

.user-dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.dashboard-panel {
    display: none;
    flex-direction: column;
    gap: 32px;
}

.dashboard-panel.is-active {
    display: flex;
}

.panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.panel-header > div {
    max-width: 70%;
}

.panel-header h2 {
    margin: 0 0 4px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
}

.panel-header p {
    margin: 0;
    color: #64748b;
}

.panel-header .panel-actions,
.dashboard-actions,
.panel-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.panel {
    background: transparent;
}

.panel-surface {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    padding: 24px;
    overflow: hidden;
}

.panel-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.section-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 8px 0;
}

@media (max-width: 1200px) {
    .user-dashboard-layout {
        grid-template-columns: 1fr;
    }

    .user-dashboard-sidebar {
        position: relative;
        top: auto;
    }

    .feedback-grid {
        grid-template-columns: 1fr;
    }

    .profile-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .panel-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .panel-header > div {
        max-width: 100%;
    }

    .dashboard-actions,
    .panel-header .panel-actions {
        width: 100%;
    }

    .bookings-sections {
        grid-template-columns: 1fr;
    }

    .bookings-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .profile-form .form-row {
        grid-template-columns: 1fr;
    }
}

.dashboard-header {
    background: linear-gradient(120deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    padding: 40px 0;
}

.dashboard-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.dashboard-title h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.dashboard-title p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.dashboard-actions .btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* User Menu - Improved Design */
.user-menu {
    position: relative;
    margin-left: 20px;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--light);
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 500;
    color: #495057;
    transition: all 0.3s ease;
}

.user-btn:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 8px 0;
    width: 200px;
    display: none;
    z-index: 1000;
    margin-top: 10px;
    animation: slideDown 0.2s ease;
}

.user-menu:hover .user-dropdown,
.user-dropdown:hover {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: #495057;
    transition: all 0.2s ease;
    font-weight: 500;
}

.user-dropdown-item:hover {
    background: #f8f9fa;
    color: var(--primary);
}

.user-dropdown-item i {
    width: 20px;
    text-align: center;
    color: #6c757d;
}

.user-dropdown-item:hover i {
    color: var(--primary);
}

.user-dropdown-divider {
    height: 1px;
    background: #e9ecef;
    margin: 4px 0;
}

/* Dashboard Content */
.dashboard-content {
    padding: 48px 0;
    background: #f8fafc;
    min-height: calc(100vh - 200px);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(240px, 280px) 1fr;
    gap: 32px;
    align-items: flex-start;
}

/* Sidebar */
.dashboard-sidebar {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
    height: fit-content;
    position: sticky;
    top: 104px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: #1f2937;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    font-weight: 600;
}

.sidebar-item:hover {
    background: #eef2ff;
    border-color: rgba(79, 70, 229, 0.25);
    color: #4338ca;
}

.sidebar-item.active {
    background: linear-gradient(120deg, #6366f1 0%, #4338ca 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.25);
}

.sidebar-item i {
    width: 20px;
    color: inherit;
}

.sidebar-support {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(14, 165, 233, 0.12));
    border-radius: 14px;
    padding: 20px;
    text-align: center;
}

.sidebar-support h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: #1f2937;
    font-weight: 700;
}

.sidebar-support p {
    color: #4b5563;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.sidebar-support .btn {
    width: 100%;
    justify-content: center;
}

/* Main Content */
.dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}


.stat-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 26px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(79, 70, 229, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(120deg, var(--secondary) 0%, var(--primary) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.stat-content h3 {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
    font-weight: 600;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
}

/* Booking surfaces */
.panel-stack + .panel-stack {
    margin-top: 24px;
}

.bookings-summary {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.summary-card {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(59, 130, 246, 0.12));
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #1e293b;
}

.summary-card .summary-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-weight: 600;
}

.summary-card .summary-value {
    font-size: 1.8rem;
    font-weight: 800;
}

.summary-card small {
    color: #475569;
    font-size: 0.8rem;
}

.bookings-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.bookings-toolbar .filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.bookings-toolbar select {
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 10px 14px;
    background: #ffffff;
    min-width: 180px;
}

.bookings-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bookings-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.bookings-section {
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 20px;
    min-height: 240px;
}

.bookings-section .section-header {
    margin-bottom: 16px;
}

.bookings-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Dashboard Sections */
.dashboard-section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 1.4rem;
    color: var(--dark);
    font-weight: 700;
}

.view-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.view-all:hover {
    text-decoration: underline;
}

/* Appointments List */
.appointments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.appointment-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.appointment-card:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.appointment-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.appointment-date {
    text-align: center;
    background: var(--light);
    border-radius: 10px;
    padding: 15px;
    min-width: 70px;
}

.date-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    margin-top: 5px;
}

.appointment-details h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 5px;
    font-weight: 600;
}

.appointment-details p {
    color: #666;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.appointment-time {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.appointment-actions {
    display: flex;
    gap: 10px;
}

/* Feedback & Support */
.feedback-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feedback-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rating-input {
    display: inline-flex;
    gap: 6px;
}

.rating-input button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.rating-input button.active,
.rating-input button:hover {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #ffffff;
    transform: translateY(-2px);
}

.support-history {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.support-ticket {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
}

.support-ticket header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.support-ticket .ticket-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #64748b;
}

/* Security */
.security-grid {
    display: grid;
    gap: 24px;
}

.security-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.security-devices {
    display: grid;
    gap: 16px;
}

.security-device {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.device-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.device-meta span {
    font-size: 0.85rem;
    color: #475569;
}

.device-active {
    color: #059669;
    font-weight: 600;
}

.security-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.security-actions .btn-outline {
    border-radius: 999px;
}

/* Records Grid */
.records-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.record-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.record-item:hover {
    border-color: var(--primary);
    background: var(--light);
}

.record-icon {
    width: 50px;
    height: 50px;
    background: var(--light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
}

.record-details {
    flex: 1;
}

.record-details h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 5px;
    font-weight: 600;
}

.record-details p {
    color: #666;
    font-size: 0.85rem;
}

.record-action {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
}

.record-action:hover {
    background: var(--primary);
    color: white;
}

/* Profile */
.profile-layout {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
}

.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
}

.profile-info h3 {
    margin: 12px 0 4px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.profile-info p {
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
}

.profile-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 16px;
}

.profile-stats .stat dt {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.08em;
}

.profile-stats .stat dd {
    margin: 6px 0 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
}

.profile-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
}

.avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #64748b;
}

.avatar-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-upload-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(135deg, #6366f1, #4338ca);
    color: #ffffff;
    border: none;
    border-radius: 999px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.25);
    cursor: pointer;
}

.profile-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: #f8fafc;
    color: #1f2937;
    font-weight: 600;
    transition: all 0.2s ease;
}

.profile-nav-item.active,
.profile-nav-item:hover {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(59, 130, 246, 0.15));
    border-color: rgba(79, 70, 229, 0.3);
    color: #312e81;
}

.profile-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile-section {
    display: none;
    background: #ffffff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
}

.profile-section.active {
    display: block;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.profile-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.profile-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-form label {
    font-weight: 600;
    color: #0f172a;
}

.profile-form input,
.profile-form select,
.profile-form textarea {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #f8fafc;
}

.profile-form textarea {
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.checkbox-group {
    display: grid;
    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #1f2937;
}

.danger-zone {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 16px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.danger-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.metric-card {
    background: var(--light);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.metric-card h4 {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    font-weight: 600;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1;
}

.metric-status {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 15px;
    display: inline-block;
}

.metric-status.normal {
    background: #d1fae5;
    color: #065f46;
}

.metric-status.warning {
    background: #fef3c7;
    color: #92400e;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-sidebar {
        position: static;
        margin-bottom: 30px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dashboard-header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .appointment-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .appointment-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .dashboard-title h1 {
        font-size: 1.8rem;
    }
    
    .appointment-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .appointment-date {
        align-self: flex-start;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Security Settings Styles */
.security-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.security-content {
    padding: 40px 0;
    background: #f8fafc;
    min-height: calc(100vh - 200px);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.security-card, .settings-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.card-header i {
    font-size: 1.5rem;
    color: var(--primary);
}

.card-header h3 {
    margin: 0;
    color: var(--dark);
    font-size: 1.3rem;
}

.security-status {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.status-item i {
    font-size: 1.2rem;
}

.text-success {
    color: #10b981;
}

.text-warning {
    color: #f59e0b;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.password-strength {
    margin-top: 10px;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.strength-fill {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-fill.weak {
    background: #ef4444;
    width: 20%;
}

.strength-fill.fair {
    background: #f59e0b;
    width: 40%;
}

.strength-fill.good {
    background: #3b82f6;
    width: 70%;
}

.strength-fill.strong {
    background: #10b981;
    width: 100%;
}

.strength-text {
    font-size: 0.9rem;
    color: #666;
}

.two-factor-content {
    text-align: center;
}

.two-factor-status {
    margin: 20px 0;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.status-badge.enabled {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.disabled {
    background: #fee2e2;
    color: #991b1b;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.activity-item.current {
    background: #eff6ff;
    border-color: var(--primary);
}

.activity-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.activity-location {
    font-weight: 600;
    color: var(--dark);
}

.activity-device {
    color: #666;
    font-size: 0.9rem;
}

.activity-time {
    color: #999;
    font-size: 0.8rem;
}

.current-session {
    background: var(--primary);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.danger-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.action-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
}

.action-info h4 {
    margin: 0 0 5px 0;
    color: #991b1b;
}

.action-info p {
    margin: 0;
    color: #7f1d1d;
    font-size: 0.9rem;
}

.btn-warning {
    background: #f59e0b;
    color: white;
    border: none;
}

.btn-warning:hover {
    background: #d97706;
}

.btn-danger {
    background: #ef4444;
    color: white;
    border: none;
}

.btn-danger:hover {
    background: #dc2626;
}

@media (max-width: 768px) {
    .security-grid {
        grid-template-columns: 1fr;
    }
    
    .action-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}