/* Support View Styles */

/* Support Section */
.support-section {
    margin: 16px auto;
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border: 1px solid var(--nli-gray-200);
}

/* Status Header */
.status-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

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

.section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--nli-gray-900);
}

/* Quick Diagnostics - Same as Home Action Grid */
.quick-diagnostics {
    margin: 16px auto;
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border: 1px solid var(--nli-gray-200);
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.action-card {
    background: var(--nli-gray-50);
    border: 1px solid var(--nli-gray-200);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: var(--nli-gray-900);
    font-family: inherit;
}

.action-card:hover {
    background: var(--nli-gray-100);
    border-color: var(--nli-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

.action-card:active {
    transform: scale(0.98);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.action-card:focus {
    outline: 2px solid var(--nli-primary);
    outline-offset: 2px;
}

.action-card:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.action-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nli-gray-100);
    border-radius: 50%;
}

.action-icon svg {
    width: 24px;
    height: 24px;
    color: var(--nli-primary);
}

.action-title {
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
}

.action-desc {
    display: block;
    font-size: 13px;
    color: var(--nli-gray-800);
}

/* Ping Result */
.ping-result {
    background: var(--nli-gray-200);
    border-radius: 8px;
    padding: 12px;
    margin-top: 16px;
}

.ping-result code {
    font-family: 'SF Mono', Consolas, monospace;
    font-size: 13px;
    color: var(--nli-gray-800);
    background: transparent;
}

/* Status Info */
.status-info {
    display: grid;
    gap: 12px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.status-label {
    font-size: 14px;
    color: var(--nli-gray-700);
}

.status-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--nli-gray-900);
}

.status-value.healthy {
    color: var(--nli-success);
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.status-badge.healthy {
    background: var(--nli-success);
    color: white;
}

.status-badge.concern {
    background: var(--nli-warning);
    color: white;
}

.status-badge.down {
    background: var(--nli-danger);
    color: white;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: inherit;
}

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

.btn-primary:hover {
    background: var(--nli-primary-dark);
}

.btn-text {
    background: transparent;
    color: var(--nli-primary);
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.btn-text:hover {
    background: var(--nli-gray-200);
}

/* Support Tickets */
.ticket-list {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.ticket-item {
    background: var(--nli-gray-100);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.ticket-item:hover {
    background: var(--nli-gray-200);
}

.ticket-item:focus {
    outline: 2px solid var(--nli-primary);
    outline-offset: 2px;
}

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

.ticket-number {
    font-size: 14px;
    font-weight: 500;
    color: var(--nli-gray-900);
}

.ticket-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.ticket-status.status-open {
    background: var(--nli-warning);
    color: white;
}

.ticket-status.status-resolved {
    background: var(--nli-success);
    color: white;
}

.ticket-subject {
    font-size: 15px;
    font-weight: 500;
    color: var(--nli-gray-900);
    margin-bottom: 4px;
}

.ticket-meta {
    font-size: 13px;
    color: var(--nli-gray-700);
}

/* Help Articles - Zendesk Style */
.help-articles {
    display: grid;
    gap: 8px;
}

.help-article {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: 1px solid var(--nli-gray-200);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.help-article:hover {
    background: var(--nli-gray-50);
    border-color: var(--nli-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

.article-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nli-primary);
    border-radius: 8px;
    color: white;
    flex-shrink: 0;
}

.article-content {
    flex: 1;
}

.article-content h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--nli-gray-900);
    margin: 0 0 4px 0;
}

.article-content p {
    font-size: 13px;
    color: var(--nli-gray-700);
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.article-meta {
    font-size: 12px;
    color: var(--nli-gray-600);
}

.article-arrow {
    color: var(--nli-gray-500);
    flex-shrink: 0;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--nli-gray-600);
}

.empty-state.hidden {
    display: none;
}

.empty-state svg {
    margin-bottom: 16px;
    color: var(--nli-gray-400);
}

.empty-state p {
    font-size: 16px;
    margin-bottom: 16px;
}