/* スプリントタブのスタイル */

.communication-tab-bar {
  display: flex;
  gap: 4px;
  padding: 8px;
  border-bottom: 2px solid rgba(14, 165, 233, 0.3);
}

.communication-tab-btn {
  flex: 1;
  padding: 8px;
  border: none;
  background: transparent;
  color: #64748b;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.communication-tab-btn.active {
  color: #0ea5e9;
  border-bottom-color: #0ea5e9;
}

.communication-tab-content {
  min-height: 0;
  overflow: hidden;
}

/* スプリントセクション */
.sprint-section {
  padding: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(14, 165, 233, 0.2);
}

.sprint-section:last-child {
  border-bottom: none;
}

/* 参加中スプリントカード */
.sprint-card {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(14, 165, 233, 0.5);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
}

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

.sprint-card-title {
  font-weight: 600;
  font-size: 16px;
  color: #0c4a6e;
}

.sprint-card-status {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 600;
}

/* チーム進捗バー */
.sprint-progress {
  margin-bottom: 12px;
}

.sprint-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 12px;
  color: #64748b;
}

.sprint-progress-bar {
  width: 100%;
  height: 24px;
  background: #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.sprint-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6 0%, #0ea5e9 100%);
  transition: width 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.sprint-progress-fill.over-100 {
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

/* 個人貢献度 */
.sprint-contribution {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 12px;
}

.sprint-contribution-value {
  font-weight: 600;
  color: #0c4a6e;
}

/* 今日の一言 */
.sprint-daily-message {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(14, 165, 233, 0.5);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

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

.sprint-daily-message-title {
  font-weight: 600;
  font-size: 14px;
  color: #0c4a6e;
}

.sprint-daily-message-sprint-name {
  font-size: 12px;
  color: #64748b;
}

.sprint-daily-message-content {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
}

/* 日報 */
.sprint-reports {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(14, 165, 233, 0.5);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

.sprint-reports-header {
  font-weight: 600;
  font-size: 14px;
  color: #0c4a6e;
  margin-bottom: 12px;
}

.sprint-report-form {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(14, 165, 233, 0.2);
}

.sprint-report-form textarea {
  width: 100%;
  min-height: 80px;
  padding: 8px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  resize: vertical;
  box-sizing: border-box;
  margin-bottom: 8px;
}

.sprint-report-form button {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  background: #3b82f6;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 12px;
}

.sprint-report-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sprint-report-item {
  padding: 12px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

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

.sprint-report-item-author {
  font-weight: 600;
  font-size: 12px;
  color: #0c4a6e;
}

.sprint-report-item-date {
  font-size: 11px;
  color: #64748b;
}

.sprint-report-item-sprint {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 4px;
}

.sprint-report-item-content {
  font-size: 13px;
  color: #374151;
  line-height: 1.6;
}

/* アクションボタン */
.sprint-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sprint-action-btn {
  width: 100%;
  padding: 12px;
  border: 2px solid rgba(14, 165, 233, 0.5);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #0c4a6e;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.sprint-action-btn:hover {
  background: rgba(14, 165, 233, 0.1);
}

/* 空状態 */
.sprint-empty {
  text-align: center;
  padding: 40px 20px;
  color: #9ca3af;
  font-size: 14px;
}

.sprint-empty-title {
  font-weight: 600;
  margin-bottom: 8px;
  color: #64748b;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .sprint-card {
    padding: 12px;
  }
  
  .sprint-card-title {
    font-size: 14px;
  }
  
  .sprint-progress-bar {
    height: 20px;
  }
  
  .sprint-daily-message,
  .sprint-reports {
    padding: 12px;
  }
}



