.skill-item-card {
  background: rgba(10, 15, 24, 0.95);
  border: 1px solid #1a2638;
  border-radius: 2px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.skill-item-card:hover {
  border-color: #00d4ff;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.1);
}

.skill-item-card.locked {
  border-style: dashed;
  opacity: 0.8;
}

.skill-item-card.locked .skill-icon-wrapper {
  color: #4a5d75;
  border-color: #1a2638;
}

.skill-item-card.mastered {
  border-color: #00ff88;
}

.skill-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.skill-icon-wrapper {
  width: 40px;
  height: 40px;
  background: #05080c;
  border: 1px solid #00d4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #00d4ff;
  flex-shrink: 0;
}

.skill-title-block {
  flex: 1;
}

.skill-name {
  font-size: 0.9rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.skill-level-tag {
  font-size: 10px;
  color: #4a5d75;
  font-family: "Space Mono", monospace;
}

.mastered .skill-level-tag {
  color: #00ff88;
}

.skill-desc {
  font-size: 11px;
  color: #a0aec0;
  line-height: 1.4;
  margin: 0;
  min-height: 32px;
}

.skill-progress-section {
  margin-top: 5px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #4a5d75;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.skill-progress-bar {
  height: 4px;
  background: #05080c;
  border: 1px solid #1a2638;
  position: relative;
}

.skill-progress-bar .fill {
  height: 100%;
  background: linear-gradient(90deg, #00d4ff, #00ff88);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-card-actions {
  margin-top: auto;
  padding-top: 10px;
}

.btn-skill-unlock,
.btn-skill-upgrade {
  width: 100%;
  background: transparent;
  border: 1px solid #00d4ff;
  color: #00d4ff;
  padding: 8px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: "Space Mono", monospace;
}

.btn-skill-unlock:hover:not(:disabled),
.btn-skill-upgrade:hover:not(:disabled) {
  background: rgba(0, 212, 255, 0.1);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.btn-skill-unlock {
  border-color: #ffaa00;
  color: #ffaa00;
}

.btn-skill-unlock:hover:not(:disabled) {
  background: rgba(255, 170, 0, 0.1);
  box-shadow: 0 0 10px rgba(255, 170, 0, 0.2);
}

.btn-skill-unlock:disabled,
.btn-skill-upgrade:disabled {
  border-color: #1a2638;
  color: #4a5d75;
  cursor: not-allowed;
  opacity: 0.5;
}

.mastery-label {
  text-align: center;
  font-size: 10px;
  color: #00ff88;
  font-weight: 900;
  padding: 8px;
  border: 1px solid rgba(0, 255, 136, 0.2);
  background: rgba(0, 255, 136, 0.05);
}

.lock-requirement {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 68, 68, 0.1);
  color: #ff4444;
  font-size: 8px;
  text-align: center;
  padding: 2px 0;
  text-transform: uppercase;
  font-weight: 900;
}
