/**
 * Custom User Panel Styles
 * BuddyBoss compatible styling
 */

/* Notification Popup Styles */
#notification-popup {
    position: fixed !important;
    top: 100px !important;
    right: 20px !important;
    width: 380px !important;
    max-height: 450px !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #e1e5e9 !important;
    z-index: 10000 !important;
    overflow: hidden !important;
    display: none !important;
    transform: translateY(-20px) scale(0.9) !important;
    opacity: 0 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

#notification-popup.show {
    display: block !important;
    transform: translateY(0) scale(1) !important;
    opacity: 1 !important;
}

#notification-popup .notification-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e1e5e9;
}

#notification-popup .notification-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

#notification-popup .mark-all-read {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#notification-popup .mark-all-read:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

#notification-popup .notification-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e1e5e9;
}

#notification-popup .notification-tab {
    flex: 1;
    padding: 12px 16px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

#notification-popup .notification-tab.active {
    color: #667eea;
    background: white;
    border-bottom-color: #667eea;
}

#notification-popup .notification-tab:hover {
    background: #e9ecef;
}

#notification-popup .notification-list {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    background: #ffffff;
    display: block;
}

#notification-popup .notification-item {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f3f4;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: #ffffff;
    color: #2c3e50;
    display: block;
    overflow: hidden;
    word-wrap: break-word;
}

#notification-popup .notification-item:hover {
    background: #f8f9fa;
    transform: translateX(4px);
}

#notification-popup .notification-item:last-child {
    border-bottom: none;
}

#notification-popup .notification-item.unread {
    background: #f0f7ff;
    border-left: 4px solid #667eea;
}

#notification-popup .notification-item.unread::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
}

#notification-popup .notification-content {
    margin-bottom: 8px;
    overflow: hidden;
    word-wrap: break-word;
}

#notification-popup .notification-title {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
    margin-bottom: 4px;
}

#notification-popup .notification-sender {
    font-weight: 500;
    color: #667eea;
    font-size: 12px;
    margin-bottom: 4px;
}

#notification-popup .notification-message {
    color: #6c757d;
    font-size: 13px;
    line-height: 1.4;
    overflow: hidden;
    word-wrap: break-word;
    white-space: normal;
}

#notification-popup .notification-time {
    color: #adb5bd;
    font-size: 12px;
    font-weight: 500;
}

#notification-popup .notification-empty {
    padding: 60px 20px 40px 20px;
    text-align: center;
    color: #6c757d;
}

#notification-popup .notification-empty i {
    font-size: 48px;
    color: #adb5bd;
    margin-bottom: 16px;
    display: block;
}

#notification-popup .notification-loading {
    padding: 20px;
    text-align: center;
    color: #6c757d;
    font-size: 14px;
}

#notification-popup .notification-empty p {
    margin: 0;
    font-size: 14px;
}

/* Notification Badge Styles */
.header-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    animation: pulse 2s infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    #notification-popup {
        width: calc(100vw - 40px);
        right: -20px;
        left: auto;
        top: 60px;
    }
}

/* Main Container Styles */
.cup-analytics-overview,
.cup-achievements,
.cup-activity-log,
.cup-dashboard-overview,
.cup-dashboard-settings {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Headers */
.cup-analytics-overview h2,
.cup-achievements h2,
.cup-activity-log h2,
.cup-dashboard-overview h2,
.cup-dashboard-settings h2 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

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

.cup-stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cup-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.cup-stat-number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cup-stat-label {
    font-size: 14px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Chart Container */
.cup-chart-container {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
}

.cup-chart-container h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Action Buttons */
.cup-actions {
    margin-top: 30px;
    text-align: center;
}

.cup-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin: 0 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.cup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.cup-btn:active {
    transform: translateY(0);
}

/* Achievements Grid */
.cup-achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.cup-achievement-card {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cup-achievement-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.cup-achievement-icon {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cup-achievement-icon i {
    color: #333;
    font-size: 20px;
}

.cup-achievement-content h4 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.cup-achievement-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.cup-achievement-content small {
    color: #999;
    font-size: 12px;
}

/* Activity List */
.cup-activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cup-activity-item {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.cup-activity-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.cup-activity-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cup-activity-icon i {
    color: white;
    font-size: 16px;
}

.cup-activity-content h4 {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cup-activity-content p {
    color: #666;
    font-size: 13px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.cup-activity-content small {
    color: #999;
    font-size: 11px;
}

/* Dashboard Grid */
.cup-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.cup-dashboard-card {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cup-dashboard-card h3 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

/* Dashboard Activity List */
.cup-dashboard-card .cup-activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cup-dashboard-card .cup-activity-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.cup-dashboard-card .cup-activity-list li:last-child {
    border-bottom: none;
}

.cup-dashboard-card .cup-activity-list .activity-type {
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.cup-dashboard-card .cup-activity-list .activity-time {
    color: #999;
    font-size: 12px;
}

/* Achievement List */
.cup-achievement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cup-achievement-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.cup-achievement-list li:last-child {
    border-bottom: none;
}

.cup-achievement-list .achievement-name {
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.cup-achievement-list .achievement-progress {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Settings Form */
.cup-settings-form {
    max-width: 600px;
}

.cup-setting-group {
    margin-bottom: 25px;
}

.cup-setting-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
}

.cup-setting-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #667eea;
}

.cup-setting-group select {
    width: 100%;
    max-width: 300px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
}

.cup-setting-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Buttons */
.cup-settings-form .button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cup-settings-form .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Removed conflicting .notification-popup class styles */

/* Removed conflicting notification styles - using only #notification-popup specific styles */

/* Removed conflicting .notification-item styles */

/* Removed all conflicting general notification styles */

/* Notification Badge Animation */
.notification-badge {
    animation: pulse 2s infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .cup-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .cup-achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .cup-dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .cup-analytics-overview,
    .cup-achievements,
    .cup-activity-log,
    .cup-dashboard-overview,
    .cup-dashboard-settings {
        padding: 15px;
        margin: 10px;
    }
    
    .cup-stat-card {
        padding: 20px;
    }
    
    .cup-stat-number {
        font-size: 28px;
    }
    
    /* Removed conflicting .notification-popup responsive styles */
}

/* Loading States */
.cup-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.cup-loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: cup-spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes cup-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Empty States */
.cup-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.cup-empty-state i {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.cup-empty-state h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #666;
}

.cup-empty-state p {
    font-size: 14px;
    line-height: 1.5;
}

/* BuddyBoss Theme Compatibility */
.buddypress .cup-analytics-overview,
.buddypress .cup-achievements,
.buddypress .cup-activity-log,
.buddypress .cup-dashboard-overview,
.buddypress .cup-dashboard-settings {
    margin-top: 20px;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .cup-analytics-overview,
    .cup-achievements,
    .cup-activity-log,
    .cup-dashboard-overview,
    .cup-dashboard-settings {
        background: #2d3748;
        color: #e2e8f0;
    }
    
    .cup-analytics-overview h2,
    .cup-achievements h2,
    .cup-activity-log h2,
    .cup-dashboard-overview h2,
    .cup-dashboard-settings h2 {
        color: #e2e8f0;
        border-bottom-color: #4a5568;
    }
    
    .cup-achievement-card,
    .cup-activity-item,
    .cup-dashboard-card {
        background: #4a5568;
        border-color: #718096;
        color: #e2e8f0;
    }
    
    .cup-achievement-content h4,
    .cup-activity-content h4,
    .cup-dashboard-card h3 {
        color: #e2e8f0;
    }
    
    .cup-achievement-content p,
    .cup-activity-content p {
        color: #a0aec0;
    }
}

/* Loading State */
.sshub-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    margin: 20px 0;
}

.sshub-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e9ecef;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: sshub-spin 1s linear infinite;
}

@keyframes sshub-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Result View Styles */
#sshub-result-view {
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    margin: 20px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* Hide header elements when result view is active */
#sshub-result-view ~ .sshub-header,
#sshub-result-view ~ .progress-container {
    display: none !important;
}

/* Alternative: Hide header when result view is visible */
.project-dashboard-section:has(#sshub-result-view:not([hidden])) .sshub-header,
.project-dashboard-section:has(#sshub-result-view:not([hidden])) .progress-container {
    display: none !important;
}

.sshub-result-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px solid #667eea;
    position: relative;
}

.sshub-result-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.sshub-result-header h2 {
    color: #2d3748;
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 15px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sshub-result-header .muted {
    color: #6c757d;
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}

/* Main Score Cards */
.sshub-result-cards {
    display: flex;
    gap: 24px;
    margin: 40px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.sshub-result-cards .card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 32px 24px;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    min-width: 180px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.sshub-result-cards .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.sshub-result-cards .card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.sshub-result-cards .label {
    color: #6c757d;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sshub-result-cards .big-number {
    font-size: 48px;
    font-weight: 800;
    color: #2d3748;
    margin: 0;
    line-height: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sshub-result-cards .badge {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Category Scores - Card Layout */
.sshub-result-categories {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 32px;
    border-radius: 20px;
    margin: 40px 0;
    border: 2px solid #e9ecef;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.sshub-result-categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.sshub-result-categories h3 {
    color: #2d3748;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 30px 0;
    text-align: center;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#sshub-result-cats {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

#sshub-result-cats li {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 20px 24px;
    border-radius: 16px;
    border: 2px solid #e9ecef;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#sshub-result-cats li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

#sshub-result-cats li:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

#sshub-result-cats li strong {
    color: #2d3748;
    font-weight: 700;
    font-size: 18px;
}

/* Summary - Card Layout */
.sshub-result-summary {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 32px;
    border-radius: 20px;
    margin: 40px 0;
    border: 2px solid #e9ecef;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.sshub-result-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #fd7e14 0%, #ffc107 100%);
}

.sshub-result-summary h3 {
    color: #2d3748;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 30px 0;
    text-align: center;
    background: linear-gradient(135deg, #fd7e14 0%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#sshub-result-summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#sshub-result-summary-list li {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 24px;
    margin: 16px 0;
    border-radius: 16px;
    border: 2px solid #e9ecef;
    font-size: 16px;
    line-height: 1.6;
    color: #2d3748;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#sshub-result-summary-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(135deg, #fd7e14 0%, #ffc107 100%);
}

#sshub-result-summary-list li:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(253, 126, 20, 0.15);
    border-color: #fd7e14;
}

#sshub-result-summary-list li:first-child {
    margin-top: 0;
}

#sshub-result-summary-list li:last-child {
    margin-bottom: 0;
}

.actions {
    text-align: center;
    margin: 40px 0;
}

.actions .btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.actions .btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}

.actions .btn:hover::before {
    left: 100%;
}

.actions .btn:active {
    transform: translateY(-2px) scale(1.02);
}

/* Responsive Design */
@media (max-width: 768px) {
    .sshub-result-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .sshub-result-cards .card {
        width: 100%;
        max-width: 300px;
    }
    
    #sshub-result-cats {
        grid-template-columns: 1fr;
    }
    
    .sshub-result-header h2 {
        font-size: 24px;
    }
    
    .sshub-result-cards .big-number {
        font-size: 32px;
    }
}
