.pushlogic-status-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px #0000001a;
    overflow: hidden;
}

.status-header {
    background: linear-gradient(135deg, #1b2d7e 0%, #009fe3 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.status-header h2 {
    margin: 0 0 1rem 0;
    font-size: 2rem;
    font-weight: 300;
    color:#ffffff;
}

.status-overall {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.status-indicator {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.status-indicator.operational {
    color: #10b981;
    animation: pulse-green 2s infinite;
}

.status-indicator.degraded {
    color: #f59e0b;
    animation: pulse-yellow 2s infinite;
}

.status-indicator.down {
    color: #ef4444;
    animation: pulse-red 2s infinite;
}

.status-indicator.loading {
    color: #6b7280;
    animation: pulse-loading 1s infinite;
}

.status-text {
    font-size: 1.1rem;
    font-weight: 500;
}

.status-updated {
    opacity: 0.8;
    font-size: 0.9rem;
}

.status-services {
    padding: 2rem;
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #f8fafc;
    border-radius: 6px;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.service-item.operational {
    border-left-color: #10b981;
    background: #f0fdf4;
}

.service-item.degraded {
    border-left-color: #f59e0b;
    background: #fffbeb;
}

.service-item.down {
    border-left-color: #ef4444;
    background: #fef2f2;
}

.service-info {
    flex: 1;
}

.service-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #1f2937;
}

.service-description {
    color: #6b7280;
    font-size: 0.9rem;
}

.service-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-status-text {
    font-weight: 500;
    text-transform: capitalize;
}

.service-status-text.operational {
    color: #059669;
}

.service-status-text.degraded {
    color: #d97706;
}

.service-status-text.down {
    color: #dc2626;
}

.status-footer {
    background: #f8fafc;
    padding: 1rem 2rem;
    text-align: center;
    color: #6b7280;
    border-top: 1px solid #e5e7eb;
}

.loading-message {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
}

.error-message {
    background: #fef2f2;
    color: #dc2626;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid #ef4444;
    margin-bottom: 1rem;
}

/* Animations */
@keyframes pulse-green {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes pulse-yellow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes pulse-red {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes pulse-loading {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Support Widget Styles */
#pushlogic-support-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.support-widget-button {
    background: linear-gradient(135deg, #1b2d7e 0%, #009fe3 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    min-width: 160px;
    justify-content: center;
}

.support-widget-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.support-widget-button.active {
    background: linear-gradient(135deg, #009fe3 0%, #1b2d7e 100%);
}

.support-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.support-text {
    font-weight: 600;
    font-size: 14px;
}

.support-widget-popup {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 320px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.popup-header {
    background: linear-gradient(135deg, #1b2d7e 0%, #009fe3 100%);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color:#ffffff;
}

.close-button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.close-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.popup-content {
    padding: 20px;
}

.assistant-message {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.message-icon {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #f3f4f6;
    border-radius: 50%;
    padding: 6px;
    color: #6b7280;
    flex-shrink: 0;
}

.message-content {
    flex: 1;
}

.message-content p {
    margin: 0 0 12px 0;
    color: #374151;
    font-size: 14px;
    line-height: 1.5;
}

.message-content p:last-child {
    margin-bottom: 16px;
}

.service-centre-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1b2d7e 0%, #009fe3 100%);
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.service-centre-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    color: white;
    text-decoration: none;
}

.quick-links h4 {
    margin: 0 0 12px 0;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
}

.quick-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li {
    margin-bottom: 8px;
}

.quick-links a {
    color: #009fe3;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.quick-links a:hover {
    color: #4f46e5;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .status-header h2 {
        font-size: 1.5rem;
    }
    
    .status-overall {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .service-status {
        align-self: flex-end;
    }
    
    /* Support Widget Mobile Adjustments */
    #pushlogic-support-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .support-widget-popup {
        width: 280px;
        right: 0;
    }
    
    .support-widget-button {
        min-width: 140px;
        padding: 10px 16px;
    }
    
    .support-text {
        font-size: 13px;
    }
}