.project-bottom-card {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid #e5e7eb;
  padding: 12px 16px;
  z-index: 1000;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);

  .card-skeleton {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;

    .title-skeleton {
      width: 200px;
      height: 20px;
      background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
      background-size: 200% 100%;
      animation: skeleton-loading 1.5s infinite;
      border-radius: 4px;
    }

    .buttons-skeleton {
      display: flex;
      gap: 12px;

      .button-skeleton {
        width: 80px;
        height: 36px;
        background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
        background-size: 200% 100%;
        animation: skeleton-loading 1.5s infinite;
        border-radius: 6px;
      }
    }
  }

  .card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
  }

  .project-info {
    flex: 1;
    min-width: 0;

    .project-title {
      font-size: 18px;
      font-weight: 600;
      color: #1f2937;
      margin: 0 0 4px 0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .project-meta {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;

      .status-badge {
        padding: 2px 8px;
        border-radius: 12px;
        font-size: 12px;
        font-weight: 500;

        &.status-active {
          background-color: #dcfce7;
          color: #166534;
        }

        &.status-completed {
          background-color: #dbeafe;
          color: #1e40af;
        }

        &.status-paused {
          background-color: #fef3c7;
          color: #92400e;
        }

        &.status-default {
          background-color: #f3f4f6;
          color: #6b7280;
        }
      }

      .deadline {
        font-size: 12px;
        color: #6b7280;
      }
    }
  }

  .action-buttons {
    display: flex;
    gap: 12px;
    margin-left: 16px;

    .action-button {
      background: white;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      padding: 8px 16px;
      cursor: pointer;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 100px;
      height: 44px;

      &:hover:not(:disabled) {
        background-color: #f9fafb;
        border-color: #d1d5db;
        transform: translateY(-1px);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
      }

      &:active:not(:disabled) {
        transform: translateY(0);
        box-shadow: none;
      }

      &:disabled {
        opacity: 0.5;
        cursor: not-allowed;
      }

      .button-content {
        display: flex;
        align-items: center;
        gap: 8px;
        position: relative;

        .button-icon {
          width: 18px;
          height: 18px;
          flex-shrink: 0;
        }

        .button-text {
          font-size: 14px;
          font-weight: 500;
          color: #374151;
        }

        .button-badge {
          position: absolute;
          top: -8px;
          right: -8px;
          background-color: #ef4444;
          color: white;
          font-size: 10px;
          font-weight: 600;
          padding: 2px 6px;
          border-radius: 10px;
          min-width: 16px;
          text-align: center;
          line-height: 1;
        }
      }

      &.files-button:hover:not(:disabled) {
        border-color: #3b82f6;
        .button-text {
          color: #3b82f6;
        }
      }

      &.members-button:hover:not(:disabled) {
        border-color: #10b981;
        .button-text {
          color: #10b981;
        }
      }

      &.issues-button:hover:not(:disabled) {
        border-color: #f59e0b;
        .button-text {
          color: #f59e0b;
        }
      }
    }
  }
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

// 响应式设计
@media (max-width: 768px) {
  .project-bottom-card {
    padding: 10px 12px;

    .card-content {
      flex-direction: column;
      gap: 12px;
      align-items: stretch;
    }

    .project-info {
      text-align: center;

      .project-title {
        font-size: 16px;
      }

      .project-meta {
        justify-content: center;
      }
    }

    .action-buttons {
      margin-left: 0;
      justify-content: center;

      .action-button {
        flex: 1;
        max-width: 120px;

        .button-content {
          .button-text {
            font-size: 13px;
          }
        }
      }
    }
  }
}

@media (max-width: 480px) {
  .project-bottom-card {
    .action-buttons {
      .action-button {
        min-width: 80px;
        padding: 6px 12px;
        height: 40px;

        .button-content {
          gap: 6px;

          .button-icon {
            width: 16px;
            height: 16px;
          }

          .button-text {
            font-size: 12px;
          }
        }
      }
    }
  }
}