/* Main container with pine-green/mantis gradient background */
.skeleton-container {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(26, 119, 96, 0.05) 0%, rgba(68, 186, 0, 0.05) 100%);
}

/* Header */
.skeleton-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(26, 119, 96, 0.1);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 1000;
}

.skeleton-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Skeleton elements */
.skeleton {
  background: #e5e7eb;
  border-radius: 6px;
  animation: pulse 2s ease-in-out infinite;
}

.skeleton-logo {
  width: 96px;
  height: 32px;
}

.skeleton-badge {
  width: 80px;
  height: 24px;
}

.skeleton-button {
  width: 128px;
  height: 40px;
}

/* Main layout */
.skeleton-main {
  display: flex;
  padding-top: 64px;
  min-height: calc(100vh - 64px);
}

/* Sidebar */
.skeleton-sidebar {
  width: 256px;
  background: rgba(255, 255, 255, 0.8);
  border-right: 1px solid rgba(26, 119, 96, 0.1);
  backdrop-filter: blur(12px);
  padding: 24px 16px;
  position: relative;
  height: 93vh;
}

.skeleton-section {
  margin-bottom: 32px;
}

.skeleton-section-title {
  width: 80px;
  height: 16px;
  margin-bottom: 12px;
}

.skeleton-nav-item {
  width: 100%;
  height: 32px;
  margin-bottom: 8px;
}

.skeleton-nav-item.active {
  background: rgba(68, 186, 0, 0.1);
}

/* User profile at bottom */
.skeleton-user-profile {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.skeleton-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.skeleton-user-info {
  flex: 1;
}

.skeleton-user-name {
  width: 96px;
  height: 16px;
  margin-bottom: 4px;
}

.skeleton-user-email {
  width: 80px;
  height: 12px;
}

/* Main content */
.skeleton-content {
  flex: 1;
  padding: 24px;
  max-width: 1024px;
  margin: 0 auto;
}

.skeleton-page-title {
  width: 256px;
  height: 32px;
  margin-bottom: 8px;
}

.skeleton-page-desc {
  width: 384px;
  height: 16px;
  margin-bottom: 24px;
}

/* Workflow tracker card */
.skeleton-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(26, 119, 96, 0.1);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.skeleton-workflow {
  display: flex;
  align-items: center;
  gap: 32px;
}

.skeleton-step {
  display: flex;
  align-items: center;
  gap: 8px;
}

.skeleton-step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.skeleton-step-circle.active {
  background: rgba(26, 119, 96, 0.2);
}

.skeleton-step-label {
  width: 80px;
  height: 16px;
}

.skeleton-step-connector {
  width: 32px;
  height: 1px;
  background: #e5e7eb;
  margin: 0 16px;
}

/* Upload form card */
.skeleton-form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.skeleton-form-title {
  width: 128px;
  height: 24px;
}

.skeleton-form-toggle {
  width: 32px;
  height: 32px;
}

.skeleton-form-field {
  margin-bottom: 16px;
}

.skeleton-field-label {
  width: 96px;
  height: 16px;
  margin-bottom: 8px;
}

.skeleton-field-input {
  width: 100%;
  height: 48px;
}

/* Upload area */
.skeleton-upload-area {
  border: 2px dashed #e5e7eb;
  border-radius: 12px;
  padding: 48px 24px;
  text-align: center;
  margin: 24px 0;
}

.skeleton-upload-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 16px;
}

.skeleton-upload-text {
  width: 192px;
  height: 24px;
  margin: 0 auto 8px;
}

.skeleton-upload-subtext {
  width: 256px;
  height: 16px;
  margin: 0 auto 4px;
}

.skeleton-upload-hint {
  width: 224px;
  height: 12px;
  margin: 0 auto;
}

/* Action buttons */
.skeleton-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}

.skeleton-action-left {
  width: 128px;
  height: 40px;
}

.skeleton-action-right {
  width: 96px;
  height: 40px;
}

/* Animation */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}