/* ═══════════════════════════════════════ */
/* JIRA INTEGRATION PAGE STYLES            */
/* ═══════════════════════════════════════ */

.jira-page { }

/* Tabs */
.jira-tabs {
    display: flex;
    gap: 2px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 20px;
}
.jira-tab {
    padding: 10px 20px;
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s;
    border-radius: 6px 6px 0 0;
}
.jira-tab:hover { color: #0052CC; background: #f8fafc; }
.jira-tab.active {
    color: #0052CC;
    background: #fff;
}
.jira-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0; right: 0;
    height: 2px;
    background: #0052CC;
    border-radius: 2px 2px 0 0;
}
.jira-tab-content { display: none; }
.jira-tab-content.active { display: block; }

/* Connection Card */
.jira-connection-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.jira-connection-status {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.jira-status-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.jira-status-icon.connected {
    background: #dcfce7;
    color: #16a34a;
}
.jira-status-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}
.jira-status-details {
    font-size: 14px;
    color: #475569;
    margin-bottom: 8px;
}
.jira-status-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
    color: #94a3b8;
}
.jira-status-meta i { margin-right: 4px; }
.jira-connection-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* Empty State */
.jira-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px dashed #e2e8f0;
}
.jira-empty-icon {
    font-size: 48px;
    color: #0052CC;
    margin-bottom: 16px;
    opacity: 0.6;
}
.jira-empty-state h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
}
.jira-empty-state p {
    color: #64748b;
    font-size: 14px;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Section Header */
.jira-section-header {
    margin-bottom: 16px;
}
.jira-section-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.jira-section-header h3 i { color: #0052CC; }

/* Mappings */
.jira-mappings-grid {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.jira-mappings-grid code {
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #334155;
}

/* Sync Summary */
.jira-sync-summary { }

/* History */
.jira-history-list { }

@media (max-width: 768px) {
    .jira-connection-card {
        flex-direction: column;
    }
    .jira-connection-actions {
        width: 100%;
        justify-content: flex-start;
    }
}
